netlify-cli 8.1.8 → 8.1.9

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.1.9",
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.1.9",
10
10
  "hasInstallScript": true,
11
11
  "license": "MIT",
12
12
  "dependencies": {
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.1.9",
5
5
  "author": "Netlify Inc.",
6
6
  "contributors": [
7
7
  "Mathias Biilmann <matt@netlify.com> (https://twitter.com/biilmann)",
@@ -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" %*