metal-promise
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -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 { |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
75346
1