
Security News
Open Source Maintainers Demand Ability to Block Copilot-Generated Issues and PRs
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
@deno/eszip
Advanced tools
A utility that can download JavaScript and TypeScript module graphs and store them locally in a special zip file
The eszip format lets you losslessly serialize an ECMAScript module graph
(represented by deno_graph::ModuleGraph
) into a single compact
file.
The eszip file format is designed to be compact and streaming capable. This allows for efficient loading of large ECMAScript module graphs.
https://eszip-viewer.deno.dev/ is a tool for inspecting eszip files.
cargo run --example eszip_builder https://deno.land/std/http/file_server.ts file_server.eszip2
cargo run --example eszip_viewer file_server.eszip2
cargo run --example eszip_load file_server.eszip2 https://deno.land/std/http/file_server.ts
The file format looks as follows:
Eszip:
| Magic (8) | Header size (4) | Header (n) | Header hash (32) | Sources size (4) | Sources (n) | SourceMaps size (4) | SourceMaps (n) |
Header:
( | Specifier size (4) | Specifier (n) | Entry type (1) | Entry (n) | )*
Entry (redirect):
| Specifier size (4) | Specifier (n) |
Entry (module):
| Source offset (4) | Source size (4) | SourceMap offset (4) | SourceMap size (4) | Module type (1) |
Sources:
( | Source (n) | Hash (32) | )*
SourceMaps:
( | SourceMap (n) | Hash (32) | )*
There is one optimization for empty source / source map entries. If both the offset and size are set to 0, no entry and no hash is present in the data sections for that module.
When opening a PR make sure to rebuild Wasm by running:
deno task build
FAQs
A utility that can download JavaScript and TypeScript module graphs and store them locally in a special zip file
The npm package @deno/eszip receives a total of 8,671 weekly downloads. As such, @deno/eszip popularity was classified as popular.
We found that @deno/eszip demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Open source maintainers are urging GitHub to let them block Copilot from submitting AI-generated issues and pull requests to their repositories.
Research
Security News
Malicious Koishi plugin silently exfiltrates messages with hex strings to a hardcoded QQ account, exposing secrets in chatbots across platforms.
Research
Security News
Malicious PyPI checkers validate stolen emails against TikTok and Instagram APIs, enabling targeted account attacks and dark web credential sales.