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

hook-emitter

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hook-emitter - npm Package Compare versions

Comparing version 4.1.2 to 5.0.0

src/index.js

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# v5.0.0 (Feb 23, 2021)
* BREAKING CHANGE: Changed package to a ES module.
* BREAKING CHANGE: Require Node.js 12 or newer.
# 4.1.2 (Feb 23, 2021)

@@ -2,0 +7,0 @@

43

package.json
{
"name": "hook-emitter",
"version": "4.1.2",
"version": "5.0.0",
"description": "Event emitter with support for asynchronous handlers and a sweet function hook mechanism.",
"main": "./dist/index.js",
"type": "module",
"exports": "./src/index.js",
"author": "Chris Barber <chris@cb1inc.com> (https://github.com/cb1kenobi)",

@@ -21,25 +22,11 @@ "license": "MIT",

"scripts": {
"build": "gulp build",
"coverage": "gulp coverage",
"docs": "gulp docs",
"prepare": "gulp build",
"test": "gulp test"
"coverage": "c8 npm run test",
"lint": "eslint src test",
"prepack": "npm run lint",
"test": "npm run lint && mocha test/**/test-*.js --reporter spec"
},
"dependencies": {
"source-map-support": "^0.5.19"
},
"devDependencies": {
"@babel/core": "^7.13.1",
"@babel/plugin-transform-modules-commonjs": "^7.13.0",
"@babel/register": "^7.13.0",
"ansi-colors": "^4.1.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.2",
"babel-plugin-istanbul": "^6.0.0",
"c8": "^7.6.0",
"chai": "^4.3.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.0",
"esdoc": "^1.1.0",
"esdoc-ecmascript-proposal-plugin": "^1.0.0",
"esdoc-standard-plugin": "^1.0.0",
"eslint": "^7.20.0",

@@ -50,13 +37,3 @@ "eslint-plugin-chai-expect": "^2.2.0",

"eslint-plugin-security": "^1.4.0",
"fancy-log": "^1.3.3",
"fs-extra": "^9.1.0",
"gulp": "^4.0.2",
"gulp-babel": "^8.0.0",
"gulp-debug": "^4.0.0",
"gulp-eslint": "^6.0.0",
"gulp-load-plugins": "^2.0.6",
"gulp-plumber": "^1.2.1",
"gulp-sourcemaps": "^3.0.0",
"mocha": "^8.3.0",
"nyc": "^15.1.0"
"mocha": "^8.3.0"
},

@@ -67,4 +44,4 @@ "homepage": "https://github.com/cb1kenobi/hook-emitter",

"engines": {
"node": ">=8"
"node": ">=12"
}
}

@@ -7,3 +7,2 @@ # hook-emitter

[![Appveyor CI Build][appveyor-image]][appveyor-url]
[![Test Coverage][coveralls-image]][coveralls-url]
[![Deps][david-image]][david-url]

@@ -16,3 +15,3 @@ [![Dev Deps][david-dev-image]][david-dev-url]

npm install hook-emitter
npm i hook-emitter --save

@@ -207,4 +206,2 @@ ## Examples

[appveyor-url]: https://ci.appveyor.com/project/cb1kenobi/hook-emitter
[coveralls-image]: https://img.shields.io/coveralls/cb1kenobi/hook-emitter/master.svg
[coveralls-url]: https://coveralls.io/r/cb1kenobi/hook-emitter
[david-image]: https://img.shields.io/david/cb1kenobi/hook-emitter.svg

@@ -211,0 +208,0 @@ [david-url]: https://david-dm.org/cb1kenobi/hook-emitter

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