netlify-cli 8.6.1 → 8.6.2

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,16 +1,16 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "8.6.1",
3
+ "version": "8.6.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "8.6.1",
9
+ "version": "8.6.2",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
13
- "@netlify/build": "^26.0.2",
13
+ "@netlify/build": "^26.1.0",
14
14
  "@netlify/config": "^17.0.2",
15
15
  "@netlify/framework-info": "^7.0.0",
16
16
  "@netlify/local-functions-proxy": "^1.1.1",
@@ -2460,9 +2460,9 @@
2460
2460
  }
2461
2461
  },
2462
2462
  "node_modules/@netlify/build": {
2463
- "version": "26.0.2",
2464
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.0.2.tgz",
2465
- "integrity": "sha512-Ecq5zVAwiBvWew3alc8UVap8JMaAGNsFnOaL90Veuf/87kT6Y+otJfAeFLiuMqaa3ByBqLqn13BwaYqEqtczEw==",
2463
+ "version": "26.1.0",
2464
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.1.0.tgz",
2465
+ "integrity": "sha512-BZEC/8jUizGkZboc7RGGTC23KcFUH9MawpfH5ecFVM30gzL3LEdAOFZS/xvgffC3s5s2vsnZenslICowUpJueA==",
2466
2466
  "dependencies": {
2467
2467
  "@bugsnag/js": "^7.0.0",
2468
2468
  "@netlify/cache-utils": "^4.0.0",
@@ -2612,17 +2612,6 @@
2612
2612
  "url": "https://github.com/sponsors/sindresorhus"
2613
2613
  }
2614
2614
  },
2615
- "node_modules/@netlify/build/node_modules/ansi-escapes/node_modules/type-fest": {
2616
- "version": "0.21.3",
2617
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
2618
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
2619
- "engines": {
2620
- "node": ">=10"
2621
- },
2622
- "funding": {
2623
- "url": "https://github.com/sponsors/sindresorhus"
2624
- }
2625
- },
2626
2615
  "node_modules/@netlify/build/node_modules/ansi-styles": {
2627
2616
  "version": "4.3.0",
2628
2617
  "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
@@ -2734,6 +2723,17 @@
2734
2723
  "url": "https://github.com/sindresorhus/got?sponsor=1"
2735
2724
  }
2736
2725
  },
2726
+ "node_modules/@netlify/build/node_modules/got/node_modules/type-fest": {
2727
+ "version": "0.10.0",
2728
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.10.0.tgz",
2729
+ "integrity": "sha512-EUV9jo4sffrwlg8s0zDhP0T2WD3pru5Xi0+HTE3zTUmBaZNhfkite9PdSJwdXLwPVW0jnAHT56pZHIOYckPEiw==",
2730
+ "engines": {
2731
+ "node": ">=8"
2732
+ },
2733
+ "funding": {
2734
+ "url": "https://github.com/sponsors/sindresorhus"
2735
+ }
2736
+ },
2737
2737
  "node_modules/@netlify/build/node_modules/mimic-response": {
2738
2738
  "version": "2.1.0",
2739
2739
  "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-2.1.0.tgz",
@@ -2772,11 +2772,11 @@
2772
2772
  }
2773
2773
  },
2774
2774
  "node_modules/@netlify/build/node_modules/type-fest": {
2775
- "version": "0.10.0",
2776
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.10.0.tgz",
2777
- "integrity": "sha512-EUV9jo4sffrwlg8s0zDhP0T2WD3pru5Xi0+HTE3zTUmBaZNhfkite9PdSJwdXLwPVW0jnAHT56pZHIOYckPEiw==",
2775
+ "version": "0.21.3",
2776
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
2777
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==",
2778
2778
  "engines": {
2779
- "node": ">=8"
2779
+ "node": ">=10"
2780
2780
  },
2781
2781
  "funding": {
2782
2782
  "url": "https://github.com/sponsors/sindresorhus"
@@ -22515,9 +22515,9 @@
22515
22515
  }
22516
22516
  },
22517
22517
  "@netlify/build": {
22518
- "version": "26.0.2",
22519
- "resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.0.2.tgz",
22520
- "integrity": "sha512-Ecq5zVAwiBvWew3alc8UVap8JMaAGNsFnOaL90Veuf/87kT6Y+otJfAeFLiuMqaa3ByBqLqn13BwaYqEqtczEw==",
22518
+ "version": "26.1.0",
22519
+ "resolved": "https://registry.npmjs.org/@netlify/build/-/build-26.1.0.tgz",
22520
+ "integrity": "sha512-BZEC/8jUizGkZboc7RGGTC23KcFUH9MawpfH5ecFVM30gzL3LEdAOFZS/xvgffC3s5s2vsnZenslICowUpJueA==",
22521
22521
  "requires": {
22522
22522
  "@bugsnag/js": "^7.0.0",
22523
22523
  "@netlify/cache-utils": "^4.0.0",
@@ -22640,13 +22640,6 @@
22640
22640
  "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==",
22641
22641
  "requires": {
22642
22642
  "type-fest": "^0.21.3"
22643
- },
22644
- "dependencies": {
22645
- "type-fest": {
22646
- "version": "0.21.3",
22647
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
22648
- "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="
22649
- }
22650
22643
  }
22651
22644
  },
22652
22645
  "ansi-styles": {
@@ -22725,6 +22718,13 @@
22725
22718
  "responselike": "^2.0.0",
22726
22719
  "to-readable-stream": "^2.0.0",
22727
22720
  "type-fest": "^0.10.0"
22721
+ },
22722
+ "dependencies": {
22723
+ "type-fest": {
22724
+ "version": "0.10.0",
22725
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.10.0.tgz",
22726
+ "integrity": "sha512-EUV9jo4sffrwlg8s0zDhP0T2WD3pru5Xi0+HTE3zTUmBaZNhfkite9PdSJwdXLwPVW0jnAHT56pZHIOYckPEiw=="
22727
+ }
22728
22728
  }
22729
22729
  },
22730
22730
  "mimic-response": {
@@ -22750,9 +22750,9 @@
22750
22750
  }
22751
22751
  },
22752
22752
  "type-fest": {
22753
- "version": "0.10.0",
22754
- "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.10.0.tgz",
22755
- "integrity": "sha512-EUV9jo4sffrwlg8s0zDhP0T2WD3pru5Xi0+HTE3zTUmBaZNhfkite9PdSJwdXLwPVW0jnAHT56pZHIOYckPEiw=="
22753
+ "version": "0.21.3",
22754
+ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz",
22755
+ "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="
22756
22756
  },
22757
22757
  "wrap-ansi": {
22758
22758
  "version": "6.2.0",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
3
  "description": "Netlify command line tool",
4
- "version": "8.6.1",
4
+ "version": "8.6.2",
5
5
  "author": "Netlify Inc.",
6
6
  "contributors": [
7
7
  "Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
@@ -78,7 +78,7 @@
78
78
  "prettier": "--ignore-path .gitignore --loglevel=warn \"{src,tools,scripts,site,tests,.github}/**/*.{js,md,yml,json,html}\" \"*.{js,yml,json,html}\" \".*.{js,yml,json,html}\" \"!CHANGELOG.md\" \"!npm-shrinkwrap.json\" \"!.github/**/*.md\""
79
79
  },
80
80
  "dependencies": {
81
- "@netlify/build": "^26.0.2",
81
+ "@netlify/build": "^26.1.0",
82
82
  "@netlify/config": "^17.0.2",
83
83
  "@netlify/framework-info": "^7.0.0",
84
84
  "@netlify/local-functions-proxy": "^1.1.1",
@@ -105,7 +105,7 @@ const retryUpload = (uploadFn, maxRetry) =>
105
105
  reject(lastError)
106
106
  })
107
107
 
108
- tryUpload(0, 0)
108
+ tryUpload()
109
109
  })
110
110
 
111
111
  module.exports = { uploadFiles }
@@ -73,7 +73,7 @@ const createRewriter = async function ({ configPath, distDir, jwtRoleClaim, jwtS
73
73
  const cookieValues = cookie.parse(req.headers.cookie || '')
74
74
  const headers = {
75
75
  'x-language': cookieValues.nf_lang || getLanguage(req.headers),
76
- 'x-country': cookieValues.nf_country || getCountry(req),
76
+ 'x-country': cookieValues.nf_country || getCountry(),
77
77
  ...req.headers,
78
78
  }
79
79