netlify-cli 17.8.0 → 17.9.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.0",
3
+ "version": "17.9.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "17.8.0",
9
+ "version": "17.9.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
- "@netlify/blobs": "6.3.0",
16
- "@netlify/build": "29.27.0",
15
+ "@netlify/blobs": "6.3.1",
16
+ "@netlify/build": "29.29.4",
17
17
  "@netlify/build-info": "7.11.1",
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.2",
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
  }
@@ -284,6 +284,19 @@
284
284
  "node": ">=6.0.0"
285
285
  }
286
286
  },
287
+ "node_modules/@babel/types": {
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
+ "dependencies": {
292
+ "@babel/helper-string-parser": "^7.23.4",
293
+ "@babel/helper-validator-identifier": "^7.22.20",
294
+ "to-fast-properties": "^2.0.0"
295
+ },
296
+ "engines": {
297
+ "node": ">=6.9.0"
298
+ }
299
+ },
287
300
  "node_modules/@bugsnag/browser": {
288
301
  "version": "7.20.2",
289
302
  "resolved": "https://registry.npmjs.org/@bugsnag/browser/-/browser-7.20.2.tgz",
@@ -798,29 +811,30 @@
798
811
  "integrity": "sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw=="
799
812
  },
800
813
  "node_modules/@netlify/blobs": {
801
- "version": "6.3.0",
802
- "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-6.3.0.tgz",
803
- "integrity": "sha512-EcgttqwH7kmK5B9RO8hRwAx/pkO9RwfFoRl+B38UNiFN6L4T46Q9Vhxnp3EzXQxn7Le1RpwFnXhd+UAhyZod+g==",
814
+ "version": "6.3.1",
815
+ "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-6.3.1.tgz",
816
+ "integrity": "sha512-JjLz3WW7Wp6NVwQtDxPpWio4L3u9pnnDXnQ7Q16zgAFE9IA1rSjZVSsyOQrtkiBQIxaJ1Zr5eky8vrXJ5mdRWg==",
804
817
  "engines": {
805
818
  "node": "^14.16.0 || >=16.0.0"
806
819
  }
807
820
  },
808
821
  "node_modules/@netlify/build": {
809
- "version": "29.27.0",
810
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.27.0.tgz",
811
- "integrity": "sha512-olo97YFbaprhTECbzMl/6MuAPmB835wmAz+uSkG22unkbG19kmUibjcxQhLzArrhJa5YIOei2Xnkh9qWnJZxTw==",
822
+ "version": "29.29.4",
823
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.29.4.tgz",
824
+ "integrity": "sha512-Df0f5M4FN3uUrYImvVOY6SRON+YgsWwBoeJKsNUso3EIAPjCXNLoGYExH1LE/LmS6MgDbYQcm/jKndhTVY0sIA==",
812
825
  "dependencies": {
813
826
  "@bugsnag/js": "^7.0.0",
814
827
  "@honeycombio/opentelemetry-node": "^0.5.0",
828
+ "@netlify/blobs": "^6.3.1",
815
829
  "@netlify/cache-utils": "^5.1.5",
816
830
  "@netlify/config": "^20.10.0",
817
831
  "@netlify/edge-bundler": "10.1.3",
818
832
  "@netlify/framework-info": "^9.8.10",
819
- "@netlify/functions-utils": "^5.2.41",
833
+ "@netlify/functions-utils": "^5.2.45",
820
834
  "@netlify/git-utils": "^5.1.1",
821
835
  "@netlify/plugins-list": "^6.72.0",
822
836
  "@netlify/run-utils": "^5.1.1",
823
- "@netlify/zip-it-and-ship-it": "9.26.2",
837
+ "@netlify/zip-it-and-ship-it": "9.28.1",
824
838
  "@opentelemetry/api": "^1.4.1",
825
839
  "@opentelemetry/core": "^1.17.1",
826
840
  "@sindresorhus/slugify": "^2.0.0",
@@ -841,11 +855,13 @@
841
855
  "log-process-errors": "^8.0.0",
842
856
  "map-obj": "^5.0.0",
843
857
  "memoize-one": "^6.0.0",
858
+ "node-fetch": "^3.3.2",
844
859
  "os-name": "^5.0.0",
845
860
  "p-event": "^5.0.0",
846
861
  "p-every": "^2.0.0",
847
862
  "p-filter": "^3.0.0",
848
863
  "p-locate": "^6.0.0",
864
+ "p-map": "^6.0.0",
849
865
  "p-reduce": "^3.0.0",
850
866
  "path-exists": "^5.0.0",
851
867
  "path-type": "^5.0.0",
@@ -872,6 +888,14 @@
872
888
  },
873
889
  "engines": {
874
890
  "node": "^14.16.0 || >=16.0.0"
891
+ },
892
+ "peerDependencies": {
893
+ "@netlify/opentelemetry-sdk-setup": "^1.0.1"
894
+ },
895
+ "peerDependenciesMeta": {
896
+ "@netlify/opentelemetry-sdk-setup": {
897
+ "optional": true
898
+ }
875
899
  }
876
900
  },
877
901
  "node_modules/@netlify/build-info": {
@@ -1164,6 +1188,23 @@
1164
1188
  "url": "https://github.com/sponsors/sindresorhus"
1165
1189
  }
1166
1190
  },
1191
+ "node_modules/@netlify/build/node_modules/node-fetch": {
1192
+ "version": "3.3.2",
1193
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
1194
+ "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==",
1195
+ "dependencies": {
1196
+ "data-uri-to-buffer": "^4.0.0",
1197
+ "fetch-blob": "^3.1.4",
1198
+ "formdata-polyfill": "^4.0.10"
1199
+ },
1200
+ "engines": {
1201
+ "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
1202
+ },
1203
+ "funding": {
1204
+ "type": "opencollective",
1205
+ "url": "https://opencollective.com/node-fetch"
1206
+ }
1207
+ },
1167
1208
  "node_modules/@netlify/build/node_modules/normalize-url": {
1168
1209
  "version": "8.0.0",
1169
1210
  "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.0.tgz",
@@ -1239,6 +1280,17 @@
1239
1280
  "url": "https://github.com/sponsors/sindresorhus"
1240
1281
  }
1241
1282
  },
1283
+ "node_modules/@netlify/build/node_modules/p-map": {
1284
+ "version": "6.0.0",
1285
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-6.0.0.tgz",
1286
+ "integrity": "sha512-T8BatKGY+k5rU+Q/GTYgrEf2r4xRMevAN5mtXc2aPc4rS1j3s+vWTaO2Wag94neXuCAUAs8cxBL9EeB5EA6diw==",
1287
+ "engines": {
1288
+ "node": ">=16"
1289
+ },
1290
+ "funding": {
1291
+ "url": "https://github.com/sponsors/sindresorhus"
1292
+ }
1293
+ },
1242
1294
  "node_modules/@netlify/build/node_modules/path-exists": {
1243
1295
  "version": "5.0.0",
1244
1296
  "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
@@ -2265,11 +2317,11 @@
2265
2317
  }
2266
2318
  },
2267
2319
  "node_modules/@netlify/functions-utils": {
2268
- "version": "5.2.41",
2269
- "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.41.tgz",
2270
- "integrity": "sha512-rvp11NquyVQ4d5rK6W6cP4M3iKyuOATqfEGlC7jLUZjMeNp4bQ5gPb5RaqqG5MHPY0KmdELMGGGgUxmCbh+Qxw==",
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==",
2271
2323
  "dependencies": {
2272
- "@netlify/zip-it-and-ship-it": "9.26.2",
2324
+ "@netlify/zip-it-and-ship-it": "9.28.1",
2273
2325
  "cpy": "^9.0.0",
2274
2326
  "path-exists": "^5.0.0"
2275
2327
  },
@@ -2689,9 +2741,9 @@
2689
2741
  }
2690
2742
  },
2691
2743
  "node_modules/@netlify/serverless-functions-api": {
2692
- "version": "1.12.0",
2693
- "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.12.0.tgz",
2694
- "integrity": "sha512-LJt2gHzLQMgJLsLG9Chbu2Pxxi7Yzbj3Xcd9QlThvUlD7kf4nAr3lzzRJMZqo77rVNmfQX11W1uvGMSlduiKeA==",
2744
+ "version": "1.12.1",
2745
+ "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.12.1.tgz",
2746
+ "integrity": "sha512-+G9cTltqfH54dF4dLqoEOV2P4qTIY8dM9blUVqg+NtVTXyuadzgpHqtffhVeyeLytVnTx1238kWJUe+sV3bnlg==",
2695
2747
  "dependencies": {
2696
2748
  "@netlify/node-cookies": "^0.1.0",
2697
2749
  "urlpattern-polyfill": "8.0.2"
@@ -2701,14 +2753,14 @@
2701
2753
  }
2702
2754
  },
2703
2755
  "node_modules/@netlify/zip-it-and-ship-it": {
2704
- "version": "9.26.2",
2705
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.26.2.tgz",
2706
- "integrity": "sha512-tsQbSfgOTEfZmSnUbCJiHDVyYDRN1gQQEWjAmJ90YI60ZloT4j7B4HlBt0gshU9pPCiDxoHhQMCk5pHg7//CSw==",
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==",
2707
2759
  "dependencies": {
2708
2760
  "@babel/parser": "^7.22.5",
2709
- "@babel/types": "7.23.3",
2761
+ "@babel/types": "7.23.4",
2710
2762
  "@netlify/binary-info": "^1.0.0",
2711
- "@netlify/serverless-functions-api": "^1.12.0",
2763
+ "@netlify/serverless-functions-api": "^1.12.1",
2712
2764
  "@vercel/nft": "^0.23.0",
2713
2765
  "archiver": "^6.0.0",
2714
2766
  "common-path-prefix": "^3.0.0",
@@ -2716,6 +2768,7 @@
2716
2768
  "es-module-lexer": "^1.0.0",
2717
2769
  "esbuild": "0.19.6",
2718
2770
  "execa": "^6.0.0",
2771
+ "fast-glob": "^3.3.2",
2719
2772
  "filter-obj": "^5.0.0",
2720
2773
  "find-up": "^6.0.0",
2721
2774
  "glob": "^8.0.3",
@@ -2745,19 +2798,6 @@
2745
2798
  "node": "^14.18.0 || >=16.0.0"
2746
2799
  }
2747
2800
  },
2748
- "node_modules/@netlify/zip-it-and-ship-it/node_modules/@babel/types": {
2749
- "version": "7.23.3",
2750
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.3.tgz",
2751
- "integrity": "sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw==",
2752
- "dependencies": {
2753
- "@babel/helper-string-parser": "^7.22.5",
2754
- "@babel/helper-validator-identifier": "^7.22.20",
2755
- "to-fast-properties": "^2.0.0"
2756
- },
2757
- "engines": {
2758
- "node": ">=6.9.0"
2759
- }
2760
- },
2761
2801
  "node_modules/@netlify/zip-it-and-ship-it/node_modules/@esbuild/android-arm": {
2762
2802
  "version": "0.19.6",
2763
2803
  "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.6.tgz",
@@ -3154,6 +3194,21 @@
3154
3194
  "url": "https://github.com/sindresorhus/execa?sponsor=1"
3155
3195
  }
3156
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
+ },
3157
3212
  "node_modules/@netlify/zip-it-and-ship-it/node_modules/glob": {
3158
3213
  "version": "8.1.0",
3159
3214
  "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
@@ -5616,6 +5671,32 @@
5616
5671
  "node": ">= 6.0.0"
5617
5672
  }
5618
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
+ },
5619
5700
  "node_modules/ajv": {
5620
5701
  "version": "6.12.6",
5621
5702
  "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
@@ -12895,32 +12976,6 @@
12895
12976
  "url": "https://github.com/sponsors/sindresorhus"
12896
12977
  }
12897
12978
  },
12898
- "node_modules/p-map/node_modules/aggregate-error": {
12899
- "version": "4.0.1",
12900
- "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz",
12901
- "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==",
12902
- "dependencies": {
12903
- "clean-stack": "^4.0.0",
12904
- "indent-string": "^5.0.0"
12905
- },
12906
- "engines": {
12907
- "node": ">=12"
12908
- },
12909
- "funding": {
12910
- "url": "https://github.com/sponsors/sindresorhus"
12911
- }
12912
- },
12913
- "node_modules/p-map/node_modules/indent-string": {
12914
- "version": "5.0.0",
12915
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
12916
- "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg==",
12917
- "engines": {
12918
- "node": ">=12"
12919
- },
12920
- "funding": {
12921
- "url": "https://github.com/sponsors/sindresorhus"
12922
- }
12923
- },
12924
12979
  "node_modules/p-reduce": {
12925
12980
  "version": "3.0.0",
12926
12981
  "resolved": "https://registry.npmjs.org/p-reduce/-/p-reduce-3.0.0.tgz",
@@ -16575,9 +16630,9 @@
16575
16630
  }
16576
16631
  },
16577
16632
  "@babel/helper-string-parser": {
16578
- "version": "7.22.5",
16579
- "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.22.5.tgz",
16580
- "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=="
16581
16636
  },
16582
16637
  "@babel/helper-validator-identifier": {
16583
16638
  "version": "7.22.20",
@@ -16637,6 +16692,16 @@
16637
16692
  "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.23.0.tgz",
16638
16693
  "integrity": "sha512-vvPKKdMemU85V9WE/l5wZEmImpCtLqbnTvqDS2U1fJ96KrxoW7KrXhNsNCblQlg8Ck4b85yxdTyelsMUgFUXiw=="
16639
16694
  },
16695
+ "@babel/types": {
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==",
16699
+ "requires": {
16700
+ "@babel/helper-string-parser": "^7.23.4",
16701
+ "@babel/helper-validator-identifier": "^7.22.20",
16702
+ "to-fast-properties": "^2.0.0"
16703
+ }
16704
+ },
16640
16705
  "@bugsnag/browser": {
16641
16706
  "version": "7.20.2",
16642
16707
  "resolved": "https://registry.npmjs.org/@bugsnag/browser/-/browser-7.20.2.tgz",
@@ -17046,26 +17111,27 @@
17046
17111
  "integrity": "sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw=="
17047
17112
  },
17048
17113
  "@netlify/blobs": {
17049
- "version": "6.3.0",
17050
- "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-6.3.0.tgz",
17051
- "integrity": "sha512-EcgttqwH7kmK5B9RO8hRwAx/pkO9RwfFoRl+B38UNiFN6L4T46Q9Vhxnp3EzXQxn7Le1RpwFnXhd+UAhyZod+g=="
17114
+ "version": "6.3.1",
17115
+ "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-6.3.1.tgz",
17116
+ "integrity": "sha512-JjLz3WW7Wp6NVwQtDxPpWio4L3u9pnnDXnQ7Q16zgAFE9IA1rSjZVSsyOQrtkiBQIxaJ1Zr5eky8vrXJ5mdRWg=="
17052
17117
  },
17053
17118
  "@netlify/build": {
17054
- "version": "29.27.0",
17055
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.27.0.tgz",
17056
- "integrity": "sha512-olo97YFbaprhTECbzMl/6MuAPmB835wmAz+uSkG22unkbG19kmUibjcxQhLzArrhJa5YIOei2Xnkh9qWnJZxTw==",
17119
+ "version": "29.29.4",
17120
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-29.29.4.tgz",
17121
+ "integrity": "sha512-Df0f5M4FN3uUrYImvVOY6SRON+YgsWwBoeJKsNUso3EIAPjCXNLoGYExH1LE/LmS6MgDbYQcm/jKndhTVY0sIA==",
17057
17122
  "requires": {
17058
17123
  "@bugsnag/js": "^7.0.0",
17059
17124
  "@honeycombio/opentelemetry-node": "^0.5.0",
17125
+ "@netlify/blobs": "^6.3.1",
17060
17126
  "@netlify/cache-utils": "^5.1.5",
17061
17127
  "@netlify/config": "^20.10.0",
17062
17128
  "@netlify/edge-bundler": "10.1.3",
17063
17129
  "@netlify/framework-info": "^9.8.10",
17064
- "@netlify/functions-utils": "^5.2.41",
17130
+ "@netlify/functions-utils": "^5.2.45",
17065
17131
  "@netlify/git-utils": "^5.1.1",
17066
17132
  "@netlify/plugins-list": "^6.72.0",
17067
17133
  "@netlify/run-utils": "^5.1.1",
17068
- "@netlify/zip-it-and-ship-it": "9.26.2",
17134
+ "@netlify/zip-it-and-ship-it": "9.28.1",
17069
17135
  "@opentelemetry/api": "^1.4.1",
17070
17136
  "@opentelemetry/core": "^1.17.1",
17071
17137
  "@sindresorhus/slugify": "^2.0.0",
@@ -17086,11 +17152,13 @@
17086
17152
  "log-process-errors": "^8.0.0",
17087
17153
  "map-obj": "^5.0.0",
17088
17154
  "memoize-one": "^6.0.0",
17155
+ "node-fetch": "^3.3.2",
17089
17156
  "os-name": "^5.0.0",
17090
17157
  "p-event": "^5.0.0",
17091
17158
  "p-every": "^2.0.0",
17092
17159
  "p-filter": "^3.0.0",
17093
17160
  "p-locate": "^6.0.0",
17161
+ "p-map": "^6.0.0",
17094
17162
  "p-reduce": "^3.0.0",
17095
17163
  "path-exists": "^5.0.0",
17096
17164
  "path-type": "^5.0.0",
@@ -17245,6 +17313,16 @@
17245
17313
  "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-4.0.0.tgz",
17246
17314
  "integrity": "sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg=="
17247
17315
  },
17316
+ "node-fetch": {
17317
+ "version": "3.3.2",
17318
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.2.tgz",
17319
+ "integrity": "sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==",
17320
+ "requires": {
17321
+ "data-uri-to-buffer": "^4.0.0",
17322
+ "fetch-blob": "^3.1.4",
17323
+ "formdata-polyfill": "^4.0.10"
17324
+ }
17325
+ },
17248
17326
  "normalize-url": {
17249
17327
  "version": "8.0.0",
17250
17328
  "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.0.tgz",
@@ -17287,6 +17365,11 @@
17287
17365
  "p-limit": "^4.0.0"
17288
17366
  }
17289
17367
  },
17368
+ "p-map": {
17369
+ "version": "6.0.0",
17370
+ "resolved": "https://registry.npmjs.org/p-map/-/p-map-6.0.0.tgz",
17371
+ "integrity": "sha512-T8BatKGY+k5rU+Q/GTYgrEf2r4xRMevAN5mtXc2aPc4rS1j3s+vWTaO2Wag94neXuCAUAs8cxBL9EeB5EA6diw=="
17372
+ },
17290
17373
  "path-exists": {
17291
17374
  "version": "5.0.0",
17292
17375
  "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
@@ -17930,11 +18013,11 @@
17930
18013
  }
17931
18014
  },
17932
18015
  "@netlify/functions-utils": {
17933
- "version": "5.2.41",
17934
- "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-5.2.41.tgz",
17935
- "integrity": "sha512-rvp11NquyVQ4d5rK6W6cP4M3iKyuOATqfEGlC7jLUZjMeNp4bQ5gPb5RaqqG5MHPY0KmdELMGGGgUxmCbh+Qxw==",
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==",
17936
18019
  "requires": {
17937
- "@netlify/zip-it-and-ship-it": "9.26.2",
18020
+ "@netlify/zip-it-and-ship-it": "9.28.1",
17938
18021
  "cpy": "^9.0.0",
17939
18022
  "path-exists": "^5.0.0"
17940
18023
  },
@@ -18171,23 +18254,23 @@
18171
18254
  }
18172
18255
  },
18173
18256
  "@netlify/serverless-functions-api": {
18174
- "version": "1.12.0",
18175
- "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.12.0.tgz",
18176
- "integrity": "sha512-LJt2gHzLQMgJLsLG9Chbu2Pxxi7Yzbj3Xcd9QlThvUlD7kf4nAr3lzzRJMZqo77rVNmfQX11W1uvGMSlduiKeA==",
18257
+ "version": "1.12.1",
18258
+ "resolved": "https://registry.npmjs.org/@netlify/serverless-functions-api/-/serverless-functions-api-1.12.1.tgz",
18259
+ "integrity": "sha512-+G9cTltqfH54dF4dLqoEOV2P4qTIY8dM9blUVqg+NtVTXyuadzgpHqtffhVeyeLytVnTx1238kWJUe+sV3bnlg==",
18177
18260
  "requires": {
18178
18261
  "@netlify/node-cookies": "^0.1.0",
18179
18262
  "urlpattern-polyfill": "8.0.2"
18180
18263
  }
18181
18264
  },
18182
18265
  "@netlify/zip-it-and-ship-it": {
18183
- "version": "9.26.2",
18184
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-9.26.2.tgz",
18185
- "integrity": "sha512-tsQbSfgOTEfZmSnUbCJiHDVyYDRN1gQQEWjAmJ90YI60ZloT4j7B4HlBt0gshU9pPCiDxoHhQMCk5pHg7//CSw==",
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==",
18186
18269
  "requires": {
18187
18270
  "@babel/parser": "^7.22.5",
18188
- "@babel/types": "7.23.3",
18271
+ "@babel/types": "7.23.4",
18189
18272
  "@netlify/binary-info": "^1.0.0",
18190
- "@netlify/serverless-functions-api": "^1.12.0",
18273
+ "@netlify/serverless-functions-api": "^1.12.1",
18191
18274
  "@vercel/nft": "^0.23.0",
18192
18275
  "archiver": "^6.0.0",
18193
18276
  "common-path-prefix": "^3.0.0",
@@ -18195,6 +18278,7 @@
18195
18278
  "es-module-lexer": "^1.0.0",
18196
18279
  "esbuild": "0.19.6",
18197
18280
  "execa": "^6.0.0",
18281
+ "fast-glob": "^3.3.2",
18198
18282
  "filter-obj": "^5.0.0",
18199
18283
  "find-up": "^6.0.0",
18200
18284
  "glob": "^8.0.3",
@@ -18218,16 +18302,6 @@
18218
18302
  "yargs": "^17.0.0"
18219
18303
  },
18220
18304
  "dependencies": {
18221
- "@babel/types": {
18222
- "version": "7.23.3",
18223
- "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.23.3.tgz",
18224
- "integrity": "sha512-OZnvoH2l8PK5eUvEcUyCt/sXgr/h+UWpVuBbOljwcrAgUl6lpchoQ++PHGyQy1AtYnVA6CEq3y5xeEI10brpXw==",
18225
- "requires": {
18226
- "@babel/helper-string-parser": "^7.22.5",
18227
- "@babel/helper-validator-identifier": "^7.22.20",
18228
- "to-fast-properties": "^2.0.0"
18229
- }
18230
- },
18231
18305
  "@esbuild/android-arm": {
18232
18306
  "version": "0.19.6",
18233
18307
  "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.6.tgz",
@@ -18413,6 +18487,18 @@
18413
18487
  "strip-final-newline": "^3.0.0"
18414
18488
  }
18415
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
+ },
18416
18502
  "glob": {
18417
18503
  "version": "8.1.0",
18418
18504
  "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
@@ -20075,6 +20161,22 @@
20075
20161
  "debug": "4"
20076
20162
  }
20077
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
+ },
20078
20180
  "ajv": {
20079
20181
  "version": "6.12.6",
20080
20182
  "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz",
@@ -25375,22 +25477,6 @@
25375
25477
  "integrity": "sha512-VFqfGDHlx87K66yZrNdI4YGtD70IRyd+zSvgks6mzHPRNkoKy+9EKP4SFC77/vTTQYmRmti7dvqC+m5jBrBAcg==",
25376
25478
  "requires": {
25377
25479
  "aggregate-error": "^4.0.0"
25378
- },
25379
- "dependencies": {
25380
- "aggregate-error": {
25381
- "version": "4.0.1",
25382
- "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-4.0.1.tgz",
25383
- "integrity": "sha512-0poP0T7el6Vq3rstR8Mn4V/IQrpBLO6POkUSrN7RhyY+GF/InCFShQzsQ39T25gkHhLgSLByyAz+Kjb+c2L98w==",
25384
- "requires": {
25385
- "clean-stack": "^4.0.0",
25386
- "indent-string": "^5.0.0"
25387
- }
25388
- },
25389
- "indent-string": {
25390
- "version": "5.0.0",
25391
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-5.0.0.tgz",
25392
- "integrity": "sha512-m6FAo/spmsW2Ab2fU35JTYwtOKa2yAwXSwgjSv1TJzh4Mh7mC3lzAOVLBprb72XsTrgkEIsl7YrFNAiDiRhIGg=="
25393
- }
25394
25480
  }
25395
25481
  },
25396
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.0",
4
+ "version": "17.9.0",
5
5
  "author": "Netlify Inc.",
6
6
  "type": "module",
7
7
  "engines": {
@@ -45,13 +45,13 @@
45
45
  "dependencies": {
46
46
  "@bugsnag/js": "7.20.2",
47
47
  "@fastify/static": "6.10.2",
48
- "@netlify/blobs": "6.3.0",
49
- "@netlify/build": "29.27.0",
48
+ "@netlify/blobs": "6.3.1",
49
+ "@netlify/build": "29.29.4",
50
50
  "@netlify/build-info": "7.11.1",
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.2",
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",
@@ -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,
@@ -168,7 +168,7 @@ export const createHandler = function (options) {
168
168
  else {
169
169
  const { error, result } = await func.invoke(event, clientContext);
170
170
  // check for existence of metadata if this is a builder function
171
- if (/^\/.netlify\/(builders)/.test(request.path) && (!result.metadata || !result.metadata.builder_function)) {
171
+ if (/^\/.netlify\/(builders)/.test(request.path) && !result?.metadata?.builder_function) {
172
172
  response.status(400).send({
173
173
  message: 'Function is not an on-demand builder. See https://ntl.fyi/create-builder for how to convert a function to a builder.',
174
174
  });