New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

metal-promise

Package Overview
Dependencies
Maintainers
9
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

metal-promise - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

lib/ProgressPromise.js

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

var result = onRejected.call(opt_context, reason);
if (!isDef(result) && reason.IS_CANCELLATION_ERROR) {
if (!(0, _metal.isDef)(result) && reason.IS_CANCELLATION_ERROR) {
reject(reason);

@@ -83,0 +83,0 @@ } else {

{
"name": "metal-promise",
"version": "3.0.1",
"version": "3.0.2",
"description": "Promises polyfill from Google's Closure Library in ES6",

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

'use strict';
import CancellablePromise from './promise/Promise';
import { async } from 'metal';
import { async, isDef } from 'metal';

@@ -6,0 +6,0 @@ class ProgressPromise extends CancellablePromise {

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