netlify-cli 8.6.19 → 8.6.23
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
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.23",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "netlify-cli",
|
|
9
|
-
"version": "8.6.
|
|
9
|
+
"version": "8.6.23",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@netlify/build": "^26.1.
|
|
13
|
+
"@netlify/build": "^26.1.1",
|
|
14
14
|
"@netlify/config": "^17.0.3",
|
|
15
15
|
"@netlify/framework-info": "^8.0.0",
|
|
16
16
|
"@netlify/local-functions-proxy": "^1.1.1",
|
|
17
17
|
"@netlify/plugin-edge-handlers": "^3.0.2",
|
|
18
|
-
"@netlify/plugins-list": "^6.2.
|
|
18
|
+
"@netlify/plugins-list": "^6.2.1",
|
|
19
19
|
"@netlify/routing-local-proxy": "^0.34.1",
|
|
20
20
|
"@netlify/zip-it-and-ship-it": "5.4.0",
|
|
21
21
|
"@octokit/rest": "^18.0.0",
|
|
@@ -2357,17 +2357,17 @@
|
|
|
2357
2357
|
}
|
|
2358
2358
|
},
|
|
2359
2359
|
"node_modules/@netlify/build": {
|
|
2360
|
-
"version": "26.1.
|
|
2361
|
-
"resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.1.
|
|
2362
|
-
"integrity": "sha512-
|
|
2360
|
+
"version": "26.1.1",
|
|
2361
|
+
"resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.1.1.tgz",
|
|
2362
|
+
"integrity": "sha512-bFVNUXElPPkKOMn3/d4mxmsaxpe4QJC376yuXqZIhKMn37JCDPAfE2sBkFgMK9TjsWNqYKfsIhUtUnjFB6y2gA==",
|
|
2363
2363
|
"dependencies": {
|
|
2364
2364
|
"@bugsnag/js": "^7.0.0",
|
|
2365
2365
|
"@netlify/cache-utils": "^4.0.0",
|
|
2366
2366
|
"@netlify/config": "^17.0.0",
|
|
2367
2367
|
"@netlify/functions-utils": "^4.0.0",
|
|
2368
2368
|
"@netlify/git-utils": "^4.0.0",
|
|
2369
|
-
"@netlify/plugin-edge-handlers": "^3.0.
|
|
2370
|
-
"@netlify/plugins-list": "^6.2.
|
|
2369
|
+
"@netlify/plugin-edge-handlers": "^3.0.2",
|
|
2370
|
+
"@netlify/plugins-list": "^6.2.1",
|
|
2371
2371
|
"@netlify/run-utils": "^4.0.0",
|
|
2372
2372
|
"@netlify/zip-it-and-ship-it": "^5.4.0",
|
|
2373
2373
|
"@sindresorhus/slugify": "^1.1.0",
|
|
@@ -2384,7 +2384,6 @@
|
|
|
2384
2384
|
"keep-func-props": "^3.0.0",
|
|
2385
2385
|
"locate-path": "^6.0.0",
|
|
2386
2386
|
"log-process-errors": "^6.0.0",
|
|
2387
|
-
"make-dir": "^3.0.2",
|
|
2388
2387
|
"map-obj": "^4.0.0",
|
|
2389
2388
|
"memoize-one": "^6.0.0",
|
|
2390
2389
|
"os-name": "^4.0.1",
|
|
@@ -2480,6 +2479,16 @@
|
|
|
2480
2479
|
"node": ">=6"
|
|
2481
2480
|
}
|
|
2482
2481
|
},
|
|
2482
|
+
"node_modules/@netlify/build/node_modules/cliui": {
|
|
2483
|
+
"version": "6.0.0",
|
|
2484
|
+
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
|
|
2485
|
+
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
|
|
2486
|
+
"dependencies": {
|
|
2487
|
+
"string-width": "^4.2.0",
|
|
2488
|
+
"strip-ansi": "^6.0.0",
|
|
2489
|
+
"wrap-ansi": "^6.2.0"
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2483
2492
|
"node_modules/@netlify/build/node_modules/color-convert": {
|
|
2484
2493
|
"version": "2.0.1",
|
|
2485
2494
|
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
|
@@ -2507,6 +2516,40 @@
|
|
|
2507
2516
|
"node": ">=10"
|
|
2508
2517
|
}
|
|
2509
2518
|
},
|
|
2519
|
+
"node_modules/@netlify/build/node_modules/find-up": {
|
|
2520
|
+
"version": "4.1.0",
|
|
2521
|
+
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
|
2522
|
+
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
|
2523
|
+
"dependencies": {
|
|
2524
|
+
"locate-path": "^5.0.0",
|
|
2525
|
+
"path-exists": "^4.0.0"
|
|
2526
|
+
},
|
|
2527
|
+
"engines": {
|
|
2528
|
+
"node": ">=8"
|
|
2529
|
+
}
|
|
2530
|
+
},
|
|
2531
|
+
"node_modules/@netlify/build/node_modules/find-up/node_modules/locate-path": {
|
|
2532
|
+
"version": "5.0.0",
|
|
2533
|
+
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
|
2534
|
+
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
|
2535
|
+
"dependencies": {
|
|
2536
|
+
"p-locate": "^4.1.0"
|
|
2537
|
+
},
|
|
2538
|
+
"engines": {
|
|
2539
|
+
"node": ">=8"
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
"node_modules/@netlify/build/node_modules/find-up/node_modules/p-locate": {
|
|
2543
|
+
"version": "4.1.0",
|
|
2544
|
+
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
|
2545
|
+
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
|
2546
|
+
"dependencies": {
|
|
2547
|
+
"p-limit": "^2.2.0"
|
|
2548
|
+
},
|
|
2549
|
+
"engines": {
|
|
2550
|
+
"node": ">=8"
|
|
2551
|
+
}
|
|
2552
|
+
},
|
|
2510
2553
|
"node_modules/@netlify/build/node_modules/get-caller-file": {
|
|
2511
2554
|
"version": "2.0.5",
|
|
2512
2555
|
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
|
@@ -2629,6 +2672,11 @@
|
|
|
2629
2672
|
"node": ">=8"
|
|
2630
2673
|
}
|
|
2631
2674
|
},
|
|
2675
|
+
"node_modules/@netlify/build/node_modules/y18n": {
|
|
2676
|
+
"version": "4.0.3",
|
|
2677
|
+
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
|
2678
|
+
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
2679
|
+
},
|
|
2632
2680
|
"node_modules/@netlify/build/node_modules/yargs": {
|
|
2633
2681
|
"version": "15.4.1",
|
|
2634
2682
|
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
|
|
@@ -2650,56 +2698,7 @@
|
|
|
2650
2698
|
"node": ">=8"
|
|
2651
2699
|
}
|
|
2652
2700
|
},
|
|
2653
|
-
"node_modules/@netlify/build/node_modules/yargs
|
|
2654
|
-
"version": "6.0.0",
|
|
2655
|
-
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
|
|
2656
|
-
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
|
|
2657
|
-
"dependencies": {
|
|
2658
|
-
"string-width": "^4.2.0",
|
|
2659
|
-
"strip-ansi": "^6.0.0",
|
|
2660
|
-
"wrap-ansi": "^6.2.0"
|
|
2661
|
-
}
|
|
2662
|
-
},
|
|
2663
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/find-up": {
|
|
2664
|
-
"version": "4.1.0",
|
|
2665
|
-
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
|
2666
|
-
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
|
2667
|
-
"dependencies": {
|
|
2668
|
-
"locate-path": "^5.0.0",
|
|
2669
|
-
"path-exists": "^4.0.0"
|
|
2670
|
-
},
|
|
2671
|
-
"engines": {
|
|
2672
|
-
"node": ">=8"
|
|
2673
|
-
}
|
|
2674
|
-
},
|
|
2675
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/locate-path": {
|
|
2676
|
-
"version": "5.0.0",
|
|
2677
|
-
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
|
2678
|
-
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
|
2679
|
-
"dependencies": {
|
|
2680
|
-
"p-locate": "^4.1.0"
|
|
2681
|
-
},
|
|
2682
|
-
"engines": {
|
|
2683
|
-
"node": ">=8"
|
|
2684
|
-
}
|
|
2685
|
-
},
|
|
2686
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/p-locate": {
|
|
2687
|
-
"version": "4.1.0",
|
|
2688
|
-
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
|
2689
|
-
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
|
2690
|
-
"dependencies": {
|
|
2691
|
-
"p-limit": "^2.2.0"
|
|
2692
|
-
},
|
|
2693
|
-
"engines": {
|
|
2694
|
-
"node": ">=8"
|
|
2695
|
-
}
|
|
2696
|
-
},
|
|
2697
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/y18n": {
|
|
2698
|
-
"version": "4.0.3",
|
|
2699
|
-
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
|
2700
|
-
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
2701
|
-
},
|
|
2702
|
-
"node_modules/@netlify/build/node_modules/yargs/node_modules/yargs-parser": {
|
|
2701
|
+
"node_modules/@netlify/build/node_modules/yargs-parser": {
|
|
2703
2702
|
"version": "18.1.3",
|
|
2704
2703
|
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
|
|
2705
2704
|
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
|
|
@@ -3322,9 +3321,9 @@
|
|
|
3322
3321
|
"integrity": "sha512-BPAcfDPoHlRQNKktbsbnpACGdypPFBuX4xQlsWDE7B8XXcfII+SpOLay3/qZmCLb39kV5S1RTYwXdkx2lwLYng=="
|
|
3323
3322
|
},
|
|
3324
3323
|
"node_modules/@netlify/plugins-list": {
|
|
3325
|
-
"version": "6.2.
|
|
3326
|
-
"resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.2.
|
|
3327
|
-
"integrity": "sha512
|
|
3324
|
+
"version": "6.2.1",
|
|
3325
|
+
"resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.2.1.tgz",
|
|
3326
|
+
"integrity": "sha512-/sXe4hjTFgKnRDFDiqU1qLvRCc+JtOqTLFf3aMNA6Xp7bSKGtTYJFOwTpPIUUOyLaDqbBdU3IOjemc6EtyC8qg==",
|
|
3328
3327
|
"engines": {
|
|
3329
3328
|
"node": "^12.20.0 || ^14.14.0 || >=16.0.0"
|
|
3330
3329
|
}
|
|
@@ -21658,17 +21657,17 @@
|
|
|
21658
21657
|
}
|
|
21659
21658
|
},
|
|
21660
21659
|
"@netlify/build": {
|
|
21661
|
-
"version": "26.1.
|
|
21662
|
-
"resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.1.
|
|
21663
|
-
"integrity": "sha512-
|
|
21660
|
+
"version": "26.1.1",
|
|
21661
|
+
"resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.1.1.tgz",
|
|
21662
|
+
"integrity": "sha512-bFVNUXElPPkKOMn3/d4mxmsaxpe4QJC376yuXqZIhKMn37JCDPAfE2sBkFgMK9TjsWNqYKfsIhUtUnjFB6y2gA==",
|
|
21664
21663
|
"requires": {
|
|
21665
21664
|
"@bugsnag/js": "^7.0.0",
|
|
21666
21665
|
"@netlify/cache-utils": "^4.0.0",
|
|
21667
21666
|
"@netlify/config": "^17.0.0",
|
|
21668
21667
|
"@netlify/functions-utils": "^4.0.0",
|
|
21669
21668
|
"@netlify/git-utils": "^4.0.0",
|
|
21670
|
-
"@netlify/plugin-edge-handlers": "^3.0.
|
|
21671
|
-
"@netlify/plugins-list": "^6.2.
|
|
21669
|
+
"@netlify/plugin-edge-handlers": "^3.0.2",
|
|
21670
|
+
"@netlify/plugins-list": "^6.2.1",
|
|
21672
21671
|
"@netlify/run-utils": "^4.0.0",
|
|
21673
21672
|
"@netlify/zip-it-and-ship-it": "^5.4.0",
|
|
21674
21673
|
"@sindresorhus/slugify": "^1.1.0",
|
|
@@ -21685,7 +21684,6 @@
|
|
|
21685
21684
|
"keep-func-props": "^3.0.0",
|
|
21686
21685
|
"locate-path": "^6.0.0",
|
|
21687
21686
|
"log-process-errors": "^6.0.0",
|
|
21688
|
-
"make-dir": "^3.0.2",
|
|
21689
21687
|
"map-obj": "^4.0.0",
|
|
21690
21688
|
"memoize-one": "^6.0.0",
|
|
21691
21689
|
"os-name": "^4.0.1",
|
|
@@ -21751,6 +21749,16 @@
|
|
|
21751
21749
|
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz",
|
|
21752
21750
|
"integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg=="
|
|
21753
21751
|
},
|
|
21752
|
+
"cliui": {
|
|
21753
|
+
"version": "6.0.0",
|
|
21754
|
+
"resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz",
|
|
21755
|
+
"integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==",
|
|
21756
|
+
"requires": {
|
|
21757
|
+
"string-width": "^4.2.0",
|
|
21758
|
+
"strip-ansi": "^6.0.0",
|
|
21759
|
+
"wrap-ansi": "^6.2.0"
|
|
21760
|
+
}
|
|
21761
|
+
},
|
|
21754
21762
|
"color-convert": {
|
|
21755
21763
|
"version": "2.0.1",
|
|
21756
21764
|
"resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
|
|
@@ -21772,6 +21780,33 @@
|
|
|
21772
21780
|
"mimic-response": "^2.0.0"
|
|
21773
21781
|
}
|
|
21774
21782
|
},
|
|
21783
|
+
"find-up": {
|
|
21784
|
+
"version": "4.1.0",
|
|
21785
|
+
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
|
21786
|
+
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
|
21787
|
+
"requires": {
|
|
21788
|
+
"locate-path": "^5.0.0",
|
|
21789
|
+
"path-exists": "^4.0.0"
|
|
21790
|
+
},
|
|
21791
|
+
"dependencies": {
|
|
21792
|
+
"locate-path": {
|
|
21793
|
+
"version": "5.0.0",
|
|
21794
|
+
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
|
21795
|
+
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
|
21796
|
+
"requires": {
|
|
21797
|
+
"p-locate": "^4.1.0"
|
|
21798
|
+
}
|
|
21799
|
+
},
|
|
21800
|
+
"p-locate": {
|
|
21801
|
+
"version": "4.1.0",
|
|
21802
|
+
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
|
21803
|
+
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
|
21804
|
+
"requires": {
|
|
21805
|
+
"p-limit": "^2.2.0"
|
|
21806
|
+
}
|
|
21807
|
+
}
|
|
21808
|
+
}
|
|
21809
|
+
},
|
|
21775
21810
|
"get-caller-file": {
|
|
21776
21811
|
"version": "2.0.5",
|
|
21777
21812
|
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",
|
|
@@ -21851,6 +21886,11 @@
|
|
|
21851
21886
|
"strip-ansi": "^6.0.0"
|
|
21852
21887
|
}
|
|
21853
21888
|
},
|
|
21889
|
+
"y18n": {
|
|
21890
|
+
"version": "4.0.3",
|
|
21891
|
+
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
|
21892
|
+
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
21893
|
+
},
|
|
21854
21894
|
"yargs": {
|
|
21855
21895
|
"version": "15.4.1",
|
|
21856
21896
|
"resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz",
|
|
@@ -21867,57 +21907,15 @@
|
|
|
21867
21907
|
"which-module": "^2.0.0",
|
|
21868
21908
|
"y18n": "^4.0.0",
|
|
21869
21909
|
"yargs-parser": "^18.1.2"
|
|
21870
|
-
}
|
|
21871
|
-
|
|
21872
|
-
|
|
21873
|
-
|
|
21874
|
-
|
|
21875
|
-
|
|
21876
|
-
|
|
21877
|
-
|
|
21878
|
-
|
|
21879
|
-
"wrap-ansi": "^6.2.0"
|
|
21880
|
-
}
|
|
21881
|
-
},
|
|
21882
|
-
"find-up": {
|
|
21883
|
-
"version": "4.1.0",
|
|
21884
|
-
"resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz",
|
|
21885
|
-
"integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==",
|
|
21886
|
-
"requires": {
|
|
21887
|
-
"locate-path": "^5.0.0",
|
|
21888
|
-
"path-exists": "^4.0.0"
|
|
21889
|
-
}
|
|
21890
|
-
},
|
|
21891
|
-
"locate-path": {
|
|
21892
|
-
"version": "5.0.0",
|
|
21893
|
-
"resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz",
|
|
21894
|
-
"integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==",
|
|
21895
|
-
"requires": {
|
|
21896
|
-
"p-locate": "^4.1.0"
|
|
21897
|
-
}
|
|
21898
|
-
},
|
|
21899
|
-
"p-locate": {
|
|
21900
|
-
"version": "4.1.0",
|
|
21901
|
-
"resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz",
|
|
21902
|
-
"integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==",
|
|
21903
|
-
"requires": {
|
|
21904
|
-
"p-limit": "^2.2.0"
|
|
21905
|
-
}
|
|
21906
|
-
},
|
|
21907
|
-
"y18n": {
|
|
21908
|
-
"version": "4.0.3",
|
|
21909
|
-
"resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz",
|
|
21910
|
-
"integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ=="
|
|
21911
|
-
},
|
|
21912
|
-
"yargs-parser": {
|
|
21913
|
-
"version": "18.1.3",
|
|
21914
|
-
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
|
|
21915
|
-
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
|
|
21916
|
-
"requires": {
|
|
21917
|
-
"camelcase": "^5.0.0",
|
|
21918
|
-
"decamelize": "^1.2.0"
|
|
21919
|
-
}
|
|
21920
|
-
}
|
|
21910
|
+
}
|
|
21911
|
+
},
|
|
21912
|
+
"yargs-parser": {
|
|
21913
|
+
"version": "18.1.3",
|
|
21914
|
+
"resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz",
|
|
21915
|
+
"integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==",
|
|
21916
|
+
"requires": {
|
|
21917
|
+
"camelcase": "^5.0.0",
|
|
21918
|
+
"decamelize": "^1.2.0"
|
|
21921
21919
|
}
|
|
21922
21920
|
}
|
|
21923
21921
|
}
|
|
@@ -22350,9 +22348,9 @@
|
|
|
22350
22348
|
}
|
|
22351
22349
|
},
|
|
22352
22350
|
"@netlify/plugins-list": {
|
|
22353
|
-
"version": "6.2.
|
|
22354
|
-
"resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.2.
|
|
22355
|
-
"integrity": "sha512
|
|
22351
|
+
"version": "6.2.1",
|
|
22352
|
+
"resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.2.1.tgz",
|
|
22353
|
+
"integrity": "sha512-/sXe4hjTFgKnRDFDiqU1qLvRCc+JtOqTLFf3aMNA6Xp7bSKGtTYJFOwTpPIUUOyLaDqbBdU3IOjemc6EtyC8qg=="
|
|
22356
22354
|
},
|
|
22357
22355
|
"@netlify/routing-local-proxy": {
|
|
22358
22356
|
"version": "0.34.1",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
3
|
"description": "Netlify command line tool",
|
|
4
|
-
"version": "8.6.
|
|
4
|
+
"version": "8.6.23",
|
|
5
5
|
"author": "Netlify Inc.",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
|
|
@@ -78,12 +78,12 @@
|
|
|
78
78
|
"prettier": "--ignore-path .gitignore --loglevel=warn \"{src,tools,scripts,site,tests,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \".*.{js,yml,json,html}\" \"!CHANGELOG.md\" \"!npm-shrinkwrap.json\" \"!.github/**/*.md\""
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
|
-
"@netlify/build": "^26.1.
|
|
81
|
+
"@netlify/build": "^26.1.1",
|
|
82
82
|
"@netlify/config": "^17.0.3",
|
|
83
83
|
"@netlify/framework-info": "^8.0.0",
|
|
84
84
|
"@netlify/local-functions-proxy": "^1.1.1",
|
|
85
85
|
"@netlify/plugin-edge-handlers": "^3.0.2",
|
|
86
|
-
"@netlify/plugins-list": "^6.2.
|
|
86
|
+
"@netlify/plugins-list": "^6.2.1",
|
|
87
87
|
"@netlify/routing-local-proxy": "^0.34.1",
|
|
88
88
|
"@netlify/zip-it-and-ship-it": "5.4.0",
|
|
89
89
|
"@octokit/rest": "^18.0.0",
|
|
@@ -23,6 +23,7 @@ const events = [
|
|
|
23
23
|
'identity-signup',
|
|
24
24
|
'identity-login',
|
|
25
25
|
]
|
|
26
|
+
|
|
26
27
|
const eventTriggeredFunctions = new Set([...events, ...events.map((name) => `${name}${BACKGROUND}`)])
|
|
27
28
|
|
|
28
29
|
const DEFAULT_PORT = 8888
|
|
@@ -186,20 +187,8 @@ const functionsInvoke = async (nameArgument, options, command) => {
|
|
|
186
187
|
}
|
|
187
188
|
} else {
|
|
188
189
|
// NOT an event triggered function, but may still want to simulate authentication locally
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
const { isAuthed } = await inquirer.prompt([
|
|
192
|
-
{
|
|
193
|
-
type: 'confirm',
|
|
194
|
-
name: 'isAuthed',
|
|
195
|
-
message: `Invoke with emulated Netlify Identity authentication headers? (pass --identity/--no-identity to override)`,
|
|
196
|
-
default: true,
|
|
197
|
-
},
|
|
198
|
-
])
|
|
199
|
-
isAuthenticated = isAuthed
|
|
200
|
-
} else {
|
|
201
|
-
isAuthenticated = options.identity
|
|
202
|
-
}
|
|
190
|
+
const isAuthenticated = Boolean(options.identity)
|
|
191
|
+
|
|
203
192
|
if (isAuthenticated) {
|
|
204
193
|
headers = {
|
|
205
194
|
authorization:
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
const { mkdir } = require('fs').promises
|
|
3
|
-
const { isAbsolute, join } = require('path')
|
|
3
|
+
const { extname, isAbsolute, join } = require('path')
|
|
4
4
|
const { env } = require('process')
|
|
5
5
|
|
|
6
6
|
const terminalLink = require('terminal-link')
|
|
7
7
|
|
|
8
|
-
const { NETLIFYDEVERR, NETLIFYDEVLOG, chalk, log, warn } = require('../../utils')
|
|
8
|
+
const { NETLIFYDEVERR, NETLIFYDEVLOG, NETLIFYDEVWARN, chalk, log, warn } = require('../../utils')
|
|
9
9
|
const { getLogMessage } = require('../log')
|
|
10
10
|
|
|
11
11
|
const { NetlifyFunction } = require('./netlify-function')
|
|
12
12
|
const runtimes = require('./runtimes')
|
|
13
13
|
const { watchDebounced } = require('./watcher')
|
|
14
14
|
|
|
15
|
+
const ZIP_EXTENSION = '.zip'
|
|
16
|
+
|
|
15
17
|
class FunctionsRegistry {
|
|
16
18
|
constructor({ capabilities, config, isConnected = false, projectRoot, settings, timeouts }) {
|
|
17
19
|
this.capabilities = capabilities
|
|
@@ -141,6 +143,13 @@ class FunctionsRegistry {
|
|
|
141
143
|
)
|
|
142
144
|
}
|
|
143
145
|
|
|
146
|
+
// This fixes the bug described here https://github.com/netlify/zip-it-and-ship-it/issues/637
|
|
147
|
+
// If the current function's file is a zip bundle, we ignore it and log a helpful message.
|
|
148
|
+
if (extname(func.mainFile) === ZIP_EXTENSION) {
|
|
149
|
+
log(`${NETLIFYDEVWARN} Skipped bundled function ${chalk.yellow(name)}. Unzip the archive to load it from source.`)
|
|
150
|
+
return
|
|
151
|
+
}
|
|
152
|
+
|
|
144
153
|
this.functions.set(name, func)
|
|
145
154
|
this.buildFunctionAndWatchFiles(func)
|
|
146
155
|
|