@agoric/compartment-mapper
Advanced tools
Comparing version 0.2.2 to 0.2.3
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
189854