bun-webgpu
Advanced tools
+1
-1
| 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; |
+2
-2
| 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"; |
+3
-3
| 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; |
+2
-2
| 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; |
+1
-1
| 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; |
+2
-2
| 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; |
+1
-1
| 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; |
+1
-1
| 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; |
+2
-2
@@ -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: { |
+5
-5
@@ -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
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
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
430602
0.08%