Skip to content

Commit

Permalink
fix: add explicit dependency to tslib
Browse files Browse the repository at this point in the history
  • Loading branch information
dbartholomae committed Aug 13, 2020
1 parent 4ded869 commit 49042ef
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 10 deletions.
3 changes: 2 additions & 1 deletion _templates/middleware/new/package/package.json.t
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ to: packages/<%= h.inflection.dasherize(name.toLowerCase()) %>/package.json
"private": false,
"dependencies": {
"@lambda-middleware/utils": "*",
"debug": ">=4.1.0"
"debug": ">=4.1.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 2 additions & 1 deletion packages/class-validator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"debug": ">=4.1.0",
"class-transformer": ">=0.2.3",
"class-transformer-validator": ">=0.8.0",
"class-validator": ">=0.11.0"
"class-validator": ">=0.11.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 3 additions & 0 deletions packages/compose/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
"test:integration": "concurrently --timeout 600000 --kill-others --success first \"cd test && serverless offline\" \"wait-on http://localhost:3000/dev/status && jest -c jest.integration.config.js\"",
"test:unit": "jest"
},
"dependencies": {
"tslib": "^2.0.1"
},
"devDependencies": {
"@lambda-middleware/utils": "*",
"@semantic-release/changelog": "^3.0.2",
Expand Down
3 changes: 2 additions & 1 deletion packages/http-error-handler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"dependencies": {
"@lambda-middleware/utils": "*",
"debug": ">=4.1.0",
"serialize-error": ">=5.0.0"
"serialize-error": ">=5.0.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 2 additions & 1 deletion packages/http-header-normalizer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"dependencies": {
"@lambda-middleware/compose": "*",
"@lambda-middleware/utils": "*",
"debug": ">=4.1.0"
"debug": ">=4.1.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 2 additions & 1 deletion packages/ie-no-open/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"private": false,
"dependencies": {
"@lambda-middleware/utils": "*",
"debug": ">=4.1.0"
"debug": ">=4.1.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 2 additions & 1 deletion packages/json-serializer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"private": false,
"dependencies": {
"@lambda-middleware/utils": "*",
"debug": ">=4.1.0"
"debug": ">=4.1.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 2 additions & 1 deletion packages/jwt-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@
"@lambda-middleware/utils": "*",
"debug": ">=4.1.0",
"http-errors": "^1.7.3",
"jsonwebtoken": "^8.4.0"
"jsonwebtoken": "^8.4.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 2 additions & 1 deletion packages/middy-adaptor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
"private": false,
"dependencies": {
"@lambda-middleware/utils": "*",
"debug": ">=4.1.0"
"debug": ">=4.1.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 2 additions & 1 deletion packages/no-sniff/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"private": false,
"dependencies": {
"@lambda-middleware/utils": "*",
"debug": ">=4.1.0"
"debug": ">=4.1.0",
"tslib": "^2.0.1"
},
"directories": {
"example": "examples"
Expand Down
3 changes: 2 additions & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
},
"dependencies": {
"@types/aws-lambda": "^8.10.47",
"aws-lambda": "^1.0.5"
"aws-lambda": "^1.0.5",
"tslib": "^2.0.1"
},
"devDependencies": {
"@types/debug": "^4.1.5",
Expand Down

0 comments on commit 49042ef

Please sign in to comment.