netlify-cli 8.1.8 → 8.2.1

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,12 +1,12 @@
1
1
  {
2
2
  "name": "netlify-cli",
3
- "version": "8.1.8",
3
+ "version": "8.2.1",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "netlify-cli",
9
- "version": "8.1.8",
9
+ "version": "8.2.1",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
@@ -17,7 +17,7 @@
17
17
  "@netlify/plugin-edge-handlers": "^3.0.0",
18
18
  "@netlify/plugins-list": "^6.2.0",
19
19
  "@netlify/routing-local-proxy": "^0.34.1",
20
- "@netlify/zip-it-and-ship-it": "5.2.0",
20
+ "@netlify/zip-it-and-ship-it": "5.3.0",
21
21
  "@octokit/rest": "^18.0.0",
22
22
  "@sindresorhus/slugify": "^1.1.0",
23
23
  "ansi-styles": "^5.0.0",
@@ -3576,9 +3576,9 @@
3576
3576
  }
3577
3577
  },
3578
3578
  "node_modules/@netlify/zip-it-and-ship-it": {
3579
- "version": "5.2.0",
3580
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.2.0.tgz",
3581
- "integrity": "sha512-YcLj5zcStVYPtPn1SNCjD5dXRpZ1HoAweywCOGNSAcOM6fn489IAaiXpkdmhA8oghBS5ukaP09lOZmJ9LD1m/A==",
3579
+ "version": "5.3.0",
3580
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.0.tgz",
3581
+ "integrity": "sha512-ZaHjN0wTtsmJr2NIquHr16T6A3wquKB7PFLodcjlinS57DatSr4exb3V02QrxuDbTD36VS2kiYfiZ8ueTXH/3Q==",
3582
3582
  "dependencies": {
3583
3583
  "@babel/parser": "^7.15.7",
3584
3584
  "@netlify/esbuild": "^0.13.6",
@@ -23114,9 +23114,9 @@
23114
23114
  }
23115
23115
  },
23116
23116
  "@netlify/zip-it-and-ship-it": {
23117
- "version": "5.2.0",
23118
- "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.2.0.tgz",
23119
- "integrity": "sha512-YcLj5zcStVYPtPn1SNCjD5dXRpZ1HoAweywCOGNSAcOM6fn489IAaiXpkdmhA8oghBS5ukaP09lOZmJ9LD1m/A==",
23117
+ "version": "5.3.0",
23118
+ "resolved": "https://registry.npmjs.org/@netlify/zip-it-and-ship-it/-/zip-it-and-ship-it-5.3.0.tgz",
23119
+ "integrity": "sha512-ZaHjN0wTtsmJr2NIquHr16T6A3wquKB7PFLodcjlinS57DatSr4exb3V02QrxuDbTD36VS2kiYfiZ8ueTXH/3Q==",
23120
23120
  "requires": {
23121
23121
  "@babel/parser": "^7.15.7",
23122
23122
  "@netlify/esbuild": "^0.13.6",
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.1.8",
4
+ "version": "8.2.1",
5
5
  "author": "Netlify Inc.",
6
6
  "contributors": [
7
7
  "Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
@@ -85,7 +85,7 @@
85
85
  "@netlify/plugin-edge-handlers": "^3.0.0",
86
86
  "@netlify/plugins-list": "^6.2.0",
87
87
  "@netlify/routing-local-proxy": "^0.34.1",
88
- "@netlify/zip-it-and-ship-it": "5.2.0",
88
+ "@netlify/zip-it-and-ship-it": "5.3.0",
89
89
  "@octokit/rest": "^18.0.0",
90
90
  "@sindresorhus/slugify": "^1.1.0",
91
91
  "ansi-styles": "^5.0.0",
@@ -98,7 +98,6 @@ Helpful for making sure that you have formatted your functions correctly
98
98
 
99
99
  NOT the same as listing the functions that have been deployed. For that info you need to go to your Netlify deploy log.`,
100
100
  )
101
- .option('-n, --name <name>', 'name to print')
102
101
  .option('-f, --functions <dir>', 'Specify a functions directory to list')
103
102
  .option('--json', 'Output function data as JSON')
104
103
  .action(functionsList)
@@ -12,7 +12,7 @@ const LOGIN_NEW = 'I would like to login to a new account'
12
12
  * @param {import('../base-command').BaseCommand} command
13
13
  */
14
14
  const switchCommand = async (options, command) => {
15
- const availableUsersChoices = Object.values(command.netlify.globalConfig.get('users')).reduce(
15
+ const availableUsersChoices = Object.values(command.netlify.globalConfig.get('users') || {}).reduce(
16
16
  (prev, current) =>
17
17
  Object.assign(prev, { [current.id]: current.name ? `${current.name} (${current.email})` : current.email }),
18
18
  {},
@@ -10,5 +10,5 @@ aws_lambda_events = "0.5.0"
10
10
  http = "0.2.5"
11
11
  lambda_runtime = "0.4.1"
12
12
  log = "0.4.14"
13
- simple_logger = "1.15.1"
14
- tokio = "1.14.0"
13
+ simple_logger = "1.16.0"
14
+ tokio = "1.15.0"
@@ -10,7 +10,7 @@
10
10
  "license": "MIT",
11
11
  "dependencies": {
12
12
  "@netlify/functions": "^0.10.0",
13
- "@types/node": "^14.0.0",
13
+ "@types/node": "^14.18.1",
14
14
  "typescript": "^4.0.0"
15
15
  }
16
16
  },
@@ -26,9 +26,9 @@
26
26
  }
27
27
  },
28
28
  "node_modules/@types/node": {
29
- "version": "14.18.0",
30
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.0.tgz",
31
- "integrity": "sha512-0GeIl2kmVMXEnx8tg1SlG6Gg8vkqirrW752KqolYo1PHevhhZN3bhJ67qHj+bQaINhX0Ra3TlWwRvMCd9iEfNQ=="
29
+ "version": "14.18.1",
30
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.1.tgz",
31
+ "integrity": "sha512-fTFWOFrgAkj737w1o0HLTIgisgYHnsZfeiqhG1Ltrf/iJjudEbUwetQAsfrtVE49JGwvpEzQR+EbMkIqG4227g=="
32
32
  },
33
33
  "node_modules/is-promise": {
34
34
  "version": "4.0.0",
@@ -58,9 +58,9 @@
58
58
  }
59
59
  },
60
60
  "@types/node": {
61
- "version": "14.18.0",
62
- "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.0.tgz",
63
- "integrity": "sha512-0GeIl2kmVMXEnx8tg1SlG6Gg8vkqirrW752KqolYo1PHevhhZN3bhJ67qHj+bQaINhX0Ra3TlWwRvMCd9iEfNQ=="
61
+ "version": "14.18.1",
62
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-14.18.1.tgz",
63
+ "integrity": "sha512-fTFWOFrgAkj737w1o0HLTIgisgYHnsZfeiqhG1Ltrf/iJjudEbUwetQAsfrtVE49JGwvpEzQR+EbMkIqG4227g=="
64
64
  },
65
65
  "is-promise": {
66
66
  "version": "4.0.0",
package/bin/run.cmd DELETED
@@ -1,3 +0,0 @@
1
- @echo off
2
-
3
- node "%~dp0\run" %*