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.7.14 to 0.7.15

11

CHANGELOG.md

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

### [0.7.15](https://github.com/endojs/endo/compare/@endo/static-module-record@0.7.14...@endo/static-module-record@0.7.15) (2022-11-14)
### Bug Fixes
* **static-module-record:** Do not mark live binding for non-exported name ([6846226](https://github.com/endojs/endo/commit/6846226552784200146a951b758b334dc442f598))
* **static-module-record:** error with module url on transform fail ([ee051b0](https://github.com/endojs/endo/commit/ee051b0b5da4c53b4cdebb282aeaf8c6b8c832a0))
* fail template ([#1334](https://github.com/endojs/endo/issues/1334)) ([725b987](https://github.com/endojs/endo/commit/725b987ffa812a070ff45fcd496cf8fd88df6963))
### [0.7.14](https://github.com/endojs/endo/compare/@endo/static-module-record@0.7.13...@endo/static-module-record@0.7.14) (2022-10-24)

@@ -8,0 +19,0 @@

10

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

@@ -42,3 +42,3 @@ "keywords": [

"@babel/types": "^7.17.0",
"ses": "^0.17.0"
"ses": "^0.18.0"
},

@@ -48,3 +48,3 @@ "devDependencies": {

"@endo/eslint-config": "^0.5.1",
"@endo/ses-ava": "^0.2.35",
"@endo/ses-ava": "^0.2.36",
"ava": "^3.12.1",

@@ -61,3 +61,3 @@ "babel-eslint": "^10.0.3",

"prettier": "^1.19.1",
"typescript": "~4.6.2"
"typescript": "~4.8.4"
},

@@ -89,3 +89,3 @@ "files": [

},
"gitHead": "8fb324d8f13a0c6939dc0c1feb831f72298f1853"
"gitHead": "da16a94856482e36296b7cae16d715aa63344928"
}

@@ -189,11 +189,2 @@ /* eslint max-lines: 0 */

markLiveExport(name);
} else {
// Make this variable mutable with: let name = $c_name;
soften(id);
replacements.push(
t.variableDeclaration('let', [
t.variableDeclarator(t.identifier(name), t.identifier(id.name)),
]),
);
markLiveExport(name);
}

@@ -200,0 +191,0 @@ } else if (topLevelExported[name]) {

@@ -35,3 +35,12 @@ import { makeTransformSource } from './transformSource.js';

}
const scriptSource = transformSource(moduleSource, sourceOptions);
let scriptSource;
try {
scriptSource = transformSource(moduleSource, sourceOptions);
} catch (err) {
const moduleLocation = url ? JSON.stringify(url) : '<unknown>';
throw new SyntaxError(
`Error transforming source in ${moduleLocation}: ${err.message}`,
{ cause: err },
);
}

@@ -38,0 +47,0 @@ let preamble = sourceOptions.importDecls.join(',');

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