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

fast-defer

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fast-defer - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

index.js

@@ -8,3 +8,3 @@ !(function (root) {

var promise = new Promise((res, rej) => {
var promise = new Promise(function (res, rej) {
resolve = res;

@@ -11,0 +11,0 @@ reject = rej;

@@ -1,1 +0,1 @@

!function(e){var r=Symbol("fast-defer");e.deferred=function(){var e,n,t=new Promise(((r,t)=>{e=r,n=t}));return t.resolve=e,t.reject=n,t[r]=1,t},e.isDeferred=function(e){return!!e&&!!e[r]}}("undefined"!=typeof exports?exports:window.FastDefer||(window.FastDefer={}));
!function(e){var r=Symbol("fast-defer");e.deferred=function(){var e,n,t=new Promise((function(r,t){e=r,n=t}));return t.resolve=e,t.reject=n,t[r]=1,t},e.isDeferred=function(e){return!!e&&!!e[r]}}("undefined"!=typeof exports?exports:window.FastDefer||(window.FastDefer={}));
{
"name": "fast-defer",
"version": "1.1.2",
"version": "1.1.3",
"description": "🕔 Fast and minimal deferred implementation for javascript",

@@ -14,3 +14,4 @@ "main": "./index.min.js",

"format": "prettier --write .",
"minify": "terser index.js --compress --mangle --output index.min.js"
"minify": "terser index.js --compress --mangle --output index.min.js",
"escheck": "es-check es3 ./index*.js"
},

@@ -21,4 +22,11 @@ "repository": {

},
"author": "Arthur Fiorette <npm@arthur.place>",
"bugs": "https://github.com/arthurfiorette/fast-defer/issues",
"author": {
"name": "Arthur Fiorette",
"email": "npm@arthur.place",
"url": "https://arthur.place"
},
"homepage": "https://github.com/arthurfiorette/fast-defer#readme",
"bugs": {
"url": "https://github.com/arthurfiorette/fast-defer/issues"
},
"keywords": [

@@ -42,3 +50,2 @@ "promise",

],
"homepage": "https://github.com/arthurfiorette/fast-defer#readme",
"engines": {

@@ -50,2 +57,3 @@ "node": ">=0.12"

"@types/jest": "^27",
"es-check": "^6.1.1",
"jest": "^27",

@@ -52,0 +60,0 @@ "prettier": "*",

@@ -26,3 +26,3 @@ <br />

<code
><a href="https://www.npmjs.com/package/fast-defer"
><a href="https://bundlephobia.com/package/fast-defer"
><img

@@ -40,2 +40,9 @@ src="https://img.shields.io/bundlephobia/min/fast-defer?style=flat"

></code>
<code
><a href="https://app.codecov.io/gh/arthurfiorette/fast-defer/"
><img
src="https://codecov.io/gh/arthurfiorette/fast-defer/branch/main/graph/badge.svg?token=pdslRMQDtC"
target="_blank"
alt="Coverage" /></a
></code>
</div>

@@ -84,10 +91,10 @@

![Downloads](https://img.shields.io/npm/v/fast-defer?style=flat)
![Npm](https://img.shields.io/npm/v/fast-defer?style=flat)
```html
<!-- Make sure to use the latest version -->
<!-- Replace latest with the desired version -->
<script crossorigin src="https://cdn.jsdelivr.net/npm/fast-defer@1.1.2"></script>
<!-- Or -->
<script crossorigin src="https://unpkg.com/fast-defer@1.1.2"></script>
<script crossorigin src="https://cdn.jsdelivr.net/npm/fast-defer@latest/index.min.js"></script>
<!-- or -->
<script crossorigin src="https://unpkg.com/fast-defer@latest/index.min.js"></script>
```

@@ -94,0 +101,0 @@

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