![Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility](https://cdn.sanity.io/images/cgdhsj6q/production/97774ea8c88cc8f4bed2766c31994ebc38116948-1664x1366.png?w=400&fit=max&auto=format)
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@jitl/quickjs-wasmfile-debug-sync
Advanced tools
Variant of quickjs library: Variant with separate .WASM file. Supports browser, NodeJS ESM, and NodeJS CJS.
Variant with separate .WASM file. Supports browser, NodeJS ESM, and NodeJS CJS.
This generated package is part of quickjs-emscripten. It contains a variant of the quickjs WASM library, and can be used with quickjs-emscripten-core.
import variant from "@jitl/quickjs-wasmfile-debug-sync"
import { newQuickJSWASMModuleFromVariant } from "quickjs-emscripten-core"
const QuickJS = await newQuickJSWASMModuleFromVariant(variant)
This variant was built with the following settings:
The original bellard/quickjs library.
Enables assertions and memory sanitizers. Try to run your tests against debug variants, in addition to your preferred production variant, to catch more bugs.
Exports the following in package.json for the package entrypoint:
The default, normal build. Note that both variants support regular async functions.
Has a separate .wasm file. May offer better caching in your browser, and reduces the size of your JS bundle. If you have issues, try a 'singlefile' variant.
Full variant JSON description:
{
"library": "quickjs",
"releaseMode": "debug",
"syncMode": "sync",
"description": "Variant with separate .WASM file. Supports browser, NodeJS ESM, and NodeJS CJS.",
"emscriptenInclusion": "wasm",
"exports": {
"require": {
"emscriptenEnvironment": ["node"]
},
"import": {
"emscriptenEnvironment": ["node"]
},
"browser": {
"emscriptenEnvironment": ["web", "worker"]
}
}
}
Variant-specific Emscripten build flags:
[
"-O0",
"-DQTS_DEBUG_MODE",
"-gsource-map",
"-s ASSERTIONS=1",
"-DQTS_SANITIZE_LEAK",
"-fsanitize=leak",
"-g2"
]
FAQs
Variant of quickjs library: Variant with separate .WASM file. Supports browser ESM, NodeJS ESM, and NodeJS CommonJS.
The npm package @jitl/quickjs-wasmfile-debug-sync receives a total of 25,008 weekly downloads. As such, @jitl/quickjs-wasmfile-debug-sync popularity was classified as popular.
We found that @jitl/quickjs-wasmfile-debug-sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.