From 160ecd6ac4c34b59017c211a128157a39082411f Mon Sep 17 00:00:00 2001 From: AllanFly120 Date: Wed, 6 Jan 2021 19:22:43 +0000 Subject: [PATCH] fix(util-user-agent-*): move @aws-sdk/types to devdep Types module existing in runtime dependency causes the types to pinned in lock file. It will cause problem when they are not up-to-date --- packages/util-user-agent-browser/package.json | 2 +- packages/util-user-agent-node/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/util-user-agent-browser/package.json b/packages/util-user-agent-browser/package.json index 402f960c6a5c..66760bd90819 100644 --- a/packages/util-user-agent-browser/package.json +++ b/packages/util-user-agent-browser/package.json @@ -21,11 +21,11 @@ "./index": "./index.native" }, "dependencies": { - "@aws-sdk/types": "3.1.0", "bowser": "^2.11.0", "tslib": "^1.8.0" }, "devDependencies": { + "@aws-sdk/types": "3.1.0", "@aws-sdk/protocol-http": "3.1.0", "@types/jest": "^26.0.4", "jest": "^26.1.0", diff --git a/packages/util-user-agent-node/package.json b/packages/util-user-agent-node/package.json index efdd40db3c4a..2f12a814c994 100644 --- a/packages/util-user-agent-node/package.json +++ b/packages/util-user-agent-node/package.json @@ -19,10 +19,10 @@ "license": "Apache-2.0", "dependencies": { "@aws-sdk/node-config-provider": "3.1.0", - "@aws-sdk/types": "3.1.0", "tslib": "^1.8.0" }, "devDependencies": { + "@aws-sdk/types": "3.1.0", "@aws-sdk/protocol-http": "3.1.0", "@types/jest": "^26.0.4", "@types/node": "^10.0.0",