@spz-loader/core
Advanced tools
@@ -20,3 +20,3 @@ // TypeScript bindings for emscripten-generated code. Automatically generated at compile time. | ||
| } | ||
| export interface VectorFloat32 extends ClassHandle { | ||
| export interface VectorFloat32 extends ClassHandle, Iterable<number> { | ||
| size(): number; | ||
@@ -29,3 +29,3 @@ get(_0: number): number | undefined; | ||
| export interface VectorUInt8T extends ClassHandle { | ||
| export interface VectorUInt8T extends ClassHandle, Iterable<number> { | ||
| push_back(_0: number): void; | ||
@@ -32,0 +32,0 @@ resize(_0: number, _1: number): void; |
@@ -6,2 +6,3 @@ import { MainModule, VectorFloat32, VectorUInt8T } from './build/main'; | ||
| * @param vec cpp float32 vector | ||
| * @param enhancementFunc function accepting a number and returning a number to perform processing | ||
| * @returns copied float32 array | ||
@@ -8,0 +9,0 @@ */ |
+2
-2
@@ -35,3 +35,3 @@ { | ||
| }, | ||
| "version": "0.3.0", | ||
| "version": "0.3.1", | ||
| "type": "module", | ||
@@ -59,3 +59,3 @@ "files": [ | ||
| "build": "tsc && vite build", | ||
| "build:docker": "docker run --rm -v $(pwd)/lib/spz-wasm/:/src emscripten/emsdk ./build.sh", | ||
| "build:docker": "docker run --rm -v $(pwd)/lib/spz-wasm/:/src emscripten/emsdk:5.0.3 ./build.sh", | ||
| "check": "biome check ./lib ./src", | ||
@@ -62,0 +62,0 @@ "check:write": "biome check --write ./lib ./src" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
516460
1.35%3887
40.83%