Socket
Socket
Sign inDemoInstall

@effection/events

Package Overview
Dependencies
Maintainers
1
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effection/events - npm Package Compare versions

Comparing version 0.6.1-a8ad962 to 0.6.1-d293fb5

src/event-source.ts

6

dist/on.js

@@ -14,4 +14,6 @@ "use strict";

while (true) {
if (this.events.length > 0) {
return this.events.shift();
let [event, ...events] = this.events;
if (event) {
this.events = events;
return event;
}

@@ -18,0 +20,0 @@ yield once_1.once(this.source, this.eventName);

@@ -9,3 +9,3 @@ "use strict";

function* once(source, eventName) {
let onceListener;
let onceListener = () => { };
try {

@@ -12,0 +12,0 @@ return yield new Promise((resolve) => {

{
"name": "@effection/events",
"version": "0.6.1-a8ad962",
"version": "0.6.1-d293fb5",
"description": "Helpers for listening to events with effection",
"main": "dist/index.js",
"typings": "dist/index.d.js",
"types": "dist/index.d.ts",
"repository": "https://github.com/thefrontside/bigtest.git",

@@ -12,2 +12,3 @@ "author": "Frontside Engineering <engineering@frontside.io>",

"dist/*",
"src",
"README.md"

@@ -18,6 +19,7 @@ ],

"test": "mocha -r ts-node/register test/**/*.test.ts",
"prepack": "tsc --outdir dist --project tsconfig.dist.json --declaration --sourcemap --module commonjs",
"prepack": "tsc --outdir dist --project tsconfig.dist.json",
"mocha": "mocha -r ts-node/register"
},
"devDependencies": {
"@frontside/tsconfig": "0.0.1",
"@types/node": "^12.7.11",

@@ -24,0 +26,0 @@ "expect": "^25.4.0",

Sorry, the diff of this file is not supported yet

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