browser-sync-reuse-tab
Advanced tools
Comparing version 1.0.1 to 1.0.3
# Changelog | ||
## 2.0.0 | ||
## 1.0.2 | ||
Module will now try and reference the old location of the BrowserSync utils module before using the new reference (see [here](https://github.com/mike182uk/browser-sync-reuse-tab/commit/98008e540121e5898f6d26fbe2a794493647027a#commitcomment-27257678)) | ||
## 1.0.1 | ||
Update reference to BrowserSync utils module | ||
@@ -6,0 +10,0 @@ |
10
index.js
@@ -1,5 +0,13 @@ | ||
var browserSyncUtils = require('browser-sync/dist/utils') | ||
var exec = require('child_process').exec | ||
var path = require('path') | ||
var browserSyncUtils = {} | ||
try { | ||
browserSyncUtils = require('browser-sync/lib/utils') | ||
} catch (e) { | ||
// BrowserSync utils moved in a later version of BrowserSync | ||
browserSyncUtils = require('browser-sync/dist/utils') | ||
} | ||
/** | ||
@@ -6,0 +14,0 @@ * Exports |
{ | ||
"name": "browser-sync-reuse-tab", | ||
"version": "1.0.1", | ||
"version": "1.0.3", | ||
"description": "Attempt to reuse an existing tab that was opened by BrowserSync", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
8570
40