numcodecs
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -7,3 +7,5 @@ import { Codec, CompressorConfig } from './types'; | ||
constructor(level?: number); | ||
static fromConfig({ level }: CompressorConfig): GZip; | ||
static fromConfig({ level }: { | ||
level: number; | ||
} & CompressorConfig): GZip; | ||
encode(data: Uint8Array): Uint8Array; | ||
@@ -10,0 +12,0 @@ decode(data: Uint8Array, out?: Uint8Array): Uint8Array; |
@@ -0,3 +1,4 @@ | ||
export { Codec, CompressorConfig } from './types'; | ||
export { default as GZip } from './gzip'; | ||
export { default as Zlib } from './zlib'; | ||
export { default as Blosc } from './blosc'; |
@@ -8,3 +8,2 @@ export declare abstract class Codec { | ||
id: string; | ||
level?: number; | ||
} |
@@ -8,3 +8,5 @@ /// <reference types="node" /> | ||
constructor(level?: number); | ||
static fromConfig({ level }: CompressorConfig): Zlib; | ||
static fromConfig({ level }: { | ||
level: number; | ||
} & CompressorConfig): Zlib; | ||
encode(data: Uint8Array): Uint8Array; | ||
@@ -11,0 +13,0 @@ decode(data: Uint8Array, out?: Buffer): Uint8Array; |
{ | ||
"name": "numcodecs", | ||
"author": "Trevor James Manz", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "Buffer compression and transformation codecs for use in data storage and communication applications.", | ||
"types": "dist/types/src/index.d.ts", | ||
"main": "dist/index.cjs", | ||
@@ -7,0 +8,0 @@ "module": "dist/index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
3541266
17493
4