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

es-emitter

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-emitter - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

10

.dist/index.js
'use strict';
var _interopRequireWildcard = function (obj) { return obj && obj.__esModule ? obj : { 'default': obj }; };
var _import = require('lodash');
var _import2 = _interopRequireWildcard(_import);
module.exports = function () {

@@ -85,3 +91,3 @@ return function (listenerInterceptor) {

})(function () {
return _.each(unregister, function (fn) {
return _import2['default'].each(unregister, function (fn) {
return fn();

@@ -91,3 +97,3 @@ });

return {
v: _.transform(event, function (result, listener, eventName) {
v: _import2['default'].transform(event, function (result, listener, eventName) {
result[eventName] = on(events, listenerInterceptor, eventName, listener);

@@ -94,0 +100,0 @@ }, unregister)

{
"name": "es-emitter",
"version": "0.0.3",
"version": "0.0.4",
"description": "A small function that produces an emitter",

@@ -32,3 +32,6 @@ "repository": "https://github.com/blakelapierre/es-emitter",

"vinyl-source-stream": "^1.1.0"
},
"dependencies": {
"lodash": "^3.7.0"
}
}

2

src/index.js

@@ -0,1 +1,3 @@

import _ from 'lodash';
module.exports = () => {

@@ -2,0 +4,0 @@ return listenerInterceptor => {

Sorry, the diff of this file is not supported yet

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