netlify-cli 15.0.2 → 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/npm-shrinkwrap.json +1988 -3391
- package/package.json +106 -107
- package/src/functions-templates/javascript/scheduled-function/package.json +1 -1
- package/src/functions-templates/typescript/hello-world/package-lock.json +14 -14
- package/src/functions-templates/typescript/hello-world/package.json +1 -1
- package/src/functions-templates/typescript/scheduled-function/package.json +1 -1
- package/src/utils/detect-server-settings.mjs +1 -2
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.
|
|
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": "
|
|
46
|
-
"@fastify/static": "
|
|
47
|
-
"@netlify/build": "
|
|
48
|
-
"@netlify/build-info": "
|
|
49
|
-
"@netlify/config": "
|
|
50
|
-
"@netlify/edge-bundler": "
|
|
51
|
-
"@netlify/framework-info": "
|
|
52
|
-
"@netlify/local-functions-proxy": "
|
|
53
|
-
"@netlify/zip-it-and-ship-it": "
|
|
54
|
-
"@octokit/rest": "
|
|
55
|
-
"ansi-escapes": "
|
|
56
|
-
"ansi-styles": "
|
|
57
|
-
"ansi-to-html": "
|
|
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": "
|
|
60
|
-
"better-opn": "
|
|
61
|
-
"boxen": "
|
|
62
|
-
"chalk": "
|
|
63
|
-
"chokidar": "
|
|
64
|
-
"ci-info": "
|
|
65
|
-
"clean-deep": "
|
|
66
|
-
"commander": "
|
|
67
|
-
"comment-json": "
|
|
68
|
-
"concordance": "
|
|
69
|
-
"configstore": "
|
|
70
|
-
"content-type": "
|
|
71
|
-
"cookie": "
|
|
72
|
-
"copy-template-dir": "
|
|
73
|
-
"cron-parser": "
|
|
74
|
-
"debug": "
|
|
75
|
-
"decache": "
|
|
76
|
-
"dot-prop": "
|
|
77
|
-
"dotenv": "
|
|
78
|
-
"env-paths": "
|
|
79
|
-
"envinfo": "
|
|
80
|
-
"etag": "
|
|
81
|
-
"execa": "
|
|
82
|
-
"express": "
|
|
83
|
-
"express-logging": "
|
|
84
|
-
"extract-zip": "
|
|
85
|
-
"fastify": "
|
|
86
|
-
"find-up": "
|
|
87
|
-
"flush-write-stream": "
|
|
88
|
-
"folder-walker": "
|
|
89
|
-
"from2-array": "
|
|
90
|
-
"fuzzy": "
|
|
91
|
-
"get-port": "
|
|
92
|
-
"gh-release-fetch": "
|
|
93
|
-
"git-repo-info": "
|
|
94
|
-
"gitconfiglocal": "
|
|
95
|
-
"hasbin": "
|
|
96
|
-
"hasha": "
|
|
97
|
-
"http-proxy": "
|
|
98
|
-
"http-proxy-middleware": "
|
|
99
|
-
"https-proxy-agent": "
|
|
100
|
-
"inquirer": "
|
|
101
|
-
"inquirer-autocomplete-prompt": "
|
|
102
|
-
"is-docker": "
|
|
103
|
-
"is-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"log-
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"netlify": "
|
|
117
|
-
"netlify-
|
|
118
|
-
"netlify-
|
|
119
|
-
"
|
|
120
|
-
"node-
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"p-
|
|
124
|
-
"p-
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
"parse-
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
"
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
"through2-
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
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
|
}
|
|
@@ -9,26 +9,26 @@
|
|
|
9
9
|
"version": "1.0.0",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@netlify/functions": "^1.
|
|
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.
|
|
19
|
-
"resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.
|
|
20
|
-
"integrity": "sha512-
|
|
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": ">=
|
|
25
|
+
"node": ">=14.0.0"
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"node_modules/@types/node": {
|
|
29
|
-
"version": "14.18.
|
|
30
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.
|
|
31
|
-
"integrity": "sha512-
|
|
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.
|
|
54
|
-
"resolved": "https://registry.npmjs.org/@netlify/functions/-/functions-1.
|
|
55
|
-
"integrity": "sha512-
|
|
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.
|
|
62
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.
|
|
63
|
-
"integrity": "sha512-
|
|
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",
|
|
@@ -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 (!
|
|
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',
|