netlify-cli 9.8.3 → 9.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.
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "9.8.3",
3
+ "version": "9.9.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "9.8.3",
9
+ "version": "9.9.1",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@netlify/build": "^26.3.8",
14
- "@netlify/config": "^17.0.15",
13
+ "@netlify/build": "^26.3.10",
14
+ "@netlify/config": "^17.0.16",
15
15
  "@netlify/framework-info": "^9.0.2",
16
16
  "@netlify/local-functions-proxy": "^1.1.1",
17
- "@netlify/plugin-edge-handlers": "^3.0.6",
18
- "@netlify/plugins-list": "^6.13.1",
17
+ "@netlify/plugin-edge-handlers": "^3.0.7",
18
+ "@netlify/plugins-list": "^6.14.0",
19
19
  "@netlify/routing-local-proxy": "^0.34.1",
20
20
  "@netlify/zip-it-and-ship-it": "^5.9.0",
21
21
  "@octokit/rest": "^18.0.0",
@@ -83,7 +83,7 @@
83
83
  "netlify": "^11.0.0",
84
84
  "netlify-headers-parser": "^6.0.2",
85
85
  "netlify-onegraph-internal": "0.0.50",
86
- "netlify-redirect-parser": "^13.0.4",
86
+ "netlify-redirect-parser": "^13.0.5",
87
87
  "netlify-redirector": "^0.2.1",
88
88
  "node-fetch": "^2.6.0",
89
89
  "node-version-alias": "^1.0.1",
@@ -125,7 +125,7 @@
125
125
  },
126
126
  "devDependencies": {
127
127
  "@babel/preset-react": "^7.12.13",
128
- "@netlify/eslint-config-node": "^5.1.5",
128
+ "@netlify/eslint-config-node": "^5.1.6",
129
129
  "ava": "^4.0.0",
130
130
  "c8": "^7.11.0",
131
131
  "eslint-plugin-sort-destructure-keys": "^1.3.5",
@@ -2358,9 +2358,9 @@
2358
2358
  }
2359
2359
  },
2360
2360
  "node_modules/@netlify/build": {
2361
- "version": "26.3.8",
2362
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.3.8.tgz",
2363
- "integrity": "sha512-ys7E8GfN2VaWAADa78mHaEU6l1K53CjpG3ci9FOthT/2RoIhf3gTVa+l4eiSVNwQprONMtbBOllE/gTDmUg0kw==",
2361
+ "version": "26.3.10",
2362
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.3.10.tgz",
2363
+ "integrity": "sha512-H+nl0VVMv2j/txGYLYwG5KLdh/eaDfAdCr5mBvMCZlfehoZySIA3S6thgUHVsGUDyyCeQ0H2wMQvHp6YgkkAsQ==",
2364
2364
  "dependencies": {
2365
2365
  "@bugsnag/js": "^7.0.0",
2366
2366
  "@netlify/cache-utils": "^4.0.0",
@@ -2368,7 +2368,7 @@
2368
2368
  "@netlify/functions-utils": "^4.0.0",
2369
2369
  "@netlify/git-utils": "^4.0.0",
2370
2370
  "@netlify/plugin-edge-handlers": "^3.0.6",
2371
- "@netlify/plugins-list": "^6.13.1",
2371
+ "@netlify/plugins-list": "^6.14.0",
2372
2372
  "@netlify/run-utils": "^4.0.0",
2373
2373
  "@netlify/zip-it-and-ship-it": "5.9.0",
2374
2374
  "@sindresorhus/slugify": "^2.0.0",
@@ -3110,9 +3110,9 @@
3110
3110
  }
3111
3111
  },
3112
3112
  "node_modules/@netlify/config": {
3113
- "version": "17.0.15",
3114
- "resolved": "https://registry.npmjs.org/@netlify/config/-/config-17.0.15.tgz",
3115
- "integrity": "sha512-ShEMw5C5PrfC4M3rdcFTdN9Phj3bsPbE8fpy2LdHUEdjEGnNo26frxq3Nh+suLsVvLZ1zWY7yoCQcT+6McerIw==",
3113
+ "version": "17.0.16",
3114
+ "resolved": "https://registry.npmjs.org/@netlify/config/-/config-17.0.16.tgz",
3115
+ "integrity": "sha512-MajIdbsdOVpI59zayMY/9S4XrO0gVWXvl7r5iEFoSnzuloJlN/Ws0GFOSL9FqJEH8Fh1lafOIMPCugRxWhdJ6g==",
3116
3116
  "dependencies": {
3117
3117
  "chalk": "^5.0.0",
3118
3118
  "cron-parser": "^4.1.0",
@@ -3129,7 +3129,7 @@
3129
3129
  "map-obj": "^5.0.0",
3130
3130
  "netlify": "^11.0.0",
3131
3131
  "netlify-headers-parser": "^6.0.2",
3132
- "netlify-redirect-parser": "13.0.4",
3132
+ "netlify-redirect-parser": "13.0.5",
3133
3133
  "omit.js": "^2.0.2",
3134
3134
  "p-locate": "^6.0.0",
3135
3135
  "path-exists": "^5.0.0",
@@ -3312,9 +3312,9 @@
3312
3312
  }
3313
3313
  },
3314
3314
  "node_modules/@netlify/config/node_modules/map-obj": {
3315
- "version": "5.0.0",
3316
- "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-5.0.0.tgz",
3317
- "integrity": "sha512-2L3MIgJynYrZ3TYMriLDLWocz15okFakV6J12HXvMXDHui2x/zgChzg1u9mFFGbbGWE+GsLpQByt4POb9Or+uA==",
3315
+ "version": "5.0.1",
3316
+ "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-5.0.1.tgz",
3317
+ "integrity": "sha512-p3Qoax94q4c4Pb4etNi2lQSQGlqOA4PoD3ARovo7NllRoObZHwNEYd40fz4qgX1zTFK4geU/R1kbowl5hU5OVg==",
3318
3318
  "engines": {
3319
3319
  "node": "^12.20.0 || ^14.13.1 || >=16.0.0"
3320
3320
  },
@@ -3451,9 +3451,9 @@
3451
3451
  }
3452
3452
  },
3453
3453
  "node_modules/@netlify/eslint-config-node": {
3454
- "version": "5.1.5",
3455
- "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-5.1.5.tgz",
3456
- "integrity": "sha512-Ug2uvKPY+ImkZM9/LgE/o0iztLebENguTCTMU4prxyD2D1wXTHy+c93j9k0GCmqO+xUQr0uh4+cTp1LyVwC+oA==",
3454
+ "version": "5.1.6",
3455
+ "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-5.1.6.tgz",
3456
+ "integrity": "sha512-eVxIgtv9DCvcsxsJkQHLhnCo5UJieytr8UgjuiRry2pambzlZxO2CHNg8ynZ027Q+JRkr+4beyGmhgek9ZlUVA==",
3457
3457
  "dev": true,
3458
3458
  "dependencies": {
3459
3459
  "@babel/core": "^7.13.8",
@@ -4272,9 +4272,9 @@
4272
4272
  "integrity": "sha512-lfNB/QYDgaP07pwm/nWEaWPvRAAGyhxvJqNzvxMijc7A4uwquMjlbYve8yYyd0LJXPwgBpGobwiQj5RA76xzUQ=="
4273
4273
  },
4274
4274
  "node_modules/@netlify/plugin-edge-handlers": {
4275
- "version": "3.0.6",
4276
- "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.6.tgz",
4277
- "integrity": "sha512-wf9556qv5lEzuZuj3X5XIbhLerOipcrTNybGFSuDRN4bIRrpWDfap+fGiZI2D+EyEXWvkQDNaEHc64AH9H8Siw==",
4275
+ "version": "3.0.7",
4276
+ "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.7.tgz",
4277
+ "integrity": "sha512-ThceMAZ7M0k6WVcZwszVh9qozZKveQCnmQtWZW69Qf+g1pGHFkGIt9Vclt5op+Dd8bIdk0kcu1NnX9Ll7eZL1w==",
4278
4278
  "dependencies": {
4279
4279
  "@babel/core": "^7.11.4",
4280
4280
  "@babel/preset-env": "^7.11.5",
@@ -4300,9 +4300,9 @@
4300
4300
  }
4301
4301
  },
4302
4302
  "node_modules/@netlify/plugin-edge-handlers/node_modules/node-fetch": {
4303
- "version": "3.2.0",
4304
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.0.tgz",
4305
- "integrity": "sha512-8xeimMwMItMw8hRrOl3C9/xzU49HV/yE6ORew/l+dxWimO5A4Ra8ld2rerlJvc/O7et5Z1zrWsPX43v1QBjCxw==",
4303
+ "version": "3.2.1",
4304
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.1.tgz",
4305
+ "integrity": "sha512-Ef3SPFtRWFCDyhvcwCSvacLpkwmYZcD57mmZzAsMiks9TpHpIghe32U9H06tMICnr+X7YCpzH7WvUlUoml2urA==",
4306
4306
  "dependencies": {
4307
4307
  "data-uri-to-buffer": "^4.0.0",
4308
4308
  "fetch-blob": "^3.1.4",
@@ -4328,9 +4328,9 @@
4328
4328
  }
4329
4329
  },
4330
4330
  "node_modules/@netlify/plugins-list": {
4331
- "version": "6.13.1",
4332
- "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.13.1.tgz",
4333
- "integrity": "sha512-xduwI/S1GreiDfYV6hALaMIlk31zBgutPfKBEhad8x6ZogJiB8GO2egiAQ4qvAv1APmJaGzPJE5TN2VWr9pGvQ==",
4331
+ "version": "6.14.0",
4332
+ "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.14.0.tgz",
4333
+ "integrity": "sha512-AOlFh13F5TLLq9uJ+/ahamWYnZAJIo36H55FnWvDlnfFvkp9aIfjHvMv4qL8/Tvc6a5Ulx1NYrL8Fpw6qd5YCw==",
4334
4334
  "engines": {
4335
4335
  "node": "^12.20.0 || ^14.14.0 || >=16.0.0"
4336
4336
  }
@@ -5622,9 +5622,9 @@
5622
5622
  }
5623
5623
  },
5624
5624
  "node_modules/@verdaccio/ui-theme": {
5625
- "version": "6.0.0-6-next.16",
5626
- "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.16.tgz",
5627
- "integrity": "sha512-FbYl3273qaA0/fRwrvE876/HuvU81zjsnR70rCEojBelDuddl3xbY1LVdvthCjUGuIj2SUNpTzGhyROdqHJUCg==",
5625
+ "version": "6.0.0-6-next.18",
5626
+ "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.18.tgz",
5627
+ "integrity": "sha512-ofh4yke0950ry+ilWCdFIjHPadKK9xvjC/nzKEaKEFAxJxTt90guZNp++l1rz/LAQ7BMAX905G/2N//6M85+tw==",
5628
5628
  "dev": true
5629
5629
  },
5630
5630
  "node_modules/abab": {
@@ -17206,9 +17206,9 @@
17206
17206
  }
17207
17207
  },
17208
17208
  "node_modules/netlify-redirect-parser": {
17209
- "version": "13.0.4",
17210
- "resolved": "https://registry.npmjs.org/netlify-redirect-parser/-/netlify-redirect-parser-13.0.4.tgz",
17211
- "integrity": "sha512-Dg3JACJTcMwjof4FzeV9yDl6BgWkIIoBBfZxBjV2PNv9+QRYb1bOE7k4jx4HA9TTwzNQCJCdfJqmIqtR/w3Qrg==",
17209
+ "version": "13.0.5",
17210
+ "resolved": "https://registry.npmjs.org/netlify-redirect-parser/-/netlify-redirect-parser-13.0.5.tgz",
17211
+ "integrity": "sha512-Q5YEQu9YLItP38VzmzJRZ+dP4HTnK0i4Reczq+AC4UDGGEcf9JkyUC8f9YgCoamtMPjX3Qb+o+7lF1vYztH/UQ==",
17212
17212
  "dependencies": {
17213
17213
  "filter-obj": "^3.0.0",
17214
17214
  "is-plain-obj": "^4.0.0",
@@ -19352,9 +19352,9 @@
19352
19352
  }
19353
19353
  },
19354
19354
  "node_modules/pino": {
19355
- "version": "6.13.4",
19356
- "resolved": "https://registry.npmjs.org/pino/-/pino-6.13.4.tgz",
19357
- "integrity": "sha512-g4tHSISmQJYUEKEMVdaZ+ZokWwFnTwZL5JPn+lnBVZ1BuBbrSchrXwQINknkM5+Q4fF6U9NjiI8PWwwMDHt9zA==",
19355
+ "version": "6.14.0",
19356
+ "resolved": "https://registry.npmjs.org/pino/-/pino-6.14.0.tgz",
19357
+ "integrity": "sha512-iuhEDel3Z3hF9Jfe44DPXR8l07bhjuFY3GMHIXbjnY9XcafbyDDwl2sN2vw2GjMPf5Nkoe+OFao7ffn9SXaKDg==",
19358
19358
  "dev": true,
19359
19359
  "dependencies": {
19360
19360
  "fast-redact": "^3.0.0",
@@ -23678,16 +23678,16 @@
23678
23678
  }
23679
23679
  },
23680
23680
  "node_modules/verdaccio": {
23681
- "version": "5.6.0",
23682
- "resolved": "https://registry.npmjs.org/verdaccio/-/verdaccio-5.6.0.tgz",
23683
- "integrity": "sha512-dSy87kjtu3YxAxSm7dcT5sQuHKQ+Y4qSwMX6fO978kYHOPHKH1RtuzpAj2sBaPXDg09HekrUPlhlEjT8WWRL6Q==",
23681
+ "version": "5.6.2",
23682
+ "resolved": "https://registry.npmjs.org/verdaccio/-/verdaccio-5.6.2.tgz",
23683
+ "integrity": "sha512-r0BI31Dt5RnXxpCdWPTGXSthIg4XRB6onYRXziEi1stHd1TmwzAV35Jiv7FXu25Rwvh8dHGSozTxKi0t3kbjGg==",
23684
23684
  "dev": true,
23685
23685
  "dependencies": {
23686
23686
  "@verdaccio/commons-api": "10.2.0",
23687
23687
  "@verdaccio/local-storage": "10.2.0",
23688
23688
  "@verdaccio/readme": "10.3.2",
23689
23689
  "@verdaccio/streams": "10.2.0",
23690
- "@verdaccio/ui-theme": "6.0.0-6-next.16",
23690
+ "@verdaccio/ui-theme": "6.0.0-6-next.18",
23691
23691
  "async": "3.2.3",
23692
23692
  "body-parser": "1.19.1",
23693
23693
  "clipanion": "3.1.0",
@@ -23716,7 +23716,7 @@
23716
23716
  "minimatch": "3.0.4",
23717
23717
  "mkdirp": "1.0.4",
23718
23718
  "mv": "2.1.1",
23719
- "pino": "6.13.4",
23719
+ "pino": "6.14.0",
23720
23720
  "pkginfo": "0.4.1",
23721
23721
  "prettier-bytes": "^1.0.4",
23722
23722
  "pretty-ms": "^7.0.1",
@@ -26118,9 +26118,9 @@
26118
26118
  }
26119
26119
  },
26120
26120
  "@netlify/build": {
26121
- "version": "26.3.8",
26122
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.3.8.tgz",
26123
- "integrity": "sha512-ys7E8GfN2VaWAADa78mHaEU6l1K53CjpG3ci9FOthT/2RoIhf3gTVa+l4eiSVNwQprONMtbBOllE/gTDmUg0kw==",
26121
+ "version": "26.3.10",
26122
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.3.10.tgz",
26123
+ "integrity": "sha512-H+nl0VVMv2j/txGYLYwG5KLdh/eaDfAdCr5mBvMCZlfehoZySIA3S6thgUHVsGUDyyCeQ0H2wMQvHp6YgkkAsQ==",
26124
26124
  "requires": {
26125
26125
  "@bugsnag/js": "^7.0.0",
26126
26126
  "@netlify/cache-utils": "^4.0.0",
@@ -26128,7 +26128,7 @@
26128
26128
  "@netlify/functions-utils": "^4.0.0",
26129
26129
  "@netlify/git-utils": "^4.0.0",
26130
26130
  "@netlify/plugin-edge-handlers": "^3.0.6",
26131
- "@netlify/plugins-list": "^6.13.1",
26131
+ "@netlify/plugins-list": "^6.14.0",
26132
26132
  "@netlify/run-utils": "^4.0.0",
26133
26133
  "@netlify/zip-it-and-ship-it": "5.9.0",
26134
26134
  "@sindresorhus/slugify": "^2.0.0",
@@ -26583,9 +26583,9 @@
26583
26583
  }
26584
26584
  },
26585
26585
  "@netlify/config": {
26586
- "version": "17.0.15",
26587
- "resolved": "https://registry.npmjs.org/@netlify/config/-/config-17.0.15.tgz",
26588
- "integrity": "sha512-ShEMw5C5PrfC4M3rdcFTdN9Phj3bsPbE8fpy2LdHUEdjEGnNo26frxq3Nh+suLsVvLZ1zWY7yoCQcT+6McerIw==",
26586
+ "version": "17.0.16",
26587
+ "resolved": "https://registry.npmjs.org/@netlify/config/-/config-17.0.16.tgz",
26588
+ "integrity": "sha512-MajIdbsdOVpI59zayMY/9S4XrO0gVWXvl7r5iEFoSnzuloJlN/Ws0GFOSL9FqJEH8Fh1lafOIMPCugRxWhdJ6g==",
26589
26589
  "requires": {
26590
26590
  "chalk": "^5.0.0",
26591
26591
  "cron-parser": "^4.1.0",
@@ -26602,7 +26602,7 @@
26602
26602
  "map-obj": "^5.0.0",
26603
26603
  "netlify": "^11.0.0",
26604
26604
  "netlify-headers-parser": "^6.0.2",
26605
- "netlify-redirect-parser": "13.0.4",
26605
+ "netlify-redirect-parser": "13.0.5",
26606
26606
  "omit.js": "^2.0.2",
26607
26607
  "p-locate": "^6.0.0",
26608
26608
  "path-exists": "^5.0.0",
@@ -26704,9 +26704,9 @@
26704
26704
  }
26705
26705
  },
26706
26706
  "map-obj": {
26707
- "version": "5.0.0",
26708
- "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-5.0.0.tgz",
26709
- "integrity": "sha512-2L3MIgJynYrZ3TYMriLDLWocz15okFakV6J12HXvMXDHui2x/zgChzg1u9mFFGbbGWE+GsLpQByt4POb9Or+uA=="
26707
+ "version": "5.0.1",
26708
+ "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-5.0.1.tgz",
26709
+ "integrity": "sha512-p3Qoax94q4c4Pb4etNi2lQSQGlqOA4PoD3ARovo7NllRoObZHwNEYd40fz4qgX1zTFK4geU/R1kbowl5hU5OVg=="
26710
26710
  },
26711
26711
  "npm-run-path": {
26712
26712
  "version": "5.1.0",
@@ -26778,9 +26778,9 @@
26778
26778
  "integrity": "sha512-tiKmDcHM2riSVN79c0mJY/67EBDafXQAMitHuLiCDAMdtz3kfv+NqdVG5krgf5lWR8Uf8AeZrUW5Q9RP25REvw=="
26779
26779
  },
26780
26780
  "@netlify/eslint-config-node": {
26781
- "version": "5.1.5",
26782
- "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-5.1.5.tgz",
26783
- "integrity": "sha512-Ug2uvKPY+ImkZM9/LgE/o0iztLebENguTCTMU4prxyD2D1wXTHy+c93j9k0GCmqO+xUQr0uh4+cTp1LyVwC+oA==",
26781
+ "version": "5.1.6",
26782
+ "resolved": "https://registry.npmjs.org/@netlify/eslint-config-node/-/eslint-config-node-5.1.6.tgz",
26783
+ "integrity": "sha512-eVxIgtv9DCvcsxsJkQHLhnCo5UJieytr8UgjuiRry2pambzlZxO2CHNg8ynZ027Q+JRkr+4beyGmhgek9ZlUVA==",
26784
26784
  "dev": true,
26785
26785
  "requires": {
26786
26786
  "@babel/core": "^7.13.8",
@@ -27278,9 +27278,9 @@
27278
27278
  "integrity": "sha512-lfNB/QYDgaP07pwm/nWEaWPvRAAGyhxvJqNzvxMijc7A4uwquMjlbYve8yYyd0LJXPwgBpGobwiQj5RA76xzUQ=="
27279
27279
  },
27280
27280
  "@netlify/plugin-edge-handlers": {
27281
- "version": "3.0.6",
27282
- "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.6.tgz",
27283
- "integrity": "sha512-wf9556qv5lEzuZuj3X5XIbhLerOipcrTNybGFSuDRN4bIRrpWDfap+fGiZI2D+EyEXWvkQDNaEHc64AH9H8Siw==",
27281
+ "version": "3.0.7",
27282
+ "resolved": "https://registry.npmjs.org/@netlify/plugin-edge-handlers/-/plugin-edge-handlers-3.0.7.tgz",
27283
+ "integrity": "sha512-ThceMAZ7M0k6WVcZwszVh9qozZKveQCnmQtWZW69Qf+g1pGHFkGIt9Vclt5op+Dd8bIdk0kcu1NnX9Ll7eZL1w==",
27284
27284
  "requires": {
27285
27285
  "@babel/core": "^7.11.4",
27286
27286
  "@babel/preset-env": "^7.11.5",
@@ -27300,9 +27300,9 @@
27300
27300
  },
27301
27301
  "dependencies": {
27302
27302
  "node-fetch": {
27303
- "version": "3.2.0",
27304
- "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.0.tgz",
27305
- "integrity": "sha512-8xeimMwMItMw8hRrOl3C9/xzU49HV/yE6ORew/l+dxWimO5A4Ra8ld2rerlJvc/O7et5Z1zrWsPX43v1QBjCxw==",
27303
+ "version": "3.2.1",
27304
+ "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.2.1.tgz",
27305
+ "integrity": "sha512-Ef3SPFtRWFCDyhvcwCSvacLpkwmYZcD57mmZzAsMiks9TpHpIghe32U9H06tMICnr+X7YCpzH7WvUlUoml2urA==",
27306
27306
  "requires": {
27307
27307
  "data-uri-to-buffer": "^4.0.0",
27308
27308
  "fetch-blob": "^3.1.4",
@@ -27317,9 +27317,9 @@
27317
27317
  }
27318
27318
  },
27319
27319
  "@netlify/plugins-list": {
27320
- "version": "6.13.1",
27321
- "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.13.1.tgz",
27322
- "integrity": "sha512-xduwI/S1GreiDfYV6hALaMIlk31zBgutPfKBEhad8x6ZogJiB8GO2egiAQ4qvAv1APmJaGzPJE5TN2VWr9pGvQ=="
27320
+ "version": "6.14.0",
27321
+ "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.14.0.tgz",
27322
+ "integrity": "sha512-AOlFh13F5TLLq9uJ+/ahamWYnZAJIo36H55FnWvDlnfFvkp9aIfjHvMv4qL8/Tvc6a5Ulx1NYrL8Fpw6qd5YCw=="
27323
27323
  },
27324
27324
  "@netlify/routing-local-proxy": {
27325
27325
  "version": "0.34.1",
@@ -28300,9 +28300,9 @@
28300
28300
  "dev": true
28301
28301
  },
28302
28302
  "@verdaccio/ui-theme": {
28303
- "version": "6.0.0-6-next.16",
28304
- "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.16.tgz",
28305
- "integrity": "sha512-FbYl3273qaA0/fRwrvE876/HuvU81zjsnR70rCEojBelDuddl3xbY1LVdvthCjUGuIj2SUNpTzGhyROdqHJUCg==",
28303
+ "version": "6.0.0-6-next.18",
28304
+ "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.18.tgz",
28305
+ "integrity": "sha512-ofh4yke0950ry+ilWCdFIjHPadKK9xvjC/nzKEaKEFAxJxTt90guZNp++l1rz/LAQ7BMAX905G/2N//6M85+tw==",
28306
28306
  "dev": true
28307
28307
  },
28308
28308
  "abab": {
@@ -37123,9 +37123,9 @@
37123
37123
  }
37124
37124
  },
37125
37125
  "netlify-redirect-parser": {
37126
- "version": "13.0.4",
37127
- "resolved": "https://registry.npmjs.org/netlify-redirect-parser/-/netlify-redirect-parser-13.0.4.tgz",
37128
- "integrity": "sha512-Dg3JACJTcMwjof4FzeV9yDl6BgWkIIoBBfZxBjV2PNv9+QRYb1bOE7k4jx4HA9TTwzNQCJCdfJqmIqtR/w3Qrg==",
37126
+ "version": "13.0.5",
37127
+ "resolved": "https://registry.npmjs.org/netlify-redirect-parser/-/netlify-redirect-parser-13.0.5.tgz",
37128
+ "integrity": "sha512-Q5YEQu9YLItP38VzmzJRZ+dP4HTnK0i4Reczq+AC4UDGGEcf9JkyUC8f9YgCoamtMPjX3Qb+o+7lF1vYztH/UQ==",
37129
37129
  "requires": {
37130
37130
  "filter-obj": "^3.0.0",
37131
37131
  "is-plain-obj": "^4.0.0",
@@ -38739,9 +38739,9 @@
38739
38739
  }
38740
38740
  },
38741
38741
  "pino": {
38742
- "version": "6.13.4",
38743
- "resolved": "https://registry.npmjs.org/pino/-/pino-6.13.4.tgz",
38744
- "integrity": "sha512-g4tHSISmQJYUEKEMVdaZ+ZokWwFnTwZL5JPn+lnBVZ1BuBbrSchrXwQINknkM5+Q4fF6U9NjiI8PWwwMDHt9zA==",
38742
+ "version": "6.14.0",
38743
+ "resolved": "https://registry.npmjs.org/pino/-/pino-6.14.0.tgz",
38744
+ "integrity": "sha512-iuhEDel3Z3hF9Jfe44DPXR8l07bhjuFY3GMHIXbjnY9XcafbyDDwl2sN2vw2GjMPf5Nkoe+OFao7ffn9SXaKDg==",
38745
38745
  "dev": true,
38746
38746
  "requires": {
38747
38747
  "fast-redact": "^3.0.0",
@@ -42114,16 +42114,16 @@
42114
42114
  "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
42115
42115
  },
42116
42116
  "verdaccio": {
42117
- "version": "5.6.0",
42118
- "resolved": "https://registry.npmjs.org/verdaccio/-/verdaccio-5.6.0.tgz",
42119
- "integrity": "sha512-dSy87kjtu3YxAxSm7dcT5sQuHKQ+Y4qSwMX6fO978kYHOPHKH1RtuzpAj2sBaPXDg09HekrUPlhlEjT8WWRL6Q==",
42117
+ "version": "5.6.2",
42118
+ "resolved": "https://registry.npmjs.org/verdaccio/-/verdaccio-5.6.2.tgz",
42119
+ "integrity": "sha512-r0BI31Dt5RnXxpCdWPTGXSthIg4XRB6onYRXziEi1stHd1TmwzAV35Jiv7FXu25Rwvh8dHGSozTxKi0t3kbjGg==",
42120
42120
  "dev": true,
42121
42121
  "requires": {
42122
42122
  "@verdaccio/commons-api": "10.2.0",
42123
42123
  "@verdaccio/local-storage": "10.2.0",
42124
42124
  "@verdaccio/readme": "10.3.2",
42125
42125
  "@verdaccio/streams": "10.2.0",
42126
- "@verdaccio/ui-theme": "6.0.0-6-next.16",
42126
+ "@verdaccio/ui-theme": "6.0.0-6-next.18",
42127
42127
  "async": "3.2.3",
42128
42128
  "body-parser": "1.19.1",
42129
42129
  "clipanion": "3.1.0",
@@ -42152,7 +42152,7 @@
42152
42152
  "minimatch": "3.0.4",
42153
42153
  "mkdirp": "1.0.4",
42154
42154
  "mv": "2.1.1",
42155
- "pino": "6.13.4",
42155
+ "pino": "6.14.0",
42156
42156
  "pkginfo": "0.4.1",
42157
42157
  "prettier-bytes": "^1.0.4",
42158
42158
  "pretty-ms": "^7.0.1",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
3
  "description": "Netlify command line tool",
4
- "version": "9.8.3",
4
+ "version": "9.9.1",
5
5
  "author": "Netlify Inc.",
6
6
  "contributors": [
7
7
  "Abraham Schilling <AbrahamSchilling@gmail.com> (https://gitlab.com/n4bb12)",
@@ -200,12 +200,12 @@
200
200
  "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\" \"!site/package-lock.json\" \"!.github/**/*.md\""
201
201
  },
202
202
  "dependencies": {
203
- "@netlify/build": "^26.3.8",
204
- "@netlify/config": "^17.0.15",
203
+ "@netlify/build": "^26.3.10",
204
+ "@netlify/config": "^17.0.16",
205
205
  "@netlify/framework-info": "^9.0.2",
206
206
  "@netlify/local-functions-proxy": "^1.1.1",
207
- "@netlify/plugin-edge-handlers": "^3.0.6",
208
- "@netlify/plugins-list": "^6.13.1",
207
+ "@netlify/plugin-edge-handlers": "^3.0.7",
208
+ "@netlify/plugins-list": "^6.14.0",
209
209
  "@netlify/routing-local-proxy": "^0.34.1",
210
210
  "@netlify/zip-it-and-ship-it": "^5.9.0",
211
211
  "@octokit/rest": "^18.0.0",
@@ -273,7 +273,7 @@
273
273
  "netlify": "^11.0.0",
274
274
  "netlify-headers-parser": "^6.0.2",
275
275
  "netlify-onegraph-internal": "0.0.50",
276
- "netlify-redirect-parser": "^13.0.4",
276
+ "netlify-redirect-parser": "^13.0.5",
277
277
  "netlify-redirector": "^0.2.1",
278
278
  "node-fetch": "^2.6.0",
279
279
  "node-version-alias": "^1.0.1",
@@ -311,7 +311,7 @@
311
311
  },
312
312
  "devDependencies": {
313
313
  "@babel/preset-react": "^7.12.13",
314
- "@netlify/eslint-config-node": "^5.1.5",
314
+ "@netlify/eslint-config-node": "^5.1.6",
315
315
  "ava": "^4.0.0",
316
316
  "c8": "^7.11.0",
317
317
  "eslint-plugin-sort-destructure-keys": "^1.3.5",
@@ -1,5 +1,4 @@
1
1
  // @ts-check
2
- const events = require('events')
3
2
  const process = require('process')
4
3
  const { format } = require('util')
5
4
 
@@ -29,7 +28,6 @@ const {
29
28
  pollForToken,
30
29
  sortOptions,
31
30
  track,
32
- watchDebounced,
33
31
  } = require('../utils')
34
32
 
35
33
  // Netlify CLI client id. Lives in bot@netlify.com
@@ -121,11 +119,6 @@ class BaseCommand extends Command {
121
119
  await this.init(actionCommand)
122
120
  debug(`${name}:preAction`)('end')
123
121
  })
124
- .hook('postAction', async () => {
125
- if (this.configWatcherHandle) {
126
- await this.configWatcherHandle.close()
127
- }
128
- })
129
122
  )
130
123
  }
131
124
 
@@ -437,27 +430,10 @@ class BaseCommand extends Command {
437
430
  const globalConfig = await getGlobalConfig()
438
431
  const { NetlifyAPI } = await jsClient
439
432
 
440
- const configWatcher = new events.EventEmitter()
441
-
442
- // Only set up a watcher if we know the config path.
443
- if (configPath) {
444
- const configWatcherHandle = await watchDebounced(configPath, {
445
- depth: 1,
446
- onChange: async () => {
447
- const { config: newConfig } = await actionCommand.getConfig({ cwd, state, token, ...apiUrlOpts })
448
-
449
- const normalizedNewConfig = normalizeConfig(newConfig)
450
- configWatcher.emit('change', normalizedNewConfig)
451
- },
452
- })
453
-
454
- // chokidar handler
455
- this.configWatcherHandle = configWatcherHandle
456
- }
457
-
458
433
  actionCommand.netlify = {
459
434
  // api methods
460
435
  api: new NetlifyAPI(token || '', apiOpts),
436
+ apiOpts,
461
437
  repositoryRoot,
462
438
  // current site context
463
439
  site: {
@@ -480,8 +456,6 @@ class BaseCommand extends Command {
480
456
  globalConfig,
481
457
  // state of current site dir
482
458
  state,
483
- // netlify.toml file watcher
484
- configWatcher,
485
459
  }
486
460
  debug(`${this.name()}:init`)('end')
487
461
  }
@@ -1,6 +1,6 @@
1
1
  // @ts-check
2
2
  const { getBuildOptions, runBuild } = require('../../lib/build')
3
- const { error, exit, getToken } = require('../../utils')
3
+ const { error, exit, generateNetlifyGraphJWT, getToken } = require('../../utils')
4
4
 
5
5
  /**
6
6
  * @param {import('../../lib/build').BuildConfig} options
@@ -15,6 +15,32 @@ const checkOptions = ({ cachedConfig: { siteInfo = {} }, token }) => {
15
15
  }
16
16
  }
17
17
 
18
+ const injectNetlifyGraphEnv = async function (command, { api, buildOptions, site }) {
19
+ const siteData = await api.getSite({ siteId: site.id })
20
+ const authlifyTokenId = siteData && siteData.authlify_token_id
21
+
22
+ if (authlifyTokenId) {
23
+ const netlifyToken = await command.authenticate()
24
+ // Only inject the authlify config if a token ID exists. This prevents
25
+ // calling command.authenticate() (which opens a browser window) if the
26
+ // user hasn't enabled API Authentication
27
+ const netlifyGraphConfig = {
28
+ netlifyToken,
29
+ authlifyTokenId,
30
+ siteId: site.id,
31
+ }
32
+
33
+ const netlifyGraphJWT = generateNetlifyGraphJWT(netlifyGraphConfig)
34
+
35
+ if (netlifyGraphJWT != null) {
36
+ // XXX(anmonteiro): this name is deprecated. Delete after 3/31/2022
37
+ const varData = { sources: ['general'], value: netlifyGraphJWT }
38
+ buildOptions.cachedConfig.env.ONEGRAPH_AUTHLIFY_TOKEN = varData
39
+ buildOptions.cachedConfig.env.NETLIFY_GRAPH_TOKEN = varData
40
+ }
41
+ }
42
+ }
43
+
18
44
  /**
19
45
  * The build command
20
46
  * @param {import('commander').OptionValues} options
@@ -34,6 +60,8 @@ const build = async (options, command) => {
34
60
 
35
61
  if (!options.offline) {
36
62
  checkOptions(buildOptions)
63
+ const { api, site } = command.netlify
64
+ await injectNetlifyGraphEnv(command, { api, site, buildOptions })
37
65
  }
38
66
 
39
67
  const { exitCode } = await runBuild(buildOptions)
@@ -1,4 +1,5 @@
1
1
  // @ts-check
2
+ const events = require('events')
2
3
  const path = require('path')
3
4
  const process = require('process')
4
5
  const { promisify } = require('util')
@@ -35,13 +36,17 @@ const {
35
36
  exit,
36
37
  generateNetlifyGraphJWT,
37
38
  getSiteInformation,
39
+ getToken,
38
40
  injectEnvVariables,
39
41
  log,
42
+ normalizeConfig,
40
43
  openBrowser,
44
+ processOnExit,
41
45
  startForwardProxy,
42
46
  startLiveTunnel,
43
47
  startProxy,
44
48
  warn,
49
+ watchDebounced,
45
50
  } = require('../../utils')
46
51
 
47
52
  const { createDevExecCommand } = require('./dev-exec')
@@ -147,9 +152,7 @@ const runCommand = (command, env = {}) => {
147
152
 
148
153
  return await cleanupBeforeExit({ exitCode: 1 })
149
154
  })
150
- ;['SIGINT', 'SIGTERM', 'SIGQUIT', 'SIGHUP', 'exit'].forEach((signal) => {
151
- process.on(signal, async () => await cleanupBeforeExit({}))
152
- })
155
+ processOnExit(async () => await cleanupBeforeExit({}))
153
156
 
154
157
  return commandProcess
155
158
  }
@@ -417,9 +420,31 @@ const dev = async (options, command) => {
417
420
  return oneGraphSessionId
418
421
  }
419
422
 
420
- //
423
+ const configWatcher = new events.EventEmitter()
424
+
425
+ // Only set up a watcher if we know the config path.
426
+ const { configPath } = command.netlify.site
427
+ if (configPath) {
428
+ // chokidar handle
429
+ command.configWatcherHandle = await watchDebounced(configPath, {
430
+ depth: 1,
431
+ onChange: async () => {
432
+ const cwd = options.cwd || process.cwd()
433
+ const [token] = await getToken(options.auth)
434
+ const { config: newConfig } = await command.getConfig({ cwd, state, token, ...command.netlify.apiUrlOpts })
435
+
436
+ const normalizedNewConfig = normalizeConfig(newConfig)
437
+ configWatcher.emit('change', normalizedNewConfig)
438
+ },
439
+ })
440
+
441
+ processOnExit(async () => {
442
+ await command.configWatcherHandle.close()
443
+ })
444
+ }
445
+
421
446
  // Set up a handler for config changes.
422
- command.netlify.configWatcher.on('change', (newConfig) => {
447
+ configWatcher.on('change', (newConfig) => {
423
448
  command.netlify.config = newConfig
424
449
  stopWatchingCLISessions()
425
450
  createOrResumeSession()
@@ -486,8 +511,10 @@ const createDevCommand = (program) => {
486
511
  'netlify dev',
487
512
  'netlify dev -d public',
488
513
  'netlify dev -c "hugo server -w" --targetPort 1313',
514
+ 'netlify dev --graph',
489
515
  'BROWSER=none netlify dev # disable browser auto opening',
490
516
  ])
491
517
  .action(dev)
492
518
  }
519
+
493
520
  module.exports = { createDevCommand }
@@ -9,7 +9,7 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "stripe": "^8.203.0"
12
+ "stripe": "^8.205.0"
13
13
  }
14
14
  },
15
15
  "node_modules/@types/node": {
@@ -105,9 +105,9 @@
105
105
  }
106
106
  },
107
107
  "node_modules/stripe": {
108
- "version": "8.203.0",
109
- "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.203.0.tgz",
110
- "integrity": "sha512-7iQYttuOUe8BHDA7gM4nBEQKSNueT/XXVvukbJufwyp0kC/SiYKbjBZPIkCWfoWNcO6dT281uXTzkoSrl+sSOg==",
108
+ "version": "8.205.0",
109
+ "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.205.0.tgz",
110
+ "integrity": "sha512-hmYnc7je6j0n9GlkUpc8USsUquLzSxmWj78g9NKFokCtSybNy7y9fYS+VB5AuZUwmIkzhTczgf+TaSmI4kbk9A==",
111
111
  "dependencies": {
112
112
  "@types/node": ">=8.1.0",
113
113
  "qs": "^6.6.0"
@@ -184,9 +184,9 @@
184
184
  }
185
185
  },
186
186
  "stripe": {
187
- "version": "8.203.0",
188
- "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.203.0.tgz",
189
- "integrity": "sha512-7iQYttuOUe8BHDA7gM4nBEQKSNueT/XXVvukbJufwyp0kC/SiYKbjBZPIkCWfoWNcO6dT281uXTzkoSrl+sSOg==",
187
+ "version": "8.205.0",
188
+ "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.205.0.tgz",
189
+ "integrity": "sha512-hmYnc7je6j0n9GlkUpc8USsUquLzSxmWj78g9NKFokCtSybNy7y9fYS+VB5AuZUwmIkzhTczgf+TaSmI4kbk9A==",
190
190
  "requires": {
191
191
  "@types/node": ">=8.1.0",
192
192
  "qs": "^6.6.0"
@@ -9,7 +9,7 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "stripe": "^8.203.0"
12
+ "stripe": "^8.205.0"
13
13
  }
14
14
  },
15
15
  "node_modules/@types/node": {
@@ -105,9 +105,9 @@
105
105
  }
106
106
  },
107
107
  "node_modules/stripe": {
108
- "version": "8.203.0",
109
- "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.203.0.tgz",
110
- "integrity": "sha512-7iQYttuOUe8BHDA7gM4nBEQKSNueT/XXVvukbJufwyp0kC/SiYKbjBZPIkCWfoWNcO6dT281uXTzkoSrl+sSOg==",
108
+ "version": "8.205.0",
109
+ "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.205.0.tgz",
110
+ "integrity": "sha512-hmYnc7je6j0n9GlkUpc8USsUquLzSxmWj78g9NKFokCtSybNy7y9fYS+VB5AuZUwmIkzhTczgf+TaSmI4kbk9A==",
111
111
  "dependencies": {
112
112
  "@types/node": ">=8.1.0",
113
113
  "qs": "^6.6.0"
@@ -184,9 +184,9 @@
184
184
  }
185
185
  },
186
186
  "stripe": {
187
- "version": "8.203.0",
188
- "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.203.0.tgz",
189
- "integrity": "sha512-7iQYttuOUe8BHDA7gM4nBEQKSNueT/XXVvukbJufwyp0kC/SiYKbjBZPIkCWfoWNcO6dT281uXTzkoSrl+sSOg==",
187
+ "version": "8.205.0",
188
+ "resolved": "https://registry.npmjs.org/stripe/-/stripe-8.205.0.tgz",
189
+ "integrity": "sha512-hmYnc7je6j0n9GlkUpc8USsUquLzSxmWj78g9NKFokCtSybNy7y9fYS+VB5AuZUwmIkzhTczgf+TaSmI4kbk9A==",
190
190
  "requires": {
191
191
  "@types/node": ">=8.1.0",
192
192
  "qs": "^6.6.0"
@@ -63,7 +63,6 @@ const getFunctionZips = async ({
63
63
 
64
64
  const featureFlags = {
65
65
  zisi_detect_esm: true,
66
- zisi_pure_esm: true,
67
66
  }
68
67
 
69
68
  return await zipIt.zipFunctions(directories, tmpDir, { basePath: rootDir, config: functionsConfig, featureFlags })
package/src/utils/dev.js CHANGED
@@ -215,9 +215,17 @@ const generateNetlifyGraphJWT = ({ authlifyTokenId, netlifyToken, siteId }) => {
215
215
  )
216
216
  }
217
217
 
218
+ const processOnExit = (fn) => {
219
+ const signals = ['SIGINT', 'SIGTERM', 'SIGQUIT', 'SIGHUP', 'exit']
220
+ signals.forEach((signal) => {
221
+ process.on(signal, fn)
222
+ })
223
+ }
224
+
218
225
  module.exports = {
219
226
  getSiteInformation,
220
227
  injectEnvVariables,
221
228
  acquirePort,
222
229
  generateNetlifyGraphJWT,
230
+ processOnExit,
223
231
  }