netlify-cli 8.6.3 → 8.6.7
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 +42 -81
- package/package.json +5 -14
- package/src/commands/base-command.js +3 -3
- package/src/lib/functions/runtimes/js/builders/netlify-lambda.js +0 -1
- package/src/utils/addons/prompts.js +1 -1
- package/src/utils/get-global-config.js +0 -1
- package/src/utils/traffic-mesh.js +1 -1
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "netlify-cli",
|
|
3
|
-
"version": "8.6.
|
|
3
|
+
"version": "8.6.7",
|
|
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.7",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@netlify/build": "^26.1.0",
|
|
14
|
-
"@netlify/config": "^17.0.
|
|
14
|
+
"@netlify/config": "^17.0.3",
|
|
15
15
|
"@netlify/framework-info": "^7.0.0",
|
|
16
16
|
"@netlify/local-functions-proxy": "^1.1.1",
|
|
17
17
|
"@netlify/plugin-edge-handlers": "^3.0.0",
|
|
@@ -46,7 +46,6 @@
|
|
|
46
46
|
"execa": "^5.0.0",
|
|
47
47
|
"express": "^4.17.1",
|
|
48
48
|
"express-logging": "^1.1.1",
|
|
49
|
-
"filter-obj": "^2.0.1",
|
|
50
49
|
"find-up": "^5.0.0",
|
|
51
50
|
"flush-write-stream": "^2.0.0",
|
|
52
51
|
"folder-walker": "^3.2.0",
|
|
@@ -77,16 +76,14 @@
|
|
|
77
76
|
"make-dir": "^3.0.0",
|
|
78
77
|
"memoize-one": "^6.0.0",
|
|
79
78
|
"minimist": "^1.2.5",
|
|
80
|
-
"mock-require": "^3.0.3",
|
|
81
79
|
"multiparty": "^4.2.1",
|
|
82
|
-
"netlify": "^10.1.
|
|
80
|
+
"netlify": "^10.1.1",
|
|
83
81
|
"netlify-headers-parser": "^6.0.0",
|
|
84
82
|
"netlify-redirect-parser": "^13.0.0",
|
|
85
83
|
"netlify-redirector": "^0.2.1",
|
|
86
84
|
"node-fetch": "^2.6.0",
|
|
87
85
|
"node-version-alias": "^1.0.1",
|
|
88
86
|
"omit.js": "^2.0.2",
|
|
89
|
-
"open": "^7.0.0",
|
|
90
87
|
"ora": "^5.0.0",
|
|
91
88
|
"p-event": "^4.2.0",
|
|
92
89
|
"p-filter": "^2.1.0",
|
|
@@ -95,14 +92,11 @@
|
|
|
95
92
|
"parallel-transform": "^1.2.0",
|
|
96
93
|
"parse-github-url": "^1.0.2",
|
|
97
94
|
"parse-gitignore": "^1.0.1",
|
|
98
|
-
"path-exists": "^4.0.0",
|
|
99
95
|
"path-key": "^3.1.1",
|
|
100
|
-
"path-type": "^4.0.0",
|
|
101
96
|
"prettyjson": "^1.2.1",
|
|
102
97
|
"pump": "^3.0.0",
|
|
103
98
|
"raw-body": "^2.4.1",
|
|
104
99
|
"read-pkg-up": "^7.0.1",
|
|
105
|
-
"resolve": "^1.12.0",
|
|
106
100
|
"semver": "^7.3.5",
|
|
107
101
|
"source-map-support": "^0.5.19",
|
|
108
102
|
"static-server": "^2.2.1",
|
|
@@ -126,25 +120,22 @@
|
|
|
126
120
|
"ntl": "bin/run"
|
|
127
121
|
},
|
|
128
122
|
"devDependencies": {
|
|
129
|
-
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
130
123
|
"@babel/preset-react": "^7.12.13",
|
|
131
124
|
"@commitlint/cli": "^16.0.0",
|
|
132
125
|
"@commitlint/config-conventional": "^16.0.0",
|
|
133
|
-
"@netlify/eslint-config-node": "^4.0.
|
|
126
|
+
"@netlify/eslint-config-node": "^4.0.6",
|
|
134
127
|
"ava": "^3.15.0",
|
|
135
128
|
"eslint-plugin-sort-destructure-keys": "^1.3.5",
|
|
136
129
|
"fast-glob": "^3.2.7",
|
|
137
130
|
"form-data": "^4.0.0",
|
|
138
|
-
"from2-string": "^1.1.0",
|
|
139
131
|
"got": "^11.8.1",
|
|
140
132
|
"graphviz": "^0.0.9",
|
|
141
133
|
"ini": "^2.0.0",
|
|
142
134
|
"jsonwebtoken": "^8.5.1",
|
|
143
|
-
"mkdirp": "^1.0.4",
|
|
144
135
|
"mock-fs": "^5.1.2",
|
|
136
|
+
"mock-require": "^3.0.3",
|
|
145
137
|
"nyc": "^15.0.0",
|
|
146
138
|
"p-timeout": "^4.0.0",
|
|
147
|
-
"pidtree": "^0.5.0",
|
|
148
139
|
"seedrandom": "^3.0.5",
|
|
149
140
|
"serialize-javascript": "^6.0.0",
|
|
150
141
|
"sinon": "^12.0.0",
|
|
@@ -2945,9 +2936,9 @@
|
|
|
2945
2936
|
}
|
|
2946
2937
|
},
|
|
2947
2938
|
"node_modules/@netlify/config": {
|
|
2948
|
-
"version": "17.0.
|
|
2949
|
-
"resolved": "https://registry.npmjs.org/@netlify/config/-/config-17.0.
|
|
2950
|
-
"integrity": "sha512-
|
|
2939
|
+
"version": "17.0.3",
|
|
2940
|
+
"resolved": "https://registry.npmjs.org/@netlify/config/-/config-17.0.3.tgz",
|
|
2941
|
+
"integrity": "sha512-u1x//PEqKvsExPQtRMG4x786mKcAV6ykwqiN102szLlr5Dojb7X5y+6vb9wi4JJ/KNiVURP7Wna/sMxGvFi/Tw==",
|
|
2951
2942
|
"dependencies": {
|
|
2952
2943
|
"chalk": "^4.1.2",
|
|
2953
2944
|
"cron-parser": "^4.1.0",
|
|
@@ -2963,7 +2954,7 @@
|
|
|
2963
2954
|
"js-yaml": "^4.0.0",
|
|
2964
2955
|
"make-dir": "^3.1.0",
|
|
2965
2956
|
"map-obj": "^4.0.0",
|
|
2966
|
-
"netlify": "^10.1.
|
|
2957
|
+
"netlify": "^10.1.1",
|
|
2967
2958
|
"netlify-headers-parser": "^6.0.0",
|
|
2968
2959
|
"netlify-redirect-parser": "^13.0.0",
|
|
2969
2960
|
"omit.js": "^2.0.2",
|
|
@@ -3158,9 +3149,9 @@
|
|
|
3158
3149
|
}
|
|
3159
3150
|
},
|
|
3160
3151
|
"node_modules/@netlify/eslint-config-node": {
|
|
3161
|
-
"version": "4.0.
|
|
3162
|
-
"resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.
|
|
3163
|
-
"integrity": "sha512-
|
|
3152
|
+
"version": "4.0.6",
|
|
3153
|
+
"resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.6.tgz",
|
|
3154
|
+
"integrity": "sha512-XjTw3l/U0DSfPH9WKc0dKMS/r6uy6lPx4FVQ9uX6CeL+DixQz6hym8778G2f4Kpxl3tEPnOGIz40WiNrnDzC5w==",
|
|
3164
3155
|
"dev": true,
|
|
3165
3156
|
"dependencies": {
|
|
3166
3157
|
"@babel/core": "^7.13.8",
|
|
@@ -3544,9 +3535,9 @@
|
|
|
3544
3535
|
}
|
|
3545
3536
|
},
|
|
3546
3537
|
"node_modules/@netlify/open-api": {
|
|
3547
|
-
"version": "2.
|
|
3548
|
-
"resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.
|
|
3549
|
-
"integrity": "sha512-
|
|
3538
|
+
"version": "2.8.0",
|
|
3539
|
+
"resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.8.0.tgz",
|
|
3540
|
+
"integrity": "sha512-lfNB/QYDgaP07pwm/nWEaWPvRAAGyhxvJqNzvxMijc7A4uwquMjlbYve8yYyd0LJXPwgBpGobwiQj5RA76xzUQ=="
|
|
3550
3541
|
},
|
|
3551
3542
|
"node_modules/@netlify/plugin-edge-handlers": {
|
|
3552
3543
|
"version": "3.0.0",
|
|
@@ -10552,15 +10543,6 @@
|
|
|
10552
10543
|
"from2": "^2.0.3"
|
|
10553
10544
|
}
|
|
10554
10545
|
},
|
|
10555
|
-
"node_modules/from2-string": {
|
|
10556
|
-
"version": "1.1.0",
|
|
10557
|
-
"resolved": "https://registry.npmjs.org/from2-string/-/from2-string-1.1.0.tgz",
|
|
10558
|
-
"integrity": "sha1-GCgrJ9CKJnyzAwzSuLSw8hKvdSo=",
|
|
10559
|
-
"dev": true,
|
|
10560
|
-
"dependencies": {
|
|
10561
|
-
"from2": "^2.0.3"
|
|
10562
|
-
}
|
|
10563
|
-
},
|
|
10564
10546
|
"node_modules/from2/node_modules/readable-stream": {
|
|
10565
10547
|
"version": "2.3.7",
|
|
10566
10548
|
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
|
|
@@ -10712,7 +10694,8 @@
|
|
|
10712
10694
|
"node_modules/get-caller-file": {
|
|
10713
10695
|
"version": "1.0.3",
|
|
10714
10696
|
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
|
|
10715
|
-
"integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
|
|
10697
|
+
"integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==",
|
|
10698
|
+
"dev": true
|
|
10716
10699
|
},
|
|
10717
10700
|
"node_modules/get-intrinsic": {
|
|
10718
10701
|
"version": "1.1.1",
|
|
@@ -14390,6 +14373,7 @@
|
|
|
14390
14373
|
"version": "3.0.3",
|
|
14391
14374
|
"resolved": "https://registry.npmjs.org/mock-require/-/mock-require-3.0.3.tgz",
|
|
14392
14375
|
"integrity": "sha512-lLzfLHcyc10MKQnNUCv7dMcoY/2Qxd6wJfbqCcVk3LDb8An4hF6ohk5AztrvgKhJCqj36uyzi/p5se+tvyD+Wg==",
|
|
14376
|
+
"dev": true,
|
|
14393
14377
|
"dependencies": {
|
|
14394
14378
|
"get-caller-file": "^1.0.2",
|
|
14395
14379
|
"normalize-path": "^2.1.1"
|
|
@@ -14402,6 +14386,7 @@
|
|
|
14402
14386
|
"version": "2.1.1",
|
|
14403
14387
|
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
|
|
14404
14388
|
"integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
|
|
14389
|
+
"dev": true,
|
|
14405
14390
|
"dependencies": {
|
|
14406
14391
|
"remove-trailing-separator": "^1.0.1"
|
|
14407
14392
|
},
|
|
@@ -14577,11 +14562,11 @@
|
|
|
14577
14562
|
"integrity": "sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug=="
|
|
14578
14563
|
},
|
|
14579
14564
|
"node_modules/netlify": {
|
|
14580
|
-
"version": "10.1.
|
|
14581
|
-
"resolved": "https://registry.npmjs.org/netlify/-/netlify-10.1.
|
|
14582
|
-
"integrity": "sha512-
|
|
14565
|
+
"version": "10.1.1",
|
|
14566
|
+
"resolved": "https://registry.npmjs.org/netlify/-/netlify-10.1.1.tgz",
|
|
14567
|
+
"integrity": "sha512-aXW+R0rhTpLWK9aa51QETcPI+U2WuMUWA7wPr0thBCsMy/q4tsuAUC3f9OXYXcR3AzRkLOTwqmAfzWb+zKmqGg==",
|
|
14583
14568
|
"dependencies": {
|
|
14584
|
-
"@netlify/open-api": "^2.
|
|
14569
|
+
"@netlify/open-api": "^2.8.0",
|
|
14585
14570
|
"lodash.camelcase": "^4.3.0",
|
|
14586
14571
|
"micro-api-client": "^3.3.0",
|
|
14587
14572
|
"node-fetch": "^2.6.1",
|
|
@@ -16800,18 +16785,6 @@
|
|
|
16800
16785
|
"url": "https://github.com/sponsors/jonschlinkert"
|
|
16801
16786
|
}
|
|
16802
16787
|
},
|
|
16803
|
-
"node_modules/pidtree": {
|
|
16804
|
-
"version": "0.5.0",
|
|
16805
|
-
"resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.5.0.tgz",
|
|
16806
|
-
"integrity": "sha512-9nxspIM7OpZuhBxPg73Zvyq7j1QMPMPsGKTqRc2XOaFQauDvoNz9fM1Wdkjmeo7l9GXOZiRs97sPkuayl39wjA==",
|
|
16807
|
-
"dev": true,
|
|
16808
|
-
"bin": {
|
|
16809
|
-
"pidtree": "bin/pidtree.js"
|
|
16810
|
-
},
|
|
16811
|
-
"engines": {
|
|
16812
|
-
"node": ">=0.10"
|
|
16813
|
-
}
|
|
16814
|
-
},
|
|
16815
16788
|
"node_modules/pify": {
|
|
16816
16789
|
"version": "4.0.1",
|
|
16817
16790
|
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
|
|
@@ -22895,9 +22868,9 @@
|
|
|
22895
22868
|
}
|
|
22896
22869
|
},
|
|
22897
22870
|
"@netlify/config": {
|
|
22898
|
-
"version": "17.0.
|
|
22899
|
-
"resolved": "https://registry.npmjs.org/@netlify/config/-/config-17.0.
|
|
22900
|
-
"integrity": "sha512-
|
|
22871
|
+
"version": "17.0.3",
|
|
22872
|
+
"resolved": "https://registry.npmjs.org/@netlify/config/-/config-17.0.3.tgz",
|
|
22873
|
+
"integrity": "sha512-u1x//PEqKvsExPQtRMG4x786mKcAV6ykwqiN102szLlr5Dojb7X5y+6vb9wi4JJ/KNiVURP7Wna/sMxGvFi/Tw==",
|
|
22901
22874
|
"requires": {
|
|
22902
22875
|
"chalk": "^4.1.2",
|
|
22903
22876
|
"cron-parser": "^4.1.0",
|
|
@@ -22913,7 +22886,7 @@
|
|
|
22913
22886
|
"js-yaml": "^4.0.0",
|
|
22914
22887
|
"make-dir": "^3.1.0",
|
|
22915
22888
|
"map-obj": "^4.0.0",
|
|
22916
|
-
"netlify": "^10.1.
|
|
22889
|
+
"netlify": "^10.1.1",
|
|
22917
22890
|
"netlify-headers-parser": "^6.0.0",
|
|
22918
22891
|
"netlify-redirect-parser": "^13.0.0",
|
|
22919
22892
|
"omit.js": "^2.0.2",
|
|
@@ -23062,9 +23035,9 @@
|
|
|
23062
23035
|
"integrity": "sha512-tiKmDcHM2riSVN79c0mJY/67EBDafXQAMitHuLiCDAMdtz3kfv+NqdVG5krgf5lWR8Uf8AeZrUW5Q9RP25REvw=="
|
|
23063
23036
|
},
|
|
23064
23037
|
"@netlify/eslint-config-node": {
|
|
23065
|
-
"version": "4.0.
|
|
23066
|
-
"resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.
|
|
23067
|
-
"integrity": "sha512-
|
|
23038
|
+
"version": "4.0.6",
|
|
23039
|
+
"resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-4.0.6.tgz",
|
|
23040
|
+
"integrity": "sha512-XjTw3l/U0DSfPH9WKc0dKMS/r6uy6lPx4FVQ9uX6CeL+DixQz6hym8778G2f4Kpxl3tEPnOGIz40WiNrnDzC5w==",
|
|
23068
23041
|
"dev": true,
|
|
23069
23042
|
"requires": {
|
|
23070
23043
|
"@babel/core": "^7.13.8",
|
|
@@ -23307,9 +23280,9 @@
|
|
|
23307
23280
|
"optional": true
|
|
23308
23281
|
},
|
|
23309
23282
|
"@netlify/open-api": {
|
|
23310
|
-
"version": "2.
|
|
23311
|
-
"resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.
|
|
23312
|
-
"integrity": "sha512-
|
|
23283
|
+
"version": "2.8.0",
|
|
23284
|
+
"resolved": "https://registry.npmjs.org/@netlify/open-api/-/open-api-2.8.0.tgz",
|
|
23285
|
+
"integrity": "sha512-lfNB/QYDgaP07pwm/nWEaWPvRAAGyhxvJqNzvxMijc7A4uwquMjlbYve8yYyd0LJXPwgBpGobwiQj5RA76xzUQ=="
|
|
23313
23286
|
},
|
|
23314
23287
|
"@netlify/plugin-edge-handlers": {
|
|
23315
23288
|
"version": "3.0.0",
|
|
@@ -28682,15 +28655,6 @@
|
|
|
28682
28655
|
"from2": "^2.0.3"
|
|
28683
28656
|
}
|
|
28684
28657
|
},
|
|
28685
|
-
"from2-string": {
|
|
28686
|
-
"version": "1.1.0",
|
|
28687
|
-
"resolved": "https://registry.npmjs.org/from2-string/-/from2-string-1.1.0.tgz",
|
|
28688
|
-
"integrity": "sha1-GCgrJ9CKJnyzAwzSuLSw8hKvdSo=",
|
|
28689
|
-
"dev": true,
|
|
28690
|
-
"requires": {
|
|
28691
|
-
"from2": "^2.0.3"
|
|
28692
|
-
}
|
|
28693
|
-
},
|
|
28694
28658
|
"fromentries": {
|
|
28695
28659
|
"version": "1.3.2",
|
|
28696
28660
|
"resolved": "https://registry.npmjs.org/fromentries/-/fromentries-1.3.2.tgz",
|
|
@@ -28781,7 +28745,8 @@
|
|
|
28781
28745
|
"get-caller-file": {
|
|
28782
28746
|
"version": "1.0.3",
|
|
28783
28747
|
"resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz",
|
|
28784
|
-
"integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w=="
|
|
28748
|
+
"integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==",
|
|
28749
|
+
"dev": true
|
|
28785
28750
|
},
|
|
28786
28751
|
"get-intrinsic": {
|
|
28787
28752
|
"version": "1.1.1",
|
|
@@ -31500,6 +31465,7 @@
|
|
|
31500
31465
|
"version": "3.0.3",
|
|
31501
31466
|
"resolved": "https://registry.npmjs.org/mock-require/-/mock-require-3.0.3.tgz",
|
|
31502
31467
|
"integrity": "sha512-lLzfLHcyc10MKQnNUCv7dMcoY/2Qxd6wJfbqCcVk3LDb8An4hF6ohk5AztrvgKhJCqj36uyzi/p5se+tvyD+Wg==",
|
|
31468
|
+
"dev": true,
|
|
31503
31469
|
"requires": {
|
|
31504
31470
|
"get-caller-file": "^1.0.2",
|
|
31505
31471
|
"normalize-path": "^2.1.1"
|
|
@@ -31509,6 +31475,7 @@
|
|
|
31509
31475
|
"version": "2.1.1",
|
|
31510
31476
|
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
|
|
31511
31477
|
"integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
|
|
31478
|
+
"dev": true,
|
|
31512
31479
|
"requires": {
|
|
31513
31480
|
"remove-trailing-separator": "^1.0.1"
|
|
31514
31481
|
}
|
|
@@ -31640,11 +31607,11 @@
|
|
|
31640
31607
|
"integrity": "sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug=="
|
|
31641
31608
|
},
|
|
31642
31609
|
"netlify": {
|
|
31643
|
-
"version": "10.1.
|
|
31644
|
-
"resolved": "https://registry.npmjs.org/netlify/-/netlify-10.1.
|
|
31645
|
-
"integrity": "sha512-
|
|
31610
|
+
"version": "10.1.1",
|
|
31611
|
+
"resolved": "https://registry.npmjs.org/netlify/-/netlify-10.1.1.tgz",
|
|
31612
|
+
"integrity": "sha512-aXW+R0rhTpLWK9aa51QETcPI+U2WuMUWA7wPr0thBCsMy/q4tsuAUC3f9OXYXcR3AzRkLOTwqmAfzWb+zKmqGg==",
|
|
31646
31613
|
"requires": {
|
|
31647
|
-
"@netlify/open-api": "^2.
|
|
31614
|
+
"@netlify/open-api": "^2.8.0",
|
|
31648
31615
|
"lodash.camelcase": "^4.3.0",
|
|
31649
31616
|
"micro-api-client": "^3.3.0",
|
|
31650
31617
|
"node-fetch": "^2.6.1",
|
|
@@ -33351,12 +33318,6 @@
|
|
|
33351
33318
|
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.0.tgz",
|
|
33352
33319
|
"integrity": "sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw=="
|
|
33353
33320
|
},
|
|
33354
|
-
"pidtree": {
|
|
33355
|
-
"version": "0.5.0",
|
|
33356
|
-
"resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.5.0.tgz",
|
|
33357
|
-
"integrity": "sha512-9nxspIM7OpZuhBxPg73Zvyq7j1QMPMPsGKTqRc2XOaFQauDvoNz9fM1Wdkjmeo7l9GXOZiRs97sPkuayl39wjA==",
|
|
33358
|
-
"dev": true
|
|
33359
|
-
},
|
|
33360
33321
|
"pify": {
|
|
33361
33322
|
"version": "4.0.1",
|
|
33362
33323
|
"resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz",
|
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.7",
|
|
5
5
|
"author": "Netlify Inc.",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@netlify/build": "^26.1.0",
|
|
82
|
-
"@netlify/config": "^17.0.
|
|
82
|
+
"@netlify/config": "^17.0.3",
|
|
83
83
|
"@netlify/framework-info": "^7.0.0",
|
|
84
84
|
"@netlify/local-functions-proxy": "^1.1.1",
|
|
85
85
|
"@netlify/plugin-edge-handlers": "^3.0.0",
|
|
@@ -114,7 +114,6 @@
|
|
|
114
114
|
"execa": "^5.0.0",
|
|
115
115
|
"express": "^4.17.1",
|
|
116
116
|
"express-logging": "^1.1.1",
|
|
117
|
-
"filter-obj": "^2.0.1",
|
|
118
117
|
"find-up": "^5.0.0",
|
|
119
118
|
"flush-write-stream": "^2.0.0",
|
|
120
119
|
"folder-walker": "^3.2.0",
|
|
@@ -145,16 +144,14 @@
|
|
|
145
144
|
"make-dir": "^3.0.0",
|
|
146
145
|
"memoize-one": "^6.0.0",
|
|
147
146
|
"minimist": "^1.2.5",
|
|
148
|
-
"mock-require": "^3.0.3",
|
|
149
147
|
"multiparty": "^4.2.1",
|
|
150
|
-
"netlify": "^10.1.
|
|
148
|
+
"netlify": "^10.1.1",
|
|
151
149
|
"netlify-headers-parser": "^6.0.0",
|
|
152
150
|
"netlify-redirect-parser": "^13.0.0",
|
|
153
151
|
"netlify-redirector": "^0.2.1",
|
|
154
152
|
"node-fetch": "^2.6.0",
|
|
155
153
|
"node-version-alias": "^1.0.1",
|
|
156
154
|
"omit.js": "^2.0.2",
|
|
157
|
-
"open": "^7.0.0",
|
|
158
155
|
"ora": "^5.0.0",
|
|
159
156
|
"p-event": "^4.2.0",
|
|
160
157
|
"p-filter": "^2.1.0",
|
|
@@ -163,14 +160,11 @@
|
|
|
163
160
|
"parallel-transform": "^1.2.0",
|
|
164
161
|
"parse-github-url": "^1.0.2",
|
|
165
162
|
"parse-gitignore": "^1.0.1",
|
|
166
|
-
"path-exists": "^4.0.0",
|
|
167
163
|
"path-key": "^3.1.1",
|
|
168
|
-
"path-type": "^4.0.0",
|
|
169
164
|
"prettyjson": "^1.2.1",
|
|
170
165
|
"pump": "^3.0.0",
|
|
171
166
|
"raw-body": "^2.4.1",
|
|
172
167
|
"read-pkg-up": "^7.0.1",
|
|
173
|
-
"resolve": "^1.12.0",
|
|
174
168
|
"semver": "^7.3.5",
|
|
175
169
|
"source-map-support": "^0.5.19",
|
|
176
170
|
"static-server": "^2.2.1",
|
|
@@ -190,25 +184,22 @@
|
|
|
190
184
|
"write-file-atomic": "^3.0.0"
|
|
191
185
|
},
|
|
192
186
|
"devDependencies": {
|
|
193
|
-
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
194
187
|
"@babel/preset-react": "^7.12.13",
|
|
195
188
|
"@commitlint/cli": "^16.0.0",
|
|
196
189
|
"@commitlint/config-conventional": "^16.0.0",
|
|
197
|
-
"@netlify/eslint-config-node": "^4.0.
|
|
190
|
+
"@netlify/eslint-config-node": "^4.0.6",
|
|
198
191
|
"ava": "^3.15.0",
|
|
199
192
|
"eslint-plugin-sort-destructure-keys": "^1.3.5",
|
|
200
193
|
"fast-glob": "^3.2.7",
|
|
201
194
|
"form-data": "^4.0.0",
|
|
202
|
-
"from2-string": "^1.1.0",
|
|
203
195
|
"got": "^11.8.1",
|
|
204
196
|
"graphviz": "^0.0.9",
|
|
205
197
|
"ini": "^2.0.0",
|
|
206
198
|
"jsonwebtoken": "^8.5.1",
|
|
207
|
-
"mkdirp": "^1.0.4",
|
|
208
199
|
"mock-fs": "^5.1.2",
|
|
200
|
+
"mock-require": "^3.0.3",
|
|
209
201
|
"nyc": "^15.0.0",
|
|
210
202
|
"p-timeout": "^4.0.0",
|
|
211
|
-
"pidtree": "^0.5.0",
|
|
212
203
|
"seedrandom": "^3.0.5",
|
|
213
204
|
"serialize-javascript": "^6.0.0",
|
|
214
205
|
"sinon": "^12.0.0",
|
|
@@ -41,8 +41,8 @@ const FALLBACK_HELP_CMD_WIDTH = 80
|
|
|
41
41
|
const HELP_$ = NETLIFY_CYAN('$')
|
|
42
42
|
// indent on commands or description on the help page
|
|
43
43
|
const HELP_INDENT_WIDTH = 2
|
|
44
|
-
//
|
|
45
|
-
const
|
|
44
|
+
// separator width between term and description
|
|
45
|
+
const HELP_SEPARATOR_WIDTH = 5
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Formats a help list correctly with the correct indent
|
|
@@ -213,7 +213,7 @@ class BaseCommand extends Command {
|
|
|
213
213
|
const bang = isCommand ? `${HELP_$} ` : ''
|
|
214
214
|
|
|
215
215
|
if (description) {
|
|
216
|
-
const pad = termWidth +
|
|
216
|
+
const pad = termWidth + HELP_SEPARATOR_WIDTH
|
|
217
217
|
const fullText = `${bang}${term.padEnd(pad - (isCommand ? 2 : 0))}${chalk.grey(description)}`
|
|
218
218
|
return helper.wrap(fullText, helpWidth - HELP_INDENT_WIDTH, pad)
|
|
219
219
|
}
|
|
@@ -25,7 +25,6 @@ const detectNetlifyLambda = async function ({ packageJson } = {}) {
|
|
|
25
25
|
if (functionDirectories.length === 1) {
|
|
26
26
|
const srcFiles = [resolve(functionDirectories[0])]
|
|
27
27
|
|
|
28
|
-
// eslint-disable-next-line no-await-in-loop
|
|
29
28
|
const yarnExists = await fileExistsAsync('yarn.lock')
|
|
30
29
|
const buildCommand = () => execa(yarnExists ? 'yarn' : 'npm', ['run', key])
|
|
31
30
|
|
|
@@ -20,7 +20,7 @@ module.exports = function generatePrompts(settings) {
|
|
|
20
20
|
console.log('')
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
// Handle shorthand config. Probably will be removed.
|
|
23
|
+
// Handle shorthand config. Probably will be removed. Severely limited + not great UX
|
|
24
24
|
if (typeof setting === 'string' || typeof setting === 'boolean') {
|
|
25
25
|
if (typeof setting === 'string') {
|
|
26
26
|
prompt = {
|
|
@@ -34,7 +34,6 @@ const getGlobalConfig = async function () {
|
|
|
34
34
|
// eslint-disable-next-line fp/no-loops
|
|
35
35
|
for (let retry = 1; retry <= retries; retry++) {
|
|
36
36
|
try {
|
|
37
|
-
// eslint-disable-next-line no-await-in-loop
|
|
38
37
|
return await getGlobalConfigOnce()
|
|
39
38
|
} catch (error) {
|
|
40
39
|
if (retry === retries) {
|
|
@@ -196,7 +196,7 @@ const forwardMessagesToLog = ({ subprocess }) => {
|
|
|
196
196
|
stopSpinner({
|
|
197
197
|
spinner,
|
|
198
198
|
error: true,
|
|
199
|
-
text: `${NETLIFYDEVERR} An error
|
|
199
|
+
text: `${NETLIFYDEVERR} An error occurred while bundling processing the messages from routing-local-proxy: ${err}`,
|
|
200
200
|
})
|
|
201
201
|
|
|
202
202
|
firstBundleReject(err)
|