Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

isolated-externals-plugin

Package Overview
Dependencies
Maintainers
4
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isolated-externals-plugin - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1-timeout-external-cache-open-5d4b190.1

8

dist/util/externalsClasses.js

@@ -229,3 +229,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var _a, staticCache;
var staticCachePromise, openCachePromise, _a, staticCache;
return __generator(this, function (_b) {

@@ -239,3 +239,7 @@ switch (_b.label) {

_b.trys.push([2, 4, , 6]);
this.cachePromise = window.caches.open(CACHE_NAME);
staticCachePromise = new Promise(function (res) {
setTimeout(function () { return res(new StaticCache()); }, 100);
});
openCachePromise = window.caches.open(CACHE_NAME);
this.cachePromise = Promise.race([staticCachePromise, openCachePromise]);
return [4 /*yield*/, this.cachePromise];

@@ -242,0 +246,0 @@ case 3: return [2 /*return*/, _b.sent()];

{
"name": "isolated-externals-plugin",
"version": "2.3.0",
"version": "2.3.1-timeout-external-cache-open-5d4b190.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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