Socket
Socket
Sign inDemoInstall

rsvp

Package Overview
Dependencies
Maintainers
6
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rsvp - npm Package Compare versions

Comparing version 4.8.3 to 4.8.4

4

lib/rsvp/hash.js

@@ -33,3 +33,3 @@ import Promise from './promise';

});
````
```

@@ -62,3 +62,3 @@ If any of the `promises` given to `hash` are rejected, the first promise

```javascript
import { hash, resovle } from 'rsvp';
import { hash, resolve } from 'rsvp';
function MyConstructor(){

@@ -65,0 +65,0 @@ this.example = resolve('Example');

@@ -231,4 +231,8 @@ import { config } from './config';

return promise.then(value => constructor.resolve(callback()).then(() => value),
reason => constructor.resolve(callback()).then(() => { throw reason; }), label);
if (typeof callback === 'function') {
return promise.then(value => constructor.resolve(callback()).then(() => value),
reason => constructor.resolve(callback()).then(() => { throw reason; }));
}
return promise.then(callback, callback);
}

@@ -235,0 +239,0 @@ }

{
"name": "rsvp",
"namespace": "RSVP",
"version": "4.8.3",
"version": "4.8.4",
"description": "A lightweight library that provides tools for organizing asynchronous code",

@@ -6,0 +6,0 @@ "main": "dist/rsvp.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