Socket
Socket
Sign inDemoInstall

pinkie

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.2

6

index.js

@@ -8,3 +8,3 @@ 'use strict';

var NOOP = function () {};
var isNode = typeof process !== 'undefined' && typeof process.emit === 'function';
var isNode = global.process !== 'undefined' && typeof global.process.emit === 'function';

@@ -160,3 +160,3 @@ var asyncSetTimer = typeof setImmediate === 'undefined' ? setTimeout : setImmediate;

if (!promise._handled && isNode) {
process.emit('unhandledRejection', promise._data, promise);
global.process.emit('unhandledRejection', promise._data, promise);
}

@@ -166,3 +166,3 @@ }

function notifyRejectionHandled(promise) {
process.emit('rejectionHandled', promise);
global.process.emit('rejectionHandled', promise);
}

@@ -169,0 +169,0 @@

{
"name": "pinkie",
"version": "2.0.1",
"version": "2.0.2",
"description": "Itty bitty little widdle twinkie pinkie ES2015 Promise implementation",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -10,3 +10,3 @@ <h1 align="center">

[![Build Status](https://travis-ci.org/floatdrop/pinkie.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie) [![Coverage Status](https://coveralls.io/repos/floatdrop/pinkie/badge.svg?branch=master&service=github)](https://coveralls.io/github/floatdrop/pinkie?branch=master)
[![Build Status](https://travis-ci.org/floatdrop/pinkie.svg?branch=master)](https://travis-ci.org/floatdrop/pinkie) [![Build status](https://ci.appveyor.com/api/projects/status/chm686d8cg68mamh/branch/master?svg=true)](https://ci.appveyor.com/project/floatdrop/pinkie/branch/master) [![Coverage Status](https://coveralls.io/repos/floatdrop/pinkie/badge.svg?branch=master&service=github)](https://coveralls.io/github/floatdrop/pinkie?branch=master)

@@ -13,0 +13,0 @@ There are [tons of Promise implementations](https://github.com/promises-aplus/promises-spec/blob/master/implementations.md#standalone) out there, but all of them focus on browser compatibility and are often bloated with functionality.

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc