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

@endo/static-module-record

Package Overview
Dependencies
Maintainers
5
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@endo/static-module-record - npm Package Compare versions

Comparing version 0.5.4 to 0.6.0

15

CHANGELOG.md

@@ -6,2 +6,17 @@ # Change Log

## [0.6.0](https://github.com/endojs/endo/compare/@endo/static-module-record@0.5.4...@endo/static-module-record@0.6.0) (2021-07-22)
### ⚠ BREAKING CHANGES
* Update preamble for SES StaticModuleRecord
* **static-module-record:** Remove reliance on Map in scope of preamble
### Bug Fixes
* Update preamble for SES StaticModuleRecord ([790ed01](https://github.com/endojs/endo/commit/790ed01f0aa73ff2d232e69c9323ee0bb448c2b0))
* **static-module-record:** Remove reliance on Map in scope of preamble ([4b4aa65](https://github.com/endojs/endo/commit/4b4aa65a039ea5297970c9d2ac3c0a3827a4f3f8))
### [0.5.4](https://github.com/endojs/endo/compare/@endo/static-module-record@0.5.3...@endo/static-module-record@0.5.4) (2021-06-20)

@@ -8,0 +23,0 @@

12

package.json
{
"name": "@endo/static-module-record",
"version": "0.5.4",
"version": "0.6.0",
"description": "Shim for the SES StaticModuleRecord and module-to-program transformer",

@@ -30,2 +30,3 @@ "keywords": [

"build": "exit 0",
"cover": "c8 ava",
"lint": "yarn lint:types && yarn lint:js",

@@ -42,6 +43,7 @@ "lint:types": "tsc --build jsconfig.json",

"@ava/babel": "^1.0.1",
"@endo/eslint-config": "^0.3.11",
"@endo/ses-ava": "^0.2.4",
"@endo/eslint-config": "^0.3.12",
"@endo/ses-ava": "^0.2.5",
"ava": "^3.12.1",
"babel-eslint": "^10.0.3",
"c8": "^7.7.3",
"eslint": "^7.23.0",

@@ -54,3 +56,3 @@ "eslint-config-airbnb-base": "^14.0.0",

"prettier": "^1.19.1",
"ses": "^0.13.4",
"ses": "^0.14.0",
"typescript": "^4.0.5"

@@ -82,3 +84,3 @@ },

},
"gitHead": "9e01f1b96869b8296eed9c6a408e74132a556449"
"gitHead": "2e9673128014d82f238e845c9285ba7005c30900"
}

@@ -30,6 +30,6 @@ # StaticModuleRecord

instructions in
[SECURITY.md](https://github.com/Agoric/ses-shim/blob/master/SECURITY.md)
[SECURITY.md](https://github.com/endojs/endo/blob/master/packages/ses/SECURITY.md)
to report security-sensitive bugs privately.
For non-security bugs, please use the [regular Issues
page](https://github.com/Agoric/ses-shim/issues).
page](https://github.com/endojs/endo/issues).

@@ -117,10 +117,10 @@ import * as h from './hidden.js';

const isrc = sourceOptions.importSources;
preamble += `${h.HIDDEN_IMPORTS}(new Map([${Object.keys(isrc)
preamble += `${h.HIDDEN_IMPORTS}([${Object.keys(isrc)
.map(
src =>
`[${js(src)}, new Map([${Object.entries(isrc[src])
`[${js(src)}, [${Object.entries(isrc[src])
.map(([exp, upds]) => `[${js(exp)}, [${upds.join(',')}]]`)
.join(',')}])]`,
.join(',')}]]`,
)
.join(',')}]));`;
.join(',')}]);`;
preamble += sourceOptions.hoistedDecls

@@ -127,0 +127,0 @@ .map(([vname, isOnce, cvname]) => {

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