Socket
Book a DemoSign in
Socket

bun-webgpu

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bun-webgpu - npm Package Compare versions

Comparing version
0.1.4
to
0.1.5
+2
-0
GPUBuffer.d.ts

@@ -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>;

@@ -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>;

@@ -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