broadcast-channel
Advanced tools
Comparing version 2.1.5 to 2.1.6
@@ -1085,7 +1085,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator"; | ||
}, 200); | ||
channelState.socketEE.emitter.removeAllListeners(); | ||
if (channelState.socketEE) channelState.socketEE.emitter.removeAllListeners(); | ||
Object.values(channelState.otherReaderClients).forEach(function (client) { | ||
return client.destroy(); | ||
}); | ||
unlink(channelState.infoFilePath)["catch"](function () { | ||
if (channelState.infoFilePath) unlink(channelState.infoFilePath)["catch"](function () { | ||
return null; | ||
@@ -1092,0 +1092,0 @@ }); |
@@ -1090,7 +1090,7 @@ "use strict"; | ||
}, 200); | ||
channelState.socketEE.emitter.removeAllListeners(); | ||
if (channelState.socketEE) channelState.socketEE.emitter.removeAllListeners(); | ||
Object.values(channelState.otherReaderClients).forEach(function (client) { | ||
return client.destroy(); | ||
}); | ||
unlink(channelState.infoFilePath)["catch"](function () { | ||
if (channelState.infoFilePath) unlink(channelState.infoFilePath)["catch"](function () { | ||
return null; | ||
@@ -1097,0 +1097,0 @@ }); |
{ | ||
"name": "broadcast-channel", | ||
"version": "2.1.5", | ||
"version": "2.1.6", | ||
"description": "A BroadcastChannel implementation that works with new browsers, older browsers and Node.js", | ||
@@ -63,3 +63,3 @@ "homepage": "https://github.com/pubkey/broadcast-channel#readme", | ||
"dependencies": { | ||
"@babel/runtime": "7.0.0", | ||
"@babel/runtime": "7.1.2", | ||
"detect-node": "2.0.4", | ||
@@ -73,4 +73,4 @@ "js-sha3": "0.8.0", | ||
"devDependencies": { | ||
"@babel/cli": "7.1.0", | ||
"@babel/core": "7.1.0", | ||
"@babel/cli": "7.1.2", | ||
"@babel/core": "7.1.2", | ||
"@babel/plugin-check-constants": "7.0.0-beta.38", | ||
@@ -83,3 +83,3 @@ "@babel/plugin-proposal-object-rest-spread": "7.0.0", | ||
"@babel/preset-env": "7.1.0", | ||
"@babel/types": "7.0.0", | ||
"@babel/types": "7.1.3", | ||
"@types/core-js": "2.5.0", | ||
@@ -95,6 +95,6 @@ "assert": "1.4.1", | ||
"cross-env": "5.2.0", | ||
"eslint": "5.6.0", | ||
"eslint": "5.8.0", | ||
"gzip-size-cli": "3.0.0", | ||
"http-server": "0.11.1", | ||
"karma": "3.0.0", | ||
"karma": "3.1.1", | ||
"karma-babel-preprocessor": "7.0.0", | ||
@@ -112,13 +112,13 @@ "karma-browserify": "5.3.0", | ||
"mocha": "5.2.0", | ||
"node": "10.11.0", | ||
"node": "11.0.0", | ||
"pre-commit": "1.2.2", | ||
"random-int": "1.0.0", | ||
"random-token": "0.0.8", | ||
"testcafe": "0.22.0", | ||
"testcafe-hammerhead": "14.2.7", | ||
"testcafe": "0.23.0", | ||
"testcafe-hammerhead": "14.4.1", | ||
"ts-node": "7.0.1", | ||
"typescript": "3.0.3", | ||
"typescript": "3.1.6", | ||
"watchify": "3.11.0", | ||
"webpack": "4.20.2", | ||
"webpack-cli": "3.1.1" | ||
"webpack": "4.25.1", | ||
"webpack-cli": "3.1.2" | ||
}, | ||
@@ -125,0 +125,0 @@ "browser": { |
@@ -617,3 +617,4 @@ /** | ||
channelState.socketEE.emitter.removeAllListeners(); | ||
if (channelState.socketEE) | ||
channelState.socketEE.emitter.removeAllListeners(); | ||
@@ -623,3 +624,4 @@ Object.values(channelState.otherReaderClients) | ||
unlink(channelState.infoFilePath).catch(() => null); | ||
if (channelState.infoFilePath) | ||
unlink(channelState.infoFilePath).catch(() => null); | ||
} | ||
@@ -626,0 +628,0 @@ |
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
203749
5629
+ Added@babel/runtime@7.1.2(transitive)
Updated@babel/runtime@7.1.2