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

p-promise

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

p-promise - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

package.json
{
"name": "p-promise",
"version": "0.0.6",
"version": "0.0.7",
"description": "A simple Promises/A+ library.",

@@ -5,0 +5,0 @@ "author": "Robert Katić <robert.katic@gmail.com> (https://github.com/rkatic)",

@@ -14,8 +14,8 @@ [![Build Status](https://secure.travis-ci.org/rkatic/p.png)](http://travis-ci.org/rkatic/p)

P implements a subset of the [Q](https://github.com/kriskowal/q) API.
P implements a subset of the [Q](https://github.com/kriskowal/q) API with few **differences**.
- `P(val)`
- `P.defer()`
- `P.all(promises)`
- `P.allResolved(promises)`
- `P.all(promises)` (array **or object** of promises)
- `P.allResolved(promises)` (array **or object** of promises)
- `P.onerror`

@@ -30,3 +30,3 @@ - `P.nextTick(callback)`

- `promise.spread(onFulfilled, onRejected)`
- `promise.state` ("pending", "fulfilled, or "rejected")
- `promise.value` (resolved value/exception)
- **`promise.state` ("pending", "fulfilled, or "rejected")**
- **`promise.value` (resolved value/exception)**
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