Skip to content

Commit

Permalink
fix(util-user-agent-*): move @aws-sdk/types to devdep
Browse files Browse the repository at this point in the history
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
  • Loading branch information
AllanZhengYP committed Jan 6, 2021
1 parent 25cb359 commit 160ecd6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/util-user-agent-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion packages/util-user-agent-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 160ecd6

Please sign in to comment.