vercel 23.1.3-canary.63 → 23.1.3-canary.67
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/README.md +1 -1
- package/dist/index.js +194 -236
- package/package.json +6 -6
package/README.md
CHANGED
@@ -34,7 +34,7 @@ Finally, [connect your Git repository to Vercel](https://vercel.com/docs/git) an
|
|
34
34
|
|
35
35
|
## Documentation
|
36
36
|
|
37
|
-
For details on how to use Vercel CLI, check out our [documentation](https://vercel.com/docs).
|
37
|
+
For details on how to use Vercel CLI, check out our [documentation](https://vercel.com/docs/cli).
|
38
38
|
|
39
39
|
## Local Development
|
40
40
|
|
package/dist/index.js
CHANGED
@@ -217409,7 +217409,6 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
217409
217409
|
// need to be able to easily inspect the output.
|
217410
217410
|
`api-routes-${pluginName}`);
|
217411
217411
|
await fs_extra_1.default.ensureDir(traceDir);
|
217412
|
-
let newPathsRuntime = new Set();
|
217413
217412
|
const entryRoot = path_1.join(outputPath, 'server', 'pages');
|
217414
217413
|
for (const entrypoint of Object.keys(entrypoints)) {
|
217415
217414
|
const { output } = await buildRuntime({
|
@@ -217424,13 +217423,6 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
217424
217423
|
skipDownload: true,
|
217425
217424
|
},
|
217426
217425
|
});
|
217427
|
-
// Legacy Runtimes tend to pollute the `workPath` with compiled results,
|
217428
|
-
// because the `workPath` used to be a place that was a place where they could
|
217429
|
-
// just put anything, but nowadays it's the working directory of the `vercel build`
|
217430
|
-
// command, which is the place where the developer keeps their source files,
|
217431
|
-
// so we don't want to pollute this space unnecessarily. That means we have to clean
|
217432
|
-
// up files that were created by the build, which is done further below.
|
217433
|
-
const sourceFilesAfterBuild = await getSourceFiles(workPath, ignoreFilter);
|
217434
217426
|
// @ts-ignore This symbol is a private API
|
217435
217427
|
const lambdaFiles = output[lambda_1.FILES_SYMBOL];
|
217436
217428
|
// When deploying, the `files` that are passed to the Legacy Runtimes already
|
@@ -217465,12 +217457,9 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
217465
217457
|
const entryBase = path_1.basename(entrypoint).replace(ext, handlerExtName);
|
217466
217458
|
const entryPath = path_1.join(path_1.dirname(entrypoint), entryBase);
|
217467
217459
|
const entry = path_1.join(entryRoot, entryPath);
|
217468
|
-
//
|
217469
|
-
//
|
217470
|
-
// every build for every entrypoint overwrites the launcher of the previous
|
217471
|
-
// one, so linking would end with a broken reference.
|
217460
|
+
// Create the parent directory of the API Route that will be created
|
217461
|
+
// for the current entrypoint inside of `.output/server/pages/api`.
|
217472
217462
|
await fs_extra_1.default.ensureDir(path_1.dirname(entry));
|
217473
|
-
await fs_extra_1.default.copy(handlerFile.fsPath, entry);
|
217474
217463
|
// For compiled languages, the launcher file will be binary and therefore
|
217475
217464
|
// won't try to import a user-provided request handler (instead, it will
|
217476
217465
|
// contain it). But for interpreted languages, the launcher might try to
|
@@ -217487,8 +217476,12 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
217487
217476
|
const locationPrefix = path_1.relative(entry, outputPath);
|
217488
217477
|
let handlerContent = await fs_extra_1.default.readFile(fsPath, encoding);
|
217489
217478
|
const importPaths = [
|
217490
|
-
// This is the full entrypoint path, like `./api/test.py
|
217491
|
-
|
217479
|
+
// This is the full entrypoint path, like `./api/test.py`. In our tests
|
217480
|
+
// Python didn't support importing from a parent directory without using different
|
217481
|
+
// code in the launcher that registers it as a location for modules and then changing
|
217482
|
+
// the importing syntax, but continuing to import it like before seems to work. If
|
217483
|
+
// other languages need this, we should consider excluding Python explicitly.
|
217484
|
+
// `./${entrypoint}`,
|
217492
217485
|
// This is the entrypoint path without extension, like `api/test`
|
217493
217486
|
entrypoint.slice(0, -ext.length),
|
217494
217487
|
];
|
@@ -217518,52 +217511,15 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
217518
217511
|
else {
|
217519
217512
|
await fs_extra_1.default.copy(handlerFile.fsPath, entry);
|
217520
217513
|
}
|
217521
|
-
|
217522
|
-
|
217523
|
-
|
217524
|
-
|
217525
|
-
|
217526
|
-
//
|
217527
|
-
//
|
217528
|
-
|
217529
|
-
|
217530
|
-
// directories, and listing directories separately also speeds up the
|
217531
|
-
// build because we can just delete them, which wipes all of their nested
|
217532
|
-
// paths, instead of iterating through all files that should be deleted.
|
217533
|
-
for (const file in sourceFilesAfterBuild) {
|
217534
|
-
if (!sourceFilesPreBuild[file]) {
|
217535
|
-
const path = sourceFilesAfterBuild[file].fsPath;
|
217536
|
-
const dirPath = path_1.dirname(path);
|
217537
|
-
// If none of the files that were present before the entrypoint
|
217538
|
-
// was processed are contained within the directory we're looking
|
217539
|
-
// at right now, then we know it's a newly added directory
|
217540
|
-
// and it can therefore be removed later on.
|
217541
|
-
const isNewDir = !preBuildFiles.some(filePath => {
|
217542
|
-
return path_1.dirname(filePath).startsWith(dirPath);
|
217543
|
-
});
|
217544
|
-
// Check out the list of tracked directories that were
|
217545
|
-
// newly added and see if one of them contains the path
|
217546
|
-
// we're looking at.
|
217547
|
-
const hasParentDir = newDirectoriesEntrypoint.some(dir => {
|
217548
|
-
return path.startsWith(dir);
|
217549
|
-
});
|
217550
|
-
// If we have already tracked a directory that was newly
|
217551
|
-
// added that sits above the file or directory that we're
|
217552
|
-
// looking at, we don't need to add more entries to the list
|
217553
|
-
// because when the parent will get removed in the future,
|
217554
|
-
// all of its children (and therefore the path we're looking at)
|
217555
|
-
// will automatically get removed anyways.
|
217556
|
-
if (hasParentDir) {
|
217557
|
-
continue;
|
217558
|
-
}
|
217559
|
-
if (isNewDir) {
|
217560
|
-
newDirectoriesEntrypoint.push(dirPath);
|
217561
|
-
}
|
217562
|
-
else {
|
217563
|
-
newFilesEntrypoint.push(path);
|
217564
|
-
}
|
217565
|
-
}
|
217566
|
-
}
|
217514
|
+
// Legacy Runtimes based on interpreted languages will create a new launcher file
|
217515
|
+
// for every entrypoint, but they will create each one inside `workPath`, which means that
|
217516
|
+
// the launcher for one entrypoint will overwrite the launcher provided for the previous
|
217517
|
+
// entrypoint. That's why, above, we copy the file contents into the new destination (and
|
217518
|
+
// optionally transform them along the way), instead of linking. We then also want to remove
|
217519
|
+
// the copy origin right here, so that the `workPath` doesn't contain a useless launcher file
|
217520
|
+
// once the build has finished running.
|
217521
|
+
await fs_extra_1.default.remove(handlerFile.fsPath);
|
217522
|
+
_1.debug(`Removed temporary file "${handlerFile.fsPath}"`);
|
217567
217523
|
const nft = `${entry}.nft.json`;
|
217568
217524
|
const json = JSON.stringify({
|
217569
217525
|
version: 2,
|
@@ -217581,16 +217537,7 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
217581
217537
|
})
|
217582
217538
|
.filter(Boolean),
|
217583
217539
|
});
|
217584
|
-
await fs_extra_1.default.ensureDir(path_1.dirname(nft));
|
217585
217540
|
await fs_extra_1.default.writeFile(nft, json);
|
217586
|
-
// Extend the list of directories and files that were created by the
|
217587
|
-
// Legacy Runtime with the list of directories and files that were
|
217588
|
-
// created for the entrypoint that was just processed above.
|
217589
|
-
newPathsRuntime = new Set([
|
217590
|
-
...newPathsRuntime,
|
217591
|
-
...newFilesEntrypoint,
|
217592
|
-
...newDirectoriesEntrypoint,
|
217593
|
-
]);
|
217594
217541
|
// Add an entry that will later on be added to the `functions-manifest.json`
|
217595
217542
|
// file that is placed inside of the `.output` directory.
|
217596
217543
|
pages[normalize_path_1.normalizePath(entryPath)] = {
|
@@ -217606,18 +217553,6 @@ function convertRuntimeToPlugin(buildRuntime, packageName, ext) {
|
|
217606
217553
|
allowQuery: output.allowQuery,
|
217607
217554
|
};
|
217608
217555
|
}
|
217609
|
-
// A list of all the files that were created by the Legacy Runtime,
|
217610
|
-
// which we'd like to remove from the File System.
|
217611
|
-
const toRemove = Array.from(newPathsRuntime).map(path => {
|
217612
|
-
_1.debug(`Removing ${path} as part of cleanup`);
|
217613
|
-
return fs_extra_1.default.remove(path);
|
217614
|
-
});
|
217615
|
-
// Once all the entrypoints have been processed, we'd like to
|
217616
|
-
// remove all the files from `workPath` that originally weren't present
|
217617
|
-
// before the Legacy Runtime began running, because the `workPath`
|
217618
|
-
// is nowadays the directory in which the user keeps their source code, since
|
217619
|
-
// we're no longer running separate parallel builds for every Legacy Runtime.
|
217620
|
-
await Promise.all(toRemove);
|
217621
217556
|
// Add any Serverless Functions that were exposed by the Legacy Runtime
|
217622
217557
|
// to the `functions-manifest.json` file provided in `.output`.
|
217623
217558
|
await updateFunctionsManifest({ workPath, pages });
|
@@ -217697,12 +217632,12 @@ exports.updateRoutesManifest = updateRoutesManifest;
|
|
217697
217632
|
/***/ }),
|
217698
217633
|
|
217699
217634
|
/***/ 1868:
|
217700
|
-
/***/ ((__unused_webpack_module, exports,
|
217635
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_930171__) => {
|
217701
217636
|
|
217702
217637
|
"use strict";
|
217703
217638
|
|
217704
217639
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217705
|
-
const _1 =
|
217640
|
+
const _1 = __nested_webpack_require_930171__(2855);
|
217706
217641
|
function debug(message, ...additional) {
|
217707
217642
|
if (_1.getPlatformEnv('BUILDER_DEBUG')) {
|
217708
217643
|
console.log(message, ...additional);
|
@@ -217714,7 +217649,7 @@ exports.default = debug;
|
|
217714
217649
|
/***/ }),
|
217715
217650
|
|
217716
217651
|
/***/ 4246:
|
217717
|
-
/***/ (function(__unused_webpack_module, exports,
|
217652
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_930556__) {
|
217718
217653
|
|
217719
217654
|
"use strict";
|
217720
217655
|
|
@@ -217723,11 +217658,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
217723
217658
|
};
|
217724
217659
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
217725
217660
|
exports.detectBuilders = exports.detectOutputDirectory = exports.detectApiDirectory = exports.detectApiExtensions = exports.sortFiles = void 0;
|
217726
|
-
const minimatch_1 = __importDefault(
|
217727
|
-
const semver_1 =
|
217728
|
-
const path_1 =
|
217729
|
-
const frameworks_1 = __importDefault(
|
217730
|
-
const _1 =
|
217661
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_930556__(9566));
|
217662
|
+
const semver_1 = __nested_webpack_require_930556__(2879);
|
217663
|
+
const path_1 = __nested_webpack_require_930556__(5622);
|
217664
|
+
const frameworks_1 = __importDefault(__nested_webpack_require_930556__(8438));
|
217665
|
+
const _1 = __nested_webpack_require_930556__(2855);
|
217731
217666
|
const slugToFramework = new Map(frameworks_1.default.map(f => [f.slug, f]));
|
217732
217667
|
// We need to sort the file paths by alphabet to make
|
217733
217668
|
// sure the routes stay in the same order e.g. for deduping
|
@@ -218786,7 +218721,7 @@ function getSuggestion(topLevelProp, additionalProperty) {
|
|
218786
218721
|
/***/ }),
|
218787
218722
|
|
218788
218723
|
/***/ 2397:
|
218789
|
-
/***/ (function(__unused_webpack_module, exports,
|
218724
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_969940__) {
|
218790
218725
|
|
218791
218726
|
"use strict";
|
218792
218727
|
|
@@ -218794,8 +218729,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218794
218729
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218795
218730
|
};
|
218796
218731
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218797
|
-
const assert_1 = __importDefault(
|
218798
|
-
const into_stream_1 = __importDefault(
|
218732
|
+
const assert_1 = __importDefault(__nested_webpack_require_969940__(2357));
|
218733
|
+
const into_stream_1 = __importDefault(__nested_webpack_require_969940__(6130));
|
218799
218734
|
class FileBlob {
|
218800
218735
|
constructor({ mode = 0o100644, contentType, data }) {
|
218801
218736
|
assert_1.default(typeof mode === 'number');
|
@@ -218827,7 +218762,7 @@ exports.default = FileBlob;
|
|
218827
218762
|
/***/ }),
|
218828
218763
|
|
218829
218764
|
/***/ 9331:
|
218830
|
-
/***/ (function(__unused_webpack_module, exports,
|
218765
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_971392__) {
|
218831
218766
|
|
218832
218767
|
"use strict";
|
218833
218768
|
|
@@ -218835,11 +218770,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218835
218770
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218836
218771
|
};
|
218837
218772
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218838
|
-
const assert_1 = __importDefault(
|
218839
|
-
const fs_extra_1 = __importDefault(
|
218840
|
-
const multistream_1 = __importDefault(
|
218841
|
-
const path_1 = __importDefault(
|
218842
|
-
const async_sema_1 = __importDefault(
|
218773
|
+
const assert_1 = __importDefault(__nested_webpack_require_971392__(2357));
|
218774
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_971392__(5392));
|
218775
|
+
const multistream_1 = __importDefault(__nested_webpack_require_971392__(8179));
|
218776
|
+
const path_1 = __importDefault(__nested_webpack_require_971392__(5622));
|
218777
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_971392__(5758));
|
218843
218778
|
const semaToPreventEMFILE = new async_sema_1.default(20);
|
218844
218779
|
class FileFsRef {
|
218845
218780
|
constructor({ mode = 0o100644, contentType, fsPath }) {
|
@@ -218905,7 +218840,7 @@ exports.default = FileFsRef;
|
|
218905
218840
|
/***/ }),
|
218906
218841
|
|
218907
218842
|
/***/ 5187:
|
218908
|
-
/***/ (function(__unused_webpack_module, exports,
|
218843
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_974196__) {
|
218909
218844
|
|
218910
218845
|
"use strict";
|
218911
218846
|
|
@@ -218913,11 +218848,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
218913
218848
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
218914
218849
|
};
|
218915
218850
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
218916
|
-
const assert_1 = __importDefault(
|
218917
|
-
const node_fetch_1 = __importDefault(
|
218918
|
-
const multistream_1 = __importDefault(
|
218919
|
-
const async_retry_1 = __importDefault(
|
218920
|
-
const async_sema_1 = __importDefault(
|
218851
|
+
const assert_1 = __importDefault(__nested_webpack_require_974196__(2357));
|
218852
|
+
const node_fetch_1 = __importDefault(__nested_webpack_require_974196__(2197));
|
218853
|
+
const multistream_1 = __importDefault(__nested_webpack_require_974196__(8179));
|
218854
|
+
const async_retry_1 = __importDefault(__nested_webpack_require_974196__(3691));
|
218855
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_974196__(5758));
|
218921
218856
|
const semaToDownloadFromS3 = new async_sema_1.default(5);
|
218922
218857
|
class BailableError extends Error {
|
218923
218858
|
constructor(...args) {
|
@@ -218998,7 +218933,7 @@ exports.default = FileRef;
|
|
218998
218933
|
/***/ }),
|
218999
218934
|
|
219000
218935
|
/***/ 1611:
|
219001
|
-
/***/ (function(__unused_webpack_module, exports,
|
218936
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_977597__) {
|
219002
218937
|
|
219003
218938
|
"use strict";
|
219004
218939
|
|
@@ -219007,10 +218942,10 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219007
218942
|
};
|
219008
218943
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219009
218944
|
exports.isSymbolicLink = void 0;
|
219010
|
-
const path_1 = __importDefault(
|
219011
|
-
const debug_1 = __importDefault(
|
219012
|
-
const file_fs_ref_1 = __importDefault(
|
219013
|
-
const fs_extra_1 =
|
218945
|
+
const path_1 = __importDefault(__nested_webpack_require_977597__(5622));
|
218946
|
+
const debug_1 = __importDefault(__nested_webpack_require_977597__(1868));
|
218947
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_977597__(9331));
|
218948
|
+
const fs_extra_1 = __nested_webpack_require_977597__(5392);
|
219014
218949
|
const S_IFMT = 61440; /* 0170000 type of file */
|
219015
218950
|
const S_IFLNK = 40960; /* 0120000 symbolic link */
|
219016
218951
|
function isSymbolicLink(mode) {
|
@@ -219072,14 +219007,14 @@ exports.default = download;
|
|
219072
219007
|
/***/ }),
|
219073
219008
|
|
219074
219009
|
/***/ 3838:
|
219075
|
-
/***/ ((__unused_webpack_module, exports,
|
219010
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_980422__) => {
|
219076
219011
|
|
219077
219012
|
"use strict";
|
219078
219013
|
|
219079
219014
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219080
|
-
const path_1 =
|
219081
|
-
const os_1 =
|
219082
|
-
const fs_extra_1 =
|
219015
|
+
const path_1 = __nested_webpack_require_980422__(5622);
|
219016
|
+
const os_1 = __nested_webpack_require_980422__(2087);
|
219017
|
+
const fs_extra_1 = __nested_webpack_require_980422__(5392);
|
219083
219018
|
async function getWritableDirectory() {
|
219084
219019
|
const name = Math.floor(Math.random() * 0x7fffffff).toString(16);
|
219085
219020
|
const directory = path_1.join(os_1.tmpdir(), name);
|
@@ -219092,7 +219027,7 @@ exports.default = getWritableDirectory;
|
|
219092
219027
|
/***/ }),
|
219093
219028
|
|
219094
219029
|
/***/ 4240:
|
219095
|
-
/***/ (function(__unused_webpack_module, exports,
|
219030
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_981002__) {
|
219096
219031
|
|
219097
219032
|
"use strict";
|
219098
219033
|
|
@@ -219100,13 +219035,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219100
219035
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219101
219036
|
};
|
219102
219037
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219103
|
-
const path_1 = __importDefault(
|
219104
|
-
const assert_1 = __importDefault(
|
219105
|
-
const glob_1 = __importDefault(
|
219106
|
-
const util_1 =
|
219107
|
-
const fs_extra_1 =
|
219108
|
-
const normalize_path_1 =
|
219109
|
-
const file_fs_ref_1 = __importDefault(
|
219038
|
+
const path_1 = __importDefault(__nested_webpack_require_981002__(5622));
|
219039
|
+
const assert_1 = __importDefault(__nested_webpack_require_981002__(2357));
|
219040
|
+
const glob_1 = __importDefault(__nested_webpack_require_981002__(1104));
|
219041
|
+
const util_1 = __nested_webpack_require_981002__(1669);
|
219042
|
+
const fs_extra_1 = __nested_webpack_require_981002__(5392);
|
219043
|
+
const normalize_path_1 = __nested_webpack_require_981002__(6261);
|
219044
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_981002__(9331));
|
219110
219045
|
const vanillaGlob = util_1.promisify(glob_1.default);
|
219111
219046
|
async function glob(pattern, opts, mountpoint) {
|
219112
219047
|
let options;
|
@@ -219152,7 +219087,7 @@ exports.default = glob;
|
|
219152
219087
|
/***/ }),
|
219153
219088
|
|
219154
219089
|
/***/ 7903:
|
219155
|
-
/***/ (function(__unused_webpack_module, exports,
|
219090
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_983198__) {
|
219156
219091
|
|
219157
219092
|
"use strict";
|
219158
219093
|
|
@@ -219161,9 +219096,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219161
219096
|
};
|
219162
219097
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219163
219098
|
exports.getSupportedNodeVersion = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = void 0;
|
219164
|
-
const semver_1 =
|
219165
|
-
const errors_1 =
|
219166
|
-
const debug_1 = __importDefault(
|
219099
|
+
const semver_1 = __nested_webpack_require_983198__(2879);
|
219100
|
+
const errors_1 = __nested_webpack_require_983198__(3983);
|
219101
|
+
const debug_1 = __importDefault(__nested_webpack_require_983198__(1868));
|
219167
219102
|
const allOptions = [
|
219168
219103
|
{ major: 14, range: '14.x', runtime: 'nodejs14.x' },
|
219169
219104
|
{ major: 12, range: '12.x', runtime: 'nodejs12.x' },
|
@@ -219257,7 +219192,7 @@ exports.normalizePath = normalizePath;
|
|
219257
219192
|
/***/ }),
|
219258
219193
|
|
219259
219194
|
/***/ 7792:
|
219260
|
-
/***/ (function(__unused_webpack_module, exports,
|
219195
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_987066__) {
|
219261
219196
|
|
219262
219197
|
"use strict";
|
219263
219198
|
|
@@ -219266,9 +219201,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219266
219201
|
};
|
219267
219202
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219268
219203
|
exports.readConfigFile = void 0;
|
219269
|
-
const js_yaml_1 = __importDefault(
|
219270
|
-
const toml_1 = __importDefault(
|
219271
|
-
const fs_extra_1 =
|
219204
|
+
const js_yaml_1 = __importDefault(__nested_webpack_require_987066__(6540));
|
219205
|
+
const toml_1 = __importDefault(__nested_webpack_require_987066__(9434));
|
219206
|
+
const fs_extra_1 = __nested_webpack_require_987066__(5392);
|
219272
219207
|
async function readFileOrNull(file) {
|
219273
219208
|
try {
|
219274
219209
|
const data = await fs_extra_1.readFile(file);
|
@@ -219323,7 +219258,7 @@ exports.default = rename;
|
|
219323
219258
|
/***/ }),
|
219324
219259
|
|
219325
219260
|
/***/ 1442:
|
219326
|
-
/***/ (function(__unused_webpack_module, exports,
|
219261
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_988859__) {
|
219327
219262
|
|
219328
219263
|
"use strict";
|
219329
219264
|
|
@@ -219332,14 +219267,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219332
219267
|
};
|
219333
219268
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219334
219269
|
exports.installDependencies = exports.getScriptName = exports.runPipInstall = exports.runBundleInstall = exports.runPackageJsonScript = exports.runNpmInstall = exports.walkParentDirs = exports.scanParentDirs = exports.getNodeVersion = exports.getSpawnOptions = exports.runShellScript = exports.getNodeBinPath = exports.execCommand = exports.spawnCommand = exports.execAsync = exports.spawnAsync = void 0;
|
219335
|
-
const assert_1 = __importDefault(
|
219336
|
-
const fs_extra_1 = __importDefault(
|
219337
|
-
const path_1 = __importDefault(
|
219338
|
-
const debug_1 = __importDefault(
|
219339
|
-
const cross_spawn_1 = __importDefault(
|
219340
|
-
const util_1 =
|
219341
|
-
const errors_1 =
|
219342
|
-
const node_version_1 =
|
219270
|
+
const assert_1 = __importDefault(__nested_webpack_require_988859__(2357));
|
219271
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_988859__(5392));
|
219272
|
+
const path_1 = __importDefault(__nested_webpack_require_988859__(5622));
|
219273
|
+
const debug_1 = __importDefault(__nested_webpack_require_988859__(1868));
|
219274
|
+
const cross_spawn_1 = __importDefault(__nested_webpack_require_988859__(7618));
|
219275
|
+
const util_1 = __nested_webpack_require_988859__(1669);
|
219276
|
+
const errors_1 = __nested_webpack_require_988859__(3983);
|
219277
|
+
const node_version_1 = __nested_webpack_require_988859__(7903);
|
219343
219278
|
function spawnAsync(command, args, opts = {}) {
|
219344
219279
|
return new Promise((resolve, reject) => {
|
219345
219280
|
const stderrLogs = [];
|
@@ -219650,7 +219585,7 @@ exports.installDependencies = util_1.deprecate(runNpmInstall, 'installDependenci
|
|
219650
219585
|
/***/ }),
|
219651
219586
|
|
219652
219587
|
/***/ 2560:
|
219653
|
-
/***/ (function(__unused_webpack_module, exports,
|
219588
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1002849__) {
|
219654
219589
|
|
219655
219590
|
"use strict";
|
219656
219591
|
|
@@ -219658,7 +219593,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219658
219593
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219659
219594
|
};
|
219660
219595
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219661
|
-
const end_of_stream_1 = __importDefault(
|
219596
|
+
const end_of_stream_1 = __importDefault(__nested_webpack_require_1002849__(687));
|
219662
219597
|
function streamToBuffer(stream) {
|
219663
219598
|
return new Promise((resolve, reject) => {
|
219664
219599
|
const buffers = [];
|
@@ -219687,7 +219622,7 @@ exports.default = streamToBuffer;
|
|
219687
219622
|
/***/ }),
|
219688
219623
|
|
219689
219624
|
/***/ 1148:
|
219690
|
-
/***/ (function(__unused_webpack_module, exports,
|
219625
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1003917__) {
|
219691
219626
|
|
219692
219627
|
"use strict";
|
219693
219628
|
|
@@ -219695,9 +219630,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219695
219630
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
219696
219631
|
};
|
219697
219632
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219698
|
-
const path_1 = __importDefault(
|
219699
|
-
const fs_extra_1 = __importDefault(
|
219700
|
-
const ignore_1 = __importDefault(
|
219633
|
+
const path_1 = __importDefault(__nested_webpack_require_1003917__(5622));
|
219634
|
+
const fs_extra_1 = __importDefault(__nested_webpack_require_1003917__(5392));
|
219635
|
+
const ignore_1 = __importDefault(__nested_webpack_require_1003917__(3556));
|
219701
219636
|
function isCodedError(error) {
|
219702
219637
|
return (error !== null &&
|
219703
219638
|
error !== undefined &&
|
@@ -219754,7 +219689,7 @@ exports.default = default_1;
|
|
219754
219689
|
/***/ }),
|
219755
219690
|
|
219756
219691
|
/***/ 2855:
|
219757
|
-
/***/ (function(__unused_webpack_module, exports,
|
219692
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1006299__) {
|
219758
219693
|
|
219759
219694
|
"use strict";
|
219760
219695
|
|
@@ -219785,29 +219720,29 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219785
219720
|
};
|
219786
219721
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219787
219722
|
exports.getInputHash = exports.getPlatformEnv = exports.isStaticRuntime = exports.isOfficialRuntime = exports.updateRoutesManifest = exports.updateFunctionsManifest = exports.convertRuntimeToPlugin = exports.normalizePath = exports.readConfigFile = exports.DetectorFilesystem = exports.detectFramework = exports.detectApiExtensions = exports.detectApiDirectory = exports.detectOutputDirectory = exports.detectBuilders = exports.getIgnoreFilter = exports.scanParentDirs = exports.getLambdaOptionsFromFunction = exports.isSymbolicLink = exports.debug = exports.shouldServe = exports.streamToBuffer = exports.getSpawnOptions = exports.getDiscontinuedNodeVersions = exports.getLatestNodeVersion = exports.getNodeVersion = exports.runShellScript = exports.runPipInstall = exports.runBundleInstall = exports.runNpmInstall = exports.getNodeBinPath = exports.walkParentDirs = exports.spawnCommand = exports.execCommand = exports.runPackageJsonScript = exports.installDependencies = exports.getScriptName = exports.spawnAsync = exports.execAsync = exports.rename = exports.glob = exports.getWriteableDirectory = exports.download = exports.Prerender = exports.createLambda = exports.Lambda = exports.FileRef = exports.FileFsRef = exports.FileBlob = void 0;
|
219788
|
-
const crypto_1 =
|
219789
|
-
const file_blob_1 = __importDefault(
|
219723
|
+
const crypto_1 = __nested_webpack_require_1006299__(6417);
|
219724
|
+
const file_blob_1 = __importDefault(__nested_webpack_require_1006299__(2397));
|
219790
219725
|
exports.FileBlob = file_blob_1.default;
|
219791
|
-
const file_fs_ref_1 = __importDefault(
|
219726
|
+
const file_fs_ref_1 = __importDefault(__nested_webpack_require_1006299__(9331));
|
219792
219727
|
exports.FileFsRef = file_fs_ref_1.default;
|
219793
|
-
const file_ref_1 = __importDefault(
|
219728
|
+
const file_ref_1 = __importDefault(__nested_webpack_require_1006299__(5187));
|
219794
219729
|
exports.FileRef = file_ref_1.default;
|
219795
|
-
const lambda_1 =
|
219730
|
+
const lambda_1 = __nested_webpack_require_1006299__(6721);
|
219796
219731
|
Object.defineProperty(exports, "Lambda", ({ enumerable: true, get: function () { return lambda_1.Lambda; } }));
|
219797
219732
|
Object.defineProperty(exports, "createLambda", ({ enumerable: true, get: function () { return lambda_1.createLambda; } }));
|
219798
219733
|
Object.defineProperty(exports, "getLambdaOptionsFromFunction", ({ enumerable: true, get: function () { return lambda_1.getLambdaOptionsFromFunction; } }));
|
219799
|
-
const prerender_1 =
|
219734
|
+
const prerender_1 = __nested_webpack_require_1006299__(2850);
|
219800
219735
|
Object.defineProperty(exports, "Prerender", ({ enumerable: true, get: function () { return prerender_1.Prerender; } }));
|
219801
|
-
const download_1 = __importStar(
|
219736
|
+
const download_1 = __importStar(__nested_webpack_require_1006299__(1611));
|
219802
219737
|
exports.download = download_1.default;
|
219803
219738
|
Object.defineProperty(exports, "isSymbolicLink", ({ enumerable: true, get: function () { return download_1.isSymbolicLink; } }));
|
219804
|
-
const get_writable_directory_1 = __importDefault(
|
219739
|
+
const get_writable_directory_1 = __importDefault(__nested_webpack_require_1006299__(3838));
|
219805
219740
|
exports.getWriteableDirectory = get_writable_directory_1.default;
|
219806
|
-
const glob_1 = __importDefault(
|
219741
|
+
const glob_1 = __importDefault(__nested_webpack_require_1006299__(4240));
|
219807
219742
|
exports.glob = glob_1.default;
|
219808
|
-
const rename_1 = __importDefault(
|
219743
|
+
const rename_1 = __importDefault(__nested_webpack_require_1006299__(6718));
|
219809
219744
|
exports.rename = rename_1.default;
|
219810
|
-
const run_user_scripts_1 =
|
219745
|
+
const run_user_scripts_1 = __nested_webpack_require_1006299__(1442);
|
219811
219746
|
Object.defineProperty(exports, "execAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.execAsync; } }));
|
219812
219747
|
Object.defineProperty(exports, "spawnAsync", ({ enumerable: true, get: function () { return run_user_scripts_1.spawnAsync; } }));
|
219813
219748
|
Object.defineProperty(exports, "execCommand", ({ enumerable: true, get: function () { return run_user_scripts_1.execCommand; } }));
|
@@ -219824,38 +219759,38 @@ Object.defineProperty(exports, "getNodeVersion", ({ enumerable: true, get: funct
|
|
219824
219759
|
Object.defineProperty(exports, "getSpawnOptions", ({ enumerable: true, get: function () { return run_user_scripts_1.getSpawnOptions; } }));
|
219825
219760
|
Object.defineProperty(exports, "getNodeBinPath", ({ enumerable: true, get: function () { return run_user_scripts_1.getNodeBinPath; } }));
|
219826
219761
|
Object.defineProperty(exports, "scanParentDirs", ({ enumerable: true, get: function () { return run_user_scripts_1.scanParentDirs; } }));
|
219827
|
-
const node_version_1 =
|
219762
|
+
const node_version_1 = __nested_webpack_require_1006299__(7903);
|
219828
219763
|
Object.defineProperty(exports, "getLatestNodeVersion", ({ enumerable: true, get: function () { return node_version_1.getLatestNodeVersion; } }));
|
219829
219764
|
Object.defineProperty(exports, "getDiscontinuedNodeVersions", ({ enumerable: true, get: function () { return node_version_1.getDiscontinuedNodeVersions; } }));
|
219830
|
-
const errors_1 =
|
219831
|
-
const stream_to_buffer_1 = __importDefault(
|
219765
|
+
const errors_1 = __nested_webpack_require_1006299__(3983);
|
219766
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1006299__(2560));
|
219832
219767
|
exports.streamToBuffer = stream_to_buffer_1.default;
|
219833
|
-
const should_serve_1 = __importDefault(
|
219768
|
+
const should_serve_1 = __importDefault(__nested_webpack_require_1006299__(2564));
|
219834
219769
|
exports.shouldServe = should_serve_1.default;
|
219835
|
-
const debug_1 = __importDefault(
|
219770
|
+
const debug_1 = __importDefault(__nested_webpack_require_1006299__(1868));
|
219836
219771
|
exports.debug = debug_1.default;
|
219837
|
-
const get_ignore_filter_1 = __importDefault(
|
219772
|
+
const get_ignore_filter_1 = __importDefault(__nested_webpack_require_1006299__(1148));
|
219838
219773
|
exports.getIgnoreFilter = get_ignore_filter_1.default;
|
219839
|
-
var detect_builders_1 =
|
219774
|
+
var detect_builders_1 = __nested_webpack_require_1006299__(4246);
|
219840
219775
|
Object.defineProperty(exports, "detectBuilders", ({ enumerable: true, get: function () { return detect_builders_1.detectBuilders; } }));
|
219841
219776
|
Object.defineProperty(exports, "detectOutputDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectOutputDirectory; } }));
|
219842
219777
|
Object.defineProperty(exports, "detectApiDirectory", ({ enumerable: true, get: function () { return detect_builders_1.detectApiDirectory; } }));
|
219843
219778
|
Object.defineProperty(exports, "detectApiExtensions", ({ enumerable: true, get: function () { return detect_builders_1.detectApiExtensions; } }));
|
219844
|
-
var detect_framework_1 =
|
219779
|
+
var detect_framework_1 = __nested_webpack_require_1006299__(5224);
|
219845
219780
|
Object.defineProperty(exports, "detectFramework", ({ enumerable: true, get: function () { return detect_framework_1.detectFramework; } }));
|
219846
|
-
var filesystem_1 =
|
219781
|
+
var filesystem_1 = __nested_webpack_require_1006299__(461);
|
219847
219782
|
Object.defineProperty(exports, "DetectorFilesystem", ({ enumerable: true, get: function () { return filesystem_1.DetectorFilesystem; } }));
|
219848
|
-
var read_config_file_1 =
|
219783
|
+
var read_config_file_1 = __nested_webpack_require_1006299__(7792);
|
219849
219784
|
Object.defineProperty(exports, "readConfigFile", ({ enumerable: true, get: function () { return read_config_file_1.readConfigFile; } }));
|
219850
|
-
var normalize_path_1 =
|
219785
|
+
var normalize_path_1 = __nested_webpack_require_1006299__(6261);
|
219851
219786
|
Object.defineProperty(exports, "normalizePath", ({ enumerable: true, get: function () { return normalize_path_1.normalizePath; } }));
|
219852
|
-
var convert_runtime_to_plugin_1 =
|
219787
|
+
var convert_runtime_to_plugin_1 = __nested_webpack_require_1006299__(7276);
|
219853
219788
|
Object.defineProperty(exports, "convertRuntimeToPlugin", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.convertRuntimeToPlugin; } }));
|
219854
219789
|
Object.defineProperty(exports, "updateFunctionsManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateFunctionsManifest; } }));
|
219855
219790
|
Object.defineProperty(exports, "updateRoutesManifest", ({ enumerable: true, get: function () { return convert_runtime_to_plugin_1.updateRoutesManifest; } }));
|
219856
|
-
__exportStar(
|
219857
|
-
__exportStar(
|
219858
|
-
__exportStar(
|
219791
|
+
__exportStar(__nested_webpack_require_1006299__(2416), exports);
|
219792
|
+
__exportStar(__nested_webpack_require_1006299__(5748), exports);
|
219793
|
+
__exportStar(__nested_webpack_require_1006299__(3983), exports);
|
219859
219794
|
/**
|
219860
219795
|
* Helper function to support both `@vercel` and legacy `@now` official Runtimes.
|
219861
219796
|
*/
|
@@ -219908,7 +219843,7 @@ exports.getInputHash = getInputHash;
|
|
219908
219843
|
/***/ }),
|
219909
219844
|
|
219910
219845
|
/***/ 6721:
|
219911
|
-
/***/ (function(__unused_webpack_module, exports,
|
219846
|
+
/***/ (function(__unused_webpack_module, exports, __nested_webpack_require_1017277__) {
|
219912
219847
|
|
219913
219848
|
"use strict";
|
219914
219849
|
|
@@ -219917,13 +219852,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
219917
219852
|
};
|
219918
219853
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
219919
219854
|
exports.getLambdaOptionsFromFunction = exports.createZip = exports.createLambda = exports.Lambda = exports.FILES_SYMBOL = void 0;
|
219920
|
-
const assert_1 = __importDefault(
|
219921
|
-
const async_sema_1 = __importDefault(
|
219922
|
-
const yazl_1 =
|
219923
|
-
const minimatch_1 = __importDefault(
|
219924
|
-
const fs_extra_1 =
|
219925
|
-
const download_1 =
|
219926
|
-
const stream_to_buffer_1 = __importDefault(
|
219855
|
+
const assert_1 = __importDefault(__nested_webpack_require_1017277__(2357));
|
219856
|
+
const async_sema_1 = __importDefault(__nested_webpack_require_1017277__(5758));
|
219857
|
+
const yazl_1 = __nested_webpack_require_1017277__(1223);
|
219858
|
+
const minimatch_1 = __importDefault(__nested_webpack_require_1017277__(9566));
|
219859
|
+
const fs_extra_1 = __nested_webpack_require_1017277__(5392);
|
219860
|
+
const download_1 = __nested_webpack_require_1017277__(1611);
|
219861
|
+
const stream_to_buffer_1 = __importDefault(__nested_webpack_require_1017277__(2560));
|
219927
219862
|
exports.FILES_SYMBOL = Symbol('files');
|
219928
219863
|
class Lambda {
|
219929
219864
|
constructor({ zipBuffer, handler, runtime, maxDuration, memory, environment, allowQuery, regions, }) {
|
@@ -220152,12 +220087,12 @@ exports.buildsSchema = {
|
|
220152
220087
|
/***/ }),
|
220153
220088
|
|
220154
220089
|
/***/ 2564:
|
220155
|
-
/***/ ((__unused_webpack_module, exports,
|
220090
|
+
/***/ ((__unused_webpack_module, exports, __nested_webpack_require_1025787__) => {
|
220156
220091
|
|
220157
220092
|
"use strict";
|
220158
220093
|
|
220159
220094
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
220160
|
-
const path_1 =
|
220095
|
+
const path_1 = __nested_webpack_require_1025787__(5622);
|
220161
220096
|
function shouldServe({ entrypoint, files, requestPath, }) {
|
220162
220097
|
requestPath = requestPath.replace(/\/$/, ''); // sanitize trailing '/'
|
220163
220098
|
entrypoint = entrypoint.replace(/\\/, '/'); // windows compatibility
|
@@ -220394,7 +220329,7 @@ module.exports = __webpack_require__(78761);
|
|
220394
220329
|
/******/ var __webpack_module_cache__ = {};
|
220395
220330
|
/******/
|
220396
220331
|
/******/ // The require function
|
220397
|
-
/******/ function
|
220332
|
+
/******/ function __nested_webpack_require_1125522__(moduleId) {
|
220398
220333
|
/******/ // Check if module is in cache
|
220399
220334
|
/******/ if(__webpack_module_cache__[moduleId]) {
|
220400
220335
|
/******/ return __webpack_module_cache__[moduleId].exports;
|
@@ -220409,7 +220344,7 @@ module.exports = __webpack_require__(78761);
|
|
220409
220344
|
/******/ // Execute the module function
|
220410
220345
|
/******/ var threw = true;
|
220411
220346
|
/******/ try {
|
220412
|
-
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports,
|
220347
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __nested_webpack_require_1125522__);
|
220413
220348
|
/******/ threw = false;
|
220414
220349
|
/******/ } finally {
|
220415
220350
|
/******/ if(threw) delete __webpack_module_cache__[moduleId];
|
@@ -220422,11 +220357,11 @@ module.exports = __webpack_require__(78761);
|
|
220422
220357
|
/************************************************************************/
|
220423
220358
|
/******/ /* webpack/runtime/compat */
|
220424
220359
|
/******/
|
220425
|
-
/******/
|
220360
|
+
/******/ __nested_webpack_require_1125522__.ab = __dirname + "/";/************************************************************************/
|
220426
220361
|
/******/ // module exports must be returned from runtime so entry inlining is disabled
|
220427
220362
|
/******/ // startup
|
220428
220363
|
/******/ // Load entry module and return exports
|
220429
|
-
/******/ return
|
220364
|
+
/******/ return __nested_webpack_require_1125522__(2855);
|
220430
220365
|
/******/ })()
|
220431
220366
|
;
|
220432
220367
|
|
@@ -238290,33 +238225,14 @@ exports.checkDeploymentStatus = checkDeploymentStatus;
|
|
238290
238225
|
/***/ }),
|
238291
238226
|
|
238292
238227
|
/***/ 97377:
|
238293
|
-
/***/ (
|
238228
|
+
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
238294
238229
|
|
238295
238230
|
"use strict";
|
238296
238231
|
|
238297
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
238298
|
-
if (k2 === undefined) k2 = k;
|
238299
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
238300
|
-
}) : (function(o, m, k, k2) {
|
238301
|
-
if (k2 === undefined) k2 = k;
|
238302
|
-
o[k2] = m[k];
|
238303
|
-
}));
|
238304
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
238305
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
238306
|
-
}) : function(o, v) {
|
238307
|
-
o["default"] = v;
|
238308
|
-
});
|
238309
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
238310
|
-
if (mod && mod.__esModule) return mod;
|
238311
|
-
var result = {};
|
238312
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
238313
|
-
__setModuleDefault(result, mod);
|
238314
|
-
return result;
|
238315
|
-
};
|
238316
238232
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
238317
238233
|
const fs_extra_1 = __webpack_require__(29394);
|
238318
238234
|
const path_1 = __webpack_require__(85622);
|
238319
|
-
const hashes_1 =
|
238235
|
+
const hashes_1 = __webpack_require__(91234);
|
238320
238236
|
const upload_1 = __webpack_require__(78617);
|
238321
238237
|
const utils_1 = __webpack_require__(52015);
|
238322
238238
|
const errors_1 = __webpack_require__(42054);
|
@@ -238367,7 +238283,7 @@ function buildCreateDeployment() {
|
|
238367
238283
|
else {
|
238368
238284
|
debug(`Provided 'path' is a single file`);
|
238369
238285
|
}
|
238370
|
-
let { fileList } = await utils_1.buildFileTree(path, clientOptions
|
238286
|
+
let { fileList } = await utils_1.buildFileTree(path, clientOptions, debug);
|
238371
238287
|
let configPath;
|
238372
238288
|
if (!nowConfig) {
|
238373
238289
|
// If the user did not provide a config file, use the one in the root directory.
|
@@ -238397,7 +238313,11 @@ function buildCreateDeployment() {
|
|
238397
238313
|
payload: 'There are no files inside your deployment.',
|
238398
238314
|
};
|
238399
238315
|
}
|
238400
|
-
const
|
238316
|
+
const hashedFileMap = await hashes_1.hashes(fileList);
|
238317
|
+
const nftFileList = clientOptions.prebuilt
|
238318
|
+
? await hashes_1.resolveNftJsonFiles(hashedFileMap)
|
238319
|
+
: [];
|
238320
|
+
const files = await hashes_1.hashes(nftFileList, hashedFileMap);
|
238401
238321
|
debug(`Yielding a 'hashes-calculated' event with ${files.size} hashes`);
|
238402
238322
|
yield { type: 'hashes-calculated', payload: hashes_1.mapToObject(files) };
|
238403
238323
|
if (clientOptions.apiUrl) {
|
@@ -238851,10 +238771,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
238851
238771
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
238852
238772
|
};
|
238853
238773
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
238854
|
-
exports.mapToObject = void 0;
|
238774
|
+
exports.resolveNftJsonFiles = exports.hashes = exports.mapToObject = void 0;
|
238855
238775
|
const crypto_1 = __webpack_require__(76417);
|
238856
238776
|
const fs_extra_1 = __importDefault(__webpack_require__(29394));
|
238857
238777
|
const async_sema_1 = __webpack_require__(30401);
|
238778
|
+
const path_1 = __webpack_require__(85622);
|
238858
238779
|
/**
|
238859
238780
|
* Computes a hash for the given buf.
|
238860
238781
|
*
|
@@ -238862,9 +238783,7 @@ const async_sema_1 = __webpack_require__(30401);
|
|
238862
238783
|
* @return {String} hex digest
|
238863
238784
|
*/
|
238864
238785
|
function hash(buf) {
|
238865
|
-
return crypto_1.createHash('sha1')
|
238866
|
-
.update(buf)
|
238867
|
-
.digest('hex');
|
238786
|
+
return crypto_1.createHash('sha1').update(buf).digest('hex');
|
238868
238787
|
}
|
238869
238788
|
/**
|
238870
238789
|
* Transforms map to object
|
@@ -238882,11 +238801,11 @@ exports.mapToObject = mapToObject;
|
|
238882
238801
|
/**
|
238883
238802
|
* Computes hashes for the contents of each file given.
|
238884
238803
|
*
|
238885
|
-
* @param
|
238886
|
-
* @
|
238804
|
+
* @param files - absolute file paths
|
238805
|
+
* @param map - optional map of files to append
|
238806
|
+
* @return Map of hash digest to file object
|
238887
238807
|
*/
|
238888
|
-
async function hashes(files) {
|
238889
|
-
const map = new Map();
|
238808
|
+
async function hashes(files, map = new Map()) {
|
238890
238809
|
const semaphore = new async_sema_1.Sema(100);
|
238891
238810
|
await Promise.all(files.map(async (name) => {
|
238892
238811
|
await semaphore.acquire();
|
@@ -238895,7 +238814,9 @@ async function hashes(files) {
|
|
238895
238814
|
const h = hash(data);
|
238896
238815
|
const entry = map.get(h);
|
238897
238816
|
if (entry) {
|
238898
|
-
entry.names
|
238817
|
+
if (entry.names[0] !== name) {
|
238818
|
+
entry.names.push(name);
|
238819
|
+
}
|
238899
238820
|
}
|
238900
238821
|
else {
|
238901
238822
|
map.set(h, { names: [name], data, mode });
|
@@ -238904,7 +238825,32 @@ async function hashes(files) {
|
|
238904
238825
|
}));
|
238905
238826
|
return map;
|
238906
238827
|
}
|
238907
|
-
exports.
|
238828
|
+
exports.hashes = hashes;
|
238829
|
+
async function resolveNftJsonFiles(hashedFiles) {
|
238830
|
+
const semaphore = new async_sema_1.Sema(100);
|
238831
|
+
const existingFiles = Array.from(hashedFiles.values());
|
238832
|
+
const resolvedFiles = new Set();
|
238833
|
+
await Promise.all(existingFiles.map(async (file) => {
|
238834
|
+
await semaphore.acquire();
|
238835
|
+
const fsPath = file.names[0];
|
238836
|
+
if (fsPath.endsWith('.nft.json')) {
|
238837
|
+
const json = file.data.toString('utf8');
|
238838
|
+
const { version, files } = JSON.parse(json);
|
238839
|
+
if (version === 1 || version === 2) {
|
238840
|
+
for (let f of files) {
|
238841
|
+
const relPath = typeof f === 'string' ? f : f.input;
|
238842
|
+
resolvedFiles.add(path_1.join(path_1.dirname(fsPath), relPath));
|
238843
|
+
}
|
238844
|
+
}
|
238845
|
+
else {
|
238846
|
+
console.error(`Invalid nft.json version: ${version}`);
|
238847
|
+
}
|
238848
|
+
}
|
238849
|
+
semaphore.release();
|
238850
|
+
}));
|
238851
|
+
return Array.from(resolvedFiles);
|
238852
|
+
}
|
238853
|
+
exports.resolveNftJsonFiles = resolveNftJsonFiles;
|
238908
238854
|
|
238909
238855
|
|
238910
238856
|
/***/ }),
|
@@ -238986,10 +238932,10 @@ const maybeRead = async function (path, default_) {
|
|
238986
238932
|
return default_;
|
238987
238933
|
}
|
238988
238934
|
};
|
238989
|
-
async function buildFileTree(path, isDirectory,
|
238935
|
+
async function buildFileTree(path, { isDirectory, prebuilt, rootDirectory, }, debug) {
|
238990
238936
|
const ignoreList = [];
|
238991
238937
|
let fileList;
|
238992
|
-
let { ig, ignores } = await getVercelIgnore(path, prebuilt);
|
238938
|
+
let { ig, ignores } = await getVercelIgnore(path, prebuilt, rootDirectory);
|
238993
238939
|
debug(`Found ${ignores.length} rules in .vercelignore`);
|
238994
238940
|
debug('Building file tree...');
|
238995
238941
|
if (isDirectory && !Array.isArray(path)) {
|
@@ -239018,10 +238964,20 @@ async function buildFileTree(path, isDirectory, debug, prebuilt) {
|
|
239018
238964
|
return { fileList, ignoreList };
|
239019
238965
|
}
|
239020
238966
|
exports.buildFileTree = buildFileTree;
|
239021
|
-
async function getVercelIgnore(cwd, prebuilt) {
|
239022
|
-
|
239023
|
-
|
239024
|
-
|
238967
|
+
async function getVercelIgnore(cwd, prebuilt, rootDirectory) {
|
238968
|
+
let ignores = [];
|
238969
|
+
const outputDir = path_1.posix.join(rootDirectory || '', '.output');
|
238970
|
+
if (prebuilt) {
|
238971
|
+
ignores.push('*');
|
238972
|
+
const parts = outputDir.split('/');
|
238973
|
+
parts.forEach((_, i) => {
|
238974
|
+
const level = parts.slice(0, i + 1).join('/');
|
238975
|
+
ignores.push(`!${level}`);
|
238976
|
+
});
|
238977
|
+
ignores.push(`!${outputDir}/**`);
|
238978
|
+
}
|
238979
|
+
else {
|
238980
|
+
ignores = [
|
239025
238981
|
'.hg',
|
239026
238982
|
'.git',
|
239027
238983
|
'.gitmodules',
|
@@ -239046,8 +239002,9 @@ async function getVercelIgnore(cwd, prebuilt) {
|
|
239046
239002
|
'__pycache__',
|
239047
239003
|
'venv',
|
239048
239004
|
'CVS',
|
239049
|
-
|
239005
|
+
`.output`,
|
239050
239006
|
];
|
239007
|
+
}
|
239051
239008
|
const cwds = Array.isArray(cwd) ? cwd : [cwd];
|
239052
239009
|
const files = await Promise.all(cwds.map(async (cwd) => {
|
239053
239010
|
const [vercelignore, nowignore] = await Promise.all([
|
@@ -239107,9 +239064,8 @@ const fetch = async (url, token, opts = {}, debugEnabled, useNodeFetch) => {
|
|
239107
239064
|
exports.fetch = fetch;
|
239108
239065
|
const isWin = process.platform.includes('win');
|
239109
239066
|
const prepareFiles = (files, clientOptions) => {
|
239110
|
-
const preparedFiles = [
|
239111
|
-
|
239112
|
-
const file = files.get(sha);
|
239067
|
+
const preparedFiles = [];
|
239068
|
+
for (const [sha, file] of files) {
|
239113
239069
|
for (const name of file.names) {
|
239114
239070
|
let fileName;
|
239115
239071
|
if (clientOptions.isDirectory) {
|
@@ -239124,15 +239080,14 @@ const prepareFiles = (files, clientOptions) => {
|
|
239124
239080
|
const segments = name.split(path_1.sep);
|
239125
239081
|
fileName = segments[segments.length - 1];
|
239126
239082
|
}
|
239127
|
-
|
239083
|
+
preparedFiles.push({
|
239128
239084
|
file: isWin ? fileName.replace(/\\/g, '/') : fileName,
|
239129
239085
|
size: file.data.byteLength || file.data.length,
|
239130
239086
|
mode: file.mode,
|
239131
239087
|
sha,
|
239132
239088
|
});
|
239133
239089
|
}
|
239134
|
-
|
239135
|
-
}, []);
|
239090
|
+
}
|
239136
239091
|
return preparedFiles;
|
239137
239092
|
};
|
239138
239093
|
exports.prepareFiles = prepareFiles;
|
@@ -251927,6 +251882,7 @@ exports.default = async (client) => {
|
|
251927
251882
|
forceNew: argv['--force'],
|
251928
251883
|
withCache: argv['--with-cache'],
|
251929
251884
|
prebuilt: argv['--prebuilt'],
|
251885
|
+
rootDirectory,
|
251930
251886
|
quiet,
|
251931
251887
|
wantsPublic: argv['--public'] || localConfig.public,
|
251932
251888
|
isFile,
|
@@ -259480,7 +259436,7 @@ function printInspectUrl(output, inspectorUrl, deployStamp) {
|
|
259480
259436
|
output.print(emoji_1.prependEmoji(`Inspect: ${chalk_1.default.bold(inspectorUrl)} ${deployStamp()}`, emoji_1.emoji('inspect')) + `\n`);
|
259481
259437
|
}
|
259482
259438
|
async function processDeployment({ org, cwd, projectName, isSettingUpProject, skipAutoDetectionConfirmation, ...args }) {
|
259483
|
-
let { now, output, paths, requestBody, deployStamp, force, withCache, nowConfig, quiet, prebuilt, } = args;
|
259439
|
+
let { now, output, paths, requestBody, deployStamp, force, withCache, nowConfig, quiet, prebuilt, rootDirectory, } = args;
|
259484
259440
|
const { debug } = output;
|
259485
259441
|
let bar = null;
|
259486
259442
|
const { env = {} } = requestBody;
|
@@ -259498,6 +259454,7 @@ async function processDeployment({ org, cwd, projectName, isSettingUpProject, sk
|
|
259498
259454
|
force,
|
259499
259455
|
withCache,
|
259500
259456
|
prebuilt,
|
259457
|
+
rootDirectory,
|
259501
259458
|
skipAutoDetectionConfirmation,
|
259502
259459
|
};
|
259503
259460
|
output.spinner(isSettingUpProject
|
@@ -266346,7 +266303,7 @@ class Now extends events_1.default {
|
|
266346
266303
|
// Legacy
|
266347
266304
|
nowConfig: nowConfig = {},
|
266348
266305
|
// Latest
|
266349
|
-
name, project, prebuilt = false, wantsPublic, meta, regions, quiet = false, env, build, forceNew = false, withCache = false, target = null, deployStamp, projectSettings, skipAutoDetectionConfirmation, }, org, isSettingUpProject, cwd) {
|
266306
|
+
name, project, prebuilt = false, rootDirectory, wantsPublic, meta, regions, quiet = false, env, build, forceNew = false, withCache = false, target = null, deployStamp, projectSettings, skipAutoDetectionConfirmation, }, org, isSettingUpProject, cwd) {
|
266350
266307
|
let hashes = {};
|
266351
266308
|
const uploadStamp = stamp_1.default();
|
266352
266309
|
let requestBody = {
|
@@ -266382,6 +266339,7 @@ class Now extends events_1.default {
|
|
266382
266339
|
skipAutoDetectionConfirmation,
|
266383
266340
|
cwd,
|
266384
266341
|
prebuilt,
|
266342
|
+
rootDirectory,
|
266385
266343
|
});
|
266386
266344
|
if (deployment && deployment.warnings) {
|
266387
266345
|
let sizeExceeded = 0;
|
@@ -271113,7 +271071,7 @@ module.exports = JSON.parse("[\"ac\",\"com.ac\",\"edu.ac\",\"gov.ac\",\"net.ac\"
|
|
271113
271071
|
/***/ ((module) => {
|
271114
271072
|
|
271115
271073
|
"use strict";
|
271116
|
-
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.
|
271074
|
+
module.exports = JSON.parse("{\"name\":\"vercel\",\"version\":\"23.1.3-canary.67\",\"preferGlobal\":true,\"license\":\"Apache-2.0\",\"description\":\"The command-line interface for Vercel\",\"homepage\":\"https://vercel.com\",\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/cli\"},\"scripts\":{\"preinstall\":\"node ./scripts/preinstall.js\",\"test\":\"jest\",\"test-unit\":\"jest --coverage --verbose\",\"test-integration-cli\":\"rimraf test/fixtures/integration && ava test/integration.js --serial --fail-fast --verbose\",\"test-integration-dev\":\"ava test/dev/integration.js --serial --fail-fast --verbose\",\"prepublishOnly\":\"yarn build\",\"coverage\":\"codecov\",\"build\":\"node -r ts-eager/register ./scripts/build.ts\",\"build-dev\":\"node -r ts-eager/register ./scripts/build.ts --dev\"},\"bin\":{\"vc\":\"./dist/index.js\",\"vercel\":\"./dist/index.js\"},\"files\":[\"dist\",\"scripts/preinstall.js\"],\"ava\":{\"compileEnhancements\":false,\"extensions\":[\"ts\"],\"require\":[\"ts-node/register/transpile-only\",\"esm\"]},\"engines\":{\"node\":\">= 12\"},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.42\",\"@vercel/go\":\"1.2.4-canary.4\",\"@vercel/node\":\"1.12.2-canary.7\",\"@vercel/python\":\"2.1.2-canary.2\",\"@vercel/ruby\":\"1.2.10-canary.0\",\"update-notifier\":\"4.1.0\",\"vercel-plugin-middleware\":\"0.0.0-canary.19\",\"vercel-plugin-node\":\"1.12.2-canary.34\"},\"devDependencies\":{\"@next/env\":\"11.1.2\",\"@sentry/node\":\"5.5.0\",\"@sindresorhus/slugify\":\"0.11.0\",\"@tootallnate/once\":\"1.1.2\",\"@types/ansi-escapes\":\"3.0.0\",\"@types/ansi-regex\":\"4.0.0\",\"@types/async-retry\":\"1.2.1\",\"@types/bytes\":\"3.0.0\",\"@types/chance\":\"1.1.3\",\"@types/debug\":\"0.0.31\",\"@types/dotenv\":\"6.1.1\",\"@types/escape-html\":\"0.0.20\",\"@types/express\":\"4.17.13\",\"@types/fs-extra\":\"9.0.13\",\"@types/glob\":\"7.1.1\",\"@types/http-proxy\":\"1.16.2\",\"@types/inquirer\":\"7.3.1\",\"@types/jest\":\"27.0.1\",\"@types/load-json-file\":\"2.0.7\",\"@types/mime-types\":\"2.1.0\",\"@types/minimatch\":\"3.0.3\",\"@types/mri\":\"1.1.0\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"11.11.0\",\"@types/node-fetch\":\"2.5.10\",\"@types/npm-package-arg\":\"6.1.0\",\"@types/pluralize\":\"0.0.29\",\"@types/progress\":\"2.0.3\",\"@types/psl\":\"1.1.0\",\"@types/semver\":\"6.0.1\",\"@types/tar-fs\":\"1.16.1\",\"@types/text-table\":\"0.2.0\",\"@types/title\":\"3.4.1\",\"@types/universal-analytics\":\"0.4.2\",\"@types/update-notifier\":\"5.1.0\",\"@types/which\":\"1.3.2\",\"@types/write-json-file\":\"2.2.1\",\"@vercel/frameworks\":\"0.5.1-canary.17\",\"@vercel/ncc\":\"0.24.0\",\"@vercel/nft\":\"0.17.0\",\"@zeit/fun\":\"0.11.2\",\"@zeit/source-map-support\":\"0.6.2\",\"ajv\":\"6.12.2\",\"alpha-sort\":\"2.0.1\",\"ansi-escapes\":\"3.0.0\",\"ansi-regex\":\"3.0.0\",\"arg\":\"5.0.0\",\"async-listen\":\"1.2.0\",\"async-retry\":\"1.1.3\",\"async-sema\":\"2.1.4\",\"ava\":\"2.2.0\",\"bytes\":\"3.0.0\",\"chalk\":\"4.1.0\",\"chance\":\"1.1.7\",\"chokidar\":\"3.3.1\",\"clipboardy\":\"2.1.0\",\"codecov\":\"3.8.2\",\"cpy\":\"7.2.0\",\"credit-card\":\"3.0.1\",\"date-fns\":\"1.29.0\",\"debug\":\"3.1.0\",\"dot\":\"1.1.3\",\"dotenv\":\"4.0.0\",\"email-prompt\":\"0.3.2\",\"email-validator\":\"1.1.1\",\"epipebomb\":\"1.0.0\",\"escape-html\":\"1.0.3\",\"esm\":\"3.1.4\",\"execa\":\"3.2.0\",\"express\":\"4.17.1\",\"fast-deep-equal\":\"3.1.3\",\"fs-extra\":\"10.0.0\",\"get-port\":\"5.1.1\",\"glob\":\"7.1.2\",\"http-proxy\":\"1.18.1\",\"inquirer\":\"7.0.4\",\"is-docker\":\"2.2.1\",\"is-port-reachable\":\"3.0.0\",\"is-url\":\"1.2.2\",\"jaro-winkler\":\"0.2.8\",\"jsonlines\":\"0.1.1\",\"load-json-file\":\"3.0.0\",\"mime-types\":\"2.1.24\",\"minimatch\":\"3.0.4\",\"mri\":\"1.1.5\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"npm-package-arg\":\"6.1.0\",\"open\":\"8.2.0\",\"ora\":\"3.4.0\",\"pcre-to-regexp\":\"1.0.0\",\"pluralize\":\"7.0.0\",\"progress\":\"2.0.3\",\"promisepipe\":\"3.0.0\",\"psl\":\"1.1.31\",\"qr-image\":\"3.2.0\",\"raw-body\":\"2.4.1\",\"rimraf\":\"3.0.2\",\"semver\":\"5.5.0\",\"serve-handler\":\"6.1.1\",\"strip-ansi\":\"5.2.0\",\"stripe\":\"5.1.0\",\"tar-fs\":\"1.16.3\",\"test-listen\":\"1.1.0\",\"text-table\":\"0.2.0\",\"title\":\"3.4.1\",\"tmp-promise\":\"1.0.3\",\"tree-kill\":\"1.2.2\",\"ts-eager\":\"2.0.2\",\"ts-node\":\"8.3.0\",\"typescript\":\"4.3.4\",\"universal-analytics\":\"0.4.20\",\"utility-types\":\"2.1.0\",\"which\":\"2.0.2\",\"write-json-file\":\"2.2.0\",\"xdg-app-paths\":\"5.1.0\"},\"jest\":{\"preset\":\"ts-jest\",\"globals\":{\"ts-jest\":{\"diagnostics\":false,\"isolatedModules\":true}},\"verbose\":false,\"testEnvironment\":\"node\",\"testMatch\":[\"<rootDir>/test/**/*.test.ts\"]},\"gitHead\":\"d3ef240f6e01fff3d11d0499c9aaf892968748e3\"}");
|
271117
271075
|
|
271118
271076
|
/***/ }),
|
271119
271077
|
|
@@ -271129,7 +271087,7 @@ module.exports = JSON.parse("{\"VISA\":\"Visa\",\"MASTERCARD\":\"MasterCard\",\"
|
|
271129
271087
|
/***/ ((module) => {
|
271130
271088
|
|
271131
271089
|
"use strict";
|
271132
|
-
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.
|
271090
|
+
module.exports = JSON.parse("{\"name\":\"@vercel/client\",\"version\":\"10.2.3-canary.45\",\"main\":\"dist/index.js\",\"typings\":\"dist/index.d.ts\",\"homepage\":\"https://vercel.com\",\"license\":\"MIT\",\"files\":[\"dist\"],\"repository\":{\"type\":\"git\",\"url\":\"https://github.com/vercel/vercel.git\",\"directory\":\"packages/client\"},\"scripts\":{\"build\":\"tsc\",\"test-integration-once\":\"jest --verbose --runInBand --bail tests/create-deployment.test.ts tests/create-legacy-deployment.test.ts tests/paths.test.ts\",\"test-unit\":\"jest --verbose --runInBand --bail tests/unit.*test.*\"},\"engines\":{\"node\":\">= 12\"},\"devDependencies\":{\"@types/async-retry\":\"1.4.1\",\"@types/fs-extra\":\"7.0.0\",\"@types/jest\":\"27.0.1\",\"@types/ms\":\"0.7.30\",\"@types/node\":\"12.0.4\",\"@types/node-fetch\":\"2.5.4\",\"@types/recursive-readdir\":\"2.2.0\",\"typescript\":\"4.3.4\"},\"jest\":{\"preset\":\"ts-jest\",\"testEnvironment\":\"node\",\"verbose\":false,\"setupFilesAfterEnv\":[\"<rootDir>/tests/setup/index.ts\"]},\"dependencies\":{\"@vercel/build-utils\":\"2.12.3-canary.42\",\"@zeit/fetch\":\"5.2.0\",\"async-retry\":\"1.2.3\",\"async-sema\":\"3.0.0\",\"fs-extra\":\"8.0.1\",\"ignore\":\"4.0.6\",\"ms\":\"2.1.2\",\"node-fetch\":\"2.6.1\",\"querystring\":\"^0.2.0\",\"recursive-readdir\":\"2.2.2\",\"sleep-promise\":\"8.0.1\"},\"gitHead\":\"d3ef240f6e01fff3d11d0499c9aaf892968748e3\"}");
|
271133
271091
|
|
271134
271092
|
/***/ }),
|
271135
271093
|
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "vercel",
|
3
|
-
"version": "23.1.3-canary.
|
3
|
+
"version": "23.1.3-canary.67",
|
4
4
|
"preferGlobal": true,
|
5
5
|
"license": "Apache-2.0",
|
6
6
|
"description": "The command-line interface for Vercel",
|
@@ -43,14 +43,14 @@
|
|
43
43
|
"node": ">= 12"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@vercel/build-utils": "2.12.3-canary.
|
46
|
+
"@vercel/build-utils": "2.12.3-canary.42",
|
47
47
|
"@vercel/go": "1.2.4-canary.4",
|
48
48
|
"@vercel/node": "1.12.2-canary.7",
|
49
|
-
"@vercel/python": "2.1.2-canary.
|
49
|
+
"@vercel/python": "2.1.2-canary.2",
|
50
50
|
"@vercel/ruby": "1.2.10-canary.0",
|
51
51
|
"update-notifier": "4.1.0",
|
52
|
-
"vercel-plugin-middleware": "0.0.0-canary.
|
53
|
-
"vercel-plugin-node": "1.12.2-canary.
|
52
|
+
"vercel-plugin-middleware": "0.0.0-canary.19",
|
53
|
+
"vercel-plugin-node": "1.12.2-canary.34"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
56
56
|
"@next/env": "11.1.2",
|
@@ -184,5 +184,5 @@
|
|
184
184
|
"<rootDir>/test/**/*.test.ts"
|
185
185
|
]
|
186
186
|
},
|
187
|
-
"gitHead": "
|
187
|
+
"gitHead": "d3ef240f6e01fff3d11d0499c9aaf892968748e3"
|
188
188
|
}
|