netlify-cli 11.5.0 → 11.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "11.5.0",
3
+ "version": "11.7.0",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "11.5.0",
9
+ "version": "11.7.0",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@netlify/build": "^27.15.6",
14
- "@netlify/config": "^18.2.1",
15
- "@netlify/edge-bundler": "^1.13.0",
13
+ "@netlify/build": "^27.16.1",
14
+ "@netlify/config": "^18.2.3",
15
+ "@netlify/edge-bundler": "^1.14.1",
16
16
  "@netlify/framework-info": "^9.2.0",
17
17
  "@netlify/local-functions-proxy": "^1.1.1",
18
- "@netlify/plugins-list": "^6.40.0",
19
- "@netlify/zip-it-and-ship-it": "^5.13.5",
18
+ "@netlify/plugins-list": "^6.41.0",
19
+ "@netlify/zip-it-and-ship-it": "^6.0.0",
20
20
  "@octokit/rest": "^18.0.0",
21
21
  "@sindresorhus/slugify": "^1.1.0",
22
22
  "ansi-escapes": "^5.0.0",
@@ -83,7 +83,7 @@
83
83
  "netlify-headers-parser": "^6.0.2",
84
84
  "netlify-onegraph-internal": "0.10.0",
85
85
  "netlify-redirect-parser": "^13.0.5",
86
- "netlify-redirector": "^0.2.1",
86
+ "netlify-redirector": "^0.3.1",
87
87
  "node-fetch": "^2.6.0",
88
88
  "node-version-alias": "^1.0.1",
89
89
  "omit.js": "^2.0.2",
@@ -1189,19 +1189,19 @@
1189
1189
  "integrity": "sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw=="
1190
1190
  },
1191
1191
  "node_modules/@netlify/build": {
1192
- "version": "27.15.6",
1193
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-27.15.6.tgz",
1194
- "integrity": "sha512-ZSah6LDAG0KwWiTUfVfL/kBie7qsUj4cMSl0D7dbTBWSRpGx8MgYjlJHP3U2PgXAgmLcc4NOciGIZD/zL4yJCA==",
1192
+ "version": "27.16.1",
1193
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-27.16.1.tgz",
1194
+ "integrity": "sha512-hXOivv/zCd/xPSL7XaqHvnn6GpXUSkztis9QfawLa39W6X01gDj2bXfQBW+cPxTT6S/UaGz70rwthPW9431pOQ==",
1195
1195
  "dependencies": {
1196
1196
  "@bugsnag/js": "^7.0.0",
1197
1197
  "@netlify/cache-utils": "^4.0.0",
1198
- "@netlify/config": "^18.2.2",
1199
- "@netlify/edge-bundler": "^1.13.0",
1200
- "@netlify/functions-utils": "^4.2.4",
1198
+ "@netlify/config": "^18.2.3",
1199
+ "@netlify/edge-bundler": "^1.14.1",
1200
+ "@netlify/functions-utils": "^4.2.5",
1201
1201
  "@netlify/git-utils": "^4.0.0",
1202
- "@netlify/plugins-list": "^6.36.0",
1202
+ "@netlify/plugins-list": "^6.41.0",
1203
1203
  "@netlify/run-utils": "^4.0.0",
1204
- "@netlify/zip-it-and-ship-it": "^5.13.5",
1204
+ "@netlify/zip-it-and-ship-it": "^6.0.0",
1205
1205
  "@sindresorhus/slugify": "^2.0.0",
1206
1206
  "@types/node": "^16.0.0",
1207
1207
  "ajv": "^8.11.0",
@@ -1806,9 +1806,9 @@
1806
1806
  }
1807
1807
  },
1808
1808
  "node_modules/@netlify/build/node_modules/read-pkg-up/node_modules/type-fest": {
1809
- "version": "2.18.1",
1810
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.18.1.tgz",
1811
- "integrity": "sha512-UKCINsd4qiATXD6OIlnQw9t1ux/n2ld+Nl0kzPbCONhCaUIS/BhJbNw14w6584HCQWf3frBK8vmWnGZq/sbPHQ==",
1809
+ "version": "2.19.0",
1810
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz",
1811
+ "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==",
1812
1812
  "engines": {
1813
1813
  "node": ">=12.20"
1814
1814
  },
@@ -1817,9 +1817,9 @@
1817
1817
  }
1818
1818
  },
1819
1819
  "node_modules/@netlify/build/node_modules/read-pkg/node_modules/type-fest": {
1820
- "version": "2.18.1",
1821
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.18.1.tgz",
1822
- "integrity": "sha512-UKCINsd4qiATXD6OIlnQw9t1ux/n2ld+Nl0kzPbCONhCaUIS/BhJbNw14w6584HCQWf3frBK8vmWnGZq/sbPHQ==",
1820
+ "version": "2.19.0",
1821
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz",
1822
+ "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==",
1823
1823
  "engines": {
1824
1824
  "node": ">=12.20"
1825
1825
  },
@@ -2011,9 +2011,9 @@
2011
2011
  }
2012
2012
  },
2013
2013
  "node_modules/@netlify/config": {
2014
- "version": "18.2.2",
2015
- "resolved": "https://registry.npmjs.org/@netlify/config/-/config-18.2.2.tgz",
2016
- "integrity": "sha512-VgtbLwjjkh6vRIejAuXY8DIvNvXia8ta1Bphkb33Dr3VbGITvZ0avRcnC0BANpKZCBb6jsaubyMwg7V6IzDkPw==",
2014
+ "version": "18.2.3",
2015
+ "resolved": "https://registry.npmjs.org/@netlify/config/-/config-18.2.3.tgz",
2016
+ "integrity": "sha512-z5pFAAVBfIvTsSv3lchfByWYNajPgiCKEbx3JkU/CtIljCtSR3f0B/GVqpHgCOJ9pfS0idVP60EhDHA2QLeUrg==",
2017
2017
  "dependencies": {
2018
2018
  "chalk": "^5.0.0",
2019
2019
  "cron-parser": "^4.1.0",
@@ -2028,7 +2028,7 @@
2028
2028
  "is-plain-obj": "^4.0.0",
2029
2029
  "js-yaml": "^4.0.0",
2030
2030
  "map-obj": "^5.0.0",
2031
- "netlify": "^12.0.0",
2031
+ "netlify": "^12.0.1",
2032
2032
  "netlify-headers-parser": "^6.0.2",
2033
2033
  "netlify-redirect-parser": "13.0.5",
2034
2034
  "omit.js": "^2.0.2",
@@ -2321,9 +2321,9 @@
2321
2321
  }
2322
2322
  },
2323
2323
  "node_modules/@netlify/config/node_modules/type-fest": {
2324
- "version": "2.18.1",
2325
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.18.1.tgz",
2326
- "integrity": "sha512-UKCINsd4qiATXD6OIlnQw9t1ux/n2ld+Nl0kzPbCONhCaUIS/BhJbNw14w6584HCQWf3frBK8vmWnGZq/sbPHQ==",
2324
+ "version": "2.19.0",
2325
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz",
2326
+ "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==",
2327
2327
  "engines": {
2328
2328
  "node": ">=12.20"
2329
2329
  },
@@ -2343,9 +2343,9 @@
2343
2343
  }
2344
2344
  },
2345
2345
  "node_modules/@netlify/edge-bundler": {
2346
- "version": "1.13.0",
2347
- "resolved": "https://registry.npmjs.org/@netlify/edge-bundler/-/edge-bundler-1.13.0.tgz",
2348
- "integrity": "sha512-5LDNouZP2tUt3m6NyKkEgor9PycIEq7wxUgrRSpiUcZVV7CNU/CUxxpXJb11/wEFq2bWZp3/xqzxqbR7vpqFNg==",
2346
+ "version": "1.14.1",
2347
+ "resolved": "https://registry.npmjs.org/@netlify/edge-bundler/-/edge-bundler-1.14.1.tgz",
2348
+ "integrity": "sha512-0FJSvK5kZlf093aaWyvcULRzeUImypHn63oVsC+t8xvR08bhA9LebrYHPgQ/0GhFA8yDY+tz25xrNJ6JKKDWEw==",
2349
2349
  "dependencies": {
2350
2350
  "common-path-prefix": "^3.0.0",
2351
2351
  "del": "^6.0.0",
@@ -3243,11 +3243,11 @@
3243
3243
  }
3244
3244
  },
3245
3245
  "node_modules/@netlify/functions-utils": {
3246
- "version": "4.2.4",
3247
- "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-4.2.4.tgz",
3248
- "integrity": "sha512-+Uw9qO6lIshJrcieriAluGhjFM8JsyNFe5TGxkTssfUeel/+RIrIG5RMslrBoEk8HUKL+4HQDbZRoI6DtWlwsw==",
3246
+ "version": "4.2.5",
3247
+ "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-4.2.5.tgz",
3248
+ "integrity": "sha512-sa8TAD35xO/6q3YSpqlObOSfC25n0JT6DV+j3WaZ5NCSXAdlZJD+pT02pudputwstfMPJtw7GJg3buIiTyGulQ==",
3249
3249
  "dependencies": {
3250
- "@netlify/zip-it-and-ship-it": "^5.13.5",
3250
+ "@netlify/zip-it-and-ship-it": "^6.0.0",
3251
3251
  "cpy": "^8.1.0",
3252
3252
  "path-exists": "^5.0.0"
3253
3253
  },
@@ -3593,9 +3593,9 @@
3593
3593
  "integrity": "sha512-1n9VvO/9qM7cRB5f7NgSNqeUrovM7j9WVAY7ZQ4LtQuXSquFmO9Fku7WrV3zAUC6v2Y62fxGyJ0fRllYz5uXLw=="
3594
3594
  },
3595
3595
  "node_modules/@netlify/plugins-list": {
3596
- "version": "6.40.0",
3597
- "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.40.0.tgz",
3598
- "integrity": "sha512-VDYHEVS/r3eEylUNVwwF0scyV8ISMfxbz6MMl7TEpgArXOS+lYhObNAukrWcUR7aa0zf9C3jwy67zROh0M+ZdQ==",
3596
+ "version": "6.41.0",
3597
+ "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.41.0.tgz",
3598
+ "integrity": "sha512-WUXn1kk1oDumzYKQVAf3Z5xQkVuHyR6k+LGt2qq6rFlxILmFA3gWMSf+AwVfT2bYK8gHWcdz2I9MSo5hbp1ohQ==",
3599
3599
  "engines": {
3600
3600
  "node": "^12.20.0 || ^14.14.0 || >=16.0.0"
3601
3601
  }
@@ -3703,9 +3703,9 @@
3703
3703
  }
3704
3704
  },
3705
3705
  "node_modules/@netlify/zip-it-and-ship-it": {
3706
- "version": "5.13.5",
3707
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.13.5.tgz",
3708
- "integrity": "sha512-oVXGtGwUQqEDBRApwKgqfauuzD+FhyxKGcwERF2fZLOiH24NoBcskaNDW6TCJmBj3hKiVCgmp69hapvjMVibFQ==",
3706
+ "version": "6.0.0",
3707
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-6.0.0.tgz",
3708
+ "integrity": "sha512-5nxAeUwQ6ftlnlRShRa7oY+RPiYBRH2qMmTR6RwsBYzUBUzoTgdb+X8tOnO4FFAKndXzzjJrO/ubp+YMeOKSbg==",
3709
3709
  "dependencies": {
3710
3710
  "@babel/parser": "7.16.8",
3711
3711
  "@netlify/binary-info": "^1.0.0",
@@ -3722,6 +3722,7 @@
3722
3722
  "find-up": "^5.0.0",
3723
3723
  "glob": "^8.0.3",
3724
3724
  "is-builtin-module": "^3.1.0",
3725
+ "is-path-inside": "^3.0.3",
3725
3726
  "junk": "^3.1.0",
3726
3727
  "locate-path": "^6.0.0",
3727
3728
  "merge-options": "^3.0.4",
@@ -4727,9 +4728,9 @@
4727
4728
  }
4728
4729
  },
4729
4730
  "node_modules/@verdaccio/ui-theme": {
4730
- "version": "6.0.0-6-next.25",
4731
- "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.25.tgz",
4732
- "integrity": "sha512-zN+72MBsRLzpAzH7NWLQlWEM3k+L+k2Mt08foySELQtN+a2UFHlqkJWDnX7mQNcOiml8eV+ukPUt7wQNn+ziXw==",
4731
+ "version": "6.0.0-6-next.28",
4732
+ "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.28.tgz",
4733
+ "integrity": "sha512-1sJ28aVGMiRJrSz0e8f4t+IUgt/cyYmuDLhogXHOEjEIIEcfMNyQ5bVYqq03wLVoKWEh5D6gHo1hQnVKQl1L5g==",
4733
4734
  "dev": true
4734
4735
  },
4735
4736
  "node_modules/abab": {
@@ -5486,9 +5487,9 @@
5486
5487
  }
5487
5488
  },
5488
5489
  "node_modules/ava": {
5489
- "version": "4.3.1",
5490
- "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.1.tgz",
5491
- "integrity": "sha512-zdSp9QxRTmN5hJeGmg+ZjUKL5yHFLMcP/0KBla8GH25XD8Xm7Uc34CDFlwqGL6JXtjNbVkJ0Zw+DqcTf4ggCCA==",
5490
+ "version": "4.3.3",
5491
+ "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.3.tgz",
5492
+ "integrity": "sha512-9Egq/d9R74ExrWohHeqUlexjDbgZJX5jA1Wq4KCTqc3wIfpGEK79zVy4rBtofJ9YKIxs4PzhJ8BgbW5PlAYe6w==",
5492
5493
  "dev": true,
5493
5494
  "dependencies": {
5494
5495
  "acorn": "^8.7.1",
@@ -8281,9 +8282,9 @@
8281
8282
  }
8282
8283
  },
8283
8284
  "node_modules/dayjs": {
8284
- "version": "1.11.3",
8285
- "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.3.tgz",
8286
- "integrity": "sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A==",
8285
+ "version": "1.11.5",
8286
+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.5.tgz",
8287
+ "integrity": "sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA==",
8287
8288
  "dev": true
8288
8289
  },
8289
8290
  "node_modules/debug": {
@@ -9102,9 +9103,9 @@
9102
9103
  }
9103
9104
  },
9104
9105
  "node_modules/dotenv": {
9105
- "version": "16.0.1",
9106
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz",
9107
- "integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ==",
9106
+ "version": "16.0.2",
9107
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.2.tgz",
9108
+ "integrity": "sha512-JvpYKUmzQhYoIFgK2MOnF3bciIZoItIIoryihy0rIA+H4Jy0FmgyKYAHCTN98P5ybGSJcIFbh6QKeJdtZd1qhA==",
9108
9109
  "engines": {
9109
9110
  "node": ">=12"
9110
9111
  }
@@ -16018,9 +16019,9 @@
16018
16019
  }
16019
16020
  },
16020
16021
  "node_modules/netlify-redirector": {
16021
- "version": "0.2.1",
16022
- "resolved": "https://registry.npmjs.org/netlify-redirector/-/netlify-redirector-0.2.1.tgz",
16023
- "integrity": "sha512-17vDR9p1Loanp+vd57y+b6WlKb5X+qb0LZ44oTYsKJbdonz4Md+Ybv1lzH1w1aKm5YWWXHR8LMpWyY9bjlAJKw=="
16022
+ "version": "0.3.1",
16023
+ "resolved": "https://registry.npmjs.org/netlify-redirector/-/netlify-redirector-0.3.1.tgz",
16024
+ "integrity": "sha512-+8x07Ukx8vgKkGqTDq1GrkuCRR0DqheZ9fF5PXk6VbIChp9Qi8+psmwBV3hjocoyUvUGH7CIHLUk05aVwLN3wA=="
16024
16025
  },
16025
16026
  "node_modules/netlify/node_modules/node-fetch": {
16026
16027
  "version": "3.2.10",
@@ -21495,9 +21496,9 @@
21495
21496
  }
21496
21497
  },
21497
21498
  "node_modules/typescript": {
21498
- "version": "4.7.4",
21499
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
21500
- "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
21499
+ "version": "4.8.2",
21500
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz",
21501
+ "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==",
21501
21502
  "bin": {
21502
21503
  "tsc": "bin/tsc",
21503
21504
  "tsserver": "bin/tsserver"
@@ -21911,23 +21912,23 @@
21911
21912
  }
21912
21913
  },
21913
21914
  "node_modules/verdaccio": {
21914
- "version": "5.14.0",
21915
- "resolved": "https://registry.npmjs.org/verdaccio/-/verdaccio-5.14.0.tgz",
21916
- "integrity": "sha512-++YTBxeUvBcsZb3e77x2lH+bdg5xrETi7h+5xtd2KPHrcW+MlpwCWDcwyHdCVZ7LhOgkzSSJD9L/0i1BkbwB8Q==",
21915
+ "version": "5.15.3",
21916
+ "resolved": "https://registry.npmjs.org/verdaccio/-/verdaccio-5.15.3.tgz",
21917
+ "integrity": "sha512-8oEtepXF1oksGVYahi2HS1Yx9u6HD/4ukBDNDfwISmlNp7HVKJL2+kjzmDJWam88BpDNxOBU/LFXWSsEAFKFCQ==",
21917
21918
  "dev": true,
21918
21919
  "dependencies": {
21919
21920
  "@verdaccio/commons-api": "10.2.0",
21920
21921
  "@verdaccio/local-storage": "10.3.1",
21921
21922
  "@verdaccio/readme": "10.4.1",
21922
21923
  "@verdaccio/streams": "10.2.0",
21923
- "@verdaccio/ui-theme": "6.0.0-6-next.25",
21924
+ "@verdaccio/ui-theme": "6.0.0-6-next.28",
21924
21925
  "async": "3.2.4",
21925
21926
  "body-parser": "1.20.0",
21926
21927
  "clipanion": "3.1.0",
21927
21928
  "compression": "1.7.4",
21928
21929
  "cookies": "0.8.0",
21929
21930
  "cors": "2.8.5",
21930
- "dayjs": "1.11.3",
21931
+ "dayjs": "1.11.5",
21931
21932
  "debug": "^4.3.3",
21932
21933
  "envinfo": "7.8.1",
21933
21934
  "eslint-import-resolver-node": "0.3.6",
@@ -21941,9 +21942,9 @@
21941
21942
  "jsonwebtoken": "8.5.1",
21942
21943
  "kleur": "4.1.5",
21943
21944
  "lodash": "4.17.21",
21944
- "lru-cache": "7.13.1",
21945
+ "lru-cache": "7.14.0",
21945
21946
  "lunr-mutable-indexes": "2.3.2",
21946
- "marked": "4.0.18",
21947
+ "marked": "4.1.0",
21947
21948
  "memoizee": "0.4.15",
21948
21949
  "mime": "3.0.0",
21949
21950
  "minimatch": "5.1.0",
@@ -22070,14 +22071,26 @@
22070
22071
  }
22071
22072
  },
22072
22073
  "node_modules/verdaccio/node_modules/lru-cache": {
22073
- "version": "7.13.1",
22074
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.13.1.tgz",
22075
- "integrity": "sha512-CHqbAq7NFlW3RSnoWXLJBxCWaZVBrfa9UEHId2M3AW8iEBurbqduNexEUCGc3SHc6iCYXNJCDi903LajSVAEPQ==",
22074
+ "version": "7.14.0",
22075
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.0.tgz",
22076
+ "integrity": "sha512-EIRtP1GrSJny0dqb50QXRUNBxHJhcpxHC++M5tD7RYbvLLn5KVWKsbyswSSqDuU15UFi3bgTQIY8nhDMeF6aDQ==",
22076
22077
  "dev": true,
22077
22078
  "engines": {
22078
22079
  "node": ">=12"
22079
22080
  }
22080
22081
  },
22082
+ "node_modules/verdaccio/node_modules/marked": {
22083
+ "version": "4.1.0",
22084
+ "resolved": "https://registry.npmjs.org/marked/-/marked-4.1.0.tgz",
22085
+ "integrity": "sha512-+Z6KDjSPa6/723PQYyc1axYZpYYpDnECDaU6hkaf5gqBieBkMKYReL5hteF2QizhlMbgbo8umXl/clZ67+GlsA==",
22086
+ "dev": true,
22087
+ "bin": {
22088
+ "marked": "bin/marked.js"
22089
+ },
22090
+ "engines": {
22091
+ "node": ">= 12"
22092
+ }
22093
+ },
22081
22094
  "node_modules/verdaccio/node_modules/mime": {
22082
22095
  "version": "3.0.0",
22083
22096
  "resolved": "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz",
@@ -23374,19 +23387,19 @@
23374
23387
  "integrity": "sha512-4wMPu9iN3/HL97QblBsBay3E1etIciR84izI3U+4iALY+JHCrI+a2jO0qbAZ/nxKoegypYEaiiqWXylm+/zfrw=="
23375
23388
  },
23376
23389
  "@netlify/build": {
23377
- "version": "27.15.6",
23378
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-27.15.6.tgz",
23379
- "integrity": "sha512-ZSah6LDAG0KwWiTUfVfL/kBie7qsUj4cMSl0D7dbTBWSRpGx8MgYjlJHP3U2PgXAgmLcc4NOciGIZD/zL4yJCA==",
23390
+ "version": "27.16.1",
23391
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-27.16.1.tgz",
23392
+ "integrity": "sha512-hXOivv/zCd/xPSL7XaqHvnn6GpXUSkztis9QfawLa39W6X01gDj2bXfQBW+cPxTT6S/UaGz70rwthPW9431pOQ==",
23380
23393
  "requires": {
23381
23394
  "@bugsnag/js": "^7.0.0",
23382
23395
  "@netlify/cache-utils": "^4.0.0",
23383
- "@netlify/config": "^18.2.2",
23384
- "@netlify/edge-bundler": "^1.13.0",
23385
- "@netlify/functions-utils": "^4.2.4",
23396
+ "@netlify/config": "^18.2.3",
23397
+ "@netlify/edge-bundler": "^1.14.1",
23398
+ "@netlify/functions-utils": "^4.2.5",
23386
23399
  "@netlify/git-utils": "^4.0.0",
23387
- "@netlify/plugins-list": "^6.36.0",
23400
+ "@netlify/plugins-list": "^6.41.0",
23388
23401
  "@netlify/run-utils": "^4.0.0",
23389
- "@netlify/zip-it-and-ship-it": "^5.13.5",
23402
+ "@netlify/zip-it-and-ship-it": "^6.0.0",
23390
23403
  "@sindresorhus/slugify": "^2.0.0",
23391
23404
  "@types/node": "^16.0.0",
23392
23405
  "ajv": "^8.11.0",
@@ -23752,9 +23765,9 @@
23752
23765
  },
23753
23766
  "dependencies": {
23754
23767
  "type-fest": {
23755
- "version": "2.18.1",
23756
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.18.1.tgz",
23757
- "integrity": "sha512-UKCINsd4qiATXD6OIlnQw9t1ux/n2ld+Nl0kzPbCONhCaUIS/BhJbNw14w6584HCQWf3frBK8vmWnGZq/sbPHQ=="
23768
+ "version": "2.19.0",
23769
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz",
23770
+ "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA=="
23758
23771
  }
23759
23772
  }
23760
23773
  },
@@ -23769,9 +23782,9 @@
23769
23782
  },
23770
23783
  "dependencies": {
23771
23784
  "type-fest": {
23772
- "version": "2.18.1",
23773
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.18.1.tgz",
23774
- "integrity": "sha512-UKCINsd4qiATXD6OIlnQw9t1ux/n2ld+Nl0kzPbCONhCaUIS/BhJbNw14w6584HCQWf3frBK8vmWnGZq/sbPHQ=="
23785
+ "version": "2.19.0",
23786
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz",
23787
+ "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA=="
23775
23788
  }
23776
23789
  }
23777
23790
  },
@@ -23885,9 +23898,9 @@
23885
23898
  }
23886
23899
  },
23887
23900
  "@netlify/config": {
23888
- "version": "18.2.2",
23889
- "resolved": "https://registry.npmjs.org/@netlify/config/-/config-18.2.2.tgz",
23890
- "integrity": "sha512-VgtbLwjjkh6vRIejAuXY8DIvNvXia8ta1Bphkb33Dr3VbGITvZ0avRcnC0BANpKZCBb6jsaubyMwg7V6IzDkPw==",
23901
+ "version": "18.2.3",
23902
+ "resolved": "https://registry.npmjs.org/@netlify/config/-/config-18.2.3.tgz",
23903
+ "integrity": "sha512-z5pFAAVBfIvTsSv3lchfByWYNajPgiCKEbx3JkU/CtIljCtSR3f0B/GVqpHgCOJ9pfS0idVP60EhDHA2QLeUrg==",
23891
23904
  "requires": {
23892
23905
  "chalk": "^5.0.0",
23893
23906
  "cron-parser": "^4.1.0",
@@ -23902,7 +23915,7 @@
23902
23915
  "is-plain-obj": "^4.0.0",
23903
23916
  "js-yaml": "^4.0.0",
23904
23917
  "map-obj": "^5.0.0",
23905
- "netlify": "^12.0.0",
23918
+ "netlify": "^12.0.1",
23906
23919
  "netlify-headers-parser": "^6.0.2",
23907
23920
  "netlify-redirect-parser": "13.0.5",
23908
23921
  "omit.js": "^2.0.2",
@@ -24063,9 +24076,9 @@
24063
24076
  "integrity": "sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw=="
24064
24077
  },
24065
24078
  "type-fest": {
24066
- "version": "2.18.1",
24067
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.18.1.tgz",
24068
- "integrity": "sha512-UKCINsd4qiATXD6OIlnQw9t1ux/n2ld+Nl0kzPbCONhCaUIS/BhJbNw14w6584HCQWf3frBK8vmWnGZq/sbPHQ=="
24079
+ "version": "2.19.0",
24080
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-2.19.0.tgz",
24081
+ "integrity": "sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA=="
24069
24082
  },
24070
24083
  "yocto-queue": {
24071
24084
  "version": "1.0.0",
@@ -24075,9 +24088,9 @@
24075
24088
  }
24076
24089
  },
24077
24090
  "@netlify/edge-bundler": {
24078
- "version": "1.13.0",
24079
- "resolved": "https://registry.npmjs.org/@netlify/edge-bundler/-/edge-bundler-1.13.0.tgz",
24080
- "integrity": "sha512-5LDNouZP2tUt3m6NyKkEgor9PycIEq7wxUgrRSpiUcZVV7CNU/CUxxpXJb11/wEFq2bWZp3/xqzxqbR7vpqFNg==",
24091
+ "version": "1.14.1",
24092
+ "resolved": "https://registry.npmjs.org/@netlify/edge-bundler/-/edge-bundler-1.14.1.tgz",
24093
+ "integrity": "sha512-0FJSvK5kZlf093aaWyvcULRzeUImypHn63oVsC+t8xvR08bhA9LebrYHPgQ/0GhFA8yDY+tz25xrNJ6JKKDWEw==",
24081
24094
  "requires": {
24082
24095
  "common-path-prefix": "^3.0.0",
24083
24096
  "del": "^6.0.0",
@@ -24577,11 +24590,11 @@
24577
24590
  }
24578
24591
  },
24579
24592
  "@netlify/functions-utils": {
24580
- "version": "4.2.4",
24581
- "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-4.2.4.tgz",
24582
- "integrity": "sha512-+Uw9qO6lIshJrcieriAluGhjFM8JsyNFe5TGxkTssfUeel/+RIrIG5RMslrBoEk8HUKL+4HQDbZRoI6DtWlwsw==",
24593
+ "version": "4.2.5",
24594
+ "resolved": "https://registry.npmjs.org/@netlify/functions-utils/-/functions-utils-4.2.5.tgz",
24595
+ "integrity": "sha512-sa8TAD35xO/6q3YSpqlObOSfC25n0JT6DV+j3WaZ5NCSXAdlZJD+pT02pudputwstfMPJtw7GJg3buIiTyGulQ==",
24583
24596
  "requires": {
24584
- "@netlify/zip-it-and-ship-it": "^5.13.5",
24597
+ "@netlify/zip-it-and-ship-it": "^6.0.0",
24585
24598
  "cpy": "^8.1.0",
24586
24599
  "path-exists": "^5.0.0"
24587
24600
  },
@@ -24766,9 +24779,9 @@
24766
24779
  "integrity": "sha512-1n9VvO/9qM7cRB5f7NgSNqeUrovM7j9WVAY7ZQ4LtQuXSquFmO9Fku7WrV3zAUC6v2Y62fxGyJ0fRllYz5uXLw=="
24767
24780
  },
24768
24781
  "@netlify/plugins-list": {
24769
- "version": "6.40.0",
24770
- "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.40.0.tgz",
24771
- "integrity": "sha512-VDYHEVS/r3eEylUNVwwF0scyV8ISMfxbz6MMl7TEpgArXOS+lYhObNAukrWcUR7aa0zf9C3jwy67zROh0M+ZdQ=="
24782
+ "version": "6.41.0",
24783
+ "resolved": "https://registry.npmjs.org/@netlify/plugins-list/-/plugins-list-6.41.0.tgz",
24784
+ "integrity": "sha512-WUXn1kk1oDumzYKQVAf3Z5xQkVuHyR6k+LGt2qq6rFlxILmFA3gWMSf+AwVfT2bYK8gHWcdz2I9MSo5hbp1ohQ=="
24772
24785
  },
24773
24786
  "@netlify/run-utils": {
24774
24787
  "version": "4.0.1",
@@ -24833,9 +24846,9 @@
24833
24846
  }
24834
24847
  },
24835
24848
  "@netlify/zip-it-and-ship-it": {
24836
- "version": "5.13.5",
24837
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.13.5.tgz",
24838
- "integrity": "sha512-oVXGtGwUQqEDBRApwKgqfauuzD+FhyxKGcwERF2fZLOiH24NoBcskaNDW6TCJmBj3hKiVCgmp69hapvjMVibFQ==",
24849
+ "version": "6.0.0",
24850
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-6.0.0.tgz",
24851
+ "integrity": "sha512-5nxAeUwQ6ftlnlRShRa7oY+RPiYBRH2qMmTR6RwsBYzUBUzoTgdb+X8tOnO4FFAKndXzzjJrO/ubp+YMeOKSbg==",
24839
24852
  "requires": {
24840
24853
  "@babel/parser": "7.16.8",
24841
24854
  "@netlify/binary-info": "^1.0.0",
@@ -24852,6 +24865,7 @@
24852
24865
  "find-up": "^5.0.0",
24853
24866
  "glob": "^8.0.3",
24854
24867
  "is-builtin-module": "^3.1.0",
24868
+ "is-path-inside": "^3.0.3",
24855
24869
  "junk": "^3.1.0",
24856
24870
  "locate-path": "^6.0.0",
24857
24871
  "merge-options": "^3.0.4",
@@ -25646,9 +25660,9 @@
25646
25660
  "dev": true
25647
25661
  },
25648
25662
  "@verdaccio/ui-theme": {
25649
- "version": "6.0.0-6-next.25",
25650
- "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.25.tgz",
25651
- "integrity": "sha512-zN+72MBsRLzpAzH7NWLQlWEM3k+L+k2Mt08foySELQtN+a2UFHlqkJWDnX7mQNcOiml8eV+ukPUt7wQNn+ziXw==",
25663
+ "version": "6.0.0-6-next.28",
25664
+ "resolved": "https://registry.npmjs.org/@verdaccio/ui-theme/-/ui-theme-6.0.0-6-next.28.tgz",
25665
+ "integrity": "sha512-1sJ28aVGMiRJrSz0e8f4t+IUgt/cyYmuDLhogXHOEjEIIEcfMNyQ5bVYqq03wLVoKWEh5D6gHo1hQnVKQl1L5g==",
25652
25666
  "dev": true
25653
25667
  },
25654
25668
  "abab": {
@@ -26232,9 +26246,9 @@
26232
26246
  "dev": true
26233
26247
  },
26234
26248
  "ava": {
26235
- "version": "4.3.1",
26236
- "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.1.tgz",
26237
- "integrity": "sha512-zdSp9QxRTmN5hJeGmg+ZjUKL5yHFLMcP/0KBla8GH25XD8Xm7Uc34CDFlwqGL6JXtjNbVkJ0Zw+DqcTf4ggCCA==",
26249
+ "version": "4.3.3",
26250
+ "resolved": "https://registry.npmjs.org/ava/-/ava-4.3.3.tgz",
26251
+ "integrity": "sha512-9Egq/d9R74ExrWohHeqUlexjDbgZJX5jA1Wq4KCTqc3wIfpGEK79zVy4rBtofJ9YKIxs4PzhJ8BgbW5PlAYe6w==",
26238
26252
  "dev": true,
26239
26253
  "requires": {
26240
26254
  "acorn": "^8.7.1",
@@ -28386,9 +28400,9 @@
28386
28400
  }
28387
28401
  },
28388
28402
  "dayjs": {
28389
- "version": "1.11.3",
28390
- "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.3.tgz",
28391
- "integrity": "sha512-xxwlswWOlGhzgQ4TKzASQkUhqERI3egRNqgV4ScR8wlANA/A9tZ7miXa44vTTKEq5l7vWoL5G57bG3zA+Kow0A==",
28403
+ "version": "1.11.5",
28404
+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.5.tgz",
28405
+ "integrity": "sha512-CAdX5Q3YW3Gclyo5Vpqkgpj8fSdLQcRuzfX6mC6Phy0nfJ0eGYOeS7m4mt2plDWLAtA4TqTakvbboHvUxfe4iA==",
28392
28406
  "dev": true
28393
28407
  },
28394
28408
  "debug": {
@@ -29023,9 +29037,9 @@
29023
29037
  }
29024
29038
  },
29025
29039
  "dotenv": {
29026
- "version": "16.0.1",
29027
- "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.1.tgz",
29028
- "integrity": "sha512-1K6hR6wtk2FviQ4kEiSjFiH5rpzEVi8WW0x96aztHVMhEspNpc4DVOUTEHtEva5VThQ8IaBX1Pe4gSzpVVUsKQ=="
29040
+ "version": "16.0.2",
29041
+ "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-16.0.2.tgz",
29042
+ "integrity": "sha512-JvpYKUmzQhYoIFgK2MOnF3bciIZoItIIoryihy0rIA+H4Jy0FmgyKYAHCTN98P5ybGSJcIFbh6QKeJdtZd1qhA=="
29029
29043
  },
29030
29044
  "download": {
29031
29045
  "version": "8.0.0",
@@ -34232,9 +34246,9 @@
34232
34246
  }
34233
34247
  },
34234
34248
  "netlify-redirector": {
34235
- "version": "0.2.1",
34236
- "resolved": "https://registry.npmjs.org/netlify-redirector/-/netlify-redirector-0.2.1.tgz",
34237
- "integrity": "sha512-17vDR9p1Loanp+vd57y+b6WlKb5X+qb0LZ44oTYsKJbdonz4Md+Ybv1lzH1w1aKm5YWWXHR8LMpWyY9bjlAJKw=="
34249
+ "version": "0.3.1",
34250
+ "resolved": "https://registry.npmjs.org/netlify-redirector/-/netlify-redirector-0.3.1.tgz",
34251
+ "integrity": "sha512-+8x07Ukx8vgKkGqTDq1GrkuCRR0DqheZ9fF5PXk6VbIChp9Qi8+psmwBV3hjocoyUvUGH7CIHLUk05aVwLN3wA=="
34238
34252
  },
34239
34253
  "next-tick": {
34240
34254
  "version": "1.1.0",
@@ -38404,9 +38418,9 @@
38404
38418
  }
38405
38419
  },
38406
38420
  "typescript": {
38407
- "version": "4.7.4",
38408
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
38409
- "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ=="
38421
+ "version": "4.8.2",
38422
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz",
38423
+ "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw=="
38410
38424
  },
38411
38425
  "uglify-js": {
38412
38426
  "version": "3.15.0",
@@ -38740,23 +38754,23 @@
38740
38754
  "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
38741
38755
  },
38742
38756
  "verdaccio": {
38743
- "version": "5.14.0",
38744
- "resolved": "https://registry.npmjs.org/verdaccio/-/verdaccio-5.14.0.tgz",
38745
- "integrity": "sha512-++YTBxeUvBcsZb3e77x2lH+bdg5xrETi7h+5xtd2KPHrcW+MlpwCWDcwyHdCVZ7LhOgkzSSJD9L/0i1BkbwB8Q==",
38757
+ "version": "5.15.3",
38758
+ "resolved": "https://registry.npmjs.org/verdaccio/-/verdaccio-5.15.3.tgz",
38759
+ "integrity": "sha512-8oEtepXF1oksGVYahi2HS1Yx9u6HD/4ukBDNDfwISmlNp7HVKJL2+kjzmDJWam88BpDNxOBU/LFXWSsEAFKFCQ==",
38746
38760
  "dev": true,
38747
38761
  "requires": {
38748
38762
  "@verdaccio/commons-api": "10.2.0",
38749
38763
  "@verdaccio/local-storage": "10.3.1",
38750
38764
  "@verdaccio/readme": "10.4.1",
38751
38765
  "@verdaccio/streams": "10.2.0",
38752
- "@verdaccio/ui-theme": "6.0.0-6-next.25",
38766
+ "@verdaccio/ui-theme": "6.0.0-6-next.28",
38753
38767
  "async": "3.2.4",
38754
38768
  "body-parser": "1.20.0",
38755
38769
  "clipanion": "3.1.0",
38756
38770
  "compression": "1.7.4",
38757
38771
  "cookies": "0.8.0",
38758
38772
  "cors": "2.8.5",
38759
- "dayjs": "1.11.3",
38773
+ "dayjs": "1.11.5",
38760
38774
  "debug": "^4.3.3",
38761
38775
  "envinfo": "7.8.1",
38762
38776
  "eslint-import-resolver-node": "0.3.6",
@@ -38770,9 +38784,9 @@
38770
38784
  "jsonwebtoken": "8.5.1",
38771
38785
  "kleur": "4.1.5",
38772
38786
  "lodash": "4.17.21",
38773
- "lru-cache": "7.13.1",
38787
+ "lru-cache": "7.14.0",
38774
38788
  "lunr-mutable-indexes": "2.3.2",
38775
- "marked": "4.0.18",
38789
+ "marked": "4.1.0",
38776
38790
  "memoizee": "0.4.15",
38777
38791
  "mime": "3.0.0",
38778
38792
  "minimatch": "5.1.0",
@@ -38818,9 +38832,15 @@
38818
38832
  }
38819
38833
  },
38820
38834
  "lru-cache": {
38821
- "version": "7.13.1",
38822
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.13.1.tgz",
38823
- "integrity": "sha512-CHqbAq7NFlW3RSnoWXLJBxCWaZVBrfa9UEHId2M3AW8iEBurbqduNexEUCGc3SHc6iCYXNJCDi903LajSVAEPQ==",
38835
+ "version": "7.14.0",
38836
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-7.14.0.tgz",
38837
+ "integrity": "sha512-EIRtP1GrSJny0dqb50QXRUNBxHJhcpxHC++M5tD7RYbvLLn5KVWKsbyswSSqDuU15UFi3bgTQIY8nhDMeF6aDQ==",
38838
+ "dev": true
38839
+ },
38840
+ "marked": {
38841
+ "version": "4.1.0",
38842
+ "resolved": "https://registry.npmjs.org/marked/-/marked-4.1.0.tgz",
38843
+ "integrity": "sha512-+Z6KDjSPa6/723PQYyc1axYZpYYpDnECDaU6hkaf5gqBieBkMKYReL5hteF2QizhlMbgbo8umXl/clZ67+GlsA==",
38824
38844
  "dev": true
38825
38845
  },
38826
38846
  "mime": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
3
  "description": "Netlify command line tool",
4
- "version": "11.5.0",
4
+ "version": "11.7.0",
5
5
  "author": "Netlify Inc.",
6
6
  "contributors": [
7
7
  "@whitep4nth3r (https://twitter.com/whitep4nth3r)",
@@ -223,13 +223,13 @@
223
223
  "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\""
224
224
  },
225
225
  "dependencies": {
226
- "@netlify/build": "^27.15.6",
227
- "@netlify/config": "^18.2.1",
228
- "@netlify/edge-bundler": "^1.13.0",
226
+ "@netlify/build": "^27.16.1",
227
+ "@netlify/config": "^18.2.3",
228
+ "@netlify/edge-bundler": "^1.14.1",
229
229
  "@netlify/framework-info": "^9.2.0",
230
230
  "@netlify/local-functions-proxy": "^1.1.1",
231
- "@netlify/plugins-list": "^6.40.0",
232
- "@netlify/zip-it-and-ship-it": "^5.13.5",
231
+ "@netlify/plugins-list": "^6.41.0",
232
+ "@netlify/zip-it-and-ship-it": "^6.0.0",
233
233
  "@octokit/rest": "^18.0.0",
234
234
  "@sindresorhus/slugify": "^1.1.0",
235
235
  "ansi-escapes": "^5.0.0",
@@ -296,7 +296,7 @@
296
296
  "netlify-headers-parser": "^6.0.2",
297
297
  "netlify-onegraph-internal": "0.10.0",
298
298
  "netlify-redirect-parser": "^13.0.5",
299
- "netlify-redirector": "^0.2.1",
299
+ "netlify-redirector": "^0.3.1",
300
300
  "node-fetch": "^2.6.0",
301
301
  "node-version-alias": "^1.0.1",
302
302
  "omit.js": "^2.0.2",
@@ -7,11 +7,7 @@ const { error, exit, generateNetlifyGraphJWT, getEnvelopeEnv, getToken, normaliz
7
7
  /**
8
8
  * @param {import('../../lib/build').BuildConfig} options
9
9
  */
10
- const checkOptions = ({ cachedConfig: { siteInfo = {} }, token }) => {
11
- if (!siteInfo.id) {
12
- error('Could not find the site ID. Please run netlify link.')
13
- }
14
-
10
+ const checkOptions = ({ token }) => {
15
11
  if (!token) {
16
12
  error('Could not find the access token. Please run netlify login.')
17
13
  }
@@ -72,7 +68,7 @@ const build = async (options, command) => {
72
68
  await injectEnv(command, { api, buildOptions, context, site, siteInfo })
73
69
  }
74
70
 
75
- const { exitCode } = await runBuild(buildOptions)
71
+ const { exitCode } = await runBuild(buildOptions, command, options)
76
72
  exit(exitCode)
77
73
  }
78
74
 
@@ -375,10 +375,11 @@ const runDeploy = async ({
375
375
  *
376
376
  * @param {object} config
377
377
  * @param {*} config.cachedConfig
378
+ * @param {*} config.command
378
379
  * @param {import('commander').OptionValues} config.options The options of the command
379
380
  * @returns
380
381
  */
381
- const handleBuild = async ({ cachedConfig, options }) => {
382
+ const handleBuild = async ({ cachedConfig, command, options }) => {
382
383
  if (!options.build) {
383
384
  return {}
384
385
  }
@@ -388,7 +389,7 @@ const handleBuild = async ({ cachedConfig, options }) => {
388
389
  token,
389
390
  options,
390
391
  })
391
- const { configMutations, exitCode, newConfig } = await runBuild(resolvedOptions)
392
+ const { configMutations, exitCode, newConfig } = await runBuild(resolvedOptions, command, options)
392
393
  if (exitCode !== 0) {
393
394
  exit(exitCode)
394
395
  }
@@ -573,6 +574,7 @@ const deploy = async (options, command) => {
573
574
 
574
575
  const { newConfig, configMutations = [] } = await handleBuild({
575
576
  cachedConfig: command.netlify.cachedConfig,
577
+ command,
576
578
  options,
577
579
  })
578
580
  const config = newConfig || command.netlify.config
@@ -9,7 +9,7 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "stripe": "^9.0.0"
12
+ "stripe": "^10.0.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": "9.16.0",
109
- "resolved": "https://registry.npmjs.org/stripe/-/stripe-9.16.0.tgz",
110
- "integrity": "sha512-Dn8K+jSoQcXjxCobRI4HXUdHjOXsiF/KszK49fJnkbeCFjZ3EZxLG2JiM/CX+Hcq27NBDtv/Sxhvy+HhTmvyaQ==",
108
+ "version": "10.8.0",
109
+ "resolved": "https://registry.npmjs.org/stripe/-/stripe-10.8.0.tgz",
110
+ "integrity": "sha512-/cQiJ7puqVMDrGDRGqtHn6zPB+nRNA97qyQU59msLQ1OWaQOmwW1IQR7PpRqeqkSv9SgPU7BVBlMKNwWtn1qNA==",
111
111
  "dependencies": {
112
112
  "@types/node": ">=8.1.0",
113
113
  "qs": "^6.10.3"
@@ -184,9 +184,9 @@
184
184
  }
185
185
  },
186
186
  "stripe": {
187
- "version": "9.16.0",
188
- "resolved": "https://registry.npmjs.org/stripe/-/stripe-9.16.0.tgz",
189
- "integrity": "sha512-Dn8K+jSoQcXjxCobRI4HXUdHjOXsiF/KszK49fJnkbeCFjZ3EZxLG2JiM/CX+Hcq27NBDtv/Sxhvy+HhTmvyaQ==",
187
+ "version": "10.8.0",
188
+ "resolved": "https://registry.npmjs.org/stripe/-/stripe-10.8.0.tgz",
189
+ "integrity": "sha512-/cQiJ7puqVMDrGDRGqtHn6zPB+nRNA97qyQU59msLQ1OWaQOmwW1IQR7PpRqeqkSv9SgPU7BVBlMKNwWtn1qNA==",
190
190
  "requires": {
191
191
  "@types/node": ">=8.1.0",
192
192
  "qs": "^6.10.3"
@@ -16,6 +16,6 @@
16
16
  "author": "Netlify",
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "stripe": "^9.0.0"
19
+ "stripe": "^10.0.0"
20
20
  }
21
21
  }
@@ -9,7 +9,7 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "stripe": "^9.0.0"
12
+ "stripe": "^10.0.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": "9.16.0",
109
- "resolved": "https://registry.npmjs.org/stripe/-/stripe-9.16.0.tgz",
110
- "integrity": "sha512-Dn8K+jSoQcXjxCobRI4HXUdHjOXsiF/KszK49fJnkbeCFjZ3EZxLG2JiM/CX+Hcq27NBDtv/Sxhvy+HhTmvyaQ==",
108
+ "version": "10.8.0",
109
+ "resolved": "https://registry.npmjs.org/stripe/-/stripe-10.8.0.tgz",
110
+ "integrity": "sha512-/cQiJ7puqVMDrGDRGqtHn6zPB+nRNA97qyQU59msLQ1OWaQOmwW1IQR7PpRqeqkSv9SgPU7BVBlMKNwWtn1qNA==",
111
111
  "dependencies": {
112
112
  "@types/node": ">=8.1.0",
113
113
  "qs": "^6.10.3"
@@ -184,9 +184,9 @@
184
184
  }
185
185
  },
186
186
  "stripe": {
187
- "version": "9.16.0",
188
- "resolved": "https://registry.npmjs.org/stripe/-/stripe-9.16.0.tgz",
189
- "integrity": "sha512-Dn8K+jSoQcXjxCobRI4HXUdHjOXsiF/KszK49fJnkbeCFjZ3EZxLG2JiM/CX+Hcq27NBDtv/Sxhvy+HhTmvyaQ==",
187
+ "version": "10.8.0",
188
+ "resolved": "https://registry.npmjs.org/stripe/-/stripe-10.8.0.tgz",
189
+ "integrity": "sha512-/cQiJ7puqVMDrGDRGqtHn6zPB+nRNA97qyQU59msLQ1OWaQOmwW1IQR7PpRqeqkSv9SgPU7BVBlMKNwWtn1qNA==",
190
190
  "requires": {
191
191
  "@types/node": ">=8.1.0",
192
192
  "qs": "^6.10.3"
@@ -16,6 +16,6 @@
16
16
  "author": "Netlify",
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "stripe": "^9.0.0"
19
+ "stripe": "^10.0.0"
20
20
  }
21
21
  }
@@ -11,4 +11,4 @@ http = "0.2.8"
11
11
  lambda_runtime = "0.6.0"
12
12
  log = "0.4.17"
13
13
  simple_logger = "1.16.0"
14
- tokio = "1.20.1"
14
+ tokio = "1.21.0"
@@ -26,9 +26,9 @@
26
26
  }
27
27
  },
28
28
  "node_modules/@types/node": {
29
- "version": "14.18.25",
30
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.25.tgz",
31
- "integrity": "sha512-9pLfceRSrKIsv/MISN6RoFWTIzka36Uk2Uuf5a8cHyDYhEgl5Hm5dXoe621KULeBjt+cFsY18mILsWWtJeG80w=="
29
+ "version": "14.18.26",
30
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.26.tgz",
31
+ "integrity": "sha512-0b+utRBSYj8L7XAp0d+DX7lI4cSmowNaaTkk6/1SKzbKkG+doLuPusB9EOvzLJ8ahJSk03bTLIL6cWaEd4dBKA=="
32
32
  },
33
33
  "node_modules/is-promise": {
34
34
  "version": "4.0.0",
@@ -36,9 +36,9 @@
36
36
  "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="
37
37
  },
38
38
  "node_modules/typescript": {
39
- "version": "4.7.4",
40
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
41
- "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ==",
39
+ "version": "4.8.2",
40
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz",
41
+ "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw==",
42
42
  "bin": {
43
43
  "tsc": "bin/tsc",
44
44
  "tsserver": "bin/tsserver"
@@ -58,9 +58,9 @@
58
58
  }
59
59
  },
60
60
  "@types/node": {
61
- "version": "14.18.25",
62
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.25.tgz",
63
- "integrity": "sha512-9pLfceRSrKIsv/MISN6RoFWTIzka36Uk2Uuf5a8cHyDYhEgl5Hm5dXoe621KULeBjt+cFsY18mILsWWtJeG80w=="
61
+ "version": "14.18.26",
62
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.26.tgz",
63
+ "integrity": "sha512-0b+utRBSYj8L7XAp0d+DX7lI4cSmowNaaTkk6/1SKzbKkG+doLuPusB9EOvzLJ8ahJSk03bTLIL6cWaEd4dBKA=="
64
64
  },
65
65
  "is-promise": {
66
66
  "version": "4.0.0",
@@ -68,9 +68,9 @@
68
68
  "integrity": "sha512-hvpoI6korhJMnej285dSg6nu1+e6uxs7zG3BYAm5byqDsgJNWwxzM6z6iZiAgQR4TJ30JmBTOwqZUw3WlyH3AQ=="
69
69
  },
70
70
  "typescript": {
71
- "version": "4.7.4",
72
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.7.4.tgz",
73
- "integrity": "sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ=="
71
+ "version": "4.8.2",
72
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.2.tgz",
73
+ "integrity": "sha512-C0I1UsrrDHo2fYI5oaCGbSejwX4ch+9Y5jTQELvovfmFkK3HHSZJB8MSJcWLmCUBzQBchCrZ9rMRV6GuNrvGtw=="
74
74
  }
75
75
  }
76
76
  }
package/src/lib/build.js CHANGED
@@ -3,6 +3,8 @@ const process = require('process')
3
3
 
4
4
  const netlifyBuildPromise = import('@netlify/build')
5
5
 
6
+ const { NETLIFYDEVERR, detectServerSettings, error, log } = require('../utils')
7
+
6
8
  /**
7
9
  * The buildConfig + a missing cachedConfig
8
10
  * @typedef BuildConfig
@@ -36,16 +38,26 @@ const getBuildOptions = ({ cachedConfig, options: { context, cwd, debug, dry, js
36
38
  featureFlags: {
37
39
  functionsBundlingManifest: true,
38
40
  edge_functions_produce_eszip: true,
41
+ project_deploy_configuration_api_use_per_function_configuration_files: true,
39
42
  },
40
43
  })
41
44
 
42
45
  /**
43
46
  * run the build command
44
- * @param {BuildConfig} options
47
+ * @param {BuildConfig} buildOptions
48
+ * @param {import('../commands/base-command').BaseCommand} command
49
+ * @param {import('commander').OptionValues} commandOptions
45
50
  * @returns
46
51
  */
47
- const runBuild = async (options) => {
52
+ const runBuild = async (buildOptions, command, commandOptions) => {
48
53
  const { default: build } = await netlifyBuildPromise
54
+ const { cachedConfig, config, site } = command.netlify
55
+ const devConfig = {
56
+ framework: '#auto',
57
+ ...(config.functionsDirectory && { functions: config.functionsDirectory }),
58
+ ...config.dev,
59
+ ...commandOptions,
60
+ }
49
61
 
50
62
  // If netlify NETLIFY_API_URL is set we need to pass this information to @netlify/build
51
63
  // TODO don't use testOpts, but add real properties to do this.
@@ -55,10 +67,52 @@ const runBuild = async (options) => {
55
67
  scheme: apiUrl.protocol.slice(0, -1),
56
68
  host: apiUrl.host,
57
69
  }
58
- options = { ...options, testOpts }
70
+ buildOptions = { ...buildOptions, testOpts }
71
+ }
72
+
73
+ /** @type {Partial<import('../../utils/types').ServerSettings>} */
74
+ let settings = {}
75
+ try {
76
+ settings = await detectServerSettings(devConfig, commandOptions, site.root)
77
+
78
+ const defaultConfig = { build: {} }
79
+
80
+ if (settings.buildCommand && settings.dist) {
81
+ buildOptions.cachedConfig.config.build.command = settings.buildCommand
82
+ defaultConfig.build.command = settings.buildCommand
83
+ buildOptions.cachedConfig.config.build.publish = settings.buildCommand
84
+ defaultConfig.build.publish = settings.dist
85
+ }
86
+
87
+ if (defaultConfig.build.command && defaultConfig.build.publish) {
88
+ buildOptions.defaultConfig = defaultConfig
89
+ }
90
+
91
+ // If there are plugins that we should be running for this site, add them
92
+ // to the config as if they were declared in netlify.toml. We must check
93
+ // whether the plugin has already been added by another source (like the
94
+ // TOML file or the UI), as we don't want to run the same plugin twice.
95
+ if (settings.plugins) {
96
+ const { plugins: existingPlugins = [] } = cachedConfig.config
97
+ const existingPluginNames = new Set(existingPlugins.map((plugin) => plugin.package))
98
+ const newPlugins = settings.plugins
99
+ .map((pluginName) => {
100
+ if (existingPluginNames.has(pluginName)) {
101
+ return
102
+ }
103
+
104
+ return { package: pluginName, origin: 'config', inputs: {} }
105
+ })
106
+ .filter(Boolean)
107
+
108
+ buildOptions.cachedConfig.config.plugins = [...newPlugins, ...cachedConfig.config.plugins]
109
+ }
110
+ } catch (detectServerSettingsError) {
111
+ log(NETLIFYDEVERR, detectServerSettingsError.message)
112
+ error(detectServerSettingsError)
59
113
  }
60
114
 
61
- const { configMutations, netlifyConfig: newConfig, severityCode: exitCode } = await build(options)
115
+ const { configMutations, netlifyConfig: newConfig, severityCode: exitCode } = await build(buildOptions)
62
116
  return { exitCode, newConfig, configMutations }
63
117
  }
64
118
 
@@ -176,6 +176,7 @@ class FunctionsRegistry {
176
176
  const functions = await this.listFunctions(directories, {
177
177
  featureFlags: {
178
178
  buildRustSource: env.NETLIFY_EXPERIMENTAL_BUILD_RUST_SOURCE === 'true',
179
+ project_deploy_configuration_api_use_per_function_configuration_files: true,
179
180
  },
180
181
  config: this.config.functions,
181
182
  })
@@ -158,7 +158,10 @@ const handleStaticServer = async ({ devConfig, options, projectDir }) => {
158
158
  */
159
159
  const getSettingsFromFramework = (framework) => {
160
160
  const {
161
- build: { directory: dist },
161
+ build: {
162
+ directory: dist,
163
+ commands: [buildCommand],
164
+ },
162
165
  dev: {
163
166
  commands: [command],
164
167
  port: frameworkPort,
@@ -172,6 +175,7 @@ const getSettingsFromFramework = (framework) => {
172
175
 
173
176
  return {
174
177
  command,
178
+ buildCommand,
175
179
  frameworkPort,
176
180
  dist: staticDir || dist,
177
181
  framework: frameworkName,
@@ -250,6 +254,7 @@ const handleCustomFramework = ({ devConfig }) => {
250
254
  const mergeSettings = async ({ devConfig, frameworkSettings = {} }) => {
251
255
  const {
252
256
  command: frameworkCommand,
257
+ buildCommand,
253
258
  frameworkPort: frameworkDetectedPort,
254
259
  dist,
255
260
  framework,
@@ -263,6 +268,7 @@ const mergeSettings = async ({ devConfig, frameworkSettings = {} }) => {
263
268
  const useStaticServer = !(command && frameworkPort)
264
269
  return {
265
270
  command,
271
+ buildCommand,
266
272
  frameworkPort: useStaticServer ? await getStaticServerPort({ devConfig }) : frameworkPort,
267
273
  dist: devConfig.publish || dist || getDefaultDist(),
268
274
  framework,
@@ -70,7 +70,7 @@ const proxyToExternalUrl = function ({ dest, destURL, req, res }) {
70
70
  pathRewrite: () => destURL,
71
71
  ...(Buffer.isBuffer(req.originalBody) && { buffer: toReadableStream(req.originalBody) }),
72
72
  })
73
- return handler(req, res, {})
73
+ return handler(req, res, () => {})
74
74
  }
75
75
 
76
76
  const handleAddonUrl = function ({ addonUrl, req, res }) {
@@ -185,7 +185,7 @@ const serveRedirect = async function ({ match, options, proxy, req, res }) {
185
185
 
186
186
  const staticFile = await getStatic(decodeURIComponent(reqUrl.pathname), options.publicFolder)
187
187
  if (staticFile) {
188
- req.url = encodeURIComponent(staticFile) + reqUrl.search
188
+ req.url = encodeURI(staticFile) + reqUrl.search
189
189
  // if there is an existing static file and it is not a forced redirect, return the file
190
190
  if (!match.force) {
191
191
  return proxy.web(req, res, { ...options, staticFile })
@@ -214,18 +214,25 @@ const serveRedirect = async function ({ match, options, proxy, req, res }) {
214
214
  })
215
215
  }
216
216
 
217
- const destURL = stripOrigin(dest)
217
+ let destURL = stripOrigin(dest)
218
218
 
219
219
  if (isExternal(match)) {
220
- return proxyToExternalUrl({ req, res, dest, destURL })
220
+ if (isRedirect(match)) {
221
+ // This is a redirect, so we set the complete external URL as destination
222
+ destURL = `${dest}`
223
+ } else {
224
+ return proxyToExternalUrl({ req, res, dest, destURL })
225
+ }
221
226
  }
222
227
 
223
228
  if (isRedirect(match)) {
229
+ console.log(`${NETLIFYDEVLOG} Redirecting ${req.url} to ${destURL}`)
224
230
  res.writeHead(match.status, {
225
231
  Location: destURL,
226
232
  'Cache-Control': 'no-cache',
227
233
  })
228
234
  res.end(`Redirecting to ${destURL}`)
235
+
229
236
  return
230
237
  }
231
238