@architect/inventory 3.3.4-RC.0 → 3.3.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@architect/inventory",
3
- "version": "3.3.4-RC.0",
3
+ "version": "3.3.4",
4
4
  "description": "Architect project resource enumeration utility",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -55,7 +55,7 @@ module.exports = function setRuntimePlugins (params, project) {
55
55
  if (is.string(runtime.build)) build = runtime.build
56
56
  }
57
57
  if (type === 'transpiled' && !allRuntimes.includes(baseRuntime)) {
58
- return errors.push(`Runtime '${name}' must include a valid baseRuntime property corresponding to a valid Lambda runtime (e.g. 'nodejs14.x')`)
58
+ return errors.push(`Runtime '${name}' must include a valid baseRuntime property corresponding to a valid Lambda runtime (e.g. 'nodejs16.x')`)
59
59
  }
60
60
  runtimes.runtimes.push(name)
61
61
  runtimes[name] = runtime
@@ -5,7 +5,7 @@ module.exports = function createDefaultFunctionConfig () {
5
5
  return {
6
6
  timeout: 5,
7
7
  memory: 1152,
8
- runtime: 'nodejs14.x',
8
+ runtime: 'nodejs16.x',
9
9
  architecture: 'x86_64', // TODO [BREAKING]: default to 'arm64'
10
10
  handler: 'index.handler',
11
11
  state: 'n/a',