diff --git a/package-lock.json b/package-lock.json index c7d9171a..186971b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,12 +13,11 @@ "@temporalio/worker": "^1.9.0", "@temporalio/workflow": "^1.9.0", "commander": "^8.3.0", - "ms": "^2.1.3", + "ms": "^3.0.0-canary.1", "proto3-json-serializer": "^1.1.1" }, "devDependencies": { "@tsconfig/node16": "^1.0.0", - "@types/ms": "^0.7.34", "@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/parser": "^4.30.0", "eslint": "^7.32.0", @@ -631,14 +630,6 @@ "proto3-json-serializer": "^2.0.0" } }, - "node_modules/@temporalio/common/node_modules/ms": { - "version": "3.0.0-canary.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-3.0.0-canary.1.tgz", - "integrity": "sha512-kh8ARjh8rMN7Du2igDRO9QJnqCb2xYTJxyQYK7vJJS4TvLLmsbyhiKpSW+t+y26gyOyMd0riphX0GeWKU3ky5g==", - "engines": { - "node": ">=12.13" - } - }, "node_modules/@temporalio/common/node_modules/proto3-json-serializer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-2.0.0.tgz", @@ -786,12 +777,6 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, - "node_modules/@types/ms": { - "version": "0.7.34", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", - "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==", - "dev": true - }, "node_modules/@types/node": { "version": "18.11.17", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.17.tgz", @@ -2552,9 +2537,12 @@ } }, "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + "version": "3.0.0-canary.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-3.0.0-canary.1.tgz", + "integrity": "sha512-kh8ARjh8rMN7Du2igDRO9QJnqCb2xYTJxyQYK7vJJS4TvLLmsbyhiKpSW+t+y26gyOyMd0riphX0GeWKU3ky5g==", + "engines": { + "node": ">=12.13" + } }, "node_modules/natural-compare": { "version": "1.4.0", @@ -4077,11 +4065,6 @@ "proto3-json-serializer": "^2.0.0" }, "dependencies": { - "ms": { - "version": "3.0.0-canary.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-3.0.0-canary.1.tgz", - "integrity": "sha512-kh8ARjh8rMN7Du2igDRO9QJnqCb2xYTJxyQYK7vJJS4TvLLmsbyhiKpSW+t+y26gyOyMd0riphX0GeWKU3ky5g==" - }, "proto3-json-serializer": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/proto3-json-serializer/-/proto3-json-serializer-2.0.0.tgz", @@ -4217,12 +4200,6 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, - "@types/ms": { - "version": "0.7.34", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", - "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==", - "dev": true - }, "@types/node": { "version": "18.11.17", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.11.17.tgz", @@ -5512,9 +5489,9 @@ "dev": true }, "ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + "version": "3.0.0-canary.1", + "resolved": "https://registry.npmjs.org/ms/-/ms-3.0.0-canary.1.tgz", + "integrity": "sha512-kh8ARjh8rMN7Du2igDRO9QJnqCb2xYTJxyQYK7vJJS4TvLLmsbyhiKpSW+t+y26gyOyMd0riphX0GeWKU3ky5g==" }, "natural-compare": { "version": "1.4.0", diff --git a/package.json b/package.json index 485e6e73..a3c3fa50 100644 --- a/package.json +++ b/package.json @@ -15,12 +15,11 @@ "@temporalio/worker": "^1.9.0", "@temporalio/workflow": "^1.9.0", "commander": "^8.3.0", - "ms": "^2.1.3", + "ms": "^3.0.0-canary.1", "proto3-json-serializer": "^1.1.1" }, "devDependencies": { "@tsconfig/node16": "^1.0.0", - "@types/ms": "^0.7.34", "@typescript-eslint/eslint-plugin": "^4.30.0", "@typescript-eslint/parser": "^4.30.0", "eslint": "^7.32.0", diff --git a/sdkbuild/typescript.go b/sdkbuild/typescript.go index ecacc3a6..a49b116a 100644 --- a/sdkbuild/typescript.go +++ b/sdkbuild/typescript.go @@ -134,6 +134,7 @@ func BuildTypeScriptProgram(ctx context.Context, options BuildTypeScriptProgramO ` + packageJSONDepStr + ` ` + moreDeps + ` "commander": "^8.3.0", + "ms": "^3.0.0-canary.1", "proto3-json-serializer": "^1.1.1", "uuid": "^8.3.2" },