netlify-cli 9.0.1 → 9.0.5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
3
  "description": "Netlify command line tool",
4
- "version": "9.0.1",
4
+ "version": "9.0.5",
5
5
  "author": "Netlify Inc.",
6
6
  "contributors": [
7
7
  "Abraham Schilling <AbrahamSchilling@gmail.com> (https://gitlab.com/n4bb12)",
@@ -195,17 +195,17 @@
195
195
  },
196
196
  "config": {
197
197
  "eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{src,scripts,site,tests,.github}/**/*.{mjs,cjs,js,md,html}\" \"*.{mjs,cjs,js,md,html}\" \".*.{mjs,cjs,js,md,html}\"",
198
- "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\" \"!.github/**/*.md\""
198
+ "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\""
199
199
  },
200
200
  "dependencies": {
201
- "@netlify/build": "^26.2.3",
202
- "@netlify/config": "^17.0.6",
201
+ "@netlify/build": "^26.2.6",
202
+ "@netlify/config": "^17.0.7",
203
203
  "@netlify/framework-info": "^9.0.0",
204
204
  "@netlify/local-functions-proxy": "^1.1.1",
205
205
  "@netlify/plugin-edge-handlers": "^3.0.6",
206
206
  "@netlify/plugins-list": "^6.9.0",
207
207
  "@netlify/routing-local-proxy": "^0.34.1",
208
- "@netlify/zip-it-and-ship-it": "^5.7.1",
208
+ "@netlify/zip-it-and-ship-it": "^5.7.4",
209
209
  "@octokit/rest": "^18.0.0",
210
210
  "@sindresorhus/slugify": "^1.1.0",
211
211
  "ansi-escapes": "^5.0.0",
@@ -300,13 +300,14 @@ class BaseCommand extends Command {
300
300
  const duration = getDuration(startTime)
301
301
  const status = error_ === undefined ? 'success' : 'error'
302
302
 
303
- debug(`${this.name()}:onEnd`)(`Status: ${status}`)
304
- debug(`${this.name()}:onEnd`)(`Duration: ${duration}ms`)
303
+ const command = Array.isArray(this.args) ? this.args[0] : this.name()
304
+
305
+ debug(`${this.name()}:onEnd`)(`Command: ${command}. Status: ${status}. Duration: ${duration}ms`)
305
306
 
306
307
  try {
307
308
  await track('command', {
308
309
  ...payload,
309
- command: this.name(),
310
+ command,
310
311
  duration,
311
312
  status,
312
313
  })
@@ -38,6 +38,8 @@ const shouldBase64Encode = function (contentType) {
38
38
  return true
39
39
  }
40
40
 
41
+ const [contentTypeSegment] = contentType.split(';')
42
+ contentType = contentTypeSegment
41
43
  contentType = contentType.toLowerCase()
42
44
 
43
45
  if (contentType.startsWith('text/')) {