@vercel/python 4.0.1 → 4.0.2
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 +2 -2
- package/vc_init.py +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vercel/python",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
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
|
"@types/execa": "^0.9.0",
|
|
18
18
|
"@types/jest": "27.4.1",
|
|
19
19
|
"@types/node": "14.18.33",
|
|
20
|
-
"@vercel/build-utils": "7.2.
|
|
20
|
+
"@vercel/build-utils": "7.2.1",
|
|
21
21
|
"@vercel/ncc": "0.24.0",
|
|
22
22
|
"execa": "^1.0.0",
|
|
23
23
|
"jest-junit": "16.0.0"
|
package/vc_init.py
CHANGED
|
@@ -30,7 +30,7 @@ if 'handler' in __vc_variables or 'Handler' in __vc_variables:
|
|
|
30
30
|
base = __vc_module.handler if ('handler' in __vc_variables) else __vc_module.Handler
|
|
31
31
|
if not issubclass(base, BaseHTTPRequestHandler):
|
|
32
32
|
print('Handler must inherit from BaseHTTPRequestHandler')
|
|
33
|
-
print('See the docs https://vercel.com/docs/
|
|
33
|
+
print('See the docs: https://vercel.com/docs/functions/serverless-functions/runtimes/python')
|
|
34
34
|
exit(1)
|
|
35
35
|
|
|
36
36
|
print('using HTTP Handler')
|
|
@@ -307,5 +307,5 @@ elif 'app' in __vc_variables:
|
|
|
307
307
|
|
|
308
308
|
else:
|
|
309
309
|
print('Missing variable `handler` or `app` in file "__VC_HANDLER_ENTRYPOINT".')
|
|
310
|
-
print('See the docs https://vercel.com/docs/
|
|
310
|
+
print('See the docs: https://vercel.com/docs/functions/serverless-functions/runtimes/python')
|
|
311
311
|
exit(1)
|