bun-webgpu
Advanced tools
+2
-0
@@ -16,2 +16,3 @@ import { type Pointer } from "bun:ffi"; | ||
| private _mapCallback; | ||
| private _mapCallbackCloseScheduled; | ||
| private _mapCallbackPromiseData; | ||
@@ -27,2 +28,3 @@ private _destroyed; | ||
| constructor(bufferPtr: Pointer, device: GPUDeviceImpl, lib: FFISymbols, descriptor: GPUBufferDescriptor, instanceTicker: InstanceTicker); | ||
| private _scheduleMapCallbackClose; | ||
| private _checkRangeOverlap; | ||
@@ -29,0 +31,0 @@ private _createDetachableArrayBuffer; |
+1
-1
@@ -52,3 +52,3 @@ import { type Pointer } from "bun:ffi"; | ||
| popErrorScope(): Promise<GPUError | null>; | ||
| injectError(type: 'validation' | 'out-of-memory' | 'internal', message: string): undefined; | ||
| injectError(type: "validation" | "out-of-memory" | "internal", message: string): undefined; | ||
| set onuncapturederror(listener: DeviceErrorCallback | null); | ||
@@ -55,0 +55,0 @@ get lost(): Promise<GPUDeviceLostInfo>; |
+2
-1
@@ -130,3 +130,3 @@ import { Pointer } from "bun:ffi"; | ||
| export declare function createGPUInstance(libPath?: string): GPUImpl; | ||
| export declare const globals: { | ||
| export declare const globalConstructors: { | ||
| GPUPipelineError: any; | ||
@@ -174,2 +174,3 @@ AbortError: any; | ||
| }): Promise<void>; | ||
| export declare function globals(): void; | ||
| export declare function createWebGPUDevice(): Promise<GPUDevice>; |
+5
-5
@@ -7,3 +7,3 @@ { | ||
| "type": "module", | ||
| "version": "0.1.4", | ||
| "version": "0.1.5", | ||
| "description": "Native WebGPU implementation for Bun runtime", | ||
@@ -39,7 +39,7 @@ "keywords": [ | ||
| "optionalDependencies": { | ||
| "bun-webgpu-darwin-x64": "^0.1.4", | ||
| "bun-webgpu-darwin-arm64": "^0.1.4", | ||
| "bun-webgpu-linux-x64": "^0.1.4", | ||
| "bun-webgpu-win32-x64": "^0.1.4" | ||
| "bun-webgpu-darwin-x64": "^0.1.5", | ||
| "bun-webgpu-darwin-arm64": "^0.1.5", | ||
| "bun-webgpu-linux-x64": "^0.1.5", | ||
| "bun-webgpu-win32-x64": "^0.1.5" | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
430239
1.02%9406
1.34%8
33.33%