netlify-cli 15.0.1 → 15.0.3

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": "15.0.1",
4
+ "version": "15.0.3",
5
5
  "author": "Netlify Inc.",
6
6
  "type": "module",
7
7
  "engines": {
@@ -42,112 +42,111 @@
42
42
  "prepublishOnly": "node ./scripts/prepare-for-publish.mjs"
43
43
  },
44
44
  "dependencies": {
45
- "@bugsnag/js": "^7.20.0",
46
- "@fastify/static": "^6.6.0",
47
- "@netlify/build": "^29.10.1",
48
- "@netlify/build-info": "^7.0.0-pre-20230425.0",
49
- "@netlify/config": "^20.4.1",
50
- "@netlify/edge-bundler": "^8.14.1",
51
- "@netlify/framework-info": "^9.8.6",
52
- "@netlify/local-functions-proxy": "^1.1.1",
53
- "@netlify/zip-it-and-ship-it": "^9.2.1",
54
- "@octokit/rest": "^19.0.0",
55
- "ansi-escapes": "^6.0.0",
56
- "ansi-styles": "^5.0.0",
57
- "ansi-to-html": "^0.7.2",
45
+ "@bugsnag/js": "7.20.2",
46
+ "@fastify/static": "6.10.1",
47
+ "@netlify/build": "29.11.4",
48
+ "@netlify/build-info": "7.0.2",
49
+ "@netlify/config": "20.4.2",
50
+ "@netlify/edge-bundler": "8.14.2",
51
+ "@netlify/framework-info": "9.8.7",
52
+ "@netlify/local-functions-proxy": "1.1.1",
53
+ "@netlify/zip-it-and-ship-it": "9.5.0",
54
+ "@octokit/rest": "19.0.8",
55
+ "ansi-escapes": "6.2.0",
56
+ "ansi-styles": "6.2.1",
57
+ "ansi-to-html": "0.7.2",
58
58
  "ascii-table": "0.0.9",
59
- "backoff": "^2.5.0",
60
- "better-opn": "^3.0.0",
61
- "boxen": "^7.0.1",
62
- "chalk": "^5.0.0",
63
- "chokidar": "^3.0.2",
64
- "ci-info": "^3.0.0",
65
- "clean-deep": "^3.0.2",
66
- "commander": "^10.0.0",
67
- "comment-json": "^4.2.3",
68
- "concordance": "^5.0.0",
69
- "configstore": "^5.0.0",
70
- "content-type": "^1.0.4",
71
- "cookie": "^0.5.0",
72
- "copy-template-dir": "^1.4.0",
73
- "cron-parser": "^4.2.1",
74
- "debug": "^4.1.1",
75
- "decache": "^4.6.0",
76
- "dot-prop": "^6.0.0",
77
- "dotenv": "^16.0.0",
78
- "env-paths": "^2.2.0",
79
- "envinfo": "^7.3.1",
80
- "etag": "^1.8.1",
81
- "execa": "^5.0.0",
82
- "express": "^4.17.1",
83
- "express-logging": "^1.1.1",
84
- "extract-zip": "^2.0.1",
85
- "fastify": "^4.10.2",
86
- "find-up": "^6.0.0",
87
- "flush-write-stream": "^2.0.0",
88
- "folder-walker": "^3.2.0",
89
- "from2-array": "^0.0.4",
90
- "fuzzy": "^0.1.3",
91
- "get-port": "^5.1.0",
92
- "gh-release-fetch": "^3.0.0",
93
- "git-repo-info": "^2.1.0",
94
- "gitconfiglocal": "^2.1.0",
95
- "hasbin": "^1.2.3",
96
- "hasha": "^5.2.2",
97
- "http-proxy": "^1.18.0",
98
- "http-proxy-middleware": "^2.0.0",
99
- "https-proxy-agent": "^5.0.0",
100
- "inquirer": "^6.5.1",
101
- "inquirer-autocomplete-prompt": "^1.0.1",
102
- "is-docker": "^3.0.0",
103
- "is-plain-obj": "^4.0.0",
104
- "is-wsl": "^2.2.0",
105
- "isexe": "^2.0.0",
106
- "jsonwebtoken": "^9.0.0",
107
- "jwt-decode": "^3.0.0",
108
- "lambda-local": "^2.0.1",
109
- "listr": "^0.14.3",
110
- "locate-path": "^7.0.0",
111
- "lodash": "^4.17.20",
112
- "log-symbols": "^5.0.0",
113
- "log-update": "^5.0.0",
114
- "minimist": "^1.2.5",
115
- "multiparty": "^4.2.1",
116
- "netlify": "^13.1.5",
117
- "netlify-headers-parser": "^7.1.2",
118
- "netlify-redirect-parser": "^14.1.2",
119
- "netlify-redirector": "^0.4.0",
120
- "node-fetch": "^2.6.0",
121
- "node-version-alias": "^3.0.0",
122
- "ora": "^6.0.0",
123
- "p-filter": "^3.0.0",
124
- "p-map": "^5.0.0",
125
- "p-wait-for": "^5.0.0",
126
- "parallel-transform": "^1.2.0",
127
- "parse-github-url": "^1.0.2",
128
- "parse-gitignore": "^2.0.0",
129
- "path-key": "^4.0.0",
130
- "prettyjson": "^1.2.1",
131
- "pump": "^3.0.0",
132
- "raw-body": "^2.4.1",
133
- "read-pkg-up": "^7.0.1",
134
- "semver": "^7.3.5",
135
- "source-map-support": "^0.5.19",
136
- "string-similarity": "^4.0.4",
137
- "strip-ansi-control-characters": "^2.0.0",
138
- "tabtab": "^3.0.2",
139
- "tempy": "^3.0.0",
140
- "terminal-link": "^3.0.0",
141
- "through2-filter": "^3.0.0",
142
- "through2-map": "^3.0.0",
143
- "to-readable-stream": "^2.1.0",
144
- "toml": "^3.0.0",
145
- "ulid": "^2.3.0",
146
- "unixify": "^1.0.0",
147
- "update-notifier": "^6.0.0",
148
- "uuid": "^9.0.0",
149
- "wait-port": "^1.0.1",
150
- "winston": "^3.2.1",
151
- "write-file-atomic": "^5.0.0"
59
+ "backoff": "2.5.0",
60
+ "better-opn": "3.0.2",
61
+ "boxen": "7.1.0",
62
+ "chalk": "5.2.0",
63
+ "chokidar": "3.5.3",
64
+ "ci-info": "3.8.0",
65
+ "clean-deep": "3.4.0",
66
+ "commander": "10.0.1",
67
+ "comment-json": "4.2.3",
68
+ "concordance": "5.0.4",
69
+ "configstore": "5.0.1",
70
+ "content-type": "1.0.5",
71
+ "cookie": "0.5.0",
72
+ "copy-template-dir": "1.4.0",
73
+ "cron-parser": "4.8.1",
74
+ "debug": "4.3.4",
75
+ "decache": "4.6.1",
76
+ "dot-prop": "6.0.1",
77
+ "dotenv": "16.0.3",
78
+ "env-paths": "2.2.1",
79
+ "envinfo": "7.8.1",
80
+ "etag": "1.8.1",
81
+ "execa": "5.1.1",
82
+ "express": "4.18.2",
83
+ "express-logging": "1.1.1",
84
+ "extract-zip": "2.0.1",
85
+ "fastify": "4.17.0",
86
+ "find-up": "6.3.0",
87
+ "flush-write-stream": "2.0.0",
88
+ "folder-walker": "3.2.0",
89
+ "from2-array": "0.0.4",
90
+ "fuzzy": "0.1.3",
91
+ "get-port": "5.1.1",
92
+ "gh-release-fetch": "4.0.0",
93
+ "git-repo-info": "2.1.1",
94
+ "gitconfiglocal": "2.1.0",
95
+ "hasbin": "1.2.3",
96
+ "hasha": "5.2.2",
97
+ "http-proxy": "1.18.1",
98
+ "http-proxy-middleware": "2.0.6",
99
+ "https-proxy-agent": "5.0.1",
100
+ "inquirer": "6.5.2",
101
+ "inquirer-autocomplete-prompt": "1.4.0",
102
+ "is-docker": "3.0.0",
103
+ "is-wsl": "2.2.0",
104
+ "isexe": "2.0.0",
105
+ "jsonwebtoken": "9.0.0",
106
+ "jwt-decode": "3.1.2",
107
+ "lambda-local": "2.0.3",
108
+ "listr": "0.14.3",
109
+ "locate-path": "7.2.0",
110
+ "lodash": "4.17.21",
111
+ "log-symbols": "5.1.0",
112
+ "log-update": "5.0.1",
113
+ "minimist": "1.2.8",
114
+ "multiparty": "4.2.3",
115
+ "netlify": "13.1.6",
116
+ "netlify-headers-parser": "7.1.2",
117
+ "netlify-redirect-parser": "14.1.2",
118
+ "netlify-redirector": "0.4.0",
119
+ "node-fetch": "2.6.11",
120
+ "node-version-alias": "3.4.1",
121
+ "ora": "6.3.0",
122
+ "p-filter": "3.0.0",
123
+ "p-map": "5.5.0",
124
+ "p-wait-for": "5.0.2",
125
+ "parallel-transform": "1.2.0",
126
+ "parse-github-url": "1.0.2",
127
+ "parse-gitignore": "2.0.0",
128
+ "path-key": "4.0.0",
129
+ "prettyjson": "1.2.5",
130
+ "pump": "3.0.0",
131
+ "raw-body": "2.5.2",
132
+ "read-pkg-up": "7.0.1",
133
+ "semver": "7.5.1",
134
+ "source-map-support": "0.5.21",
135
+ "string-similarity": "4.0.4",
136
+ "strip-ansi-control-characters": "2.0.0",
137
+ "tabtab": "3.0.2",
138
+ "tempy": "3.0.0",
139
+ "terminal-link": "3.0.0",
140
+ "through2-filter": "3.0.0",
141
+ "through2-map": "3.0.0",
142
+ "to-readable-stream": "2.1.0",
143
+ "toml": "3.0.0",
144
+ "ulid": "2.3.0",
145
+ "unixify": "1.0.0",
146
+ "update-notifier": "6.0.2",
147
+ "uuid": "9.0.0",
148
+ "wait-port": "1.0.4",
149
+ "winston": "3.8.2",
150
+ "write-file-atomic": "5.0.1"
152
151
  }
153
152
  }
@@ -15,6 +15,6 @@
15
15
  "author": "Netlify",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@netlify/functions": "^1.4.0"
18
+ "@netlify/functions": "^1.6.0"
19
19
  }
20
20
  }
@@ -9,26 +9,26 @@
9
9
  "version": "1.0.0",
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
- "@netlify/functions": "^1.4.0",
12
+ "@netlify/functions": "^1.6.0",
13
13
  "@types/node": "^14.0.0",
14
14
  "typescript": "^4.0.0"
15
15
  }
16
16
  },
17
17
  "node_modules/@netlify/functions": {
18
- "version": "1.4.0",
19
- "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.4.0.tgz",
20
- "integrity": "sha512-gy7ULTIRroc2/jyFVGx1djCmmBMVisIwrvkqggq5B6iDcInRSy2Tpkm+V5C63hKJVkNRskKWtLQKm9ecCaQTjA==",
18
+ "version": "1.6.0",
19
+ "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.6.0.tgz",
20
+ "integrity": "sha512-6G92AlcpFrQG72XU8YH8pg94eDnq7+Q0YJhb8x4qNpdGsvuzvrfHWBmqFGp/Yshmv4wex9lpsTRZOocdrA2erQ==",
21
21
  "dependencies": {
22
22
  "is-promise": "^4.0.0"
23
23
  },
24
24
  "engines": {
25
- "node": ">=8.3.0"
25
+ "node": ">=14.0.0"
26
26
  }
27
27
  },
28
28
  "node_modules/@types/node": {
29
- "version": "14.18.42",
30
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.42.tgz",
31
- "integrity": "sha512-xefu+RBie4xWlK8hwAzGh3npDz/4VhF6icY/shU+zv/1fNn+ZVG7T7CRwe9LId9sAYRPxI+59QBPuKL3WpyGRg=="
29
+ "version": "14.18.47",
30
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.47.tgz",
31
+ "integrity": "sha512-OuJi8bIng4wYHHA3YpKauL58dZrPxro3d0tabPHyiNF8rKfGKuVfr83oFlPLmKri1cX+Z3cJP39GXmnqkP11Gw=="
32
32
  },
33
33
  "node_modules/is-promise": {
34
34
  "version": "4.0.0",
@@ -50,17 +50,17 @@
50
50
  },
51
51
  "dependencies": {
52
52
  "@netlify/functions": {
53
- "version": "1.4.0",
54
- "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.4.0.tgz",
55
- "integrity": "sha512-gy7ULTIRroc2/jyFVGx1djCmmBMVisIwrvkqggq5B6iDcInRSy2Tpkm+V5C63hKJVkNRskKWtLQKm9ecCaQTjA==",
53
+ "version": "1.6.0",
54
+ "resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.6.0.tgz",
55
+ "integrity": "sha512-6G92AlcpFrQG72XU8YH8pg94eDnq7+Q0YJhb8x4qNpdGsvuzvrfHWBmqFGp/Yshmv4wex9lpsTRZOocdrA2erQ==",
56
56
  "requires": {
57
57
  "is-promise": "^4.0.0"
58
58
  }
59
59
  },
60
60
  "@types/node": {
61
- "version": "14.18.42",
62
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.42.tgz",
63
- "integrity": "sha512-xefu+RBie4xWlK8hwAzGh3npDz/4VhF6icY/shU+zv/1fNn+ZVG7T7CRwe9LId9sAYRPxI+59QBPuKL3WpyGRg=="
61
+ "version": "14.18.47",
62
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.47.tgz",
63
+ "integrity": "sha512-OuJi8bIng4wYHHA3YpKauL58dZrPxro3d0tabPHyiNF8rKfGKuVfr83oFlPLmKri1cX+Z3cJP39GXmnqkP11Gw=="
64
64
  },
65
65
  "is-promise": {
66
66
  "version": "4.0.0",
@@ -14,7 +14,7 @@
14
14
  "author": "Netlify",
15
15
  "license": "MIT",
16
16
  "dependencies": {
17
- "@netlify/functions": "^1.4.0",
17
+ "@netlify/functions": "^1.6.0",
18
18
  "@types/node": "^14.0.0",
19
19
  "typescript": "^4.0.0"
20
20
  }
@@ -15,7 +15,7 @@
15
15
  "author": "Netlify",
16
16
  "license": "MIT",
17
17
  "dependencies": {
18
- "@netlify/functions": "^1.4.0",
18
+ "@netlify/functions": "^1.6.0",
19
19
  "@types/node": "^14.18.9",
20
20
  "typescript": "^4.5.5"
21
21
  }
@@ -10,7 +10,6 @@ import { NodeFS } from '@netlify/build-info/node'
10
10
  import { getFramework, listFrameworks } from '@netlify/framework-info'
11
11
  import fuzzy from 'fuzzy'
12
12
  import getPort from 'get-port'
13
- import isPlainObject from 'is-plain-obj'
14
13
 
15
14
  import { NETLIFYDEVWARN, chalk, log } from './command-helpers.mjs'
16
15
  import { acquirePort } from './dev.mjs'
@@ -21,7 +20,7 @@ const formatProperty = (str) => chalk.magenta(`'${str}'`)
21
20
  const formatValue = (str) => chalk.green(`'${str}'`)
22
21
 
23
22
  const readHttpsSettings = async (options) => {
24
- if (!isPlainObject(options)) {
23
+ if (typeof options !== 'object' || !options.keyFile || !options.certFile) {
25
24
  throw new TypeError(
26
25
  `https options should be an object with ${formatProperty('keyFile')} and ${formatProperty(
27
26
  'certFile',