@vercel/node 2.8.17 → 2.9.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/dist/index.js +4 -0
- package/package.json +4 -4
package/dist/index.js
CHANGED
@@ -300794,6 +300794,7 @@ exports.BaseFunctionConfigSchema = {
|
|
300794
300794
|
type: 'object',
|
300795
300795
|
properties: {
|
300796
300796
|
runtime: { type: 'string' },
|
300797
|
+
cron: { type: 'string' },
|
300797
300798
|
memory: { type: 'number' },
|
300798
300799
|
maxDuration: { type: 'number' },
|
300799
300800
|
regions: {
|
@@ -301238,6 +301239,7 @@ const build = async ({ files, entrypoint, workPath, repoRootPath, config = {}, m
|
|
301238
301239
|
}
|
301239
301240
|
isEdgeFunction = utils_1.isEdgeRuntime(staticConfig.runtime);
|
301240
301241
|
}
|
301242
|
+
const cron = staticConfig?.cron;
|
301241
301243
|
build_utils_1.debug('Tracing input files...');
|
301242
301244
|
const traceTime = Date.now();
|
301243
301245
|
const { preparedFiles, shouldAddSourcemapSupport } = await compile(workPath, baseDir, entrypointPath, config, nodeVersion, isEdgeFunction);
|
@@ -301271,6 +301273,7 @@ const build = async ({ files, entrypoint, workPath, repoRootPath, config = {}, m
|
|
301271
301273
|
// TODO: remove - these two properties should not be required
|
301272
301274
|
name: outputPath,
|
301273
301275
|
deploymentTarget: 'v8-worker',
|
301276
|
+
cron,
|
301274
301277
|
});
|
301275
301278
|
}
|
301276
301279
|
else {
|
@@ -301285,6 +301288,7 @@ const build = async ({ files, entrypoint, workPath, repoRootPath, config = {}, m
|
|
301285
301288
|
shouldAddSourcemapSupport,
|
301286
301289
|
awsLambdaHandler,
|
301287
301290
|
experimentalResponseStreaming,
|
301291
|
+
cron,
|
301288
301292
|
});
|
301289
301293
|
}
|
301290
301294
|
return { routes, output };
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vercel/node",
|
3
|
-
"version": "2.
|
3
|
+
"version": "2.9.0",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./dist/index",
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/node-js",
|
@@ -31,9 +31,9 @@
|
|
31
31
|
"dependencies": {
|
32
32
|
"@edge-runtime/vm": "2.0.0",
|
33
33
|
"@types/node": "14.18.33",
|
34
|
-
"@vercel/build-utils": "6.0
|
34
|
+
"@vercel/build-utils": "6.1.0",
|
35
35
|
"@vercel/node-bridge": "3.1.10",
|
36
|
-
"@vercel/static-config": "2.0.
|
36
|
+
"@vercel/static-config": "2.0.12",
|
37
37
|
"edge-runtime": "2.0.0",
|
38
38
|
"esbuild": "0.14.47",
|
39
39
|
"exit-hook": "2.2.1",
|
@@ -64,5 +64,5 @@
|
|
64
64
|
"test-listen": "1.1.0",
|
65
65
|
"ts-morph": "12.0.0"
|
66
66
|
},
|
67
|
-
"gitHead": "
|
67
|
+
"gitHead": "a4d16c681a7e85f64a2d78432d499c599b398bde"
|
68
68
|
}
|