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.5
to
0.1.6
+1
-1
GPU.d.ts
import { type Pointer } from "bun:ffi";
import { type FFISymbols } from "./ffi";
import { type FFISymbols } from "./ffi.js";
export declare class InstanceTicker {

@@ -4,0 +4,0 @@ readonly instancePtr: Pointer;

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { InstanceTicker } from "./GPU";
import type { FFISymbols } from "./ffi.js";
import type { InstanceTicker } from "./GPU.js";
export declare class GPUUncapturedErrorEventImpl extends Event implements GPUUncapturedErrorEvent {

@@ -5,0 +5,0 @@ __brand: "GPUUncapturedErrorEvent";

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUBindGroupImpl implements GPUBindGroup {

@@ -4,0 +4,0 @@ __brand: "GPUBindGroup";

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUBindGroupLayoutImpl implements GPUBindGroupLayout {

@@ -4,0 +4,0 @@ __brand: "GPUBindGroupLayout";

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { InstanceTicker } from "./GPU";
import type { GPUDeviceImpl } from "./GPUDevice";
import type { FFISymbols } from "./ffi.js";
import type { InstanceTicker } from "./GPU.js";
import type { GPUDeviceImpl } from "./GPUDevice.js";
import { EventEmitter } from "events";

@@ -6,0 +6,0 @@ export declare class GPUBufferImpl extends EventEmitter implements GPUBuffer {

import type { Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUCommandBufferImpl implements GPUCommandBuffer {

@@ -4,0 +4,0 @@ readonly bufferPtr: Pointer;

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUCommandEncoderImpl implements GPUCommandEncoder {

@@ -4,0 +4,0 @@ readonly encoderPtr: Pointer;

import { type Pointer } from "bun:ffi";
import { type FFISymbols } from "./ffi";
import { type FFISymbols } from "./ffi.js";
export declare class GPUComputePassEncoderImpl implements GPUComputePassEncoder {

@@ -4,0 +4,0 @@ ptr: Pointer;

import type { Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUComputePipelineImpl implements GPUComputePipeline {

@@ -4,0 +4,0 @@ private lib;

import { type Pointer } from "bun:ffi";
import { type FFISymbols } from "./ffi";
import type { InstanceTicker } from "./GPU";
import { type FFISymbols } from "./ffi.js";
import type { InstanceTicker } from "./GPU.js";
import { EventEmitter } from "events";

@@ -5,0 +5,0 @@ type EventListenerOptions = any;

import type { Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUPipelineLayoutImpl implements GPUPipelineLayout {

@@ -4,0 +4,0 @@ private lib;

import { type Pointer } from "bun:ffi";
import { type FFISymbols } from "./ffi";
import { type FFISymbols } from "./ffi.js";
export declare class GPUQuerySetImpl implements GPUQuerySet {

@@ -4,0 +4,0 @@ readonly ptr: Pointer;

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import { InstanceTicker } from "./GPU";
import type { FFISymbols } from "./ffi.js";
import { InstanceTicker } from "./GPU.js";
export type PtrSource = ArrayBuffer | ArrayBufferView;

@@ -5,0 +5,0 @@ export declare const QueueWorkDoneStatus: {

import type { Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPURenderBundleImpl implements GPURenderBundle {

@@ -4,0 +4,0 @@ __brand: "GPURenderBundle";

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPURenderBundleEncoderImpl implements GPURenderBundleEncoder {

@@ -4,0 +4,0 @@ __brand: "GPURenderBundleEncoder";

import { type Pointer } from "bun:ffi";
import { type FFISymbols } from "./ffi";
import { type FFISymbols } from "./ffi.js";
export declare class GPURenderPassEncoderImpl implements GPURenderPassEncoder {

@@ -4,0 +4,0 @@ ptr: Pointer;

import type { Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPURenderPipelineImpl implements GPURenderPipeline {

@@ -4,0 +4,0 @@ private lib;

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUSamplerImpl implements GPUSampler {

@@ -4,0 +4,0 @@ readonly samplerPtr: Pointer;

import { type Pointer } from "bun:ffi";
import { type FFISymbols } from "./ffi";
import { type FFISymbols } from "./ffi.js";
export declare class GPUShaderModuleImpl implements GPUShaderModule {

@@ -4,0 +4,0 @@ readonly ptr: Pointer;

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUTextureImpl implements GPUTexture {

@@ -4,0 +4,0 @@ readonly texturePtr: Pointer;

import { type Pointer } from "bun:ffi";
import type { FFISymbols } from "./ffi";
import type { FFISymbols } from "./ffi.js";
export declare class GPUTextureViewImpl implements GPUTextureView {

@@ -4,0 +4,0 @@ readonly viewPtr: Pointer;

@@ -127,4 +127,4 @@ import { Pointer } from "bun:ffi";

import { GPUImpl } from "./GPU";
export * from "./mocks/GPUCanvasContext";
import { GPUImpl } from "./GPU.js";
export * from "./mocks/GPUCanvasContext.js";
export declare function createGPUInstance(libPath?: string): GPUImpl;

@@ -131,0 +131,0 @@ export declare const globalConstructors: {

@@ -7,3 +7,3 @@ {

"type": "module",
"version": "0.1.5",
"version": "0.1.6",
"description": "Native WebGPU implementation for Bun runtime",

@@ -39,7 +39,7 @@ "keywords": [

"optionalDependencies": {
"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"
"bun-webgpu-darwin-x64": "^0.1.6",
"bun-webgpu-darwin-arm64": "^0.1.6",
"bun-webgpu-linux-x64": "^0.1.6",
"bun-webgpu-win32-x64": "^0.1.6"
}
}

Sorry, the diff of this file is too big to display