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

promise-deferred

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

promise-deferred - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

.jscs.json

4

index.js

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

"use strict";
var Promise = require('promise');
var Deferred = function Deferred() {
"use strict";
if (!(this instanceof Deferred)) { return new Deferred(); }

@@ -7,0 +7,0 @@

{
"name": "promise-deferred",
"version": "1.0.0",
"version": "1.0.1",
"description": "A lightweight Deferred implementation, on top of Promises/A+",
"main": "index.js",
"scripts": {
"test": "node test.js",
"test": "npm run lint && node test.js && npm run coverage-quiet",
"coverage": "covert test.js",
"coverage-quiet": "covert test.js --quiet"
"coverage-quiet": "covert test.js --quiet",
"lint": "jscs *.js"
},

@@ -53,3 +54,4 @@ "repository": {

"tape": "~2.14.0",
"covert": "~0.4.0"
"covert": "~1.0.0",
"jscs": "~1.5.9"
},

@@ -56,0 +58,0 @@ "engines": {

@@ -32,7 +32,7 @@ #promise-deferred <sup>[![Version Badge][2]][1]</sup>

[2]: http://vb.teelaun.ch/ljharb/promise-deferred.svg
[3]: https://travis-ci.org/ljharb/promise-deferred.png
[3]: https://travis-ci.org/ljharb/promise-deferred.svg
[4]: https://travis-ci.org/ljharb/promise-deferred
[5]: https://david-dm.org/ljharb/promise-deferred.png
[5]: https://david-dm.org/ljharb/promise-deferred.svg
[6]: https://david-dm.org/ljharb/promise-deferred
[7]: https://david-dm.org/ljharb/promise-deferred/dev-status.png
[7]: https://david-dm.org/ljharb/promise-deferred/dev-status.svg
[8]: https://david-dm.org/ljharb/promise-deferred#info=devDependencies

@@ -39,0 +39,0 @@ [9]: https://ci.testling.com/ljharb/promise-deferred.png

@@ -12,2 +12,7 @@ var test = require('tape');

test('Deferred has a reference to Promise', function (t) {
t.ok(Deferred.Promise, Promise, 'Deferred.Promise === Promise');
t.end();
});
test('has a promise', function (t) {

@@ -14,0 +19,0 @@ var deferred = 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