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

es-module-loader

Package Overview
Dependencies
Maintainers
2
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es-module-loader - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

12

core/register-loader.js

@@ -314,6 +314,2 @@ import { Loader, ModuleNamespace } from './loader-polyfill.js';

function traceDynamicLoad (loader, parentKey, key) {
loader.loads[parentKey].dynamicDeps.push(key);
}
/*

@@ -479,6 +475,10 @@ * Convert a CJS module.exports into a valid object for new Module:

// ContextualLoader class
// backwards-compatible with previous System.register context argument by exposing .id
// backwards-compatible with previous System.register context argument by exposing .id, .key
function ContextualLoader (loader, key) {
this.loader = loader;
this.key = this.id = key;
this.meta = {
url: key
// scriptElement: null
};
}

@@ -490,3 +490,3 @@ /*ContextualLoader.prototype.constructor = function () {

if (this.loader.trace)
traceDynamicLoad(this.loader, this.key, key);
this.loader.loads[this.key].dynamicDeps.push(key);
return this.loader.import(key, this.key);

@@ -493,0 +493,0 @@ };

{
"name": "es-module-loader",
"description": "An ES Module Loader shim",
"version": "2.2.0",
"version": "2.2.1",
"homepage": "https://github.com/ModuleLoader/es-module-loader",

@@ -6,0 +6,0 @@ "author": {

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