synchronous-promise
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -328,4 +328,3 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
if (Promise === SynchronousPromise) { | ||
console.warn("SynchronousPromise has already been installed globally"); | ||
return; | ||
return __awaiter; | ||
} | ||
@@ -345,3 +344,3 @@ var result = patchAwaiterIfRequired(__awaiter); | ||
if (typeof(__awaiter) === "undefined" || __awaiter.__patched) { | ||
return; | ||
return __awaiter; | ||
} | ||
@@ -348,0 +347,0 @@ var originalAwaiter = __awaiter; |
@@ -325,4 +325,3 @@ /* jshint node: true */ | ||
if (Promise === SynchronousPromise) { | ||
console.warn("SynchronousPromise has already been installed globally"); | ||
return; | ||
return __awaiter; | ||
} | ||
@@ -342,3 +341,3 @@ var result = patchAwaiterIfRequired(__awaiter); | ||
if (typeof(__awaiter) === "undefined" || __awaiter.__patched) { | ||
return; | ||
return __awaiter; | ||
} | ||
@@ -345,0 +344,0 @@ var originalAwaiter = __awaiter; |
{ | ||
"name": "synchronous-promise", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "Synchronous Promise-like prototype to use in testing where you would have used an ES6 Promise", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
69953
1656