cc258b1757
- Added embedded addon tarball output in `embed-native.ts` using `embedded-addons.<platform>.tar.gz` artifacts. - Added metadata-rich addon types with `size`, `filePath`, and optional `archive` fields. - Updated extraction to prioritize archive unpacking and skip cached `.node` files when sizes match. - Added `extractEmbeddedAddonArchive()` with archive parsing and safe validation of archive entry names and kinds. - Adjusted release profile to disable line-table generation and strip symbols in `Cargo.toml`. - Added CI-only ELF validation for forbidden sections and regression coverage for issue-823 archive extraction.
32 lines
742 B
JavaScript
32 lines
742 B
JavaScript
|
|
// AUTOGENERATED FILE -- DO NOT EDIT DIRECTLY
|
|
// See scripts/embed-native.ts
|
|
|
|
/** @typedef {"modern" | "baseline" | "default"} EmbeddedAddonVariant */
|
|
|
|
/**
|
|
* @typedef {Object} EmbeddedAddonFile
|
|
* @property {EmbeddedAddonVariant} variant
|
|
* @property {string} filename
|
|
* @property {number} size
|
|
* @property {string=} filePath
|
|
*/
|
|
|
|
/**
|
|
* @typedef {Object} EmbeddedAddonArchive
|
|
* @property {"tar.gz"} format
|
|
* @property {string} filename
|
|
* @property {string} filePath
|
|
*/
|
|
|
|
/**
|
|
* @typedef {Object} EmbeddedAddon
|
|
* @property {string} platformTag
|
|
* @property {string} version
|
|
* @property {EmbeddedAddonFile[]} files
|
|
* @property {EmbeddedAddonArchive=} archive
|
|
*/
|
|
|
|
/** @type {EmbeddedAddon|null} */
|
|
export const embeddedAddon = null;
|