netlify-cli 8.3.0 → 8.4.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/npm-shrinkwrap.json +103 -375
- package/package.json +1 -1
- package/src/utils/deploy/deploy-site.js +16 -15
- package/src/utils/deploy/hash-fns.js +4 -2
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.4.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "netlify-cli",
|
|
9
|
-
"version": "8.
|
|
9
|
+
"version": "8.4.0",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
@@ -2503,69 +2503,6 @@
|
|
|
2503
2503
|
"node": "^12.20.0 || ^14.14.0 || >=16.0.0"
|
|
2504
2504
|
}
|
|
2505
2505
|
},
|
|
2506
|
-
"node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it": {
|
|
2507
|
-
"version": "5.3.1",
|
|
2508
|
-
"resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.1.tgz",
|
|
2509
|
-
"integrity": "sha512-J8owr4lft/uKrozivDmIzKKe5IQ6zTWKyemdwljYDMTh2UrCwEH5u35X17zqO5LCS7FJ6uyCy5yBtBUrqdAtMA==",
|
|
2510
|
-
"dependencies": {
|
|
2511
|
-
"@babel/parser": "^7.15.7",
|
|
2512
|
-
"@netlify/esbuild": "^0.13.6",
|
|
2513
|
-
"@vercel/nft": "^0.17.0",
|
|
2514
|
-
"archiver": "^5.3.0",
|
|
2515
|
-
"common-path-prefix": "^3.0.0",
|
|
2516
|
-
"cp-file": "^9.0.0",
|
|
2517
|
-
"del": "^6.0.0",
|
|
2518
|
-
"elf-cam": "^0.1.1",
|
|
2519
|
-
"end-of-stream": "^1.4.4",
|
|
2520
|
-
"es-module-lexer": "^0.9.0",
|
|
2521
|
-
"execa": "^5.0.0",
|
|
2522
|
-
"filter-obj": "^2.0.1",
|
|
2523
|
-
"find-up": "^5.0.0",
|
|
2524
|
-
"glob": "^7.1.6",
|
|
2525
|
-
"is-builtin-module": "^3.1.0",
|
|
2526
|
-
"junk": "^3.1.0",
|
|
2527
|
-
"locate-path": "^6.0.0",
|
|
2528
|
-
"make-dir": "^3.1.0",
|
|
2529
|
-
"merge-options": "^3.0.4",
|
|
2530
|
-
"minimatch": "^3.0.4",
|
|
2531
|
-
"p-map": "^4.0.0",
|
|
2532
|
-
"path-exists": "^4.0.0",
|
|
2533
|
-
"pkg-dir": "^5.0.0",
|
|
2534
|
-
"precinct": "^8.2.0",
|
|
2535
|
-
"read-package-json-fast": "^2.0.2",
|
|
2536
|
-
"require-package-name": "^2.0.1",
|
|
2537
|
-
"resolve": "^2.0.0-next.1",
|
|
2538
|
-
"semver": "^7.0.0",
|
|
2539
|
-
"tmp-promise": "^3.0.2",
|
|
2540
|
-
"toml": "^3.0.0",
|
|
2541
|
-
"typescript": "^4.4.3",
|
|
2542
|
-
"unixify": "^1.0.0",
|
|
2543
|
-
"yargs": "^16.0.0"
|
|
2544
|
-
},
|
|
2545
|
-
"bin": {
|
|
2546
|
-
"zip-it-and-ship-it": "dist/bin.js"
|
|
2547
|
-
},
|
|
2548
|
-
"engines": {
|
|
2549
|
-
"node": "^12.20.0 || ^14.14.0 || >=16.0.0"
|
|
2550
|
-
}
|
|
2551
|
-
},
|
|
2552
|
-
"node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/yargs": {
|
|
2553
|
-
"version": "16.2.0",
|
|
2554
|
-
"resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz",
|
|
2555
|
-
"integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==",
|
|
2556
|
-
"dependencies": {
|
|
2557
|
-
"cliui": "^7.0.2",
|
|
2558
|
-
"escalade": "^3.1.1",
|
|
2559
|
-
"get-caller-file": "^2.0.5",
|
|
2560
|
-
"require-directory": "^2.1.1",
|
|
2561
|
-
"string-width": "^4.2.0",
|
|
2562
|
-
"y18n": "^5.0.5",
|
|
2563
|
-
"yargs-parser": "^20.2.2"
|
|
2564
|
-
},
|
|
2565
|
-
"engines": {
|
|
2566
|
-
"node": ">=10"
|
|
2567
|
-
}
|
|
2568
|
-
},
|
|
2569
2506
|
"node_modules/@netlify/build/node_modules/@sindresorhus/is": {
|
|
2570
2507
|
"version": "2.1.1",
|
|
2571
2508
|
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz",
|
|
@@ -2611,6 +2548,16 @@
|
|
|
2611
2548
|
"node": ">=6"
|
|
2612
2549
|
}
|
|
2613
2550
|
},
|
|
2551
|
+
"node_modules/@netlify/build/node_modules/cliui": {
|
|
2552
|
+
"version": "6.0.0",
|
|
2553
|
+
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
|
|
2554
|
+
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
|
|
2555
|
+
"dependencies": {
|
|
2556
|
+
"string-width": "^4.2.0",
|
|
2557
|
+
"strip-ansi": "^6.0.0",
|
|
2558
|
+
"wrap-ansi": "^6.2.0"
|
|
2559
|
+
}
|
|
2560
|
+
},
|
|
2614
2561
|
"node_modules/@netlify/build/node_modules/color-convert": {
|
|
2615
2562
|
"version": "2.0.1",
|
|
2616
2563
|
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
|
@@ -2646,6 +2593,40 @@
|
|
|
2646
2593
|
"node": ">=0.3.1"
|
|
2647
2594
|
}
|
|
2648
2595
|
},
|
|
2596
|
+
"node_modules/@netlify/build/node_modules/find-up": {
|
|
2597
|
+
"version": "4.1.0",
|
|
2598
|
+
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
|
2599
|
+
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
|
2600
|
+
"dependencies": {
|
|
2601
|
+
"locate-path": "^5.0.0",
|
|
2602
|
+
"path-exists": "^4.0.0"
|
|
2603
|
+
},
|
|
2604
|
+
"engines": {
|
|
2605
|
+
"node": ">=8"
|
|
2606
|
+
}
|
|
2607
|
+
},
|
|
2608
|
+
"node_modules/@netlify/build/node_modules/find-up/node_modules/locate-path": {
|
|
2609
|
+
"version": "5.0.0",
|
|
2610
|
+
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
|
2611
|
+
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
|
2612
|
+
"dependencies": {
|
|
2613
|
+
"p-locate": "^4.1.0"
|
|
2614
|
+
},
|
|
2615
|
+
"engines": {
|
|
2616
|
+
"node": ">=8"
|
|
2617
|
+
}
|
|
2618
|
+
},
|
|
2619
|
+
"node_modules/@netlify/build/node_modules/find-up/node_modules/p-locate": {
|
|
2620
|
+
"version": "4.1.0",
|
|
2621
|
+
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
|
2622
|
+
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
|
2623
|
+
"dependencies": {
|
|
2624
|
+
"p-limit": "^2.2.0"
|
|
2625
|
+
},
|
|
2626
|
+
"engines": {
|
|
2627
|
+
"node": ">=8"
|
|
2628
|
+
}
|
|
2629
|
+
},
|
|
2649
2630
|
"node_modules/@netlify/build/node_modules/get-caller-file": {
|
|
2650
2631
|
"version": "2.0.5",
|
|
2651
2632
|
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
|
@@ -2797,6 +2778,11 @@
|
|
|
2797
2778
|
"node": ">=8"
|
|
2798
2779
|
}
|
|
2799
2780
|
},
|
|
2781
|
+
"node_modules/@netlify/build/node_modules/y18n": {
|
|
2782
|
+
"version": "4.0.3",
|
|
2783
|
+
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
|
2784
|
+
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
2785
|
+
},
|
|
2800
2786
|
"node_modules/@netlify/build/node_modules/yargs": {
|
|
2801
2787
|
"version": "15.4.1",
|
|
2802
2788
|
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
|
|
@@ -2818,56 +2804,7 @@
|
|
|
2818
2804
|
"node": ">=8"
|
|
2819
2805
|
}
|
|
2820
2806
|
},
|
|
2821
|
-
"node_modules/@netlify/build/node_modules/yargs
|
|
2822
|
-
"version": "6.0.0",
|
|
2823
|
-
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
|
|
2824
|
-
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
|
|
2825
|
-
"dependencies": {
|
|
2826
|
-
"string-width": "^4.2.0",
|
|
2827
|
-
"strip-ansi": "^6.0.0",
|
|
2828
|
-
"wrap-ansi": "^6.2.0"
|
|
2829
|
-
}
|
|
2830
|
-
},
|
|
2831
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/find-up": {
|
|
2832
|
-
"version": "4.1.0",
|
|
2833
|
-
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
|
2834
|
-
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
|
2835
|
-
"dependencies": {
|
|
2836
|
-
"locate-path": "^5.0.0",
|
|
2837
|
-
"path-exists": "^4.0.0"
|
|
2838
|
-
},
|
|
2839
|
-
"engines": {
|
|
2840
|
-
"node": ">=8"
|
|
2841
|
-
}
|
|
2842
|
-
},
|
|
2843
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/locate-path": {
|
|
2844
|
-
"version": "5.0.0",
|
|
2845
|
-
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
|
2846
|
-
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
|
2847
|
-
"dependencies": {
|
|
2848
|
-
"p-locate": "^4.1.0"
|
|
2849
|
-
},
|
|
2850
|
-
"engines": {
|
|
2851
|
-
"node": ">=8"
|
|
2852
|
-
}
|
|
2853
|
-
},
|
|
2854
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/p-locate": {
|
|
2855
|
-
"version": "4.1.0",
|
|
2856
|
-
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
|
2857
|
-
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
|
2858
|
-
"dependencies": {
|
|
2859
|
-
"p-limit": "^2.2.0"
|
|
2860
|
-
},
|
|
2861
|
-
"engines": {
|
|
2862
|
-
"node": ">=8"
|
|
2863
|
-
}
|
|
2864
|
-
},
|
|
2865
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/y18n": {
|
|
2866
|
-
"version": "4.0.3",
|
|
2867
|
-
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
|
2868
|
-
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
2869
|
-
},
|
|
2870
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/yargs-parser": {
|
|
2807
|
+
"node_modules/@netlify/build/node_modules/yargs-parser": {
|
|
2871
2808
|
"version": "18.1.3",
|
|
2872
2809
|
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
|
|
2873
2810
|
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
|
|
@@ -3248,89 +3185,6 @@
|
|
|
3248
3185
|
"node": "^12.20.0 || ^14.14.0 || >=16.0.0"
|
|
3249
3186
|
}
|
|
3250
3187
|
},
|
|
3251
|
-
"node_modules/@netlify/functions-utils/node_modules/@netlify/zip-it-and-ship-it": {
|
|
3252
|
-
"version": "5.3.1",
|
|
3253
|
-
"resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.1.tgz",
|
|
3254
|
-
"integrity": "sha512-J8owr4lft/uKrozivDmIzKKe5IQ6zTWKyemdwljYDMTh2UrCwEH5u35X17zqO5LCS7FJ6uyCy5yBtBUrqdAtMA==",
|
|
3255
|
-
"dependencies": {
|
|
3256
|
-
"@babel/parser": "^7.15.7",
|
|
3257
|
-
"@netlify/esbuild": "^0.13.6",
|
|
3258
|
-
"@vercel/nft": "^0.17.0",
|
|
3259
|
-
"archiver": "^5.3.0",
|
|
3260
|
-
"common-path-prefix": "^3.0.0",
|
|
3261
|
-
"cp-file": "^9.0.0",
|
|
3262
|
-
"del": "^6.0.0",
|
|
3263
|
-
"elf-cam": "^0.1.1",
|
|
3264
|
-
"end-of-stream": "^1.4.4",
|
|
3265
|
-
"es-module-lexer": "^0.9.0",
|
|
3266
|
-
"execa": "^5.0.0",
|
|
3267
|
-
"filter-obj": "^2.0.1",
|
|
3268
|
-
"find-up": "^5.0.0",
|
|
3269
|
-
"glob": "^7.1.6",
|
|
3270
|
-
"is-builtin-module": "^3.1.0",
|
|
3271
|
-
"junk": "^3.1.0",
|
|
3272
|
-
"locate-path": "^6.0.0",
|
|
3273
|
-
"make-dir": "^3.1.0",
|
|
3274
|
-
"merge-options": "^3.0.4",
|
|
3275
|
-
"minimatch": "^3.0.4",
|
|
3276
|
-
"p-map": "^4.0.0",
|
|
3277
|
-
"path-exists": "^4.0.0",
|
|
3278
|
-
"pkg-dir": "^5.0.0",
|
|
3279
|
-
"precinct": "^8.2.0",
|
|
3280
|
-
"read-package-json-fast": "^2.0.2",
|
|
3281
|
-
"require-package-name": "^2.0.1",
|
|
3282
|
-
"resolve": "^2.0.0-next.1",
|
|
3283
|
-
"semver": "^7.0.0",
|
|
3284
|
-
"tmp-promise": "^3.0.2",
|
|
3285
|
-
"toml": "^3.0.0",
|
|
3286
|
-
"typescript": "^4.4.3",
|
|
3287
|
-
"unixify": "^1.0.0",
|
|
3288
|
-
"yargs": "^16.0.0"
|
|
3289
|
-
},
|
|
3290
|
-
"bin": {
|
|
3291
|
-
"zip-it-and-ship-it": "dist/bin.js"
|
|
3292
|
-
},
|
|
3293
|
-
"engines": {
|
|
3294
|
-
"node": "^12.20.0 || ^14.14.0 || >=16.0.0"
|
|
3295
|
-
}
|
|
3296
|
-
},
|
|
3297
|
-
"node_modules/@netlify/functions-utils/node_modules/get-caller-file": {
|
|
3298
|
-
"version": "2.0.5",
|
|
3299
|
-
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
|
3300
|
-
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",
|
|
3301
|
-
"engines": {
|
|
3302
|
-
"node": "6.* || 8.* || >= 10.*"
|
|
3303
|
-
}
|
|
3304
|
-
},
|
|
3305
|
-
"node_modules/@netlify/functions-utils/node_modules/resolve": {
|
|
3306
|
-
"version": "2.0.0-next.3",
|
|
3307
|
-
"resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.3.tgz",
|
|
3308
|
-
"integrity": "sha512-W8LucSynKUIDu9ylraa7ueVZ7hc0uAgJBxVsQSKOXOyle8a93qXhcz+XAXZ8bIq2d6i4Ehddn6Evt+0/UwKk6Q==",
|
|
3309
|
-
"dependencies": {
|
|
3310
|
-
"is-core-module": "^2.2.0",
|
|
3311
|
-
"path-parse": "^1.0.6"
|
|
3312
|
-
},
|
|
3313
|
-
"funding": {
|
|
3314
|
-
"url": "https://github.com/sponsors/ljharb"
|
|
3315
|
-
}
|
|
3316
|
-
},
|
|
3317
|
-
"node_modules/@netlify/functions-utils/node_modules/yargs": {
|
|
3318
|
-
"version": "16.2.0",
|
|
3319
|
-
"resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz",
|
|
3320
|
-
"integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==",
|
|
3321
|
-
"dependencies": {
|
|
3322
|
-
"cliui": "^7.0.2",
|
|
3323
|
-
"escalade": "^3.1.1",
|
|
3324
|
-
"get-caller-file": "^2.0.5",
|
|
3325
|
-
"require-directory": "^2.1.1",
|
|
3326
|
-
"string-width": "^4.2.0",
|
|
3327
|
-
"y18n": "^5.0.5",
|
|
3328
|
-
"yargs-parser": "^20.2.2"
|
|
3329
|
-
},
|
|
3330
|
-
"engines": {
|
|
3331
|
-
"node": ">=10"
|
|
3332
|
-
}
|
|
3333
|
-
},
|
|
3334
3188
|
"node_modules/@netlify/git-utils": {
|
|
3335
3189
|
"version": "4.0.0",
|
|
3336
3190
|
"resolved": "https://registry.npmjs.org/@netlify/git-utils/-/git-utils-4.0.0.tgz",
|
|
@@ -22391,62 +22245,6 @@
|
|
|
22391
22245
|
"yargs": "^15.3.1"
|
|
22392
22246
|
},
|
|
22393
22247
|
"dependencies": {
|
|
22394
|
-
"@netlify/zip-it-and-ship-it": {
|
|
22395
|
-
"version": "5.3.1",
|
|
22396
|
-
"resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.1.tgz",
|
|
22397
|
-
"integrity": "sha512-J8owr4lft/uKrozivDmIzKKe5IQ6zTWKyemdwljYDMTh2UrCwEH5u35X17zqO5LCS7FJ6uyCy5yBtBUrqdAtMA==",
|
|
22398
|
-
"requires": {
|
|
22399
|
-
"@babel/parser": "^7.15.7",
|
|
22400
|
-
"@netlify/esbuild": "^0.13.6",
|
|
22401
|
-
"@vercel/nft": "^0.17.0",
|
|
22402
|
-
"archiver": "^5.3.0",
|
|
22403
|
-
"common-path-prefix": "^3.0.0",
|
|
22404
|
-
"cp-file": "^9.0.0",
|
|
22405
|
-
"del": "^6.0.0",
|
|
22406
|
-
"elf-cam": "^0.1.1",
|
|
22407
|
-
"end-of-stream": "^1.4.4",
|
|
22408
|
-
"es-module-lexer": "^0.9.0",
|
|
22409
|
-
"execa": "^5.0.0",
|
|
22410
|
-
"filter-obj": "^2.0.1",
|
|
22411
|
-
"find-up": "^5.0.0",
|
|
22412
|
-
"glob": "^7.1.6",
|
|
22413
|
-
"is-builtin-module": "^3.1.0",
|
|
22414
|
-
"junk": "^3.1.0",
|
|
22415
|
-
"locate-path": "^6.0.0",
|
|
22416
|
-
"make-dir": "^3.1.0",
|
|
22417
|
-
"merge-options": "^3.0.4",
|
|
22418
|
-
"minimatch": "^3.0.4",
|
|
22419
|
-
"p-map": "^4.0.0",
|
|
22420
|
-
"path-exists": "^4.0.0",
|
|
22421
|
-
"pkg-dir": "^5.0.0",
|
|
22422
|
-
"precinct": "^8.2.0",
|
|
22423
|
-
"read-package-json-fast": "^2.0.2",
|
|
22424
|
-
"require-package-name": "^2.0.1",
|
|
22425
|
-
"resolve": "^2.0.0-next.1",
|
|
22426
|
-
"semver": "^7.0.0",
|
|
22427
|
-
"tmp-promise": "^3.0.2",
|
|
22428
|
-
"toml": "^3.0.0",
|
|
22429
|
-
"typescript": "^4.4.3",
|
|
22430
|
-
"unixify": "^1.0.0",
|
|
22431
|
-
"yargs": "^16.0.0"
|
|
22432
|
-
},
|
|
22433
|
-
"dependencies": {
|
|
22434
|
-
"yargs": {
|
|
22435
|
-
"version": "16.2.0",
|
|
22436
|
-
"resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz",
|
|
22437
|
-
"integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==",
|
|
22438
|
-
"requires": {
|
|
22439
|
-
"cliui": "^7.0.2",
|
|
22440
|
-
"escalade": "^3.1.1",
|
|
22441
|
-
"get-caller-file": "^2.0.5",
|
|
22442
|
-
"require-directory": "^2.1.1",
|
|
22443
|
-
"string-width": "^4.2.0",
|
|
22444
|
-
"y18n": "^5.0.5",
|
|
22445
|
-
"yargs-parser": "^20.2.2"
|
|
22446
|
-
}
|
|
22447
|
-
}
|
|
22448
|
-
}
|
|
22449
|
-
},
|
|
22450
22248
|
"@sindresorhus/is": {
|
|
22451
22249
|
"version": "2.1.1",
|
|
22452
22250
|
"resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz",
|
|
@@ -22474,6 +22272,16 @@
|
|
|
22474
22272
|
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
|
|
22475
22273
|
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
|
|
22476
22274
|
},
|
|
22275
|
+
"cliui": {
|
|
22276
|
+
"version": "6.0.0",
|
|
22277
|
+
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
|
|
22278
|
+
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
|
|
22279
|
+
"requires": {
|
|
22280
|
+
"string-width": "^4.2.0",
|
|
22281
|
+
"strip-ansi": "^6.0.0",
|
|
22282
|
+
"wrap-ansi": "^6.2.0"
|
|
22283
|
+
}
|
|
22284
|
+
},
|
|
22477
22285
|
"color-convert": {
|
|
22478
22286
|
"version": "2.0.1",
|
|
22479
22287
|
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
|
@@ -22500,6 +22308,33 @@
|
|
|
22500
22308
|
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
|
|
22501
22309
|
"integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A=="
|
|
22502
22310
|
},
|
|
22311
|
+
"find-up": {
|
|
22312
|
+
"version": "4.1.0",
|
|
22313
|
+
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
|
22314
|
+
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
|
22315
|
+
"requires": {
|
|
22316
|
+
"locate-path": "^5.0.0",
|
|
22317
|
+
"path-exists": "^4.0.0"
|
|
22318
|
+
},
|
|
22319
|
+
"dependencies": {
|
|
22320
|
+
"locate-path": {
|
|
22321
|
+
"version": "5.0.0",
|
|
22322
|
+
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
|
22323
|
+
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
|
22324
|
+
"requires": {
|
|
22325
|
+
"p-locate": "^4.1.0"
|
|
22326
|
+
}
|
|
22327
|
+
},
|
|
22328
|
+
"p-locate": {
|
|
22329
|
+
"version": "4.1.0",
|
|
22330
|
+
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
|
22331
|
+
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
|
22332
|
+
"requires": {
|
|
22333
|
+
"p-limit": "^2.2.0"
|
|
22334
|
+
}
|
|
22335
|
+
}
|
|
22336
|
+
}
|
|
22337
|
+
},
|
|
22503
22338
|
"get-caller-file": {
|
|
22504
22339
|
"version": "2.0.5",
|
|
22505
22340
|
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
|
@@ -22591,6 +22426,11 @@
|
|
|
22591
22426
|
"strip-ansi": "^6.0.0"
|
|
22592
22427
|
}
|
|
22593
22428
|
},
|
|
22429
|
+
"y18n": {
|
|
22430
|
+
"version": "4.0.3",
|
|
22431
|
+
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
|
22432
|
+
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
22433
|
+
},
|
|
22594
22434
|
"yargs": {
|
|
22595
22435
|
"version": "15.4.1",
|
|
22596
22436
|
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
|
|
@@ -22607,57 +22447,15 @@
|
|
|
22607
22447
|
"which-module": "^2.0.0",
|
|
22608
22448
|
"y18n": "^4.0.0",
|
|
22609
22449
|
"yargs-parser": "^18.1.2"
|
|
22610
|
-
}
|
|
22611
|
-
|
|
22612
|
-
|
|
22613
|
-
|
|
22614
|
-
|
|
22615
|
-
|
|
22616
|
-
|
|
22617
|
-
|
|
22618
|
-
|
|
22619
|
-
"wrap-ansi": "^6.2.0"
|
|
22620
|
-
}
|
|
22621
|
-
},
|
|
22622
|
-
"find-up": {
|
|
22623
|
-
"version": "4.1.0",
|
|
22624
|
-
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
|
22625
|
-
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
|
22626
|
-
"requires": {
|
|
22627
|
-
"locate-path": "^5.0.0",
|
|
22628
|
-
"path-exists": "^4.0.0"
|
|
22629
|
-
}
|
|
22630
|
-
},
|
|
22631
|
-
"locate-path": {
|
|
22632
|
-
"version": "5.0.0",
|
|
22633
|
-
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
|
22634
|
-
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
|
22635
|
-
"requires": {
|
|
22636
|
-
"p-locate": "^4.1.0"
|
|
22637
|
-
}
|
|
22638
|
-
},
|
|
22639
|
-
"p-locate": {
|
|
22640
|
-
"version": "4.1.0",
|
|
22641
|
-
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
|
22642
|
-
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
|
22643
|
-
"requires": {
|
|
22644
|
-
"p-limit": "^2.2.0"
|
|
22645
|
-
}
|
|
22646
|
-
},
|
|
22647
|
-
"y18n": {
|
|
22648
|
-
"version": "4.0.3",
|
|
22649
|
-
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
|
22650
|
-
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
22651
|
-
},
|
|
22652
|
-
"yargs-parser": {
|
|
22653
|
-
"version": "18.1.3",
|
|
22654
|
-
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
|
|
22655
|
-
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
|
|
22656
|
-
"requires": {
|
|
22657
|
-
"camelcase": "^5.0.0",
|
|
22658
|
-
"decamelize": "^1.2.0"
|
|
22659
|
-
}
|
|
22660
|
-
}
|
|
22450
|
+
}
|
|
22451
|
+
},
|
|
22452
|
+
"yargs-parser": {
|
|
22453
|
+
"version": "18.1.3",
|
|
22454
|
+
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
|
|
22455
|
+
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
|
|
22456
|
+
"requires": {
|
|
22457
|
+
"camelcase": "^5.0.0",
|
|
22458
|
+
"decamelize": "^1.2.0"
|
|
22661
22459
|
}
|
|
22662
22460
|
}
|
|
22663
22461
|
}
|
|
@@ -22958,76 +22756,6 @@
|
|
|
22958
22756
|
"@netlify/zip-it-and-ship-it": "^5.3.1",
|
|
22959
22757
|
"cpy": "^8.1.0",
|
|
22960
22758
|
"path-exists": "^4.0.0"
|
|
22961
|
-
},
|
|
22962
|
-
"dependencies": {
|
|
22963
|
-
"@netlify/zip-it-and-ship-it": {
|
|
22964
|
-
"version": "5.3.1",
|
|
22965
|
-
"resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.1.tgz",
|
|
22966
|
-
"integrity": "sha512-J8owr4lft/uKrozivDmIzKKe5IQ6zTWKyemdwljYDMTh2UrCwEH5u35X17zqO5LCS7FJ6uyCy5yBtBUrqdAtMA==",
|
|
22967
|
-
"requires": {
|
|
22968
|
-
"@babel/parser": "^7.15.7",
|
|
22969
|
-
"@netlify/esbuild": "^0.13.6",
|
|
22970
|
-
"@vercel/nft": "^0.17.0",
|
|
22971
|
-
"archiver": "^5.3.0",
|
|
22972
|
-
"common-path-prefix": "^3.0.0",
|
|
22973
|
-
"cp-file": "^9.0.0",
|
|
22974
|
-
"del": "^6.0.0",
|
|
22975
|
-
"elf-cam": "^0.1.1",
|
|
22976
|
-
"end-of-stream": "^1.4.4",
|
|
22977
|
-
"es-module-lexer": "^0.9.0",
|
|
22978
|
-
"execa": "^5.0.0",
|
|
22979
|
-
"filter-obj": "^2.0.1",
|
|
22980
|
-
"find-up": "^5.0.0",
|
|
22981
|
-
"glob": "^7.1.6",
|
|
22982
|
-
"is-builtin-module": "^3.1.0",
|
|
22983
|
-
"junk": "^3.1.0",
|
|
22984
|
-
"locate-path": "^6.0.0",
|
|
22985
|
-
"make-dir": "^3.1.0",
|
|
22986
|
-
"merge-options": "^3.0.4",
|
|
22987
|
-
"minimatch": "^3.0.4",
|
|
22988
|
-
"p-map": "^4.0.0",
|
|
22989
|
-
"path-exists": "^4.0.0",
|
|
22990
|
-
"pkg-dir": "^5.0.0",
|
|
22991
|
-
"precinct": "^8.2.0",
|
|
22992
|
-
"read-package-json-fast": "^2.0.2",
|
|
22993
|
-
"require-package-name": "^2.0.1",
|
|
22994
|
-
"resolve": "^2.0.0-next.1",
|
|
22995
|
-
"semver": "^7.0.0",
|
|
22996
|
-
"tmp-promise": "^3.0.2",
|
|
22997
|
-
"toml": "^3.0.0",
|
|
22998
|
-
"typescript": "^4.4.3",
|
|
22999
|
-
"unixify": "^1.0.0",
|
|
23000
|
-
"yargs": "^16.0.0"
|
|
23001
|
-
}
|
|
23002
|
-
},
|
|
23003
|
-
"get-caller-file": {
|
|
23004
|
-
"version": "2.0.5",
|
|
23005
|
-
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
|
23006
|
-
"integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg=="
|
|
23007
|
-
},
|
|
23008
|
-
"resolve": {
|
|
23009
|
-
"version": "2.0.0-next.3",
|
|
23010
|
-
"resolved": "https://registry.npmjs.org/resolve/-/resolve-2.0.0-next.3.tgz",
|
|
23011
|
-
"integrity": "sha512-W8LucSynKUIDu9ylraa7ueVZ7hc0uAgJBxVsQSKOXOyle8a93qXhcz+XAXZ8bIq2d6i4Ehddn6Evt+0/UwKk6Q==",
|
|
23012
|
-
"requires": {
|
|
23013
|
-
"is-core-module": "^2.2.0",
|
|
23014
|
-
"path-parse": "^1.0.6"
|
|
23015
|
-
}
|
|
23016
|
-
},
|
|
23017
|
-
"yargs": {
|
|
23018
|
-
"version": "16.2.0",
|
|
23019
|
-
"resolved": "https://registry.npmjs.org/yargs/-/yargs-16.2.0.tgz",
|
|
23020
|
-
"integrity": "sha512-D1mvvtDG0L5ft/jGWkLpG1+m0eQxOfaBvTNELraWj22wSVUMWxZUvYgJYcKh6jGGIkJFhH4IZPQhR4TKpc8mBw==",
|
|
23021
|
-
"requires": {
|
|
23022
|
-
"cliui": "^7.0.2",
|
|
23023
|
-
"escalade": "^3.1.1",
|
|
23024
|
-
"get-caller-file": "^2.0.5",
|
|
23025
|
-
"require-directory": "^2.1.1",
|
|
23026
|
-
"string-width": "^4.2.0",
|
|
23027
|
-
"y18n": "^5.0.5",
|
|
23028
|
-
"yargs-parser": "^20.2.2"
|
|
23029
|
-
}
|
|
23030
|
-
}
|
|
23031
22759
|
}
|
|
23032
22760
|
},
|
|
23033
22761
|
"@netlify/git-utils": {
|
package/package.json
CHANGED
|
@@ -52,21 +52,21 @@ const deploySite = async (
|
|
|
52
52
|
phase: 'start',
|
|
53
53
|
})
|
|
54
54
|
|
|
55
|
-
const [{ files, filesShaMap }, { fnShaMap, functions, functionsWithNativeModules }] =
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
55
|
+
const [{ files, filesShaMap }, { fnShaMap, functionSchedules, functions, functionsWithNativeModules }] =
|
|
56
|
+
await Promise.all([
|
|
57
|
+
hashFiles(dir, configPath, { concurrentHash, hashAlgorithm, assetType, statusCb, filter }),
|
|
58
|
+
hashFns(fnDir, {
|
|
59
|
+
functionsConfig,
|
|
60
|
+
tmpDir,
|
|
61
|
+
concurrentHash,
|
|
62
|
+
hashAlgorithm,
|
|
63
|
+
statusCb,
|
|
64
|
+
assetType,
|
|
65
|
+
rootDir,
|
|
66
|
+
manifestPath,
|
|
67
|
+
skipFunctionsCache,
|
|
68
|
+
}),
|
|
69
|
+
])
|
|
70
70
|
const filesCount = Object.keys(files).length
|
|
71
71
|
const functionsCount = Object.keys(functions).length
|
|
72
72
|
const hasFunctionDirectories = fnDir.length !== 0
|
|
@@ -106,6 +106,7 @@ For more information, visit https://ntl.fyi/cli-native-modules.`)
|
|
|
106
106
|
body: {
|
|
107
107
|
files,
|
|
108
108
|
functions,
|
|
109
|
+
function_schedules: functionSchedules,
|
|
109
110
|
async: Object.keys(files).length > syncFileLimit,
|
|
110
111
|
branch,
|
|
111
112
|
draft,
|
|
@@ -107,7 +107,9 @@ const hashFns = async (
|
|
|
107
107
|
normalizedPath: path.basename(functionPath, path.extname(functionPath)),
|
|
108
108
|
runtime,
|
|
109
109
|
}))
|
|
110
|
-
|
|
110
|
+
const functionSchedules = functionZips
|
|
111
|
+
.map(({ name, schedule }) => schedule && { name, cron: schedule })
|
|
112
|
+
.filter(Boolean)
|
|
111
113
|
const functionsWithNativeModules = functionZips.filter(
|
|
112
114
|
({ nativeNodeModules }) => nativeNodeModules !== undefined && Object.keys(nativeNodeModules).length !== 0,
|
|
113
115
|
)
|
|
@@ -125,7 +127,7 @@ const hashFns = async (
|
|
|
125
127
|
|
|
126
128
|
await pump(functionStream, hasher, manifestCollector)
|
|
127
129
|
|
|
128
|
-
return { functions, functionsWithNativeModules, fnShaMap }
|
|
130
|
+
return { functionSchedules, functions, functionsWithNativeModules, fnShaMap }
|
|
129
131
|
}
|
|
130
132
|
|
|
131
133
|
module.exports = { hashFns }
|