@jitl/quickjs-wasmfile-debug-sync
Advanced tools
Comparing version 0.25.0-rc.6 to 0.25.0-rc.7
// Generated from ../../templates/emscripten-module.SYNC.d.ts | ||
import { EmscriptenModuleLoader, QuickJSEmscriptenModule } from "@jitl/quickjs-ffi-types" | ||
import type { EmscriptenModuleLoader, QuickJSEmscriptenModule } from "@jitl/quickjs-ffi-types" | ||
/** | ||
@@ -4,0 +4,0 @@ * Emscripten module built from the unmodified [`quickjs/quickjs.h`](../quickjs/quickjs.h) |
// Generated from ../../templates/emscripten-module.SYNC.d.ts | ||
import { EmscriptenModuleLoader, QuickJSEmscriptenModule } from "@jitl/quickjs-ffi-types" | ||
import type { EmscriptenModuleLoader, QuickJSEmscriptenModule } from "@jitl/quickjs-ffi-types" | ||
/** | ||
@@ -4,0 +4,0 @@ * Emscripten module built from the unmodified [`quickjs/quickjs.h`](../quickjs/quickjs.h) |
@@ -1,23 +0,6 @@ | ||
import * as _jitl_quickjs_ffi_types from '@jitl/quickjs-ffi-types'; | ||
import { EmscriptenModuleLoader, QuickJSEmscriptenModule } from '@jitl/quickjs-ffi-types'; | ||
import { QuickJSFFI } from './ffi.js'; | ||
import { QuickJSSyncVariant } from '@jitl/quickjs-ffi-types'; | ||
// Generated from ../../templates/emscripten-module.SYNC.d.ts | ||
/** | ||
* Emscripten module built from the unmodified [`quickjs/quickjs.h`](../quickjs/quickjs.h) | ||
* and our FFI support functions [c/interface.c](../c/interface.c). | ||
* | ||
* Note that emscripten modules returned by a `MODULARIZE=1` emscripten build | ||
* (like this one) load asynchronously. | ||
*/ | ||
declare const ModuleLoader: EmscriptenModuleLoader<QuickJSEmscriptenModule> | ||
declare namespace ___dist_emscripten_module_browser_js { | ||
export { ModuleLoader as default }; | ||
} | ||
/** | ||
* This export is a variant of the quickjs WASM library: | ||
* ### [@jitl/quickjs-wasmfile-debug-sync](https://github.com/justjake/quickjs-emscripten/blob/main/doc/packages/@jitl/quickjs-wasmfile-debug-sync/README.md) | ||
* ### [@jitl/quickjs-wasmfile-debug-sync](https://github.com/justjake/quickjs-emscripten/blob/main/doc/@jitl/quickjs-wasmfile-debug-sync/README.md) | ||
* | ||
@@ -34,14 +17,4 @@ * Variant with separate .WASM file. Supports browser, NodeJS ESM, and NodeJS CJS. | ||
*/ | ||
declare const variant: { | ||
readonly type: "sync"; | ||
readonly importFFI: () => Promise<(new (module: _jitl_quickjs_ffi_types.QuickJSEmscriptenModule) => _jitl_quickjs_ffi_types.QuickJSFFI) | typeof QuickJSFFI>; | ||
readonly importModuleLoader: () => Promise<typeof ___dist_emscripten_module_browser_js | _jitl_quickjs_ffi_types.EmscriptenModuleLoader<_jitl_quickjs_ffi_types.QuickJSEmscriptenModule> | { | ||
default: _jitl_quickjs_ffi_types.EmscriptenModuleLoader<_jitl_quickjs_ffi_types.QuickJSEmscriptenModule>; | ||
} | { | ||
default: { | ||
default: _jitl_quickjs_ffi_types.EmscriptenModuleLoader<_jitl_quickjs_ffi_types.QuickJSEmscriptenModule>; | ||
}; | ||
}>; | ||
}; | ||
declare const variant: QuickJSSyncVariant; | ||
export { variant as default }; |
{ | ||
"name": "@jitl/quickjs-wasmfile-debug-sync", | ||
"version": "0.25.0-rc.6", | ||
"version": "0.25.0-rc.7", | ||
"description": "Variant of quickjs library: Variant with separate .WASM file. Supports browser, NodeJS ESM, and NodeJS CJS.", | ||
@@ -24,4 +24,2 @@ "sideEffects": false, | ||
"dist/**/*", | ||
"!dist/ffi.ts", | ||
"!dist/index.ts", | ||
"!dist/*.tsbuildinfo" | ||
@@ -54,4 +52,4 @@ ], | ||
"dependencies": { | ||
"@jitl/quickjs-ffi-types": "0.25.0-rc.6" | ||
"@jitl/quickjs-ffi-types": "0.25.0-rc.7" | ||
} | ||
} |
@@ -28,5 +28,5 @@ # @jitl/quickjs-wasmfile-debug-sync | ||
- undefined | ||
- undefined | ||
- Exports a browser-compatible ESModule. | ||
- Exports a NodeJS-compatible CommonJS module, which is faster to load and run compared to an ESModule. | ||
- Exports a NodeJS-compatible ESModule. Cannot be imported synchronously from a NodeJS CommonJS module. | ||
- Exports a browser-compatible ESModule, designed to work in browsers and browser-like environments. | ||
@@ -76,6 +76,4 @@ ## Extra async magic? No | ||
"-fsanitize=leak", | ||
"-g2", | ||
"-s ASYNCIFY_ADVISE=1", | ||
"-O3" | ||
"-g2" | ||
] | ||
``` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
2524745
15353
78
+ Added@jitl/quickjs-ffi-types@0.25.0-rc.7(transitive)
- Removed@jitl/quickjs-ffi-types@0.25.0-rc.6(transitive)