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

@equinor/echo-base

Package Overview
Dependencies
Maintainers
12
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/echo-base - npm Package Compare versions

Comparing version 0.6.7 to 0.6.8

5

esm/module/dependency.js

@@ -74,5 +74,3 @@ import { __awaiter, __generator } from "tslib";

script.onload = function () { return resolve(verifyAppWithModule(name, script.module)); };
script.onerror = function () {
reject("Could not load module ".concat(name));
};
script.onerror = function () { return reject("Could not load module ".concat(name)); };
document.head.appendChild(script);

@@ -128,3 +126,2 @@ })];

return __generator(this, function (_b) {
appendScriptTagToDom(name, link, requireRef, dependencies, crossOrigin, integrity).catch(function () { return console.error; });
return [2 /*return*/, appendScriptTagToDom(name, link, requireRef, dependencies, crossOrigin, integrity)];

@@ -131,0 +128,0 @@ });

@@ -77,5 +77,3 @@ "use strict";

script.onload = function () { return resolve(verifyAppWithModule(name, script.module)); };
script.onerror = function () {
reject("Could not load module ".concat(name));
};
script.onerror = function () { return reject("Could not load module ".concat(name)); };
document.head.appendChild(script);

@@ -134,3 +132,2 @@ })];

return tslib_1.__generator(this, function (_b) {
appendScriptTagToDom(name, link, requireRef, dependencies, crossOrigin, integrity).catch(function () { return console.error; });
return [2 /*return*/, appendScriptTagToDom(name, link, requireRef, dependencies, crossOrigin, integrity)];

@@ -137,0 +134,0 @@ });

2

package.json
{
"name": "@equinor/echo-base",
"version": "0.6.7",
"version": "0.6.8",
"module": "esm/index.js",

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

@@ -88,5 +88,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

script.onload = (): void => resolve(verifyAppWithModule(name, script.module));
script.onerror = (): void => {
reject(`Could not load module ${name}`);
};
script.onerror = (): void => reject(`Could not load module ${name}`);

@@ -136,4 +134,3 @@ document.head.appendChild(script);

): Promise<ModuleData> {
appendScriptTagToDom(name, link, requireRef, dependencies, crossOrigin, integrity).catch(() => console.error);
return appendScriptTagToDom(name, link, requireRef, dependencies, crossOrigin, integrity);
}

Sorry, the diff of this file is not supported yet

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