From 70ecb80de6343f01185e9de11b9e9dc350f7f46f Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Mon, 9 Sep 2019 10:23:14 -0700 Subject: [PATCH] Replacing the opn module with open since it was renamed. --- cmds/open.js | 2 +- package-lock.json | 8 -------- package.json | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/cmds/open.js b/cmds/open.js index 07a739df9..b0dbf0c8c 100644 --- a/cmds/open.js +++ b/cmds/open.js @@ -1,5 +1,5 @@ const config = require('config'); -const open = require('opn'); +const open = require('open'); const configStore = require('../lib/configstore'); const loginCmd = require('./login'); diff --git a/package-lock.json b/package-lock.json index b3860046c..d7696df47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5806,14 +5806,6 @@ "is-wsl": "^1.1.0" } }, - "opn": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/opn/-/opn-6.0.0.tgz", - "integrity": "sha512-I9PKfIZC+e4RXZ/qr1RhgyCnGgYX0UEIlXgWnCOVACIvFgaC9rz6Won7xbdhoHrd8IIhV7YEpHjreNUNkqCGkQ==", - "requires": { - "is-wsl": "^1.1.0" - } - }, "optimist": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/optimist/-/optimist-0.6.1.tgz", diff --git a/package.json b/package.json index ec3f02219..f55b6ec1b 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "gray-matter": "^4.0.1", "isemail": "^3.1.3", "oas": "0.8.16", - "opn": "^6.0.0", + "open": "^6.4.0", "read": "^1.0.7", "request": "^2.88.0", "request-promise-native": "^1.0.5",