netlify-cli 17.8.1 → 17.10.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.
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "17.8.1",
3
+ "version": "17.10.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "17.8.1",
9
+ "version": "17.10.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
13
  "@bugsnag/js": "7.20.2",
14
14
  "@fastify/static": "6.10.2",
15
15
  "@netlify/blobs": "6.3.1",
16
- "@netlify/build": "29.29.0",
17
- "@netlify/build-info": "7.11.1",
16
+ "@netlify/build": "29.31.0",
17
+ "@netlify/build-info": "7.11.3",
18
18
  "@netlify/config": "20.10.0",
19
19
  "@netlify/edge-bundler": "10.1.3",
20
20
  "@netlify/local-functions-proxy": "1.1.1",
21
- "@netlify/zip-it-and-ship-it": "9.26.4",
21
+ "@netlify/zip-it-and-ship-it": "9.28.1",
22
22
  "@octokit/rest": "19.0.13",
23
23
  "ansi-escapes": "6.2.0",
24
24
  "ansi-styles": "6.2.1",
@@ -194,9 +194,9 @@
194
194
  }
195
195
  },
196
196
  "node_modules/@babel/helper-string-parser": {
197
- "version": "7.22.5",
198
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
199
- "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw==",
197
+ "version": "7.23.4",
198
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
199
+ "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==",
200
200
  "engines": {
201
201
  "node": ">=6.9.0"
202
202
  }
@@ -285,11 +285,11 @@
285
285
  }
286
286
  },
287
287
  "node_modules/@babel/types": {
288
- "version": "7.23.3",
289
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.3.tgz",
290
- "integrity": "sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw==",
288
+ "version": "7.23.4",
289
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz",
290
+ "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==",
291
291
  "dependencies": {
292
- "@babel/helper-string-parser": "^7.22.5",
292
+ "@babel/helper-string-parser": "^7.23.4",
293
293
  "@babel/helper-validator-identifier": "^7.22.20",
294
294
  "to-fast-properties": "^2.0.0"
295
295
  },
@@ -819,9 +819,9 @@
819
819
  }
820
820
  },
821
821
  "node_modules/@netlify/build": {
822
- "version": "29.29.0",
823
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.29.0.tgz",
824
- "integrity": "sha512-xvDJY3lCGVDpGqKvB0vDYt9777p6xR+a3GmKxA2JoJHLn3yidXm+X76Ef73kngGVcwU7FumQNx8nb8vzd1kKYg==",
822
+ "version": "29.31.0",
823
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.31.0.tgz",
824
+ "integrity": "sha512-XtUXnj3LtdWxcgP4kz1k0creF9bZa7eGNh85B89sw4V99Mtsn1Sl89yAZJkEH6rtuGJIs1eiQ261nlhUZ6+C6Q==",
825
825
  "dependencies": {
826
826
  "@bugsnag/js": "^7.0.0",
827
827
  "@honeycombio/opentelemetry-node": "^0.5.0",
@@ -830,11 +830,11 @@
830
830
  "@netlify/config": "^20.10.0",
831
831
  "@netlify/edge-bundler": "10.1.3",
832
832
  "@netlify/framework-info": "^9.8.10",
833
- "@netlify/functions-utils": "^5.2.42",
833
+ "@netlify/functions-utils": "^5.2.45",
834
834
  "@netlify/git-utils": "^5.1.1",
835
835
  "@netlify/plugins-list": "^6.72.0",
836
836
  "@netlify/run-utils": "^5.1.1",
837
- "@netlify/zip-it-and-ship-it": "9.26.4",
837
+ "@netlify/zip-it-and-ship-it": "9.28.1",
838
838
  "@opentelemetry/api": "^1.4.1",
839
839
  "@opentelemetry/core": "^1.17.1",
840
840
  "@sindresorhus/slugify": "^2.0.0",
@@ -899,9 +899,9 @@
899
899
  }
900
900
  },
901
901
  "node_modules/@netlify/build-info": {
902
- "version": "7.11.1",
903
- "resolved": "https://registry.npmjs.org/@netlify/build-info/-/build-info-7.11.1.tgz",
904
- "integrity": "sha512-JnsFgY22eOT++VRGoLHQDWzp1cvWFgsxiIk+/y3VgdmUQdugeKn5HeUYfWkBOau4xTCu53MKhtuVm8DkLpH19g==",
902
+ "version": "7.11.3",
903
+ "resolved": "https://registry.npmjs.org/@netlify/build-info/-/build-info-7.11.3.tgz",
904
+ "integrity": "sha512-lnJsJcoFSZIIB+4tOU/rdPjPn2+TP896B9y23z5THyACeN/e2I0Y7Y+d+BzHgFDcJBwqFpIehEs2jf8wPb9CHw==",
905
905
  "dependencies": {
906
906
  "@bugsnag/js": "^7.20.0",
907
907
  "dot-prop": "^7.2.0",
@@ -2317,11 +2317,11 @@
2317
2317
  }
2318
2318
  },
2319
2319
  "node_modules/@netlify/functions-utils": {
2320
- "version": "5.2.42",
2321
- "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.42.tgz",
2322
- "integrity": "sha512-ltZ5Vtop8IiJOgSnKApxZdXArOq4cLDs9WpZ3Xoa1lJDojjyPvAH6Vpp3DxFAdi9a8pzYK70vTb048SzMwffnA==",
2320
+ "version": "5.2.45",
2321
+ "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.45.tgz",
2322
+ "integrity": "sha512-p7NQwOUmDbOG8G+J0UlMOKtTnEoaQemMCM8DgzFd4aOvlzZP870ociP/e6hfaxrq1cFB/cFGax+xfuRWAX66pA==",
2323
2323
  "dependencies": {
2324
- "@netlify/zip-it-and-ship-it": "9.26.4",
2324
+ "@netlify/zip-it-and-ship-it": "9.28.1",
2325
2325
  "cpy": "^9.0.0",
2326
2326
  "path-exists": "^5.0.0"
2327
2327
  },
@@ -2753,12 +2753,12 @@
2753
2753
  }
2754
2754
  },
2755
2755
  "node_modules/@netlify/zip-it-and-ship-it": {
2756
- "version": "9.26.4",
2757
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.26.4.tgz",
2758
- "integrity": "sha512-lGdmHz5ppP6VmVEuvuL5nKP7a3/dUGRLBotqs2x/lwp35/1lbR+CIbXV6y8IYc4yn1hDfDtp+Lcqe6Np2KcFtg==",
2756
+ "version": "9.28.1",
2757
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.28.1.tgz",
2758
+ "integrity": "sha512-cihW7K9JvlhcrhbdUO9Rhe0r5pydKr8HL++4A2/J7S4Vzl3KftBHyS7O/2Vh54+u3aMon6m4CDXWwErSwjjLNQ==",
2759
2759
  "dependencies": {
2760
2760
  "@babel/parser": "^7.22.5",
2761
- "@babel/types": "7.23.3",
2761
+ "@babel/types": "7.23.4",
2762
2762
  "@netlify/binary-info": "^1.0.0",
2763
2763
  "@netlify/serverless-functions-api": "^1.12.1",
2764
2764
  "@vercel/nft": "^0.23.0",
@@ -2768,6 +2768,7 @@
2768
2768
  "es-module-lexer": "^1.0.0",
2769
2769
  "esbuild": "0.19.6",
2770
2770
  "execa": "^6.0.0",
2771
+ "fast-glob": "^3.3.2",
2771
2772
  "filter-obj": "^5.0.0",
2772
2773
  "find-up": "^6.0.0",
2773
2774
  "glob": "^8.0.3",
@@ -3193,6 +3194,21 @@
3193
3194
  "url": "https://github.com/sindresorhus/execa?sponsor=1"
3194
3195
  }
3195
3196
  },
3197
+ "node_modules/@netlify/zip-it-and-ship-it/node_modules/fast-glob": {
3198
+ "version": "3.3.2",
3199
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
3200
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
3201
+ "dependencies": {
3202
+ "@nodelib/fs.stat": "^2.0.2",
3203
+ "@nodelib/fs.walk": "^1.2.3",
3204
+ "glob-parent": "^5.1.2",
3205
+ "merge2": "^1.3.0",
3206
+ "micromatch": "^4.0.4"
3207
+ },
3208
+ "engines": {
3209
+ "node": ">=8.6.0"
3210
+ }
3211
+ },
3196
3212
  "node_modules/@netlify/zip-it-and-ship-it/node_modules/glob": {
3197
3213
  "version": "8.1.0",
3198
3214
  "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
@@ -5655,6 +5671,32 @@
5655
5671
  "node": ">= 6.0.0"
5656
5672
  }
5657
5673
  },
5674
+ "node_modules/aggregate-error": {
5675
+ "version": "4.0.1",
5676
+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz",
5677
+ "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==",
5678
+ "dependencies": {
5679
+ "clean-stack": "^4.0.0",
5680
+ "indent-string": "^5.0.0"
5681
+ },
5682
+ "engines": {
5683
+ "node": ">=12"
5684
+ },
5685
+ "funding": {
5686
+ "url": "https://github.com/sponsors/sindresorhus"
5687
+ }
5688
+ },
5689
+ "node_modules/aggregate-error/node_modules/indent-string": {
5690
+ "version": "5.0.0",
5691
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
5692
+ "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==",
5693
+ "engines": {
5694
+ "node": ">=12"
5695
+ },
5696
+ "funding": {
5697
+ "url": "https://github.com/sponsors/sindresorhus"
5698
+ }
5699
+ },
5658
5700
  "node_modules/ajv": {
5659
5701
  "version": "6.12.6",
5660
5702
  "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
@@ -12934,32 +12976,6 @@
12934
12976
  "url": "https://github.com/sponsors/sindresorhus"
12935
12977
  }
12936
12978
  },
12937
- "node_modules/p-map/node_modules/aggregate-error": {
12938
- "version": "4.0.1",
12939
- "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz",
12940
- "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==",
12941
- "dependencies": {
12942
- "clean-stack": "^4.0.0",
12943
- "indent-string": "^5.0.0"
12944
- },
12945
- "engines": {
12946
- "node": ">=12"
12947
- },
12948
- "funding": {
12949
- "url": "https://github.com/sponsors/sindresorhus"
12950
- }
12951
- },
12952
- "node_modules/p-map/node_modules/indent-string": {
12953
- "version": "5.0.0",
12954
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
12955
- "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==",
12956
- "engines": {
12957
- "node": ">=12"
12958
- },
12959
- "funding": {
12960
- "url": "https://github.com/sponsors/sindresorhus"
12961
- }
12962
- },
12963
12979
  "node_modules/p-reduce": {
12964
12980
  "version": "3.0.0",
12965
12981
  "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-3.0.0.tgz",
@@ -16614,9 +16630,9 @@
16614
16630
  }
16615
16631
  },
16616
16632
  "@babel/helper-string-parser": {
16617
- "version": "7.22.5",
16618
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
16619
- "integrity": "sha512-mM4COjgZox8U+JcXQwPijIZLElkgEpO5rsERVDJTc2qfCDfERyob6k5WegS14SX18IIjv+XD+GrqNumY5JRCDw=="
16633
+ "version": "7.23.4",
16634
+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.23.4.tgz",
16635
+ "integrity": "sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ=="
16620
16636
  },
16621
16637
  "@babel/helper-validator-identifier": {
16622
16638
  "version": "7.22.20",
@@ -16677,11 +16693,11 @@
16677
16693
  "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw=="
16678
16694
  },
16679
16695
  "@babel/types": {
16680
- "version": "7.23.3",
16681
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.3.tgz",
16682
- "integrity": "sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw==",
16696
+ "version": "7.23.4",
16697
+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.4.tgz",
16698
+ "integrity": "sha512-7uIFwVYpoplT5jp/kVv6EF93VaJ8H+Yn5IczYiaAi98ajzjfoZfslet/e0sLh+wVBjb2qqIut1b0S26VSafsSQ==",
16683
16699
  "requires": {
16684
- "@babel/helper-string-parser": "^7.22.5",
16700
+ "@babel/helper-string-parser": "^7.23.4",
16685
16701
  "@babel/helper-validator-identifier": "^7.22.20",
16686
16702
  "to-fast-properties": "^2.0.0"
16687
16703
  }
@@ -17100,9 +17116,9 @@
17100
17116
  "integrity": "sha512-JjLz3WW7Wp6NVwQtDxPpWio4L3u9pnnDXnQ7Q16zgAFE9IA1rSjZVSsyOQrtkiBQIxaJ1Zr5eky8vrXJ5mdRWg=="
17101
17117
  },
17102
17118
  "@netlify/build": {
17103
- "version": "29.29.0",
17104
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.29.0.tgz",
17105
- "integrity": "sha512-xvDJY3lCGVDpGqKvB0vDYt9777p6xR+a3GmKxA2JoJHLn3yidXm+X76Ef73kngGVcwU7FumQNx8nb8vzd1kKYg==",
17119
+ "version": "29.31.0",
17120
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.31.0.tgz",
17121
+ "integrity": "sha512-XtUXnj3LtdWxcgP4kz1k0creF9bZa7eGNh85B89sw4V99Mtsn1Sl89yAZJkEH6rtuGJIs1eiQ261nlhUZ6+C6Q==",
17106
17122
  "requires": {
17107
17123
  "@bugsnag/js": "^7.0.0",
17108
17124
  "@honeycombio/opentelemetry-node": "^0.5.0",
@@ -17111,11 +17127,11 @@
17111
17127
  "@netlify/config": "^20.10.0",
17112
17128
  "@netlify/edge-bundler": "10.1.3",
17113
17129
  "@netlify/framework-info": "^9.8.10",
17114
- "@netlify/functions-utils": "^5.2.42",
17130
+ "@netlify/functions-utils": "^5.2.45",
17115
17131
  "@netlify/git-utils": "^5.1.1",
17116
17132
  "@netlify/plugins-list": "^6.72.0",
17117
17133
  "@netlify/run-utils": "^5.1.1",
17118
- "@netlify/zip-it-and-ship-it": "9.26.4",
17134
+ "@netlify/zip-it-and-ship-it": "9.28.1",
17119
17135
  "@opentelemetry/api": "^1.4.1",
17120
17136
  "@opentelemetry/core": "^1.17.1",
17121
17137
  "@sindresorhus/slugify": "^2.0.0",
@@ -17403,9 +17419,9 @@
17403
17419
  }
17404
17420
  },
17405
17421
  "@netlify/build-info": {
17406
- "version": "7.11.1",
17407
- "resolved": "https://registry.npmjs.org/@netlify/build-info/-/build-info-7.11.1.tgz",
17408
- "integrity": "sha512-JnsFgY22eOT++VRGoLHQDWzp1cvWFgsxiIk+/y3VgdmUQdugeKn5HeUYfWkBOau4xTCu53MKhtuVm8DkLpH19g==",
17422
+ "version": "7.11.3",
17423
+ "resolved": "https://registry.npmjs.org/@netlify/build-info/-/build-info-7.11.3.tgz",
17424
+ "integrity": "sha512-lnJsJcoFSZIIB+4tOU/rdPjPn2+TP896B9y23z5THyACeN/e2I0Y7Y+d+BzHgFDcJBwqFpIehEs2jf8wPb9CHw==",
17409
17425
  "requires": {
17410
17426
  "@bugsnag/js": "^7.20.0",
17411
17427
  "dot-prop": "^7.2.0",
@@ -17997,11 +18013,11 @@
17997
18013
  }
17998
18014
  },
17999
18015
  "@netlify/functions-utils": {
18000
- "version": "5.2.42",
18001
- "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.42.tgz",
18002
- "integrity": "sha512-ltZ5Vtop8IiJOgSnKApxZdXArOq4cLDs9WpZ3Xoa1lJDojjyPvAH6Vpp3DxFAdi9a8pzYK70vTb048SzMwffnA==",
18016
+ "version": "5.2.45",
18017
+ "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.45.tgz",
18018
+ "integrity": "sha512-p7NQwOUmDbOG8G+J0UlMOKtTnEoaQemMCM8DgzFd4aOvlzZP870ociP/e6hfaxrq1cFB/cFGax+xfuRWAX66pA==",
18003
18019
  "requires": {
18004
- "@netlify/zip-it-and-ship-it": "9.26.4",
18020
+ "@netlify/zip-it-and-ship-it": "9.28.1",
18005
18021
  "cpy": "^9.0.0",
18006
18022
  "path-exists": "^5.0.0"
18007
18023
  },
@@ -18247,12 +18263,12 @@
18247
18263
  }
18248
18264
  },
18249
18265
  "@netlify/zip-it-and-ship-it": {
18250
- "version": "9.26.4",
18251
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.26.4.tgz",
18252
- "integrity": "sha512-lGdmHz5ppP6VmVEuvuL5nKP7a3/dUGRLBotqs2x/lwp35/1lbR+CIbXV6y8IYc4yn1hDfDtp+Lcqe6Np2KcFtg==",
18266
+ "version": "9.28.1",
18267
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.28.1.tgz",
18268
+ "integrity": "sha512-cihW7K9JvlhcrhbdUO9Rhe0r5pydKr8HL++4A2/J7S4Vzl3KftBHyS7O/2Vh54+u3aMon6m4CDXWwErSwjjLNQ==",
18253
18269
  "requires": {
18254
18270
  "@babel/parser": "^7.22.5",
18255
- "@babel/types": "7.23.3",
18271
+ "@babel/types": "7.23.4",
18256
18272
  "@netlify/binary-info": "^1.0.0",
18257
18273
  "@netlify/serverless-functions-api": "^1.12.1",
18258
18274
  "@vercel/nft": "^0.23.0",
@@ -18262,6 +18278,7 @@
18262
18278
  "es-module-lexer": "^1.0.0",
18263
18279
  "esbuild": "0.19.6",
18264
18280
  "execa": "^6.0.0",
18281
+ "fast-glob": "^3.3.2",
18265
18282
  "filter-obj": "^5.0.0",
18266
18283
  "find-up": "^6.0.0",
18267
18284
  "glob": "^8.0.3",
@@ -18470,6 +18487,18 @@
18470
18487
  "strip-final-newline": "^3.0.0"
18471
18488
  }
18472
18489
  },
18490
+ "fast-glob": {
18491
+ "version": "3.3.2",
18492
+ "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz",
18493
+ "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==",
18494
+ "requires": {
18495
+ "@nodelib/fs.stat": "^2.0.2",
18496
+ "@nodelib/fs.walk": "^1.2.3",
18497
+ "glob-parent": "^5.1.2",
18498
+ "merge2": "^1.3.0",
18499
+ "micromatch": "^4.0.4"
18500
+ }
18501
+ },
18473
18502
  "glob": {
18474
18503
  "version": "8.1.0",
18475
18504
  "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
@@ -20132,6 +20161,22 @@
20132
20161
  "debug": "4"
20133
20162
  }
20134
20163
  },
20164
+ "aggregate-error": {
20165
+ "version": "4.0.1",
20166
+ "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz",
20167
+ "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==",
20168
+ "requires": {
20169
+ "clean-stack": "^4.0.0",
20170
+ "indent-string": "^5.0.0"
20171
+ },
20172
+ "dependencies": {
20173
+ "indent-string": {
20174
+ "version": "5.0.0",
20175
+ "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
20176
+ "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg=="
20177
+ }
20178
+ }
20179
+ },
20135
20180
  "ajv": {
20136
20181
  "version": "6.12.6",
20137
20182
  "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
@@ -25432,22 +25477,6 @@
25432
25477
  "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==",
25433
25478
  "requires": {
25434
25479
  "aggregate-error": "^4.0.0"
25435
- },
25436
- "dependencies": {
25437
- "aggregate-error": {
25438
- "version": "4.0.1",
25439
- "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz",
25440
- "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==",
25441
- "requires": {
25442
- "clean-stack": "^4.0.0",
25443
- "indent-string": "^5.0.0"
25444
- }
25445
- },
25446
- "indent-string": {
25447
- "version": "5.0.0",
25448
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
25449
- "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg=="
25450
- }
25451
25480
  }
25452
25481
  },
25453
25482
  "p-reduce": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
3
  "description": "Netlify command line tool",
4
- "version": "17.8.1",
4
+ "version": "17.10.0",
5
5
  "author": "Netlify Inc.",
6
6
  "type": "module",
7
7
  "engines": {
@@ -46,12 +46,12 @@
46
46
  "@bugsnag/js": "7.20.2",
47
47
  "@fastify/static": "6.10.2",
48
48
  "@netlify/blobs": "6.3.1",
49
- "@netlify/build": "29.29.0",
50
- "@netlify/build-info": "7.11.1",
49
+ "@netlify/build": "29.31.0",
50
+ "@netlify/build-info": "7.11.3",
51
51
  "@netlify/config": "20.10.0",
52
52
  "@netlify/edge-bundler": "10.1.3",
53
53
  "@netlify/local-functions-proxy": "1.1.1",
54
- "@netlify/zip-it-and-ship-it": "9.26.4",
54
+ "@netlify/zip-it-and-ship-it": "9.28.1",
55
55
  "@octokit/rest": "19.0.13",
56
56
  "ansi-escapes": "6.2.0",
57
57
  "ansi-styles": "6.2.1",
@@ -313,6 +313,36 @@ const deployProgressCb = function () {
313
313
  }
314
314
  };
315
315
  };
316
+ const uploadDeployBlobs = async ({ cachedConfig, deployId, options, silent, siteId, }) => {
317
+ const statusCb = silent ? () => { } : deployProgressCb();
318
+ statusCb({
319
+ type: 'blobs-uploading',
320
+ msg: 'Uploading blobs to deploy store...\n',
321
+ phase: 'start',
322
+ });
323
+ const [token] = await getToken(false);
324
+ const { success } = await runCoreSteps(['blobs_upload'], {
325
+ ...options,
326
+ quiet: silent,
327
+ cachedConfig,
328
+ deployId,
329
+ siteId,
330
+ token,
331
+ });
332
+ if (!success) {
333
+ statusCb({
334
+ type: 'blobs-uploading',
335
+ msg: 'Deploy aborted due to error while uploading blobs to deploy store',
336
+ phase: 'error',
337
+ });
338
+ error('Error while uploading blobs to deploy store');
339
+ }
340
+ statusCb({
341
+ type: 'blobs-uploading',
342
+ msg: 'Finished uploading blobs to deploy store',
343
+ phase: 'stop',
344
+ });
345
+ };
316
346
  const runDeploy = async ({
317
347
  // @ts-expect-error TS(7031) FIXME: Binding element 'alias' implicitly has an 'any' ty... Remove this comment to see the full error message
318
348
  alias,
@@ -332,6 +362,8 @@ deployToProduction,
332
362
  functionsConfig,
333
363
  // @ts-expect-error TS(7031) FIXME: Binding element 'functionsFolder' implicitly has a... Remove this comment to see the full error message
334
364
  functionsFolder,
365
+ // @ts-expect-error TS(7031) FIXME: Binding element 'options' implicitly has an 'a... Remove this comment to see the full error message
366
+ options,
335
367
  // @ts-expect-error TS(7031) FIXME: Binding element 'packagePath' implicitly has an 'a... Remove this comment to see the full error message
336
368
  packagePath,
337
369
  // @ts-expect-error TS(7031) FIXME: Binding element 'silent' implicitly has an 'any' t... Remove this comment to see the full error message
@@ -380,6 +412,7 @@ title, }) => {
380
412
  minimal: true,
381
413
  });
382
414
  config.headers = headers;
415
+ uploadDeployBlobs({ deployId, siteId, silent, options, cachedConfig: command.netlify.cachedConfig });
383
416
  results = await deploySite(api, siteId, deployFolder, {
384
417
  config,
385
418
  // @ts-expect-error TS(2322) FIXME: Type 'any[]' is not assignable to type 'never[]'.
@@ -617,6 +650,7 @@ workingDir, }) => {
617
650
  functionsConfig,
618
651
  // pass undefined functionsFolder if doesn't exist
619
652
  functionsFolder: functionsFolderStat && functionsFolder,
653
+ options,
620
654
  packagePath: command.workspacePackage,
621
655
  silent: options.json || options.silent,
622
656
  site,
@@ -1,3 +1,3 @@
1
1
  import { env } from 'process';
2
- const latestBootstrapURL = 'https://65437779a0c9990008b54abe--edge.netlify.com/bootstrap/index-combined.ts';
2
+ const latestBootstrapURL = 'https://656703bb61f20c00084a3479--edge.netlify.com/bootstrap/index-combined.ts';
3
3
  export const getBootstrapURL = () => env.NETLIFY_EDGE_BOOTSTRAP || latestBootstrapURL;
@@ -39,10 +39,9 @@ export const handleProxyRequest = (req, proxyReq) => {
39
39
  proxyReq.setHeader(header, value);
40
40
  });
41
41
  };
42
- export const createSiteInfoHeader = (siteInfo = {}) => {
43
- // @ts-expect-error TS(2339) FIXME: Property 'id' does not exist on type '{}'.
42
+ export const createSiteInfoHeader = (siteInfo, localURL) => {
44
43
  const { id, name, url } = siteInfo;
45
- const site = { id, name, url };
44
+ const site = { id, name, url: localURL ?? url };
46
45
  const siteString = JSON.stringify(site);
47
46
  return Buffer.from(siteString).toString('base64');
48
47
  };
@@ -120,7 +119,8 @@ state, }) => {
120
119
  const buildFeatureFlags = {
121
120
  edge_functions_npm_modules: true,
122
121
  };
123
- const runtimeFeatureFlags = ['edge_functions_bootstrap_failure_mode'];
122
+ const runtimeFeatureFlags = ['edge_functions_bootstrap_failure_mode', 'edge_functions_bootstrap_populate_environment'];
123
+ const protocol = settings.https ? 'https' : 'http';
124
124
  // Initializes the server, bootstrapping the Deno CLI and downloading it from
125
125
  // the network if needed. We don't want to wait for that to be completed, or
126
126
  // the command will be left hanging.
@@ -155,7 +155,7 @@ state, }) => {
155
155
  // Setting header with geolocation and site info.
156
156
  req.headers[headers.Geo] = Buffer.from(JSON.stringify(geoLocation)).toString('base64');
157
157
  req.headers[headers.DeployID] = '0';
158
- req.headers[headers.Site] = createSiteInfoHeader(siteInfo);
158
+ req.headers[headers.Site] = createSiteInfoHeader(siteInfo, `${protocol}://localhost:${mainPort}`);
159
159
  req.headers[headers.Account] = createAccountInfoHeader({ id: accountId });
160
160
  if (blobsContext?.edgeURL && blobsContext?.token) {
161
161
  req.headers[headers.BlobsInfo] = Buffer.from(JSON.stringify({ url: blobsContext.edgeURL, token: blobsContext.token })).toString('base64');
@@ -168,7 +168,7 @@ state, }) => {
168
168
  }
169
169
  req[headersSymbol] = {
170
170
  [headers.FeatureFlags]: getFeatureFlagsHeader(runtimeFeatureFlags),
171
- [headers.ForwardedProtocol]: settings.https ? 'https:' : 'http:',
171
+ [headers.ForwardedProtocol]: `${protocol}:`,
172
172
  [headers.Functions]: functionNames.join(','),
173
173
  [headers.InvocationMetadata]: getInvocationMetadataHeader(invocationMetadata),
174
174
  [headers.IP]: LOCAL_HOST,