diff --git a/_templates/middleware/new/package/package.json.t b/_templates/middleware/new/package/package.json.t index 0a69aaa..7482b93 100644 --- a/_templates/middleware/new/package/package.json.t +++ b/_templates/middleware/new/package/package.json.t @@ -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" diff --git a/packages/class-validator/package.json b/packages/class-validator/package.json index 25f9d51..5de43fa 100644 --- a/packages/class-validator/package.json +++ b/packages/class-validator/package.json @@ -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" diff --git a/packages/compose/package.json b/packages/compose/package.json index e064316..99c6bc1 100644 --- a/packages/compose/package.json +++ b/packages/compose/package.json @@ -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", diff --git a/packages/http-error-handler/package.json b/packages/http-error-handler/package.json index 66c1cc7..ee678d8 100644 --- a/packages/http-error-handler/package.json +++ b/packages/http-error-handler/package.json @@ -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" diff --git a/packages/http-header-normalizer/package.json b/packages/http-header-normalizer/package.json index 6d011d4..3d6368e 100644 --- a/packages/http-header-normalizer/package.json +++ b/packages/http-header-normalizer/package.json @@ -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" diff --git a/packages/ie-no-open/package.json b/packages/ie-no-open/package.json index 716ce4a..1208983 100644 --- a/packages/ie-no-open/package.json +++ b/packages/ie-no-open/package.json @@ -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" diff --git a/packages/json-serializer/package.json b/packages/json-serializer/package.json index 7a0db54..4a2ce38 100644 --- a/packages/json-serializer/package.json +++ b/packages/json-serializer/package.json @@ -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" diff --git a/packages/jwt-auth/package.json b/packages/jwt-auth/package.json index 4b982e7..78e8702 100644 --- a/packages/jwt-auth/package.json +++ b/packages/jwt-auth/package.json @@ -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" diff --git a/packages/middy-adaptor/package.json b/packages/middy-adaptor/package.json index b7607da..0b05d24 100644 --- a/packages/middy-adaptor/package.json +++ b/packages/middy-adaptor/package.json @@ -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" diff --git a/packages/no-sniff/package.json b/packages/no-sniff/package.json index 923feb6..46ce7fa 100644 --- a/packages/no-sniff/package.json +++ b/packages/no-sniff/package.json @@ -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" diff --git a/packages/utils/package.json b/packages/utils/package.json index afd091b..b0db091 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -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",