From 8bde21073431c3b2aa164c868bd0ce33f82542f2 Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Mon, 9 Sep 2019 14:17:12 -0700 Subject: [PATCH] Replacing the opn module with open since it was renamed. (#72) --- 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 dcd55ccf8..a0645b678 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5797,14 +5797,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 92bed55da..ebcb441dd 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",