Socket
Socket
Sign inDemoInstall

synchronous-promise

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

synchronous-promise - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

dist/test.html

5

dist/synchronous-promise.js

@@ -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;

2

package.json
{
"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

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