Socket
Socket
Sign inDemoInstall

oath

Package Overview
Dependencies
0
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.4 to 0.0.5

5

History.md
0.0.5 / 2011-10-05
==================
* then checks for existence of functions
0.0.4 / 2011-10-05

@@ -3,0 +8,0 @@ ==================

13

lib/oath.js

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

*/
exports.version = '0.0.4';
exports.version = '0.0.5';

@@ -103,9 +103,12 @@

var context = this._options.context,
succ, fail;
pending = { resolve: null, reject: null };
succ = function () { success.apply(context, arguments); };
if (success)
pending.resolve = function () { success.apply(context, arguments); };
if (failure)
fail = function () { failure.apply(context, arguments); };
pending.reject = function () { failure.apply(context, arguments); };
this.pending.push({ resolve: succ, reject: fail });
this.pending.push(pending);
return this;

@@ -112,0 +115,0 @@ };

@@ -5,3 +5,3 @@ {

"description": "Tiny promises.",
"version": "0.0.4",
"version": "0.0.5",
"homepage": "http://logicalparadox.github.com/oath",

@@ -8,0 +8,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc