serverless-plugin-warmup 7.1.0 → 7.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ * text=auto eol=lf
package/README.md CHANGED
@@ -255,7 +255,7 @@ The permissions can also be added to all lambdas using setting the role to `IamR
255
255
  ```yaml
256
256
  provider:
257
257
  name: aws
258
- runtime: nodejs14.x
258
+ runtime: nodejs16.x
259
259
  iamRoleStatements:
260
260
  - Effect: 'Allow'
261
261
  Action:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "serverless-plugin-warmup",
3
- "version": "7.1.0",
3
+ "version": "7.2.0",
4
4
  "description": "Keep your lambdas warm during winter.",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/warmer.js CHANGED
@@ -222,7 +222,7 @@ function addWarmUpFunctionToService(service, warmerName, warmerConfig) {
222
222
  handler: warmerConfig.pathHandler.split(path.sep).join(path.posix.sep),
223
223
  memorySize: warmerConfig.memorySize,
224
224
  name: warmerConfig.name,
225
- runtime: 'nodejs14.x',
225
+ runtime: 'nodejs16.x',
226
226
  package: warmerConfig.package,
227
227
  timeout: warmerConfig.timeout,
228
228
  ...(Object.keys(warmerConfig.environment).length