From 135e6b1522c30c11818df5ba4c1ac78185d95536 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 26 Apr 2021 16:57:06 +0000 Subject: [PATCH 1/2] Update dependency open to v8 --- package-lock.json | 29 ++++++++++++++++++++++------- package.json | 2 +- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index b135932..d7ba5a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1039,6 +1039,11 @@ } } }, + "define-lazy-prop": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/define-lazy-prop/-/define-lazy-prop-2.0.0.tgz", + "integrity": "sha512-Ds09qNh8yw3khSjiJjiUInaGX9xlqZDY7JVryGxdxV7NPeuqQfplOpQ66yJFZut3jLa5zOwkXw1g9EI2uKh4Og==" + }, "define-properties": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", @@ -2457,6 +2462,11 @@ "integrity": "sha1-mqIOtq7rv/d/vTPnTKAbM1gdOhY=", "dev": true }, + "is-docker": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-2.2.1.tgz", + "integrity": "sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==" + }, "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", @@ -2550,9 +2560,12 @@ "dev": true }, "is-wsl": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.1.1.tgz", - "integrity": "sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.2.0.tgz", + "integrity": "sha512-fKzAra0rGJUUBwGBgNkHZuToZcn+TtXHpeCgmkMJMMYx1sQDYaCSyjJBSCa2nH1DGm7s3n1oBnohoVTBaN7Lww==", + "requires": { + "is-docker": "^2.0.0" + } }, "isarray": { "version": "0.0.1", @@ -3585,11 +3598,13 @@ } }, "open": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/open/-/open-7.0.0.tgz", - "integrity": "sha512-K6EKzYqnwQzk+/dzJAQSBORub3xlBTxMz+ntpZpH/LyCa1o6KjXhuN+2npAaI9jaSmU3R1Q8NWf4KUWcyytGsQ==", + "version": "8.0.6", + "resolved": "https://registry.npmjs.org/open/-/open-8.0.6.tgz", + "integrity": "sha512-vDOC0KwGabMPFtIpCO2QOnQeOz0N2rEkbuCuxICwLMUCrpv+A7NHrrzJ2dQReJmVluHhO4pYRh/Pn6s8t7Op6Q==", "requires": { - "is-wsl": "^2.1.0" + "define-lazy-prop": "^2.0.0", + "is-docker": "^2.1.1", + "is-wsl": "^2.2.0" } }, "optionator": { diff --git a/package.json b/package.json index dc35794..c6abb69 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "commander": "~6.1.0", "finalhandler": "~1.1.1", "minimist": "~1.2.0", - "open": "^7.0.0", + "open": "^8.0.0", "serve-static": "~1.14.0", "supervisor": "~0.12.0", "url-parse": "~1.4.4", From d23de5e87d1e9c9055b3f9a055b7f5d719abc5fe Mon Sep 17 00:00:00 2001 From: "Alexander J. Lallier" Date: Wed, 9 Jun 2021 14:41:42 -0400 Subject: [PATCH 2/2] Removing deprecated URL option that was removed in open v8.0.0 https://github.com/sindresorhus/open/releases/tag/v8.0.0 --- lib/reload-server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/reload-server.js b/lib/reload-server.js index c126787..760c47d 100644 --- a/lib/reload-server.js +++ b/lib/reload-server.js @@ -78,7 +78,7 @@ reload(function () {}, reloadOpts, server).then(function (reload) { // If openBrowser, open the browser with the given start page above, at a hostname (localhost default or specified). if (openBrowser) { - open('http://' + hostname + ':' + port, { url: true }) + open('http://' + hostname + ':' + port) } } else { time = new Date()