@vercel/static-build 1.3.8 → 1.3.10

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -239647,10 +239647,10 @@ function validateFunctions({ functions = {} }) {
239647
239647
  };
239648
239648
  }
239649
239649
  if (func.memory !== undefined &&
239650
- (func.memory < 128 || func.memory > 3008 || func.memory % 64 !== 0)) {
239650
+ (func.memory < 128 || func.memory > 3008)) {
239651
239651
  return {
239652
239652
  code: 'invalid_function_memory',
239653
- message: 'Functions must have a memory value between 128 and 3008 in steps of 64.',
239653
+ message: 'Functions must have a memory value between 128 and 3008',
239654
239654
  };
239655
239655
  }
239656
239656
  if (path.startsWith('/')) {
@@ -241331,7 +241331,6 @@ exports.BaseFunctionConfigSchema = {
241331
241331
  type: 'object',
241332
241332
  properties: {
241333
241333
  runtime: { type: 'string' },
241334
- cron: { type: 'string' },
241335
241334
  memory: { type: 'number' },
241336
241335
  maxDuration: { type: 'number' },
241337
241336
  regions: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/static-build",
3
- "version": "1.3.8",
3
+ "version": "1.3.10",
4
4
  "license": "MIT",
5
5
  "main": "./dist/index",
6
6
  "homepage": "https://vercel.com/docs/build-step",
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@vercel/gatsby-plugin-vercel-analytics": "1.0.7",
33
- "@vercel/gatsby-plugin-vercel-builder": "1.1.6"
33
+ "@vercel/gatsby-plugin-vercel-builder": "1.1.7"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@types/aws-lambda": "8.10.64",
@@ -42,12 +42,12 @@
42
42
  "@types/node-fetch": "2.5.4",
43
43
  "@types/promise-timeout": "1.3.0",
44
44
  "@types/semver": "7.3.13",
45
- "@vercel/build-utils": "6.2.4",
45
+ "@vercel/build-utils": "6.3.0",
46
46
  "@vercel/frameworks": "1.3.1",
47
- "@vercel/fs-detectors": "3.7.13",
47
+ "@vercel/fs-detectors": "3.8.0",
48
48
  "@vercel/ncc": "0.24.0",
49
49
  "@vercel/routing-utils": "2.1.9",
50
- "@vercel/static-config": "2.0.12",
50
+ "@vercel/static-config": "2.0.13",
51
51
  "execa": "3.2.0",
52
52
  "fs-extra": "10.0.0",
53
53
  "get-port": "5.0.0",
@@ -60,5 +60,5 @@
60
60
  "ts-morph": "12.0.0",
61
61
  "typescript": "4.3.4"
62
62
  },
63
- "gitHead": "9308a0fda5e14ee8a07b9a3506e4480f5f67d212"
63
+ "gitHead": "70a53515bd12202f895c369504e2d5be6c9469f4"
64
64
  }