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

fairmont-helpers

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fairmont-helpers - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

20

lib/promise.js
// Generated by CoffeeScript 1.10.0
(function() {
var async, call, follow, isFunction, isGeneratorFunction, isObject, isPromise, lift, promise, ref,
var async, call, follow, isFunction, isGeneratorFunction, isObject, isPromise, lift, promise, ref, reject, resolve, unhandled,
slice = [].slice;

@@ -8,2 +8,8 @@

unhandled = new Map;
process.on("unhandledRejection", function(reason, p) {
return console.warn("Warning: unhandled rejection for", p);
});
promise = function(executor) {

@@ -13,6 +19,12 @@ return new Promise(executor);

follow = function(x) {
reject = function(x) {
return Promise.reject(x);
};
resolve = function(x) {
return Promise.resolve(x);
};
follow = resolve;
lift = function(f) {

@@ -99,4 +111,6 @@ var key, proxy, value;

module.exports = {
promise: promise,
resolve: resolve,
follow: follow,
promise: promise,
reject: reject,
lift: lift,

@@ -103,0 +117,0 @@ async: async,

2

package.json
{
"name": "fairmont-helpers",
"version": "1.1.1",
"version": "1.1.2",
"description": "Functional and reactive programming for JavaScript.",

@@ -5,0 +5,0 @@ "files": [

Sorry, the diff of this file is not supported yet

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