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

@bara/core

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bara/core - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

12

CHANGELOG.md

@@ -6,2 +6,14 @@ # Change Log

## [2.3.1](https://github.com/barajs/bara/compare/v2.3.0...v2.3.1) (2019-04-19)
### Bug Fixes
* **core:** addListener of createEmitter instance will throw error if parameters is not correct ([28c18b7](https://github.com/barajs/bara/commit/28c18b7))
* **core:** emitterMap process could not iterable ([8109697](https://github.com/barajs/bara/commit/8109697))
# [2.3.0](https://github.com/barajs/bara/compare/v2.2.0...v2.3.0) (2019-04-19)

@@ -8,0 +20,0 @@

15

dist/bara.js

@@ -116,8 +116,15 @@ "use strict";

// Assign emitter function to emitterMap for fast access
let i = emitterRegistry[emitterRegistryIndex].emitFuncs.length;
// tslint:disable-next-line
while (i--) {
const [eventType, emitFunc] = emitterRegistry[emitterRegistryIndex].emitFuncs[i];
const emitFuncsArray = emitterRegistry[emitterRegistryIndex].emitFuncs;
for (const emitFuncs of emitFuncsArray) {
const [eventType, emitFunc] = emitFuncs;
emitterMap[eventType] = emitFunc;
}
// let i = emitterRegistry[emitterRegistryIndex].emitFuncs.length
//// tslint:disable-next-line
// while (i--) {
// const [eventType, emitFunc] = emitterRegistry[
// emitterRegistryIndex
// ].emitFuncs[i]
// emitterMap[eventType] = emitFunc
// }
emitterRegistryIndex += 1;

@@ -124,0 +131,0 @@ return emitterRegistry[emitterRegistryIndex - 1];

{
"name": "@bara/core",
"version": "2.3.0",
"version": "2.3.1",
"description": "BaraJS Core - Created For Creating",

@@ -44,3 +44,3 @@ "license": "MIT",

},
"gitHead": "e343d9c27b3ee9a195b3d0c550648301a3e88232"
"gitHead": "9cc826cedb01d955c5813def5fe197d9d527f7cd"
}

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