@vercel/python 32.0.1-snapshot-c7f6a2a993e4 → 32.0.1-snapshot-94304bd71443
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 +3 -5
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -9594,8 +9594,6 @@ var import_crypto2 = require("crypto");
|
|
|
9594
9594
|
var import_build_utils14 = require("@vercel/build-utils");
|
|
9595
9595
|
var SCHEDULES_FUNCTION_PATH = "schedules";
|
|
9596
9596
|
var GENERATED_SCHEDULE_HANDLER_PATH = "_vc_schedule_handlers/schedules.py";
|
|
9597
|
-
var SCHEDULE_NAME_RE = /^[0-9A-Za-z][0-9A-Za-z._-]*$/;
|
|
9598
|
-
var MAX_SCHEDULE_NAME_LENGTH = 256;
|
|
9599
9597
|
function createScheduleHandlerModule({
|
|
9600
9598
|
moduleName,
|
|
9601
9599
|
service,
|
|
@@ -9726,11 +9724,11 @@ async function introspectSchedules({
|
|
|
9726
9724
|
max_duration: maxDuration = null,
|
|
9727
9725
|
regions = null
|
|
9728
9726
|
} of introspected) {
|
|
9729
|
-
const deployedName =
|
|
9730
|
-
if (
|
|
9727
|
+
const { deployedName, error } = (0, import_build_utils14.getServiceScheduleName)(service, name);
|
|
9728
|
+
if (error) {
|
|
9731
9729
|
throw scheduleError(
|
|
9732
9730
|
service,
|
|
9733
|
-
|
|
9731
|
+
`${error} Shorten the \`@schedule\` name "${name}".`
|
|
9734
9732
|
);
|
|
9735
9733
|
}
|
|
9736
9734
|
const target = getScheduleFunction(maxDuration, regions);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "32.0.1-snapshot-
|
|
3
|
+
"version": "32.0.1-snapshot-94304bd71443",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://vercel.com/docs/runtimes#official-runtimes/python",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@vercel/python-analysis": "0.15.3"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@vercel/build-utils": "15.4.1-snapshot-
|
|
20
|
+
"@vercel/build-utils": "15.4.1-snapshot-94304bd71443"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@renovatebot/pep440": "4.2.1",
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"smol-toml": "1.5.2",
|
|
38
38
|
"vitest": "4.1.10",
|
|
39
39
|
"which": "3.0.0",
|
|
40
|
-
"@vercel/
|
|
41
|
-
"@vercel/
|
|
42
|
-
"@vercel/
|
|
40
|
+
"@vercel/build-utils": "15.4.1-snapshot-94304bd71443",
|
|
41
|
+
"@vercel/python-runtime": "0.24.4",
|
|
42
|
+
"@vercel/error-utils": "2.2.1"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "node ../../utils/build-builder.mjs",
|