New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

chnl

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chnl - npm Package Compare versions

Comparing version 0.4.2 to 0.5.0

dist/bundle.umd.js

56

package.json
{
"name": "chnl",
"version": "0.4.2",
"version": "0.5.0",
"description": "Implementation of event channels compatible with Chrome extensions events API",
"main": "./es5/index.js",
"main": "./dist/bundle.umd.js",
"types": "./types/index.d.js",

@@ -12,6 +12,5 @@ "author": {

"scripts": {
"eslint": "eslint src test",
"check-deps": "check-dependencies",
"code": "npm run check-deps && npm run eslint",
"code": "eslint src test",
"test": "ava",
"build": "rollup -c",
"ci": "npm run code && npm test",

@@ -23,5 +22,2 @@ "coveralls": "coveralls < coverage/lcov.info",

"docs-commit": "npm run docs && git add docs && git commit -m\"docs\"",
"clear": "rm -rf ./es5",
"babel": "babel ./src --out-dir ./es5",
"build": "npm run clear && npm run babel",
"prerelease": "npm run code && npm run build && npm run test",

@@ -31,5 +27,3 @@ "release": "npm version $VER && npm publish",

"release-patch": "VER=patch npm run release",
"release-minor": "VER=minor npm run release",
"precommit": "lint-staged && npm test",
"prepush": "npm run code && npm test"
"release-minor": "VER=minor npm run release"
},

@@ -39,18 +33,24 @@ "lint-staged": {

},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm test",
"pre-push": "npm run code && npm test"
}
},
"devDependencies": {
"ava": "^0.25.0",
"babel-cli": "^6.26.0",
"babel-eslint": "^9.0.0",
"babel-plugin-add-module-exports": "^1.0.0",
"babel-preset-es2015": "^6.14.0",
"babel-register": "^6.26.0",
"check-dependencies": "^1.1.0",
"coveralls": "^3.0.2",
"documentation": "^8.1.2",
"eslint": "^5.5.0",
"eslint-plugin-ava": "^5.1.1",
"eslint-plugin-babel": "^5.2.0",
"husky": "^0.14.3",
"lint-staged": "^7.2.2",
"sinon": "^6.2.0"
"@babel/preset-env": "^7.4.5",
"@babel/register": "^7.4.4",
"ava": "^2.1.0",
"babel-eslint": "^10.0.1",
"coveralls": "^3.0.4",
"documentation": "^11.0.1",
"eslint": "^5.16.0",
"eslint-plugin-ava": "^7.1.0",
"eslint-plugin-babel": "^5.3.0",
"husky": "^2.4.1",
"lint-staged": "^8.2.0",
"rollup": "^1.15.2",
"rollup-plugin-babel": "^4.3.2",
"rollup-plugin-banner": "^0.2.0",
"sinon": "^7.3.2"
},

@@ -64,3 +64,5 @@ "ava": {

],
"require": "babel-register",
"require": [
"./test/_register.js"
],
"verbose": true

@@ -67,0 +69,0 @@ },

@@ -20,2 +20,6 @@

unmute(): void;
onListenerAdded: Channel;
onListenerRemoved: Channel;
onFirstListenerAdded: Channel;
onLastListenerRemoved: Channel;
}
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