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.8.1 to 0.8.2

10

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

@@ -43,6 +43,6 @@ "keywords": [

"@babel/types": "^7.17.0",
"ses": "^0.18.7"
"ses": "^0.18.8"
},
"devDependencies": {
"@endo/ses-ava": "^0.2.43",
"@endo/ses-ava": "^0.2.44",
"ava": "^5.3.0",

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

"prettier": "^3.0.0",
"typescript": "~5.1.3"
"typescript": "~5.2.2"
},

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

},
"gitHead": "b38361616f968415291b089dcca75cc4a2672a35"
"gitHead": "9c779d317c4b02133172dbe142c5b2d1727efc49"
}

@@ -75,3 +75,3 @@ /* eslint max-lines: 0 */

*
* @type {Record<string, Array<string>}
* @type {Record<string, Array<string>>}
*/

@@ -78,0 +78,0 @@ const topLevelExported = Object.create(null);

export const HIDDEN_PREFIX: "$h‍_";
export const HIDDEN_CONST_VAR_PREFIX: "$c‍_";
export const HIDDEN_A: string;
export const HIDDEN_IMPORT: string;
export const HIDDEN_IMPORT_SELF: string;
export const HIDDEN_IMPORTS: string;
export const HIDDEN_ONCE: string;
export const HIDDEN_META: string;
export const HIDDEN_LIVE: string;
export const HIDDEN_A: "$h‍_a";
export const HIDDEN_IMPORT: "$h‍_import";
export const HIDDEN_IMPORT_SELF: "$h‍_importSelf";
export const HIDDEN_IMPORTS: "$h‍_imports";
export const HIDDEN_ONCE: "$h‍_once";
export const HIDDEN_META: "$h‍____meta";
export const HIDDEN_LIVE: "$h‍_live";
export const HIDDEN_IDENTIFIERS: string[];
//# sourceMappingURL=hidden.d.ts.map
/**
* @typedef {object} SourceMapHookDetails
* @property {string} compartment
* @property {string} module
* @property {string} location
* @property {string} sha512
*/
/**
* @callback SourceMapHook
* @param {string} sourceMap
* @param {string} sourceUrl
* @param {string} source
* @param {SourceMapHookDetails} details
*/

@@ -26,6 +32,12 @@ /**

/**
* @typedef {object} SourceMapHookDetails
* @property {string} compartment
* @property {string} module
* @property {string} location
* @property {string} sha512
*/
/**
* @callback SourceMapHook
* @param {string} sourceMap
* @param {string} sourceUrl
* @param {string} source
* @param {SourceMapHookDetails} details
*/

@@ -58,3 +70,9 @@ /**

}
export type SourceMapHook = (sourceMap: string, sourceUrl: string, source: string) => any;
export type SourceMapHookDetails = {
compartment: string;
module: string;
location: string;
sha512: string;
};
export type SourceMapHook = (sourceMap: string, details: SourceMapHookDetails) => any;
export type Options = {

@@ -61,0 +79,0 @@ sourceUrl?: string | undefined;

@@ -37,6 +37,13 @@ /* eslint no-underscore-dangle: ["off"] */

/**
* @typedef {object} SourceMapHookDetails
* @property {string} compartment
* @property {string} module
* @property {string} location
* @property {string} sha512
*/
/**
* @callback SourceMapHook
* @param {string} sourceMap
* @param {string} sourceUrl
* @param {string} source
* @param {SourceMapHookDetails} details
*/

@@ -43,0 +50,0 @@

Sorry, the diff of this file is not supported yet

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