netlify-cli 10.9.0 → 10.9.1

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/README.md CHANGED
@@ -132,10 +132,10 @@ Local dev server
132
132
 
133
133
  | Subcommand | description |
134
134
  |:--------------------------- |:-----|
135
+ | [`env:clone`](/docs/commands/env.md#envclone) | Clone environment variables from one site to another |
135
136
  | [`env:get`](/docs/commands/env.md#envget) | Get resolved value of specified environment variable (includes netlify.toml) |
136
137
  | [`env:import`](/docs/commands/env.md#envimport) | Import and set environment variables from .env file |
137
138
  | [`env:list`](/docs/commands/env.md#envlist) | Lists resolved environment variables for site (includes netlify.toml) |
138
- | [`env:migrate`](/docs/commands/env.md#envmigrate) | Migrate environment variables from one site to another |
139
139
  | [`env:set`](/docs/commands/env.md#envset) | Set value of environment variable |
140
140
  | [`env:unset`](/docs/commands/env.md#envunset) | Unset an environment variable which removes it from the UI |
141
141
 
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "10.9.0",
3
+ "version": "10.9.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "10.9.0",
9
+ "version": "10.9.1",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@netlify/build": "^27.3.3",
13
+ "@netlify/build": "^27.4.0",
14
14
  "@netlify/config": "^18.1.1",
15
15
  "@netlify/edge-bundler": "^1.5.0",
16
16
  "@netlify/framework-info": "^9.1.0",
17
17
  "@netlify/local-functions-proxy": "^1.1.1",
18
- "@netlify/plugins-list": "^6.32.0",
19
- "@netlify/zip-it-and-ship-it": "^5.12.0",
18
+ "@netlify/plugins-list": "^6.33.0",
19
+ "@netlify/zip-it-and-ship-it": "^5.13.0",
20
20
  "@octokit/rest": "^18.0.0",
21
21
  "@sindresorhus/slugify": "^1.1.0",
22
22
  "ansi-escapes": "^5.0.0",
@@ -1181,19 +1181,19 @@
1181
1181
  "integrity": "sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw=="
1182
1182
  },
1183
1183
  "node_modules/@netlify/build": {
1184
- "version": "27.3.3",
1185
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-27.3.3.tgz",
1186
- "integrity": "sha512-n7lGpd2gcUE7Iy12Du5UvWI4kuooSwnSG6yvhRk0egOSq7yRBmAkT8evnzAcjgfq2Ze0JNO/9x8epDKOCeDtbQ==",
1184
+ "version": "27.4.0",
1185
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-27.4.0.tgz",
1186
+ "integrity": "sha512-tNm1wpV3ZznjBG2Lsa9XVrNpPX5ateKLHEIbSjnO40Xcw6JIlV4iSB66lTin7xr92w7tzDRuY1dcDvFEI2Fy4A==",
1187
1187
  "dependencies": {
1188
1188
  "@bugsnag/js": "^7.0.0",
1189
1189
  "@netlify/cache-utils": "^4.0.0",
1190
1190
  "@netlify/config": "^18.1.1",
1191
- "@netlify/edge-bundler": "^1.4.2",
1192
- "@netlify/functions-utils": "^4.2.0",
1191
+ "@netlify/edge-bundler": "^1.5.0",
1192
+ "@netlify/functions-utils": "^4.2.1",
1193
1193
  "@netlify/git-utils": "^4.0.0",
1194
- "@netlify/plugins-list": "^6.29.0",
1194
+ "@netlify/plugins-list": "^6.33.0",
1195
1195
  "@netlify/run-utils": "^4.0.0",
1196
- "@netlify/zip-it-and-ship-it": "5.11.1",
1196
+ "@netlify/zip-it-and-ship-it": "5.13.0",
1197
1197
  "@sindresorhus/slugify": "^2.0.0",
1198
1198
  "@types/node": "^16.0.0",
1199
1199
  "ansi-escapes": "^5.0.0",
@@ -1246,277 +1246,6 @@
1246
1246
  "node": "^12.20.0 || ^14.14.0 || >=16.0.0"
1247
1247
  }
1248
1248
  },
1249
- "node_modules/@netlify/build/node_modules/@babel/parser": {
1250
- "version": "7.16.8",
1251
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz",
1252
- "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==",
1253
- "bin": {
1254
- "parser": "bin/babel-parser.js"
1255
- },
1256
- "engines": {
1257
- "node": ">=6.0.0"
1258
- }
1259
- },
1260
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it": {
1261
- "version": "5.11.1",
1262
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.11.1.tgz",
1263
- "integrity": "sha512-xjDmbTcrzSvQvyYK/rAsHq7R1UQIDpn4KUjxEgrc0S/cjpvzQ610JtRz3JMrnSvjzOTTnLlBOD3b+aow1Edt9g==",
1264
- "dependencies": {
1265
- "@babel/parser": "7.16.8",
1266
- "@netlify/esbuild": "0.14.25",
1267
- "@vercel/nft": "^0.20.0",
1268
- "archiver": "^5.3.0",
1269
- "common-path-prefix": "^3.0.0",
1270
- "cp-file": "^9.0.0",
1271
- "del": "^6.0.0",
1272
- "elf-cam": "^0.1.1",
1273
- "end-of-stream": "^1.4.4",
1274
- "es-module-lexer": "^0.10.0",
1275
- "execa": "^5.0.0",
1276
- "filter-obj": "^2.0.1",
1277
- "find-up": "^5.0.0",
1278
- "glob": "^8.0.3",
1279
- "is-builtin-module": "^3.1.0",
1280
- "junk": "^3.1.0",
1281
- "locate-path": "^6.0.0",
1282
- "merge-options": "^3.0.4",
1283
- "minimatch": "^5.0.0",
1284
- "normalize-path": "^3.0.0",
1285
- "p-map": "^4.0.0",
1286
- "path-exists": "^4.0.0",
1287
- "precinct": "^9.0.1",
1288
- "read-package-json-fast": "^2.0.2",
1289
- "require-package-name": "^2.0.1",
1290
- "resolve": "^2.0.0-next.1",
1291
- "semver": "^7.0.0",
1292
- "tmp-promise": "^3.0.2",
1293
- "toml": "^3.0.0",
1294
- "unixify": "^1.0.0",
1295
- "yargs": "^17.0.0"
1296
- },
1297
- "bin": {
1298
- "zip-it-and-ship-it": "dist/bin.js"
1299
- },
1300
- "engines": {
1301
- "node": "^12.20.0 || ^14.14.0 || >=16.0.0"
1302
- }
1303
- },
1304
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/aggregate-error": {
1305
- "version": "3.1.0",
1306
- "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
1307
- "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",
1308
- "dependencies": {
1309
- "clean-stack": "^2.0.0",
1310
- "indent-string": "^4.0.0"
1311
- },
1312
- "engines": {
1313
- "node": ">=8"
1314
- }
1315
- },
1316
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/clean-stack": {
1317
- "version": "2.2.0",
1318
- "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
1319
- "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==",
1320
- "engines": {
1321
- "node": ">=6"
1322
- }
1323
- },
1324
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/execa": {
1325
- "version": "5.1.1",
1326
- "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
1327
- "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
1328
- "dependencies": {
1329
- "cross-spawn": "^7.0.3",
1330
- "get-stream": "^6.0.0",
1331
- "human-signals": "^2.1.0",
1332
- "is-stream": "^2.0.0",
1333
- "merge-stream": "^2.0.0",
1334
- "npm-run-path": "^4.0.1",
1335
- "onetime": "^5.1.2",
1336
- "signal-exit": "^3.0.3",
1337
- "strip-final-newline": "^2.0.0"
1338
- },
1339
- "engines": {
1340
- "node": ">=10"
1341
- },
1342
- "funding": {
1343
- "url": "https://github.com/sindresorhus/execa?sponsor=1"
1344
- }
1345
- },
1346
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/filter-obj": {
1347
- "version": "2.0.2",
1348
- "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-2.0.2.tgz",
1349
- "integrity": "sha512-lO3ttPjHZRfjMcxWKb1j1eDhTFsu4meeR3lnMcnBFhk6RuLhvEiuALu2TlfL310ph4lCYYwgF/ElIjdP739tdg==",
1350
- "engines": {
1351
- "node": ">=8"
1352
- }
1353
- },
1354
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/find-up": {
1355
- "version": "5.0.0",
1356
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
1357
- "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
1358
- "dependencies": {
1359
- "locate-path": "^6.0.0",
1360
- "path-exists": "^4.0.0"
1361
- },
1362
- "engines": {
1363
- "node": ">=10"
1364
- },
1365
- "funding": {
1366
- "url": "https://github.com/sponsors/sindresorhus"
1367
- }
1368
- },
1369
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/human-signals": {
1370
- "version": "2.1.0",
1371
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
1372
- "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==",
1373
- "engines": {
1374
- "node": ">=10.17.0"
1375
- }
1376
- },
1377
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/indent-string": {
1378
- "version": "4.0.0",
1379
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
1380
- "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==",
1381
- "engines": {
1382
- "node": ">=8"
1383
- }
1384
- },
1385
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/is-stream": {
1386
- "version": "2.0.1",
1387
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
1388
- "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==",
1389
- "engines": {
1390
- "node": ">=8"
1391
- },
1392
- "funding": {
1393
- "url": "https://github.com/sponsors/sindresorhus"
1394
- }
1395
- },
1396
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/locate-path": {
1397
- "version": "6.0.0",
1398
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
1399
- "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
1400
- "dependencies": {
1401
- "p-locate": "^5.0.0"
1402
- },
1403
- "engines": {
1404
- "node": ">=10"
1405
- },
1406
- "funding": {
1407
- "url": "https://github.com/sponsors/sindresorhus"
1408
- }
1409
- },
1410
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/mimic-fn": {
1411
- "version": "2.1.0",
1412
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
1413
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==",
1414
- "engines": {
1415
- "node": ">=6"
1416
- }
1417
- },
1418
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/npm-run-path": {
1419
- "version": "4.0.1",
1420
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
1421
- "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
1422
- "dependencies": {
1423
- "path-key": "^3.0.0"
1424
- },
1425
- "engines": {
1426
- "node": ">=8"
1427
- }
1428
- },
1429
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/onetime": {
1430
- "version": "5.1.2",
1431
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
1432
- "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
1433
- "dependencies": {
1434
- "mimic-fn": "^2.1.0"
1435
- },
1436
- "engines": {
1437
- "node": ">=6"
1438
- },
1439
- "funding": {
1440
- "url": "https://github.com/sponsors/sindresorhus"
1441
- }
1442
- },
1443
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/p-limit": {
1444
- "version": "3.1.0",
1445
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
1446
- "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
1447
- "dependencies": {
1448
- "yocto-queue": "^0.1.0"
1449
- },
1450
- "engines": {
1451
- "node": ">=10"
1452
- },
1453
- "funding": {
1454
- "url": "https://github.com/sponsors/sindresorhus"
1455
- }
1456
- },
1457
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/p-locate": {
1458
- "version": "5.0.0",
1459
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
1460
- "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
1461
- "dependencies": {
1462
- "p-limit": "^3.0.2"
1463
- },
1464
- "engines": {
1465
- "node": ">=10"
1466
- },
1467
- "funding": {
1468
- "url": "https://github.com/sponsors/sindresorhus"
1469
- }
1470
- },
1471
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/p-map": {
1472
- "version": "4.0.0",
1473
- "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
1474
- "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
1475
- "dependencies": {
1476
- "aggregate-error": "^3.0.0"
1477
- },
1478
- "engines": {
1479
- "node": ">=10"
1480
- },
1481
- "funding": {
1482
- "url": "https://github.com/sponsors/sindresorhus"
1483
- }
1484
- },
1485
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/path-exists": {
1486
- "version": "4.0.0",
1487
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
1488
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
1489
- "engines": {
1490
- "node": ">=8"
1491
- }
1492
- },
1493
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/path-key": {
1494
- "version": "3.1.1",
1495
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
1496
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
1497
- "engines": {
1498
- "node": ">=8"
1499
- }
1500
- },
1501
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/strip-final-newline": {
1502
- "version": "2.0.0",
1503
- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
1504
- "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==",
1505
- "engines": {
1506
- "node": ">=6"
1507
- }
1508
- },
1509
- "node_modules/@netlify/build/node_modules/@netlify/zip-it-and-ship-it/node_modules/yocto-queue": {
1510
- "version": "0.1.0",
1511
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
1512
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==",
1513
- "engines": {
1514
- "node": ">=10"
1515
- },
1516
- "funding": {
1517
- "url": "https://github.com/sponsors/sindresorhus"
1518
- }
1519
- },
1520
1249
  "node_modules/@netlify/build/node_modules/@sindresorhus/is": {
1521
1250
  "version": "2.1.1",
1522
1251
  "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz",
@@ -1584,14 +1313,6 @@
1584
1313
  "url": "https://github.com/chalk/ansi-regex?sponsor=1"
1585
1314
  }
1586
1315
  },
1587
- "node_modules/@netlify/build/node_modules/brace-expansion": {
1588
- "version": "2.0.1",
1589
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
1590
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
1591
- "dependencies": {
1592
- "balanced-match": "^1.0.0"
1593
- }
1594
- },
1595
1316
  "node_modules/@netlify/build/node_modules/cacheable-lookup": {
1596
1317
  "version": "2.0.1",
1597
1318
  "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-2.0.1.tgz",
@@ -1705,24 +1426,6 @@
1705
1426
  "url": "https://github.com/sponsors/sindresorhus"
1706
1427
  }
1707
1428
  },
1708
- "node_modules/@netlify/build/node_modules/glob": {
1709
- "version": "8.0.3",
1710
- "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz",
1711
- "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==",
1712
- "dependencies": {
1713
- "fs.realpath": "^1.0.0",
1714
- "inflight": "^1.0.4",
1715
- "inherits": "2",
1716
- "minimatch": "^5.0.1",
1717
- "once": "^1.3.0"
1718
- },
1719
- "engines": {
1720
- "node": ">=12"
1721
- },
1722
- "funding": {
1723
- "url": "https://github.com/sponsors/isaacs"
1724
- }
1725
- },
1726
1429
  "node_modules/@netlify/build/node_modules/got": {
1727
1430
  "version": "10.7.0",
1728
1431
  "resolved": "https://registry.npmjs.org/got/-/got-10.7.0.tgz",
@@ -1878,17 +1581,6 @@
1878
1581
  "url": "https://github.com/sponsors/sindresorhus"
1879
1582
  }
1880
1583
  },
1881
- "node_modules/@netlify/build/node_modules/minimatch": {
1882
- "version": "5.1.0",
1883
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
1884
- "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
1885
- "dependencies": {
1886
- "brace-expansion": "^2.0.1"
1887
- },
1888
- "engines": {
1889
- "node": ">=10"
1890
- }
1891
- },
1892
1584
  "node_modules/@netlify/build/node_modules/npm-run-path": {
1893
1585
  "version": "5.1.0",
1894
1586
  "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz",
@@ -2076,9 +1768,9 @@
2076
1768
  }
2077
1769
  },
2078
1770
  "node_modules/@netlify/build/node_modules/read-pkg-up/node_modules/type-fest": {
2079
- "version": "2.15.1",
2080
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.15.1.tgz",
2081
- "integrity": "sha512-LYSjcIz3NmoQksXq/3/B7Nfad+T8mkaI628agAAnHCpXPTBRMK2ygt3eABpzII8CbZZM8dLdVQ4Gr8ousjFjMw==",
1771
+ "version": "2.16.0",
1772
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.16.0.tgz",
1773
+ "integrity": "sha512-qpaThT2HQkFb83gMOrdKVsfCN7LKxP26Yq+smPzY1FqoHRjqmjqHXA7n5Gkxi8efirtbeEUxzfEdePthQWCuHw==",
2082
1774
  "engines": {
2083
1775
  "node": ">=12.20"
2084
1776
  },
@@ -2087,9 +1779,9 @@
2087
1779
  }
2088
1780
  },
2089
1781
  "node_modules/@netlify/build/node_modules/read-pkg/node_modules/type-fest": {
2090
- "version": "2.15.1",
2091
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.15.1.tgz",
2092
- "integrity": "sha512-LYSjcIz3NmoQksXq/3/B7Nfad+T8mkaI628agAAnHCpXPTBRMK2ygt3eABpzII8CbZZM8dLdVQ4Gr8ousjFjMw==",
1782
+ "version": "2.16.0",
1783
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.16.0.tgz",
1784
+ "integrity": "sha512-qpaThT2HQkFb83gMOrdKVsfCN7LKxP26Yq+smPzY1FqoHRjqmjqHXA7n5Gkxi8efirtbeEUxzfEdePthQWCuHw==",
2093
1785
  "engines": {
2094
1786
  "node": ">=12.20"
2095
1787
  },
@@ -3496,11 +3188,11 @@
3496
3188
  }
3497
3189
  },
3498
3190
  "node_modules/@netlify/functions-utils": {
3499
- "version": "4.2.0",
3500
- "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-4.2.0.tgz",
3501
- "integrity": "sha512-erWu+M2xaRuALqWy9dNaVORgco0TYGCcV6ZoFayJZWJPeMxM+aVK9e1d1F5iuphVRKIL08f6w4QJniUC2OCiYQ==",
3191
+ "version": "4.2.1",
3192
+ "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-4.2.1.tgz",
3193
+ "integrity": "sha512-Wjq2jixsSu6JwnyRUZzYn9YUrhl30Fn5V28+4WJ/PhnpT1+atFwRj2JgUesnzZeDIFe3a2wjjCd8pOx4kZCJEw==",
3502
3194
  "dependencies": {
3503
- "@netlify/zip-it-and-ship-it": "5.11.1",
3195
+ "@netlify/zip-it-and-ship-it": "5.13.0",
3504
3196
  "cpy": "^8.1.0",
3505
3197
  "path-exists": "^5.0.0"
3506
3198
  },
@@ -3508,106 +3200,6 @@
3508
3200
  "node": "^12.20.0 || ^14.14.0 || >=16.0.0"
3509
3201
  }
3510
3202
  },
3511
- "node_modules/@netlify/functions-utils/node_modules/@babel/parser": {
3512
- "version": "7.16.8",
3513
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz",
3514
- "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw==",
3515
- "bin": {
3516
- "parser": "bin/babel-parser.js"
3517
- },
3518
- "engines": {
3519
- "node": ">=6.0.0"
3520
- }
3521
- },
3522
- "node_modules/@netlify/functions-utils/node_modules/@netlify/zip-it-and-ship-it": {
3523
- "version": "5.11.1",
3524
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.11.1.tgz",
3525
- "integrity": "sha512-xjDmbTcrzSvQvyYK/rAsHq7R1UQIDpn4KUjxEgrc0S/cjpvzQ610JtRz3JMrnSvjzOTTnLlBOD3b+aow1Edt9g==",
3526
- "dependencies": {
3527
- "@babel/parser": "7.16.8",
3528
- "@netlify/esbuild": "0.14.25",
3529
- "@vercel/nft": "^0.20.0",
3530
- "archiver": "^5.3.0",
3531
- "common-path-prefix": "^3.0.0",
3532
- "cp-file": "^9.0.0",
3533
- "del": "^6.0.0",
3534
- "elf-cam": "^0.1.1",
3535
- "end-of-stream": "^1.4.4",
3536
- "es-module-lexer": "^0.10.0",
3537
- "execa": "^5.0.0",
3538
- "filter-obj": "^2.0.1",
3539
- "find-up": "^5.0.0",
3540
- "glob": "^8.0.3",
3541
- "is-builtin-module": "^3.1.0",
3542
- "junk": "^3.1.0",
3543
- "locate-path": "^6.0.0",
3544
- "merge-options": "^3.0.4",
3545
- "minimatch": "^5.0.0",
3546
- "normalize-path": "^3.0.0",
3547
- "p-map": "^4.0.0",
3548
- "path-exists": "^4.0.0",
3549
- "precinct": "^9.0.1",
3550
- "read-package-json-fast": "^2.0.2",
3551
- "require-package-name": "^2.0.1",
3552
- "resolve": "^2.0.0-next.1",
3553
- "semver": "^7.0.0",
3554
- "tmp-promise": "^3.0.2",
3555
- "toml": "^3.0.0",
3556
- "unixify": "^1.0.0",
3557
- "yargs": "^17.0.0"
3558
- },
3559
- "bin": {
3560
- "zip-it-and-ship-it": "dist/bin.js"
3561
- },
3562
- "engines": {
3563
- "node": "^12.20.0 || ^14.14.0 || >=16.0.0"
3564
- }
3565
- },
3566
- "node_modules/@netlify/functions-utils/node_modules/@netlify/zip-it-and-ship-it/node_modules/path-exists": {
3567
- "version": "4.0.0",
3568
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
3569
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==",
3570
- "engines": {
3571
- "node": ">=8"
3572
- }
3573
- },
3574
- "node_modules/@netlify/functions-utils/node_modules/brace-expansion": {
3575
- "version": "2.0.1",
3576
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
3577
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
3578
- "dependencies": {
3579
- "balanced-match": "^1.0.0"
3580
- }
3581
- },
3582
- "node_modules/@netlify/functions-utils/node_modules/glob": {
3583
- "version": "8.0.3",
3584
- "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz",
3585
- "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==",
3586
- "dependencies": {
3587
- "fs.realpath": "^1.0.0",
3588
- "inflight": "^1.0.4",
3589
- "inherits": "2",
3590
- "minimatch": "^5.0.1",
3591
- "once": "^1.3.0"
3592
- },
3593
- "engines": {
3594
- "node": ">=12"
3595
- },
3596
- "funding": {
3597
- "url": "https://github.com/sponsors/isaacs"
3598
- }
3599
- },
3600
- "node_modules/@netlify/functions-utils/node_modules/minimatch": {
3601
- "version": "5.1.0",
3602
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
3603
- "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
3604
- "dependencies": {
3605
- "brace-expansion": "^2.0.1"
3606
- },
3607
- "engines": {
3608
- "node": ">=10"
3609
- }
3610
- },
3611
3203
  "node_modules/@netlify/functions-utils/node_modules/path-exists": {
3612
3204
  "version": "5.0.0",
3613
3205
  "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
@@ -3946,9 +3538,9 @@
3946
3538
  "integrity": "sha512-ZJF4nbLPfxsWrVgp2reCb23HMxsWl5+r+K0RtIhxcZ/RxbHVihRA9mwyzIcxPWrT5x9uAAxCr1aKGP7IdsDe+Q=="
3947
3539
  },
3948
3540
  "node_modules/@netlify/plugins-list": {
3949
- "version": "6.32.0",
3950
- "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.32.0.tgz",
3951
- "integrity": "sha512-ZYaik41Xl7Jg7k204daKG26eT8pywThqvrwsDqW3gVuVx+Clo3uSrPTwNEuHme9Py0smdw2/oG2qp1jH3Q5sLQ==",
3541
+ "version": "6.33.0",
3542
+ "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.33.0.tgz",
3543
+ "integrity": "sha512-B5JDoCGiILa7fdN8/7kgfchfw7ypuVZ3G+OStIt4PtAt2IH9691iCIVGEU7FOU3LM/ryQMRaVNAsEVrqiNPEmA==",
3952
3544
  "engines": {
3953
3545
  "node": "^12.20.0 || ^14.14.0 || >=16.0.0"
3954
3546
  }
@@ -4056,9 +3648,9 @@
4056
3648
  }
4057
3649
  },
4058
3650
  "node_modules/@netlify/zip-it-and-ship-it": {
4059
- "version": "5.12.0",
4060
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.12.0.tgz",
4061
- "integrity": "sha512-ebLejCn0AO/ovYHv0w457B+Jjk8Z2vtkIuX6n/hQYiKHNDAj06zGCyzlJ9jOwtj2CVREAjz68f8/HdDxnEOW6Q==",
3651
+ "version": "5.13.0",
3652
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.13.0.tgz",
3653
+ "integrity": "sha512-JlZAWwIjs9cIYIOO1Xw/OXRvXy1VXd+h5ZKuH8Lug1JCub0hGM8XIh3TnNsqHrjwsC/Oh5UucTba4SPuIU9Xag==",
4062
3654
  "dependencies": {
4063
3655
  "@babel/parser": "7.16.8",
4064
3656
  "@netlify/binary-info": "^1.0.0",
@@ -9690,11 +9282,6 @@
9690
9282
  "node": ">=0.10.0"
9691
9283
  }
9692
9284
  },
9693
- "node_modules/elf-cam": {
9694
- "version": "0.1.1",
9695
- "resolved": "https://registry.npmjs.org/elf-cam/-/elf-cam-0.1.1.tgz",
9696
- "integrity": "sha512-tKSFTWOp5OwJSp6MKyQDX7umYDkvUuI8rxHXw8BuUQ63d9Trj9xLeo6SHyoTGSoZNNZVitFa+RuHHXuoAzN3Rw=="
9697
- },
9698
9285
  "node_modules/elliptic": {
9699
9286
  "version": "6.5.4",
9700
9287
  "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz",
@@ -24128,19 +23715,19 @@
24128
23715
  "integrity": "sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw=="
24129
23716
  },
24130
23717
  "@netlify/build": {
24131
- "version": "27.3.3",
24132
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-27.3.3.tgz",
24133
- "integrity": "sha512-n7lGpd2gcUE7Iy12Du5UvWI4kuooSwnSG6yvhRk0egOSq7yRBmAkT8evnzAcjgfq2Ze0JNO/9x8epDKOCeDtbQ==",
23718
+ "version": "27.4.0",
23719
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-27.4.0.tgz",
23720
+ "integrity": "sha512-tNm1wpV3ZznjBG2Lsa9XVrNpPX5ateKLHEIbSjnO40Xcw6JIlV4iSB66lTin7xr92w7tzDRuY1dcDvFEI2Fy4A==",
24134
23721
  "requires": {
24135
23722
  "@bugsnag/js": "^7.0.0",
24136
23723
  "@netlify/cache-utils": "^4.0.0",
24137
23724
  "@netlify/config": "^18.1.1",
24138
- "@netlify/edge-bundler": "^1.4.2",
24139
- "@netlify/functions-utils": "^4.2.0",
23725
+ "@netlify/edge-bundler": "^1.5.0",
23726
+ "@netlify/functions-utils": "^4.2.1",
24140
23727
  "@netlify/git-utils": "^4.0.0",
24141
- "@netlify/plugins-list": "^6.29.0",
23728
+ "@netlify/plugins-list": "^6.33.0",
24142
23729
  "@netlify/run-utils": "^4.0.0",
24143
- "@netlify/zip-it-and-ship-it": "5.11.1",
23730
+ "@netlify/zip-it-and-ship-it": "5.13.0",
24144
23731
  "@sindresorhus/slugify": "^2.0.0",
24145
23732
  "@types/node": "^16.0.0",
24146
23733
  "ansi-escapes": "^5.0.0",
@@ -24187,183 +23774,6 @@
24187
23774
  "yargs": "^17.3.1"
24188
23775
  },
24189
23776
  "dependencies": {
24190
- "@babel/parser": {
24191
- "version": "7.16.8",
24192
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz",
24193
- "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw=="
24194
- },
24195
- "@netlify/zip-it-and-ship-it": {
24196
- "version": "5.11.1",
24197
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.11.1.tgz",
24198
- "integrity": "sha512-xjDmbTcrzSvQvyYK/rAsHq7R1UQIDpn4KUjxEgrc0S/cjpvzQ610JtRz3JMrnSvjzOTTnLlBOD3b+aow1Edt9g==",
24199
- "requires": {
24200
- "@babel/parser": "7.16.8",
24201
- "@netlify/esbuild": "0.14.25",
24202
- "@vercel/nft": "^0.20.0",
24203
- "archiver": "^5.3.0",
24204
- "common-path-prefix": "^3.0.0",
24205
- "cp-file": "^9.0.0",
24206
- "del": "^6.0.0",
24207
- "elf-cam": "^0.1.1",
24208
- "end-of-stream": "^1.4.4",
24209
- "es-module-lexer": "^0.10.0",
24210
- "execa": "^5.0.0",
24211
- "filter-obj": "^2.0.1",
24212
- "find-up": "^5.0.0",
24213
- "glob": "^8.0.3",
24214
- "is-builtin-module": "^3.1.0",
24215
- "junk": "^3.1.0",
24216
- "locate-path": "^6.0.0",
24217
- "merge-options": "^3.0.4",
24218
- "minimatch": "^5.0.0",
24219
- "normalize-path": "^3.0.0",
24220
- "p-map": "^4.0.0",
24221
- "path-exists": "^4.0.0",
24222
- "precinct": "^9.0.1",
24223
- "read-package-json-fast": "^2.0.2",
24224
- "require-package-name": "^2.0.1",
24225
- "resolve": "^2.0.0-next.1",
24226
- "semver": "^7.0.0",
24227
- "tmp-promise": "^3.0.2",
24228
- "toml": "^3.0.0",
24229
- "unixify": "^1.0.0",
24230
- "yargs": "^17.0.0"
24231
- },
24232
- "dependencies": {
24233
- "aggregate-error": {
24234
- "version": "3.1.0",
24235
- "resolved": "https://registry.npmjs.org/aggregate-error/-/aggregate-error-3.1.0.tgz",
24236
- "integrity": "sha512-4I7Td01quW/RpocfNayFdFVk1qSuoh0E7JrbRJ16nH01HhKFQ88INq9Sd+nd72zqRySlr9BmDA8xlEJ6vJMrYA==",
24237
- "requires": {
24238
- "clean-stack": "^2.0.0",
24239
- "indent-string": "^4.0.0"
24240
- }
24241
- },
24242
- "clean-stack": {
24243
- "version": "2.2.0",
24244
- "resolved": "https://registry.npmjs.org/clean-stack/-/clean-stack-2.2.0.tgz",
24245
- "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A=="
24246
- },
24247
- "execa": {
24248
- "version": "5.1.1",
24249
- "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz",
24250
- "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==",
24251
- "requires": {
24252
- "cross-spawn": "^7.0.3",
24253
- "get-stream": "^6.0.0",
24254
- "human-signals": "^2.1.0",
24255
- "is-stream": "^2.0.0",
24256
- "merge-stream": "^2.0.0",
24257
- "npm-run-path": "^4.0.1",
24258
- "onetime": "^5.1.2",
24259
- "signal-exit": "^3.0.3",
24260
- "strip-final-newline": "^2.0.0"
24261
- }
24262
- },
24263
- "filter-obj": {
24264
- "version": "2.0.2",
24265
- "resolved": "https://registry.npmjs.org/filter-obj/-/filter-obj-2.0.2.tgz",
24266
- "integrity": "sha512-lO3ttPjHZRfjMcxWKb1j1eDhTFsu4meeR3lnMcnBFhk6RuLhvEiuALu2TlfL310ph4lCYYwgF/ElIjdP739tdg=="
24267
- },
24268
- "find-up": {
24269
- "version": "5.0.0",
24270
- "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz",
24271
- "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==",
24272
- "requires": {
24273
- "locate-path": "^6.0.0",
24274
- "path-exists": "^4.0.0"
24275
- }
24276
- },
24277
- "human-signals": {
24278
- "version": "2.1.0",
24279
- "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz",
24280
- "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw=="
24281
- },
24282
- "indent-string": {
24283
- "version": "4.0.0",
24284
- "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz",
24285
- "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg=="
24286
- },
24287
- "is-stream": {
24288
- "version": "2.0.1",
24289
- "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz",
24290
- "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg=="
24291
- },
24292
- "locate-path": {
24293
- "version": "6.0.0",
24294
- "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz",
24295
- "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==",
24296
- "requires": {
24297
- "p-locate": "^5.0.0"
24298
- }
24299
- },
24300
- "mimic-fn": {
24301
- "version": "2.1.0",
24302
- "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
24303
- "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg=="
24304
- },
24305
- "npm-run-path": {
24306
- "version": "4.0.1",
24307
- "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
24308
- "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==",
24309
- "requires": {
24310
- "path-key": "^3.0.0"
24311
- }
24312
- },
24313
- "onetime": {
24314
- "version": "5.1.2",
24315
- "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz",
24316
- "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==",
24317
- "requires": {
24318
- "mimic-fn": "^2.1.0"
24319
- }
24320
- },
24321
- "p-limit": {
24322
- "version": "3.1.0",
24323
- "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
24324
- "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==",
24325
- "requires": {
24326
- "yocto-queue": "^0.1.0"
24327
- }
24328
- },
24329
- "p-locate": {
24330
- "version": "5.0.0",
24331
- "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz",
24332
- "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==",
24333
- "requires": {
24334
- "p-limit": "^3.0.2"
24335
- }
24336
- },
24337
- "p-map": {
24338
- "version": "4.0.0",
24339
- "resolved": "https://registry.npmjs.org/p-map/-/p-map-4.0.0.tgz",
24340
- "integrity": "sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==",
24341
- "requires": {
24342
- "aggregate-error": "^3.0.0"
24343
- }
24344
- },
24345
- "path-exists": {
24346
- "version": "4.0.0",
24347
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
24348
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
24349
- },
24350
- "path-key": {
24351
- "version": "3.1.1",
24352
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
24353
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q=="
24354
- },
24355
- "strip-final-newline": {
24356
- "version": "2.0.0",
24357
- "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz",
24358
- "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA=="
24359
- },
24360
- "yocto-queue": {
24361
- "version": "0.1.0",
24362
- "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz",
24363
- "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="
24364
- }
24365
- }
24366
- },
24367
23777
  "@sindresorhus/is": {
24368
23778
  "version": "2.1.1",
24369
23779
  "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-2.1.1.tgz",
@@ -24401,14 +23811,6 @@
24401
23811
  "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz",
24402
23812
  "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA=="
24403
23813
  },
24404
- "brace-expansion": {
24405
- "version": "2.0.1",
24406
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
24407
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
24408
- "requires": {
24409
- "balanced-match": "^1.0.0"
24410
- }
24411
- },
24412
23814
  "cacheable-lookup": {
24413
23815
  "version": "2.0.1",
24414
23816
  "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-2.0.1.tgz",
@@ -24480,18 +23882,6 @@
24480
23882
  "path-exists": "^5.0.0"
24481
23883
  }
24482
23884
  },
24483
- "glob": {
24484
- "version": "8.0.3",
24485
- "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz",
24486
- "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==",
24487
- "requires": {
24488
- "fs.realpath": "^1.0.0",
24489
- "inflight": "^1.0.4",
24490
- "inherits": "2",
24491
- "minimatch": "^5.0.1",
24492
- "once": "^1.3.0"
24493
- }
24494
- },
24495
23885
  "got": {
24496
23886
  "version": "10.7.0",
24497
23887
  "resolved": "https://registry.npmjs.org/got/-/got-10.7.0.tgz",
@@ -24583,14 +23973,6 @@
24583
23973
  "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz",
24584
23974
  "integrity": "sha512-wXqjST+SLt7R009ySCglWBCFpjUygmCIfD790/kVbiGmUgfYGuB14PiTd5DwVxSV4NcYHjzMkoj5LjQZwTQLEA=="
24585
23975
  },
24586
- "minimatch": {
24587
- "version": "5.1.0",
24588
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
24589
- "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
24590
- "requires": {
24591
- "brace-expansion": "^2.0.1"
24592
- }
24593
- },
24594
23976
  "npm-run-path": {
24595
23977
  "version": "5.1.0",
24596
23978
  "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-5.1.0.tgz",
@@ -24687,9 +24069,9 @@
24687
24069
  },
24688
24070
  "dependencies": {
24689
24071
  "type-fest": {
24690
- "version": "2.15.1",
24691
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.15.1.tgz",
24692
- "integrity": "sha512-LYSjcIz3NmoQksXq/3/B7Nfad+T8mkaI628agAAnHCpXPTBRMK2ygt3eABpzII8CbZZM8dLdVQ4Gr8ousjFjMw=="
24072
+ "version": "2.16.0",
24073
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.16.0.tgz",
24074
+ "integrity": "sha512-qpaThT2HQkFb83gMOrdKVsfCN7LKxP26Yq+smPzY1FqoHRjqmjqHXA7n5Gkxi8efirtbeEUxzfEdePthQWCuHw=="
24693
24075
  }
24694
24076
  }
24695
24077
  },
@@ -24704,9 +24086,9 @@
24704
24086
  },
24705
24087
  "dependencies": {
24706
24088
  "type-fest": {
24707
- "version": "2.15.1",
24708
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.15.1.tgz",
24709
- "integrity": "sha512-LYSjcIz3NmoQksXq/3/B7Nfad+T8mkaI628agAAnHCpXPTBRMK2ygt3eABpzII8CbZZM8dLdVQ4Gr8ousjFjMw=="
24089
+ "version": "2.16.0",
24090
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.16.0.tgz",
24091
+ "integrity": "sha512-qpaThT2HQkFb83gMOrdKVsfCN7LKxP26Yq+smPzY1FqoHRjqmjqHXA7n5Gkxi8efirtbeEUxzfEdePthQWCuHw=="
24710
24092
  }
24711
24093
  }
24712
24094
  },
@@ -25504,93 +24886,15 @@
25504
24886
  }
25505
24887
  },
25506
24888
  "@netlify/functions-utils": {
25507
- "version": "4.2.0",
25508
- "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-4.2.0.tgz",
25509
- "integrity": "sha512-erWu+M2xaRuALqWy9dNaVORgco0TYGCcV6ZoFayJZWJPeMxM+aVK9e1d1F5iuphVRKIL08f6w4QJniUC2OCiYQ==",
24889
+ "version": "4.2.1",
24890
+ "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-4.2.1.tgz",
24891
+ "integrity": "sha512-Wjq2jixsSu6JwnyRUZzYn9YUrhl30Fn5V28+4WJ/PhnpT1+atFwRj2JgUesnzZeDIFe3a2wjjCd8pOx4kZCJEw==",
25510
24892
  "requires": {
25511
- "@netlify/zip-it-and-ship-it": "5.11.1",
24893
+ "@netlify/zip-it-and-ship-it": "5.13.0",
25512
24894
  "cpy": "^8.1.0",
25513
24895
  "path-exists": "^5.0.0"
25514
24896
  },
25515
24897
  "dependencies": {
25516
- "@babel/parser": {
25517
- "version": "7.16.8",
25518
- "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.16.8.tgz",
25519
- "integrity": "sha512-i7jDUfrVBWc+7OKcBzEe5n7fbv3i2fWtxKzzCvOjnzSxMfWMigAhtfJ7qzZNGFNMsCCd67+uz553dYKWXPvCKw=="
25520
- },
25521
- "@netlify/zip-it-and-ship-it": {
25522
- "version": "5.11.1",
25523
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.11.1.tgz",
25524
- "integrity": "sha512-xjDmbTcrzSvQvyYK/rAsHq7R1UQIDpn4KUjxEgrc0S/cjpvzQ610JtRz3JMrnSvjzOTTnLlBOD3b+aow1Edt9g==",
25525
- "requires": {
25526
- "@babel/parser": "7.16.8",
25527
- "@netlify/esbuild": "0.14.25",
25528
- "@vercel/nft": "^0.20.0",
25529
- "archiver": "^5.3.0",
25530
- "common-path-prefix": "^3.0.0",
25531
- "cp-file": "^9.0.0",
25532
- "del": "^6.0.0",
25533
- "elf-cam": "^0.1.1",
25534
- "end-of-stream": "^1.4.4",
25535
- "es-module-lexer": "^0.10.0",
25536
- "execa": "^5.0.0",
25537
- "filter-obj": "^2.0.1",
25538
- "find-up": "^5.0.0",
25539
- "glob": "^8.0.3",
25540
- "is-builtin-module": "^3.1.0",
25541
- "junk": "^3.1.0",
25542
- "locate-path": "^6.0.0",
25543
- "merge-options": "^3.0.4",
25544
- "minimatch": "^5.0.0",
25545
- "normalize-path": "^3.0.0",
25546
- "p-map": "^4.0.0",
25547
- "path-exists": "^4.0.0",
25548
- "precinct": "^9.0.1",
25549
- "read-package-json-fast": "^2.0.2",
25550
- "require-package-name": "^2.0.1",
25551
- "resolve": "^2.0.0-next.1",
25552
- "semver": "^7.0.0",
25553
- "tmp-promise": "^3.0.2",
25554
- "toml": "^3.0.0",
25555
- "unixify": "^1.0.0",
25556
- "yargs": "^17.0.0"
25557
- },
25558
- "dependencies": {
25559
- "path-exists": {
25560
- "version": "4.0.0",
25561
- "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz",
25562
- "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="
25563
- }
25564
- }
25565
- },
25566
- "brace-expansion": {
25567
- "version": "2.0.1",
25568
- "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
25569
- "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
25570
- "requires": {
25571
- "balanced-match": "^1.0.0"
25572
- }
25573
- },
25574
- "glob": {
25575
- "version": "8.0.3",
25576
- "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz",
25577
- "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==",
25578
- "requires": {
25579
- "fs.realpath": "^1.0.0",
25580
- "inflight": "^1.0.4",
25581
- "inherits": "2",
25582
- "minimatch": "^5.0.1",
25583
- "once": "^1.3.0"
25584
- }
25585
- },
25586
- "minimatch": {
25587
- "version": "5.1.0",
25588
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz",
25589
- "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==",
25590
- "requires": {
25591
- "brace-expansion": "^2.0.1"
25592
- }
25593
- },
25594
24898
  "path-exists": {
25595
24899
  "version": "5.0.0",
25596
24900
  "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-5.0.0.tgz",
@@ -25771,9 +25075,9 @@
25771
25075
  "integrity": "sha512-ZJF4nbLPfxsWrVgp2reCb23HMxsWl5+r+K0RtIhxcZ/RxbHVihRA9mwyzIcxPWrT5x9uAAxCr1aKGP7IdsDe+Q=="
25772
25076
  },
25773
25077
  "@netlify/plugins-list": {
25774
- "version": "6.32.0",
25775
- "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.32.0.tgz",
25776
- "integrity": "sha512-ZYaik41Xl7Jg7k204daKG26eT8pywThqvrwsDqW3gVuVx+Clo3uSrPTwNEuHme9Py0smdw2/oG2qp1jH3Q5sLQ=="
25078
+ "version": "6.33.0",
25079
+ "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.33.0.tgz",
25080
+ "integrity": "sha512-B5JDoCGiILa7fdN8/7kgfchfw7ypuVZ3G+OStIt4PtAt2IH9691iCIVGEU7FOU3LM/ryQMRaVNAsEVrqiNPEmA=="
25777
25081
  },
25778
25082
  "@netlify/run-utils": {
25779
25083
  "version": "4.0.1",
@@ -25838,9 +25142,9 @@
25838
25142
  }
25839
25143
  },
25840
25144
  "@netlify/zip-it-and-ship-it": {
25841
- "version": "5.12.0",
25842
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.12.0.tgz",
25843
- "integrity": "sha512-ebLejCn0AO/ovYHv0w457B+Jjk8Z2vtkIuX6n/hQYiKHNDAj06zGCyzlJ9jOwtj2CVREAjz68f8/HdDxnEOW6Q==",
25145
+ "version": "5.13.0",
25146
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.13.0.tgz",
25147
+ "integrity": "sha512-JlZAWwIjs9cIYIOO1Xw/OXRvXy1VXd+h5ZKuH8Lug1JCub0hGM8XIh3TnNsqHrjwsC/Oh5UucTba4SPuIU9Xag==",
25844
25148
  "requires": {
25845
25149
  "@babel/parser": "7.16.8",
25846
25150
  "@netlify/binary-info": "^1.0.0",
@@ -30232,11 +29536,6 @@
30232
29536
  "resolved": "https://registry.npmjs.org/elegant-spinner/-/elegant-spinner-1.0.1.tgz",
30233
29537
  "integrity": "sha1-2wQ1IcldfjA/2PNFvtwzSc+wcp4="
30234
29538
  },
30235
- "elf-cam": {
30236
- "version": "0.1.1",
30237
- "resolved": "https://registry.npmjs.org/elf-cam/-/elf-cam-0.1.1.tgz",
30238
- "integrity": "sha512-tKSFTWOp5OwJSp6MKyQDX7umYDkvUuI8rxHXw8BuUQ63d9Trj9xLeo6SHyoTGSoZNNZVitFa+RuHHXuoAzN3Rw=="
30239
- },
30240
29539
  "elliptic": {
30241
29540
  "version": "6.5.4",
30242
29541
  "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.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": "10.9.0",
4
+ "version": "10.9.1",
5
5
  "author": "Netlify Inc.",
6
6
  "contributors": [
7
7
  "Abraham Schilling <AbrahamSchilling@gmail.com> (https://gitlab.com/n4bb12)",
@@ -216,13 +216,13 @@
216
216
  "prettier": "--ignore-path .gitignore --loglevel=warn \"{src,tools,scripts,site,tests,.github}/**/*.{mjs,cjs,js,md,yml,json,html}\" \"*.{mjs,cjs,js,yml,json,html}\" \".*.{mjs,cjs,js,yml,json,html}\" \"!CHANGELOG.md\" \"!npm-shrinkwrap.json\" \"!**/*/package-lock.json\" \"!.github/**/*.md\""
217
217
  },
218
218
  "dependencies": {
219
- "@netlify/build": "^27.3.3",
219
+ "@netlify/build": "^27.4.0",
220
220
  "@netlify/config": "^18.1.1",
221
221
  "@netlify/edge-bundler": "^1.5.0",
222
222
  "@netlify/framework-info": "^9.1.0",
223
223
  "@netlify/local-functions-proxy": "^1.1.1",
224
- "@netlify/plugins-list": "^6.32.0",
225
- "@netlify/zip-it-and-ship-it": "^5.12.0",
224
+ "@netlify/plugins-list": "^6.33.0",
225
+ "@netlify/zip-it-and-ship-it": "^5.13.0",
226
226
  "@octokit/rest": "^18.0.0",
227
227
  "@sindresorhus/slugify": "^1.1.0",
228
228
  "ansi-escapes": "^5.0.0",
@@ -20,14 +20,14 @@ const safeGetSite = async (api, siteId) => {
20
20
  }
21
21
 
22
22
  /**
23
- * The env:migrate command
23
+ * The env:clone command
24
24
  * @param {string} siteIdA Site (From)
25
25
  * @param {string} siteIdB Site (To)
26
26
  * @param {import('commander').OptionValues} options
27
27
  * @param {import('../base-command').BaseCommand} command
28
28
  * @returns {Promise<boolean>}
29
29
  */
30
- const envMigrate = async (options, command) => {
30
+ const envClone = async (options, command) => {
31
31
  const { api, site } = command.netlify
32
32
 
33
33
  if (!site.id && !options.from) {
@@ -75,7 +75,7 @@ const envMigrate = async (options, command) => {
75
75
  }
76
76
 
77
77
  log(
78
- `Successfully migrated environment variables from ${chalk.greenBright(siteFrom.name)} to ${chalk.greenBright(
78
+ `Successfully cloned environment variables from ${chalk.greenBright(siteFrom.name)} to ${chalk.greenBright(
79
79
  siteTo.name,
80
80
  )}`,
81
81
  )
@@ -98,7 +98,7 @@ const mongoToMongo = async ({ api, siteFrom, siteTo }) => {
98
98
  ] = [siteFrom, siteTo]
99
99
 
100
100
  if (isEmpty(envFrom)) {
101
- log(`${chalk.greenBright(siteFrom.name)} has no environment variables, nothing to migrate`)
101
+ log(`${chalk.greenBright(siteFrom.name)} has no environment variables, nothing to clone`)
102
102
  return false
103
103
  }
104
104
 
@@ -130,7 +130,7 @@ const mongoToEnvelope = async ({ api, siteFrom, siteTo }) => {
130
130
  const keysFrom = Object.keys(envFrom)
131
131
 
132
132
  if (isEmpty(envFrom)) {
133
- log(`${chalk.greenBright(siteFrom.name)} has no environment variables, nothing to migrate`)
133
+ log(`${chalk.greenBright(siteFrom.name)} has no environment variables, nothing to clone`)
134
134
  return false
135
135
  }
136
136
 
@@ -163,7 +163,7 @@ const envelopeToMongo = async ({ api, siteFrom, siteTo }) => {
163
163
  const envFrom = translateFromEnvelopeToMongo(envelopeVariables)
164
164
 
165
165
  if (isEmpty(envFrom)) {
166
- log(`${chalk.greenBright(siteFrom.name)} has no environment variables, nothing to migrate`)
166
+ log(`${chalk.greenBright(siteFrom.name)} has no environment variables, nothing to clone`)
167
167
  return false
168
168
  }
169
169
 
@@ -201,7 +201,7 @@ const envelopeToEnvelope = async ({ api, siteFrom, siteTo }) => {
201
201
  const keysFrom = envelopeFrom.map(({ key }) => key)
202
202
 
203
203
  if (isEmpty(keysFrom)) {
204
- log(`${chalk.greenBright(siteFrom.name)} has no environment variables, nothing to migrate`)
204
+ log(`${chalk.greenBright(siteFrom.name)} has no environment variables, nothing to clone`)
205
205
  return false
206
206
  }
207
207
 
@@ -222,20 +222,18 @@ const envelopeToEnvelope = async ({ api, siteFrom, siteTo }) => {
222
222
  }
223
223
 
224
224
  /**
225
- * Creates the `netlify env:migrate` command
225
+ * Creates the `netlify env:clone` command
226
226
  * @param {import('../base-command').BaseCommand} program
227
227
  * @returns
228
228
  */
229
- const createEnvMigrateCommand = (program) =>
229
+ const createEnvCloneCommand = (program) =>
230
230
  program
231
- .command('env:migrate')
231
+ .command('env:clone')
232
+ .alias('env:migrate')
232
233
  .option('-f, --from <from>', 'Site ID (From)')
233
234
  .requiredOption('-t, --to <to>', 'Site ID (To)')
234
- .description(`Migrate environment variables from one site to another`)
235
- .addExamples([
236
- 'netlify env:migrate --to <to-site-id>',
237
- 'netlify env:migrate --to <to-site-id> --from <from-site-id>',
238
- ])
239
- .action(envMigrate)
240
-
241
- module.exports = { createEnvMigrateCommand }
235
+ .description(`Clone environment variables from one site to another`)
236
+ .addExamples(['netlify env:clone --to <to-site-id>', 'netlify env:clone --to <to-site-id> --from <from-site-id>'])
237
+ .action(envClone)
238
+
239
+ module.exports = { createEnvCloneCommand }
@@ -1,8 +1,8 @@
1
1
  // @ts-check
2
+ const { createEnvCloneCommand } = require('./env-clone')
2
3
  const { createEnvGetCommand } = require('./env-get')
3
4
  const { createEnvImportCommand } = require('./env-import')
4
5
  const { createEnvListCommand } = require('./env-list')
5
- const { createEnvMigrateCommand } = require('./env-migrate')
6
6
  const { createEnvSetCommand } = require('./env-set')
7
7
  const { createEnvUnsetCommand } = require('./env-unset')
8
8
 
@@ -26,7 +26,7 @@ const createEnvCommand = (program) => {
26
26
  createEnvListCommand(program)
27
27
  createEnvSetCommand(program)
28
28
  createEnvUnsetCommand(program)
29
- createEnvMigrateCommand(program)
29
+ createEnvCloneCommand(program)
30
30
 
31
31
  return program
32
32
  .command('env')
@@ -37,7 +37,7 @@ const createEnvCommand = (program) => {
37
37
  'netlify env:set VAR_NAME value',
38
38
  'netlify env:unset VAR_NAME',
39
39
  'netlify env:import fileName',
40
- 'netlify env:migrate --to <to-site-id>',
40
+ 'netlify env:clone --to <to-site-id>',
41
41
  ])
42
42
  .action(env)
43
43
  }
@@ -403,17 +403,15 @@ const handleCliSessionEvent = async ({
403
403
  /**
404
404
  *
405
405
  * @param {object} input
406
- * @param {string} input.netlifyToken The (typically netlify) access token that is used for authentication, if any
406
+ * @param {string} input.jwt The GraphJWT string
407
407
  * @param {string} input.oneGraphSessionId The id of the cli session to fetch the current metadata for
408
408
  * @param {object} input.siteId The site object that contains the root file path for the site
409
409
  */
410
- const getCLISession = async ({ netlifyToken, oneGraphSessionId, siteId }) => {
411
- const graphJwt = await OneGraphClient.getGraphJwtForSite({ siteId, nfToken: netlifyToken })
412
-
410
+ const getCLISession = async ({ jwt, oneGraphSessionId, siteId }) => {
413
411
  const input = {
414
412
  appId: siteId,
415
413
  sessionId: oneGraphSessionId,
416
- jwt: graphJwt.jwt,
414
+ jwt,
417
415
  desiredEventCount: 1,
418
416
  }
419
417
  return await OneGraphClient.fetchCliSession(input)
@@ -422,12 +420,12 @@ const getCLISession = async ({ netlifyToken, oneGraphSessionId, siteId }) => {
422
420
  /**
423
421
  *
424
422
  * @param {object} input
425
- * @param {string} input.netlifyToken The (typically netlify) access token that is used for authentication, if any
423
+ * @param {string} input.jwt The GraphJWT string
426
424
  * @param {string} input.oneGraphSessionId The id of the cli session to fetch the current metadata for
427
425
  * @param {string} input.siteId The site object that contains the root file path for the site
428
426
  */
429
- const getCLISessionMetadata = async ({ netlifyToken, oneGraphSessionId, siteId }) => {
430
- const { errors, session } = await getCLISession({ netlifyToken, oneGraphSessionId, siteId })
427
+ const getCLISessionMetadata = async ({ jwt, oneGraphSessionId, siteId }) => {
428
+ const { errors, session } = await getCLISession({ jwt, oneGraphSessionId, siteId })
431
429
  return { metadata: session && session.metadata, errors }
432
430
  }
433
431
 
@@ -464,15 +462,15 @@ const detectLocalCLISessionMetadata = ({ siteRoot }) => {
464
462
  * Fetch the existing cli session metadata if it exists, and mutate it remotely with the passed in metadata
465
463
  * @param {object} input
466
464
  * @param {NetlifyGraph.NetlifyGraphConfig} input.netlifyGraphConfig The (typically netlify) access token that is used for authentication, if any
467
- * @param {string} input.netlifyToken The (typically netlify) access token that is used for authentication, if any
465
+ * @param {string} input.jwt The Graph JWT string
468
466
  * @param {string} input.oneGraphSessionId The id of the cli session to fetch the current metadata for
469
467
  * @param {string} input.siteId The site object that contains the root file path for the site
470
468
  * @param {string} input.siteRoot The root file path for the site
471
469
  * @param {object} input.newMetadata The metadata to merge into (with priority) the existing metadata
472
470
  * @returns {Promise<object>}
473
471
  */
474
- const upsertMergeCLISessionMetadata = async ({ netlifyToken, newMetadata, oneGraphSessionId, siteId, siteRoot }) => {
475
- const { errors, metadata } = await getCLISessionMetadata({ netlifyToken, oneGraphSessionId, siteId })
472
+ const upsertMergeCLISessionMetadata = async ({ jwt, newMetadata, oneGraphSessionId, siteId, siteRoot }) => {
473
+ const { errors, metadata } = await getCLISessionMetadata({ jwt, oneGraphSessionId, siteId })
476
474
  if (errors) {
477
475
  warn(`Error fetching cli session metadata: ${JSON.stringify(errors, null, 2)}`)
478
476
  }
@@ -481,7 +479,6 @@ const upsertMergeCLISessionMetadata = async ({ netlifyToken, newMetadata, oneGra
481
479
 
482
480
  // @ts-ignore
483
481
  const finalMetadata = { ...metadata, ...detectedMetadata, ...newMetadata }
484
- const { jwt } = await OneGraphClient.getGraphJwtForSite({ siteId, nfToken: netlifyToken })
485
482
 
486
483
  return OneGraphClient.updateCLISessionMetadata(jwt, siteId, oneGraphSessionId, finalMetadata)
487
484
  }
@@ -495,16 +492,16 @@ const persistNewOperationsDocForSession = async ({
495
492
  siteRoot,
496
493
  }) => {
497
494
  const { branch } = gitRepoInfo()
495
+ const { jwt } = await OneGraphClient.getGraphJwtForSite({ siteId, nfToken: netlifyToken })
498
496
  const persistedResult = await executeCreatePersistedQueryMutation(
499
497
  {
500
- nfToken: netlifyToken,
501
498
  appId: siteId,
502
499
  description: 'Temporary snapshot of local queries',
503
500
  query: operationsDoc,
504
501
  tags: ['netlify-cli', `session:${oneGraphSessionId}`, `git-branch:${branch}`, `local-change`],
505
502
  },
506
503
  {
507
- accessToken: netlifyToken,
504
+ accessToken: jwt,
508
505
  siteId,
509
506
  },
510
507
  )
@@ -522,7 +519,7 @@ const persistNewOperationsDocForSession = async ({
522
519
  const newMetadata = { docId: persistedDoc.id }
523
520
  const result = await upsertMergeCLISessionMetadata({
524
521
  netlifyGraphConfig,
525
- netlifyToken,
522
+ jwt,
526
523
  siteId,
527
524
  oneGraphSessionId,
528
525
  newMetadata,
@@ -580,7 +577,7 @@ const startOneGraphCLISession = async (input) => {
580
577
  const newOperationsDoc = readGraphQLOperationsSourceFile(netlifyGraphConfig)
581
578
  await persistNewOperationsDocForSession({
582
579
  netlifyGraphConfig,
583
- netlifyToken,
580
+ jwt,
584
581
  oneGraphSessionId,
585
582
  operationsDoc: newOperationsDoc,
586
583
  siteId: site.id,
@@ -593,7 +590,7 @@ const startOneGraphCLISession = async (input) => {
593
590
  const newOperationsDoc = readGraphQLOperationsSourceFile(netlifyGraphConfig)
594
591
  await persistNewOperationsDocForSession({
595
592
  netlifyGraphConfig,
596
- netlifyToken,
593
+ jwt,
597
594
  oneGraphSessionId,
598
595
  operationsDoc: newOperationsDoc,
599
596
  siteId: site.id,
@@ -680,12 +677,11 @@ const ensureCLISession = async (input) => {
680
677
  const { metadata, netlifyToken, site, state } = input
681
678
  let oneGraphSessionId = input.oneGraphSessionId ? input.oneGraphSessionId : loadCLISession(state)
682
679
  let parentCliSessionId = null
680
+ const { jwt } = await OneGraphClient.getGraphJwtForSite({ siteId: site.id, nfToken: netlifyToken })
683
681
 
684
682
  // Validate that session still exists and we can access it
685
683
  try {
686
684
  if (oneGraphSessionId) {
687
- const { jwt } = await OneGraphClient.getGraphJwtForSite({ siteId: site.id, nfToken: netlifyToken })
688
-
689
685
  const sessionEvents = await OneGraphClient.fetchCliSessionEvents({
690
686
  appId: site.id,
691
687
  jwt,
@@ -728,7 +724,7 @@ const ensureCLISession = async (input) => {
728
724
 
729
725
  state.set('oneGraphSessionId', oneGraphSessionId)
730
726
  const { errors: markCLISessionActiveErrors } = await executeMarkCliSessionActiveHeartbeat(
731
- netlifyToken,
727
+ jwt,
732
728
  site.id,
733
729
  oneGraphSessionId,
734
730
  )