netlify-cli 20.0.3 → 20.1.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.
Files changed (58) hide show
  1. package/bin/run.js +20 -3
  2. package/dist/commands/build/index.d.ts.map +1 -1
  3. package/dist/commands/build/index.js +6 -2
  4. package/dist/commands/build/index.js.map +1 -1
  5. package/dist/commands/deploy/deploy.d.ts.map +1 -1
  6. package/dist/commands/deploy/deploy.js +13 -16
  7. package/dist/commands/deploy/deploy.js.map +1 -1
  8. package/dist/commands/deploy/index.d.ts.map +1 -1
  9. package/dist/commands/deploy/index.js +1 -1
  10. package/dist/commands/deploy/index.js.map +1 -1
  11. package/dist/commands/dev/index.d.ts.map +1 -1
  12. package/dist/commands/dev/index.js +4 -2
  13. package/dist/commands/dev/index.js.map +1 -1
  14. package/dist/commands/dev-exec/index.d.ts.map +1 -1
  15. package/dist/commands/dev-exec/index.js +6 -2
  16. package/dist/commands/dev-exec/index.js.map +1 -1
  17. package/dist/commands/env/env-get.js +2 -2
  18. package/dist/commands/env/env-list.js +2 -2
  19. package/dist/commands/env/env-set.js +5 -5
  20. package/dist/commands/env/env-set.js.map +1 -1
  21. package/dist/commands/env/env-unset.js +3 -3
  22. package/dist/commands/env/env.js +9 -9
  23. package/dist/commands/env/env.js.map +1 -1
  24. package/dist/commands/serve/index.d.ts.map +1 -1
  25. package/dist/commands/serve/index.js +8 -2
  26. package/dist/commands/serve/index.js.map +1 -1
  27. package/dist/lib/account.d.ts +2 -5
  28. package/dist/lib/account.d.ts.map +1 -1
  29. package/dist/lib/account.js +0 -11
  30. package/dist/lib/account.js.map +1 -1
  31. package/dist/lib/functions/runtimes/go/index.d.ts.map +1 -1
  32. package/dist/lib/functions/runtimes/go/index.js +1 -1
  33. package/dist/lib/functions/runtimes/go/index.js.map +1 -1
  34. package/dist/lib/functions/server.d.ts +1 -1
  35. package/dist/lib/functions/server.d.ts.map +1 -1
  36. package/dist/lib/images/proxy.d.ts +1 -1
  37. package/dist/lib/images/proxy.d.ts.map +1 -1
  38. package/dist/lib/images/proxy.js.map +1 -1
  39. package/dist/tsconfig.build.tsbuildinfo +1 -1
  40. package/dist/utils/deploy/deploy-site.d.ts.map +1 -1
  41. package/dist/utils/deploy/deploy-site.js +1 -1
  42. package/dist/utils/deploy/deploy-site.js.map +1 -1
  43. package/dist/utils/dev.d.ts +13 -1
  44. package/dist/utils/dev.d.ts.map +1 -1
  45. package/dist/utils/dev.js +2 -5
  46. package/dist/utils/dev.js.map +1 -1
  47. package/dist/utils/env/index.d.ts +62 -25
  48. package/dist/utils/env/index.d.ts.map +1 -1
  49. package/dist/utils/env/index.js +56 -25
  50. package/dist/utils/env/index.js.map +1 -1
  51. package/dist/utils/proxy-server.d.ts +1 -1
  52. package/dist/utils/proxy-server.d.ts.map +1 -1
  53. package/dist/utils/temporary-file.d.ts +7 -0
  54. package/dist/utils/temporary-file.d.ts.map +1 -0
  55. package/dist/utils/temporary-file.js +16 -0
  56. package/dist/utils/temporary-file.js.map +1 -0
  57. package/npm-shrinkwrap.json +9 -131
  58. package/package.json +5 -4
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "20.0.3",
3
+ "version": "20.1.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "20.0.3",
9
+ "version": "20.1.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
13
  "@fastify/static": "7.0.4",
14
- "@netlify/blobs": "8.1.2",
14
+ "@netlify/blobs": "8.2.0",
15
15
  "@netlify/build": "32.0.1",
16
16
  "@netlify/build-info": "9.0.3",
17
17
  "@netlify/config": "22.0.0",
@@ -95,7 +95,6 @@
95
95
  "readdirp": "4.1.2",
96
96
  "semver": "7.7.1",
97
97
  "source-map-support": "0.5.21",
98
- "tempy": "3.1.0",
99
98
  "terminal-link": "4.0.0",
100
99
  "toml": "3.0.0",
101
100
  "tomlify-j0.4": "3.0.0",
@@ -1033,9 +1032,9 @@
1033
1032
  "integrity": "sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw=="
1034
1033
  },
1035
1034
  "node_modules/@netlify/blobs": {
1036
- "version": "8.1.2",
1037
- "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-8.1.2.tgz",
1038
- "integrity": "sha512-coQlePCMpgyMxfeCvxa6qPHlahECin0lSRtg8UOn2rzXRWdvJk+yUhhUstW4HLa9ynvAXFAGTEZoVt4BTESNbw==",
1035
+ "version": "8.2.0",
1036
+ "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-8.2.0.tgz",
1037
+ "integrity": "sha512-9djLZHBKsoKk8XCgwWSEPK9QnT8qqxEQGuYh48gFIcNLvpBKkLnHbDZuyUxmNemCfDz7h0HnMXgSPnnUVgARhg==",
1039
1038
  "engines": {
1040
1039
  "node": "^14.16.0 || >=16.0.0"
1041
1040
  }
@@ -6392,31 +6391,6 @@
6392
6391
  }
6393
6392
  }
6394
6393
  },
6395
- "node_modules/crypto-random-string": {
6396
- "version": "4.0.0",
6397
- "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-4.0.0.tgz",
6398
- "integrity": "sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==",
6399
- "dependencies": {
6400
- "type-fest": "^1.0.1"
6401
- },
6402
- "engines": {
6403
- "node": ">=12"
6404
- },
6405
- "funding": {
6406
- "url": "https://github.com/sponsors/sindresorhus"
6407
- }
6408
- },
6409
- "node_modules/crypto-random-string/node_modules/type-fest": {
6410
- "version": "1.4.0",
6411
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz",
6412
- "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA==",
6413
- "engines": {
6414
- "node": ">=10"
6415
- },
6416
- "funding": {
6417
- "url": "https://github.com/sponsors/sindresorhus"
6418
- }
6419
- },
6420
6394
  "node_modules/css-select": {
6421
6395
  "version": "5.1.0",
6422
6396
  "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz",
@@ -13131,42 +13105,6 @@
13131
13105
  "streamx": "^2.15.0"
13132
13106
  }
13133
13107
  },
13134
- "node_modules/temp-dir": {
13135
- "version": "3.0.0",
13136
- "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz",
13137
- "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw==",
13138
- "engines": {
13139
- "node": ">=14.16"
13140
- }
13141
- },
13142
- "node_modules/tempy": {
13143
- "version": "3.1.0",
13144
- "resolved": "https://registry.npmjs.org/tempy/-/tempy-3.1.0.tgz",
13145
- "integrity": "sha512-7jDLIdD2Zp0bDe5r3D2qtkd1QOCacylBuL7oa4udvN6v2pqr4+LcCr67C8DR1zkpaZ8XosF5m1yQSabKAW6f2g==",
13146
- "dependencies": {
13147
- "is-stream": "^3.0.0",
13148
- "temp-dir": "^3.0.0",
13149
- "type-fest": "^2.12.2",
13150
- "unique-string": "^3.0.0"
13151
- },
13152
- "engines": {
13153
- "node": ">=14.16"
13154
- },
13155
- "funding": {
13156
- "url": "https://github.com/sponsors/sindresorhus"
13157
- }
13158
- },
13159
- "node_modules/tempy/node_modules/is-stream": {
13160
- "version": "3.0.0",
13161
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
13162
- "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA==",
13163
- "engines": {
13164
- "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
13165
- },
13166
- "funding": {
13167
- "url": "https://github.com/sponsors/sindresorhus"
13168
- }
13169
- },
13170
13108
  "node_modules/terminal-link": {
13171
13109
  "version": "4.0.0",
13172
13110
  "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-4.0.0.tgz",
@@ -13462,20 +13400,6 @@
13462
13400
  "url": "https://github.com/sponsors/sindresorhus"
13463
13401
  }
13464
13402
  },
13465
- "node_modules/unique-string": {
13466
- "version": "3.0.0",
13467
- "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz",
13468
- "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==",
13469
- "dependencies": {
13470
- "crypto-random-string": "^4.0.0"
13471
- },
13472
- "engines": {
13473
- "node": ">=12"
13474
- },
13475
- "funding": {
13476
- "url": "https://github.com/sponsors/sindresorhus"
13477
- }
13478
- },
13479
13403
  "node_modules/universal-user-agent": {
13480
13404
  "version": "7.0.2",
13481
13405
  "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.tgz",
@@ -14898,9 +14822,9 @@
14898
14822
  "integrity": "sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw=="
14899
14823
  },
14900
14824
  "@netlify/blobs": {
14901
- "version": "8.1.2",
14902
- "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-8.1.2.tgz",
14903
- "integrity": "sha512-coQlePCMpgyMxfeCvxa6qPHlahECin0lSRtg8UOn2rzXRWdvJk+yUhhUstW4HLa9ynvAXFAGTEZoVt4BTESNbw=="
14825
+ "version": "8.2.0",
14826
+ "resolved": "https://registry.npmjs.org/@netlify/blobs/-/blobs-8.2.0.tgz",
14827
+ "integrity": "sha512-9djLZHBKsoKk8XCgwWSEPK9QnT8qqxEQGuYh48gFIcNLvpBKkLnHbDZuyUxmNemCfDz7h0HnMXgSPnnUVgARhg=="
14904
14828
  },
14905
14829
  "@netlify/build": {
14906
14830
  "version": "32.0.1",
@@ -18355,21 +18279,6 @@
18355
18279
  "integrity": "sha512-uZwy53h6ITBxXdzsw7UcGQZ1QSyjBSkAknu70Zb7+JWmJ1LstE1hVFEgt34RVoCQJn8kstSOnNmRjK93SG1LBg==",
18356
18280
  "requires": {}
18357
18281
  },
18358
- "crypto-random-string": {
18359
- "version": "4.0.0",
18360
- "resolved": "https://registry.npmjs.org/crypto-random-string/-/crypto-random-string-4.0.0.tgz",
18361
- "integrity": "sha512-x8dy3RnvYdlUcPOjkEHqozhiwzKNSq7GcPuXFbnyMOCHxX8V3OgIg/pYuabl2sbUPfIJaeAQB7PMOK8DFIdoRA==",
18362
- "requires": {
18363
- "type-fest": "^1.0.1"
18364
- },
18365
- "dependencies": {
18366
- "type-fest": {
18367
- "version": "1.4.0",
18368
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-1.4.0.tgz",
18369
- "integrity": "sha512-yGSza74xk0UG8k+pLh5oeoYirvIiWo5t0/o3zHHAO2tRDiZcxWP7fywNlXhqb6/r6sWvwi+RsyQMWhVLe4BVuA=="
18370
- }
18371
- }
18372
- },
18373
18282
  "css-select": {
18374
18283
  "version": "5.1.0",
18375
18284
  "resolved": "https://registry.npmjs.org/css-select/-/css-select-5.1.0.tgz",
@@ -23097,29 +23006,6 @@
23097
23006
  "streamx": "^2.15.0"
23098
23007
  }
23099
23008
  },
23100
- "temp-dir": {
23101
- "version": "3.0.0",
23102
- "resolved": "https://registry.npmjs.org/temp-dir/-/temp-dir-3.0.0.tgz",
23103
- "integrity": "sha512-nHc6S/bwIilKHNRgK/3jlhDoIHcp45YgyiwcAk46Tr0LfEqGBVpmiAyuiuxeVE44m3mXnEeVhaipLOEWmH+Njw=="
23104
- },
23105
- "tempy": {
23106
- "version": "3.1.0",
23107
- "resolved": "https://registry.npmjs.org/tempy/-/tempy-3.1.0.tgz",
23108
- "integrity": "sha512-7jDLIdD2Zp0bDe5r3D2qtkd1QOCacylBuL7oa4udvN6v2pqr4+LcCr67C8DR1zkpaZ8XosF5m1yQSabKAW6f2g==",
23109
- "requires": {
23110
- "is-stream": "^3.0.0",
23111
- "temp-dir": "^3.0.0",
23112
- "type-fest": "^2.12.2",
23113
- "unique-string": "^3.0.0"
23114
- },
23115
- "dependencies": {
23116
- "is-stream": {
23117
- "version": "3.0.0",
23118
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-3.0.0.tgz",
23119
- "integrity": "sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA=="
23120
- }
23121
- }
23122
- },
23123
23009
  "terminal-link": {
23124
23010
  "version": "4.0.0",
23125
23011
  "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-4.0.0.tgz",
@@ -23327,14 +23213,6 @@
23327
23213
  "resolved": "https://registry.npmjs.org/unicorn-magic/-/unicorn-magic-0.1.0.tgz",
23328
23214
  "integrity": "sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ=="
23329
23215
  },
23330
- "unique-string": {
23331
- "version": "3.0.0",
23332
- "resolved": "https://registry.npmjs.org/unique-string/-/unique-string-3.0.0.tgz",
23333
- "integrity": "sha512-VGXBUVwxKMBUznyffQweQABPRRW1vHZAbadFZud4pLFAqRGvv/96vafgjWFqzourzr8YonlQiPgH0YCJfawoGQ==",
23334
- "requires": {
23335
- "crypto-random-string": "^4.0.0"
23336
- }
23337
- },
23338
23216
  "universal-user-agent": {
23339
23217
  "version": "7.0.2",
23340
23218
  "resolved": "https://registry.npmjs.org/universal-user-agent/-/universal-user-agent-7.0.2.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": "20.0.3",
4
+ "version": "20.1.0",
5
5
  "author": "Netlify Inc.",
6
6
  "type": "module",
7
7
  "engines": {
@@ -46,7 +46,6 @@
46
46
  "test:init": "run-s test:init:*",
47
47
  "test:init:cli-help": "npm run start -- --help",
48
48
  "test:init:cli-version": "npm run start -- --version",
49
- "test:init:eleventy-deps": "cd tests/integration/__fixtures__/eleventy-site && pnpm install --frozen-lockfile",
50
49
  "test:init:hugo-deps": "npm ci --prefix tests/integration/__fixtures__/hugo-site --no-audit",
51
50
  "test:init:monorepo-deps": "cd tests/integration/__fixtures__/monorepo && pnpm install --frozen-lockfile",
52
51
  "test:init:next-deps": "npm ci --prefix tests/integration/__fixtures__/next-app-without-config --no-audit && npm ci --prefix tests/integration/__fixtures__/next-app --no-audit",
@@ -59,7 +58,7 @@
59
58
  },
60
59
  "dependencies": {
61
60
  "@fastify/static": "7.0.4",
62
- "@netlify/blobs": "8.1.2",
61
+ "@netlify/blobs": "8.2.0",
63
62
  "@netlify/build": "32.0.1",
64
63
  "@netlify/build-info": "9.0.3",
65
64
  "@netlify/config": "22.0.0",
@@ -143,7 +142,6 @@
143
142
  "readdirp": "4.1.2",
144
143
  "semver": "7.7.1",
145
144
  "source-map-support": "0.5.21",
146
- "tempy": "3.1.0",
147
145
  "terminal-link": "4.0.0",
148
146
  "toml": "3.0.0",
149
147
  "tomlify-j0.4": "3.0.0",
@@ -175,6 +173,7 @@
175
173
  "@types/inquirer-autocomplete-prompt": "3.0.3",
176
174
  "@types/jsonwebtoken": "9.0.9",
177
175
  "@types/lodash": "4.17.16",
176
+ "@types/lodash.shuffle": "^4.2.9",
178
177
  "@types/multiparty": "4.2.1",
179
178
  "@types/node": "18.19.86",
180
179
  "@types/node-fetch": "2.6.12",
@@ -186,6 +185,7 @@
186
185
  "@types/semver": "7.7.0",
187
186
  "@types/serialize-javascript": "^5.0.4",
188
187
  "@types/source-map-support": "0.5.10",
188
+ "@types/update-notifier": "^6.0.8",
189
189
  "@types/write-file-atomic": "4.0.3",
190
190
  "@types/ws": "8.18.1",
191
191
  "@vitest/coverage-v8": "3.1.1",
@@ -197,6 +197,7 @@
197
197
  "eslint-config-prettier": "10.1.2",
198
198
  "eslint-plugin-n": "17.17.0",
199
199
  "form-data": "4.0.2",
200
+ "lodash.shuffle": "^4.2.0",
200
201
  "memfs": "^4.17.0",
201
202
  "nock": "14.0.4",
202
203
  "npm-run-all2": "^7.0.2",