Socket
Socket
Sign inDemoInstall

numcodecs

Package Overview
Dependencies
1
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.14 to 0.0.15

4

dist/types/src/gzip.d.ts

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc