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

@agoric/compartment-mapper

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agoric/compartment-mapper - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

package.json
{
"name": "@agoric/compartment-mapper",
"version": "0.2.2",
"version": "0.2.3",
"description": "The compartment mapper assembles Node applications in a sandbox",

@@ -5,0 +5,0 @@ "author": "Agoric",

@@ -78,5 +78,5 @@ /* eslint no-shadow: "off" */

});
// Wrap import calls to bypass SES censoring for dynamic import.
// eslint-disable-next-line prettier/prettier
return (compartment.import)(moduleSpecifier);
// Call import by property to bypass SES censoring for dynamic import.
// eslint-disable-next-line dot-notation
return compartment["import"](moduleSpecifier);
};

@@ -94,5 +94,5 @@

const archive = await loadArchive(read, archiveLocation);
// Wrap import calls to bypass SES censoring for dynamic import.
// eslint-disable-next-line prettier/prettier
return (archive.import)(options);
// Call import by property to bypass SES censoring for dynamic import.
// eslint-disable-next-line dot-notation
return archive["import"](options);
};

@@ -47,5 +47,5 @@ /* eslint no-shadow: "off" */

});
// Wrap import calls to bypass SES censoring for dynamic import.
// eslint-disable-next-line prettier/prettier
return (compartment.import)(moduleSpecifier);
// Call import by property to bypass SES censoring for dynamic import.
// eslint-disable-next-line dot-notation
return compartment["import"](moduleSpecifier);
};

@@ -58,5 +58,5 @@

const application = await loadLocation(read, moduleLocation);
// Wrap import calls to bypass SES censoring for dynamic import.
// eslint-disable-next-line prettier/prettier
return (application.import)(options);
// Call import by property to bypass SES censoring for dynamic import.
// eslint-disable-next-line dot-notation
return application["import"](options);
};

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