vercel 27.1.4 → 27.3.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.
Files changed (55) hide show
  1. package/README.md +5 -5
  2. package/dist/index.js +33632 -31970
  3. package/dist/runtimes/go1.x/bootstrap.go +1 -1
  4. package/dist/runtimes/go1.x/bootstrap.js +3 -3
  5. package/dist/runtimes/go1.x/bootstrap.js.map +1 -1
  6. package/dist/runtimes/go1.x/filename.js +1 -0
  7. package/dist/runtimes/go1.x/filename.js.map +1 -1
  8. package/dist/runtimes/go1.x/index.js +12 -11
  9. package/dist/runtimes/go1.x/index.js.map +1 -1
  10. package/dist/runtimes/nodejs/bootstrap.js +8 -3
  11. package/dist/runtimes/nodejs/bootstrap.js.map +1 -1
  12. package/dist/runtimes/nodejs10.x/bootstrap.js +3 -3
  13. package/dist/runtimes/nodejs10.x/bootstrap.js.map +1 -1
  14. package/dist/runtimes/nodejs10.x/index.js +3 -2
  15. package/dist/runtimes/nodejs10.x/index.js.map +1 -1
  16. package/dist/runtimes/nodejs12.x/bootstrap.js +3 -3
  17. package/dist/runtimes/nodejs12.x/bootstrap.js.map +1 -1
  18. package/dist/runtimes/nodejs12.x/index.js +3 -2
  19. package/dist/runtimes/nodejs12.x/index.js.map +1 -1
  20. package/dist/runtimes/nodejs14.x/bootstrap +9 -0
  21. package/dist/runtimes/nodejs14.x/bootstrap.d.ts +1 -0
  22. package/dist/runtimes/nodejs14.x/bootstrap.js +8 -0
  23. package/dist/runtimes/nodejs14.x/bootstrap.js.map +1 -0
  24. package/dist/runtimes/nodejs14.x/index.d.ts +2 -0
  25. package/dist/runtimes/nodejs14.x/index.js +24 -0
  26. package/dist/runtimes/nodejs14.x/index.js.map +1 -0
  27. package/dist/runtimes/nodejs6.10/bootstrap.js +3 -3
  28. package/dist/runtimes/nodejs6.10/bootstrap.js.map +1 -1
  29. package/dist/runtimes/nodejs6.10/index.js +3 -2
  30. package/dist/runtimes/nodejs6.10/index.js.map +1 -1
  31. package/dist/runtimes/nodejs8.10/bootstrap.js +3 -3
  32. package/dist/runtimes/nodejs8.10/bootstrap.js.map +1 -1
  33. package/dist/runtimes/nodejs8.10/index.js +3 -2
  34. package/dist/runtimes/nodejs8.10/index.js.map +1 -1
  35. package/dist/runtimes/provided/bootstrap.js +2 -2
  36. package/dist/runtimes/provided/bootstrap.js.map +1 -1
  37. package/dist/runtimes/python/bootstrap.js +2 -2
  38. package/dist/runtimes/python/bootstrap.js.map +1 -1
  39. package/dist/runtimes/python2.7/bootstrap.js +3 -3
  40. package/dist/runtimes/python2.7/bootstrap.js.map +1 -1
  41. package/dist/runtimes/python2.7/index.js +3 -2
  42. package/dist/runtimes/python2.7/index.js.map +1 -1
  43. package/dist/runtimes/python3/bootstrap.js +20 -6
  44. package/dist/runtimes/python3/bootstrap.js.map +1 -1
  45. package/dist/runtimes/python3/index.js +2 -1
  46. package/dist/runtimes/python3/index.js.map +1 -1
  47. package/dist/runtimes/python3.6/bootstrap.js +3 -3
  48. package/dist/runtimes/python3.6/bootstrap.js.map +1 -1
  49. package/dist/runtimes/python3.6/index.js +3 -2
  50. package/dist/runtimes/python3.6/index.js.map +1 -1
  51. package/dist/runtimes/python3.7/bootstrap.js +3 -3
  52. package/dist/runtimes/python3.7/bootstrap.js.map +1 -1
  53. package/dist/runtimes/python3.7/index.js +3 -2
  54. package/dist/runtimes/python3.7/index.js.map +1 -1
  55. package/package.json +24 -22
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../../../src/runtimes/python3.7/bootstrap.ts"],"names":[],"mappings":";;AAAA,+BAA4B;AAC5B,iDAAsC;AAEtC,MAAM,SAAS,GAAG,WAAI,CAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;AACnD,MAAM,SAAS,GAAG,WAAI,CAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC;AAClE,qBAAK,CAAC,SAAS,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC"}
1
+ {"version":3,"file":"bootstrap.js","sourceRoot":"","sources":["../../../../src/runtimes/python3.7/bootstrap.ts"],"names":[],"mappings":";;AAAA,+BAA4B;AAC5B,iDAAsC;AAEtC,MAAM,SAAS,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,KAAK,EAAE,QAAQ,CAAC,CAAC;AACnD,MAAM,SAAS,GAAG,IAAA,WAAI,EAAC,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,cAAc,CAAC,CAAC;AAClE,IAAA,qBAAK,EAAC,SAAS,EAAE,CAAC,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE,CAAC,CAAC"}
@@ -9,13 +9,14 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.init = void 0;
12
13
  const install_python_1 = require("../../install-python");
13
14
  const runtimes_1 = require("../../runtimes");
14
15
  function init({ cacheDir }) {
15
16
  return __awaiter(this, void 0, void 0, function* () {
16
17
  yield Promise.all([
17
- runtimes_1.initializeRuntime(runtimes_1.runtimes.python),
18
- install_python_1.installPython(cacheDir, '3.7.2')
18
+ (0, runtimes_1.initializeRuntime)(runtimes_1.runtimes.python),
19
+ (0, install_python_1.installPython)(cacheDir, '3.7.2')
19
20
  ]);
20
21
  });
21
22
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/runtimes/python3.7/index.ts"],"names":[],"mappings":";;;;;;;;;;;AACA,yDAAqD;AACrD,6CAA6D;AAE7D,SAAsB,IAAI,CAAC,EAAE,QAAQ,EAAW;;QAC/C,MAAM,OAAO,CAAC,GAAG,CAAC;YACjB,4BAAiB,CAAC,mBAAQ,CAAC,MAAM,CAAC;YAClC,8BAAa,CAAC,QAAQ,EAAE,OAAO,CAAC;SAChC,CAAC,CAAC;IACJ,CAAC;CAAA;AALD,oBAKC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/runtimes/python3.7/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAqD;AACrD,6CAA6D;AAE7D,SAAsB,IAAI,CAAC,EAAE,QAAQ,EAAW;;QAC/C,MAAM,OAAO,CAAC,GAAG,CAAC;YACjB,IAAA,4BAAiB,EAAC,mBAAQ,CAAC,MAAM,CAAC;YAClC,IAAA,8BAAa,EAAC,QAAQ,EAAE,OAAO,CAAC;SAChC,CAAC,CAAC;IACJ,CAAC;CAAA;AALD,oBAKC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vercel",
3
- "version": "27.1.4",
3
+ "version": "27.3.0",
4
4
  "preferGlobal": true,
5
5
  "license": "Apache-2.0",
6
6
  "description": "The command-line interface for Vercel",
@@ -18,8 +18,8 @@
18
18
  "test-integration-dev": "yarn test test/dev/",
19
19
  "prepublishOnly": "yarn build",
20
20
  "coverage": "codecov",
21
- "build": "node -r ts-eager/register ./scripts/build.ts",
22
- "build-dev": "node -r ts-eager/register ./scripts/build.ts --dev"
21
+ "build": "ts-node ./scripts/build.ts",
22
+ "dev": "ts-node ./src/index.ts"
23
23
  },
24
24
  "bin": {
25
25
  "vc": "./dist/index.js",
@@ -42,16 +42,16 @@
42
42
  "node": ">= 14"
43
43
  },
44
44
  "dependencies": {
45
- "@vercel/build-utils": "5.0.2",
46
- "@vercel/go": "2.0.6",
47
- "@vercel/hydrogen": "0.0.3",
48
- "@vercel/next": "3.1.6",
49
- "@vercel/node": "2.4.3",
50
- "@vercel/python": "3.0.6",
51
- "@vercel/redwood": "1.0.7",
52
- "@vercel/remix": "1.0.8",
53
- "@vercel/ruby": "1.3.14",
54
- "@vercel/static-build": "1.0.7",
45
+ "@vercel/build-utils": "5.0.5",
46
+ "@vercel/go": "2.0.9",
47
+ "@vercel/hydrogen": "0.0.6",
48
+ "@vercel/next": "3.1.9",
49
+ "@vercel/node": "2.5.0",
50
+ "@vercel/python": "3.1.1",
51
+ "@vercel/redwood": "1.0.10",
52
+ "@vercel/remix": "1.0.11",
53
+ "@vercel/ruby": "1.3.17",
54
+ "@vercel/static-build": "1.0.10",
55
55
  "update-notifier": "5.1.0"
56
56
  },
57
57
  "devDependencies": {
@@ -59,6 +59,7 @@
59
59
  "@next/env": "11.1.2",
60
60
  "@sentry/node": "5.5.0",
61
61
  "@sindresorhus/slugify": "0.11.0",
62
+ "@swc/core": "1.2.218",
62
63
  "@tootallnate/once": "1.1.2",
63
64
  "@types/ansi-escapes": "3.0.0",
64
65
  "@types/ansi-regex": "4.0.0",
@@ -96,11 +97,11 @@
96
97
  "@types/which": "1.3.2",
97
98
  "@types/write-json-file": "2.2.1",
98
99
  "@types/yauzl-promise": "2.1.0",
99
- "@vercel/client": "12.1.1",
100
- "@vercel/frameworks": "1.1.0",
101
- "@vercel/fs-detectors": "2.0.0",
102
- "@vercel/ncc": "0.24.0",
103
- "@zeit/fun": "0.11.2",
100
+ "@vercel/client": "12.1.4",
101
+ "@vercel/frameworks": "1.1.1",
102
+ "@vercel/fs-detectors": "2.0.1",
103
+ "@vercel/fun": "1.0.4",
104
+ "@vercel/ncc": "0.34.0",
104
105
  "@zeit/source-map-support": "0.6.2",
105
106
  "ajv": "6.12.2",
106
107
  "alpha-sort": "2.0.1",
@@ -111,6 +112,7 @@
111
112
  "async-retry": "1.1.3",
112
113
  "async-sema": "2.1.4",
113
114
  "ava": "2.2.0",
115
+ "boxen": "4.2.0",
114
116
  "bytes": "3.0.0",
115
117
  "chalk": "4.1.0",
116
118
  "chance": "1.1.7",
@@ -147,7 +149,7 @@
147
149
  "minimatch": "3.0.4",
148
150
  "mri": "1.1.5",
149
151
  "ms": "2.1.2",
150
- "node-fetch": "2.6.1",
152
+ "node-fetch": "2.6.7",
151
153
  "npm-package-arg": "6.1.0",
152
154
  "open": "8.4.0",
153
155
  "ora": "3.4.0",
@@ -169,8 +171,8 @@
169
171
  "title": "3.4.1",
170
172
  "tmp-promise": "1.0.3",
171
173
  "tree-kill": "1.2.2",
172
- "ts-node": "8.3.0",
173
- "typescript": "4.3.4",
174
+ "ts-node": "10.9.1",
175
+ "typescript": "4.7.4",
174
176
  "universal-analytics": "0.4.20",
175
177
  "utility-types": "2.1.0",
176
178
  "which": "2.0.2",
@@ -195,5 +197,5 @@
195
197
  "<rootDir>/test/**/*.test.ts"
196
198
  ]
197
199
  },
198
- "gitHead": "1be7a80bb8688cd3567fd1f2dacf9ab4b8c4149e"
200
+ "gitHead": "4773ff5efd84a6dbf698c6f1f0a08718110ffa2d"
199
201
  }