Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@toruslabs/broadcast-channel

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@toruslabs/broadcast-channel - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

dist/es5node/broadcast-channel.js

50

package.json
{
"name": "@toruslabs/broadcast-channel",
"version": "5.0.1",
"version": "5.0.2",
"description": "A BroadcastChannel that works in New Browsers, Old Browsers, WebWorkers",
"exports": {
".": {
"node": {
"import": "./dist/esnode/index.js",
"default": "./dist/es5node/index.js"
},
"browser": {

@@ -34,2 +38,4 @@ "import": "./dist/esbrowser/index.js",

},
"main": "./dist/es5node/index.js",
"module": "./dist/esnode/index.js",
"browser": "./dist/lib/index.es5.js",

@@ -40,2 +46,4 @@ "sideEffects": false,

"test": "echo \"RUN ALL:\" && npm run test:browser && npm run test:e2e",
"test:node": "npm run build:es5node && mocha ./test/index.test.js -b --timeout 6000 --exit",
"test:node:loop": "npm run test:node && npm run test:node:loop",
"test:browser": "npm run build && karma start ./config/karma.conf.js --single-run",

@@ -53,4 +61,6 @@ "test:e2e": "concurrently \"npm run docs:serve\" \"sleep 20 && testcafe -b && testcafe chrome -e test/e2e.test.js --hostname localhost\" --kill-others --success first",

"clear": "rimraf -rf ./dist && rimraf -rf ./gen",
"build:es6browser": "rimraf -rf dist/esbrowser && cross-env NODE_ENV=es6 babel src --out-dir dist/esbrowser",
"build:es5browser": "cross-env NODE_ENV=es5 babel src --out-dir dist/lib",
"build:es6node": "rimraf -rf dist/esnode && cross-env NODE_ENV=es6 babel src --out-dir dist/esnode",
"build:es6browser": "rimraf -rf dist/esbrowser && cross-env NODE_ENV=es6 babel src --out-dir dist/esbrowser && grep -rl NodeMethod dist/esbrowser/ | xargs sed -i '' 's/.*NodeMethod.*//'",
"build:es5node": "cross-env NODE_ENV=es5 babel src --out-dir dist/es5node",
"build:es5browser": "cross-env NODE_ENV=es5 babel src --out-dir dist/lib && grep -rl NodeMethod dist/lib/ | xargs sed -i '' 's/.*NodeMethod.*//'",
"build:test": "cross-env NODE_ENV=es5 babel test --out-dir test_tmp",

@@ -63,3 +73,3 @@ "build:index": "browserify test_tmp/scripts/index.js > docs/index.js",

"build:lib-browser:min": "uglifyjs --compress --mangle --output dist/lib/browser.min.js -- dist/lib/browser.js",
"build": "npm run clear && concurrently \"npm run build:es6browser\" \"npm run build:es5browser\" \"npm run build:test\" && concurrently \"npm run build:index\" \"npm run build:browser\" \"npm run build:worker\" \"npm run build:iframe\" && npm run build:lib-browser && npm run build:lib-browser:min",
"build": "npm run clear && concurrently \"npm run build:es6node\" \"npm run build:es6browser\" \"npm run build:es5node\" \"npm run build:es5browser\" \"npm run build:test\" && concurrently \"npm run build:index\" \"npm run build:browser\" \"npm run build:worker\" \"npm run build:iframe\" && npm run build:lib-browser && npm run build:lib-browser:min",
"build:min": "uglifyjs --compress --mangle --output dist/lib/browserify.min.js -- dist/lib/browserify.index.js",

@@ -75,3 +85,3 @@ "docs:only": "http-server ./docs --silent",

"@toruslabs/eccrypto": "^1.1.8",
"@toruslabs/metadata-helpers": "^2.5.0",
"@toruslabs/metadata-helpers": "^3.0.0",
"bowser": "^2.11.0",

@@ -81,3 +91,3 @@ "keccak": "^3.0.2",

"oblivious-set": "1.1.1",
"socket.io-client": "^4.5.0",
"socket.io-client": "^4.5.1",
"unload": "^2.3.1"

@@ -87,12 +97,12 @@ },

"rimraf": "^3.0.2",
"@babel/cli": "7.17.6",
"@babel/core": "7.17.9",
"@babel/plugin-proposal-object-rest-spread": "7.17.3",
"@babel/cli": "7.17.10",
"@babel/core": "7.17.12",
"@babel/plugin-proposal-object-rest-spread": "7.17.12",
"@babel/plugin-transform-member-expression-literals": "7.16.7",
"@babel/plugin-transform-property-literals": "7.16.7",
"@babel/plugin-transform-runtime": "7.17.0",
"@babel/plugin-transform-runtime": "7.17.12",
"@babel/polyfill": "7.12.1",
"@babel/preset-env": "7.16.11",
"@babel/types": "7.17.0",
"@rollup/plugin-node-resolve": "13.2.1",
"@babel/preset-env": "7.17.12",
"@babel/types": "7.17.12",
"@rollup/plugin-node-resolve": "13.3.0",
"@types/core-js": "2.5.5",

@@ -104,11 +114,11 @@ "assert": "2.0.0",

"clone": "2.1.2",
"concurrently": "7.1.0",
"concurrently": "7.2.0",
"convert-hrtime": "5.0.0",
"copyfiles": "2.4.1",
"cross-env": "7.0.3",
"eslint": "8.13.0",
"eslint": "8.15.0",
"gzip-size-cli": "5.1.0",
"http-server": "14.1.0",
"jest": "27.5.1",
"karma": "6.3.18",
"karma": "6.3.20",
"karma-babel-preprocessor": "8.0.2",

@@ -129,12 +139,12 @@ "karma-browserify": "8.1.0",

"random-token": "0.0.8",
"rollup": "2.70.2",
"rollup": "2.73.0",
"rollup-plugin-terser": "7.0.2",
"testcafe": "1.18.6",
"ts-node": "10.7.0",
"typescript": "4.6.3",
"uglify-js": "3.15.4",
"typescript": "4.6.4",
"uglify-js": "3.15.5",
"watchify": "4.0.0",
"webpack": "5.72.0",
"webpack": "5.72.1",
"webpack-cli": "4.9.2"
}
}
dist/lib/browser.js

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc