@poi/dev-utils
Advanced tools
Comparing version 12.1.4 to 12.1.5
@@ -6,10 +6,10 @@ # Change Log | ||
## [12.1.4](https://github.com/egoist/poi/compare/@poi/dev-utils@12.1.3...@poi/dev-utils@12.1.4) (2020-04-30) | ||
## [12.1.5](https://github.com/egoist/poi/compare/@poi/dev-utils@12.1.4...@poi/dev-utils@12.1.5) (2020-07-13) | ||
**Note:** Version bump only for package @poi/dev-utils | ||
## [12.1.4](https://github.com/egoist/poi/compare/@poi/dev-utils@12.1.3...@poi/dev-utils@12.1.4) (2020-04-30) | ||
**Note:** Version bump only for package @poi/dev-utils | ||
## [12.1.3](https://github.com/egoist/poi/compare/@poi/dev-utils@12.1.2...@poi/dev-utils@12.1.3) (2019-08-09) | ||
@@ -16,0 +16,0 @@ |
@@ -1,1 +0,1 @@ | ||
module.exports = require('opn') | ||
module.exports = require('open') |
@@ -6,6 +6,6 @@ /* eslint-disable */ | ||
var spawn = require('cross-spawn'); | ||
var opn = require('opn'); | ||
var open = require('./open'); | ||
var colors = require('./colors'); | ||
// https://github.com/sindresorhus/opn#app | ||
// https://github.com/sindresorhus/open#app | ||
var OSX_CHROME = 'google chrome'; | ||
@@ -22,3 +22,3 @@ | ||
// It is specific to the operating system. | ||
// See https://github.com/sindresorhus/opn#app for documentation. | ||
// See https://github.com/sindresorhus/open#app for documentation. | ||
const value = process.env.BROWSER; | ||
@@ -85,3 +85,3 @@ let action; | ||
// Another special case: on OS X, check if BROWSER has been set to "open". | ||
// In this case, instead of passing `open` to `opn` (which won't work), | ||
// In this case, instead of passing `open` to `open` (which won't work), | ||
// just ignore it (thus ensuring the intended behavior, i.e. opening the system browser): | ||
@@ -93,7 +93,7 @@ // https://github.com/facebook/create-react-app/pull/1690#issuecomment-283518768 | ||
// Fallback to opn | ||
// Fallback to open | ||
// (It will always open new tab) | ||
try { | ||
var options = { app: browser }; | ||
opn(url, options).catch(() => {}); // Prevent `unhandledRejection` error. | ||
open(url, options).catch(() => {}); // Prevent `unhandledRejection` error. | ||
return true; | ||
@@ -100,0 +100,0 @@ } catch (err) { |
{ | ||
"name": "@poi/dev-utils", | ||
"version": "12.1.4", | ||
"version": "12.1.5", | ||
"publishConfig": { | ||
@@ -15,3 +15,3 @@ "access": "public" | ||
"cross-spawn": "^7.0.2", | ||
"opn": "^5.4.0", | ||
"open": "^7.0.4", | ||
"react-error-overlay": "^4.0.1", | ||
@@ -22,3 +22,3 @@ "sockjs-client": "^1.1.5", | ||
"xo": false, | ||
"gitHead": "a969ba3f6b20183c4270aa5da133ef4200f92ee5" | ||
"gitHead": "f102e22abe8c45ef81822c345150f5870fe2879d" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
34902
+ Addedopen@^7.0.4
+ Addedis-docker@2.2.1(transitive)
+ Addedis-wsl@2.2.0(transitive)
+ Addedopen@7.4.2(transitive)
- Removedopn@^5.4.0
- Removedis-wsl@1.1.0(transitive)
- Removedopn@5.5.0(transitive)