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

tiny-defer

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-defer - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

lib/tiny-defer.es6.js

@@ -8,3 +8,3 @@ /**

* @link https://github.com/avoidwork/tiny-defer
* @version 1.0.1
* @version 1.0.2
*/

@@ -11,0 +11,0 @@ (function (global) {

@@ -8,3 +8,3 @@ /**

* @link https://github.com/avoidwork/tiny-defer
* @version 1.0.1
* @version 1.0.2
*/

@@ -11,0 +11,0 @@ "use strict";

{
"name": "tiny-defer",
"version": "1.0.1",
"version": "1.0.2",
"description": "Tiny Deferred for Client or Server",

@@ -5,0 +5,0 @@ "main": "lib/tiny-defer.js",

@@ -26,5 +26,11 @@ # tiny-defer

## API
#### deferred()
Returns an unboxed `Promise`
#### promise
`Promise` to pass/return
#### reject()
Rejects the `Promise`
#### resolve()
Resolves the `Promise`
## How to use tiny-defer

@@ -31,0 +37,0 @@ `tiny-defer` can be loaded as a CommonJS or AMD module, or with a script tag which would create `window.deferred`.

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