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.0 to 1.0.1

5

lib/tiny-defer.es6.js

@@ -8,6 +8,7 @@ /**

* @link https://github.com/avoidwork/tiny-defer
* @version 1.0.0
* @version 1.0.1
*/
(function (global) {
const Promise = global.Promise || require("es6-promise").Promise;
const server = typeof process !== "undefined" && typeof process.nextTick === "function";
const Promise = !server && global.Promise ? global.Promise : require("es6-promise").Promise;

@@ -14,0 +15,0 @@ function deferred () {

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

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

@@ -14,3 +14,4 @@ "use strict";

(function (global) {
var Promise = global.Promise || require("es6-promise").Promise;
var server = typeof process !== "undefined" && typeof process.nextTick === "function";
var Promise = !server && global.Promise ? global.Promise : require("es6-promise").Promise;

@@ -17,0 +18,0 @@ function deferred() {

2

package.json
{
"name": "tiny-defer",
"version": "1.0.0",
"version": "1.0.1",
"description": "Tiny Deferred for Client or Server",

@@ -5,0 +5,0 @@ "main": "lib/tiny-defer.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