Socket
Socket
Sign inDemoInstall

emy

Package Overview
Dependencies
0
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.1.0

lib/index.cjs.js.map

14

CHANGELOG.md
# Changelog
## v1.1.0 - 2021-04-17
### Added
- Added source maps to build output.
### Changed
- Updated devDependencies.
### Fixed
- Fixed a bug where `publish` would crash due to handlers being stored in `WeakSet`.
## v1.0.1 - 2020-08-20

@@ -4,0 +18,0 @@

3

lib/index.cjs.js
'use strict';
var emy = function emy() {
var listeners = new WeakSet();
var listeners = new Set();

@@ -23,1 +23,2 @@ var publish = function publish(event) {

module.exports = emy;
//# sourceMappingURL=index.cjs.js.map
var emy = function emy() {
var listeners = new WeakSet();
var listeners = new Set();

@@ -21,1 +21,2 @@ var publish = function publish(event) {

export default emy;
//# sourceMappingURL=index.esm.js.map
{
"name": "emy",
"version": "1.0.1",
"version": "1.1.0",
"description": "An adorably small event emitter/pubsub library.",

@@ -35,10 +35,10 @@ "main": "lib/index.cjs.js",

"devDependencies": {
"@babel/core": "^7.11.1",
"@babel/preset-env": "^7.11.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.11",
"prettier": "^2.0.5",
"rollup": "^2.26.4",
"rollup-plugin-babel": "^4.4.0"
"@babel/core": "^7.13.15",
"@babel/preset-env": "^7.13.15",
"@rollup/plugin-babel": "^5.3.0",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"rollup": "^2.45.2"
}
}

@@ -68,5 +68,1 @@ # emy

Returns a function which unregisters the listener when called.
## Browser Support
Works on all modern browsers. Older browsers require a `WeakSet` polyfill.
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc