Socket
Socket
Sign inDemoInstall

then-callback

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

then-callback - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

CHANGELOG.md
## 1.0.1 - 2015-10-11
- Release v1.0.1 / npm@v1.0.1
- fix error message
## 1.0.0 - 2015-10-11

@@ -4,0 +8,0 @@ - Release v1.0.0 / npm@v1.0.0

2

index.js

@@ -32,3 +32,3 @@ /*!

if (!isPromise(promise)) {
throw new TypeError('wrapen: expect a `promise` be promise')
throw new TypeError('then-callback: expect `promise` to be promise')
}

@@ -35,0 +35,0 @@ var thenCopy = promise.then

{
"name": "then-callback",
"version": "1.0.0",
"version": "1.0.1",
"description": "Wrap a promise to allow passing callback to `.then` of given promise, also works as normal `.then`",

@@ -5,0 +5,0 @@ "repository": "hybridables/then-callback",

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