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

proxmis

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proxmis - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

package.json
{
"name": "proxmis",
"version": "0.1.0",
"version": "0.1.1",
"description": "A generator for creating promises that can be used as node.js callbacks.",

@@ -13,2 +13,6 @@ "main": "proxmis.js",

],
"repository": {
"type": "git",
"url": "https://github.com/ChiperSoft/proxmis.js.git"
},
"author": "Jarvis Badgley <chiper@chipersoft.com> (http://chipersoft.com/)",

@@ -15,0 +19,0 @@ "license": "MIT",

2

proxmis.js

@@ -27,3 +27,3 @@

callable.then = function () {
defer.then.apply(defer, arguments);
return defer.then.apply(defer, arguments);
};

@@ -30,0 +30,0 @@

@@ -157,3 +157,20 @@

exports['Chained then'] = function (test) {
test.expect(2);
var prox = proxmis();
var defer = prox.then(function (result) {
test.ok(true);
return result;
});
defer = defer.then(function (result) {
test.equal(result, 10);
test.done();
});
prox(null, 10);
};
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