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

await-notify

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

await-notify - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

5

index.js

@@ -6,2 +6,3 @@ function Subject() {

Subject.prototype.wait = function (timeout) {
var self = this;
var waiter = {};

@@ -21,5 +22,5 @@ this.waiters.push(waiter);

if (!noRemove) {
var pos = this.waiters.indexOf(waiter);
var pos = self.waiters.indexOf(waiter);
if (pos > -1) {
this.waiters.splice(pos, 1);
self.waiters.splice(pos, 1);
}

@@ -26,0 +27,0 @@ }

2

package.json
{
"name": "await-notify",
"version": "1.0.0",
"version": "1.0.1",
"description": "Java like wait and notify for JavaScript ES7 async/await",

@@ -5,0 +5,0 @@ "main": "index.js",

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