@endo/static-module-record
Advanced tools
Comparing version 0.8.1 to 0.8.2
{ | ||
"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
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
60419
1088
Updatedses@^0.18.8