Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

avsc

Package Overview
Dependencies
Maintainers
0
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

avsc - npm Package Compare versions

Comparing version 6.0.0-alpha.14 to 6.0.0-alpha.15

2

package.json
{
"name": "avsc",
"version": "6.0.0-alpha.14",
"version": "6.0.0-alpha.15",
"description": "Avro for JavaScript",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/mtth/avsc",

@@ -77,3 +77,3 @@ // Note: These typings are incomplete (https://github.com/mtth/avsc/pull/134).

type Codec = (buffer: Buffer, callback: Callback<Buffer>) => void;
type Codec = (buffer: Uint8Array, callback: Callback<Uint8Array>) => void;

@@ -96,3 +96,3 @@ interface CodecOptions {

writeHeader: boolean | 'always' | 'never' | 'auto';
syncMarker: Buffer;
syncMarker: Uint8Array;
}

@@ -187,9 +187,9 @@

compare(val1: any, val2: any): number;
compareBuffers(buf1: Buffer, buf2: Buffer): number;
compareBuffers(buf1: Uint8Array, buf2: Uint8Array): number;
createResolver(type: Type): Resolver;
decode(buf: Buffer, pos?: number, resolver?: Resolver): { value: any, offset: number};
encode(val: any, buf: Buffer, pos?: number): number;
decode(buf: Uint8Array, pos?: number, resolver?: Resolver): { value: any, offset: number};
encode(val: any, buf: Uint8Array, pos?: number): number;
equals(type: Type): boolean;
fingerprint(algorithm?: string): Buffer;
fromBuffer(buffer: Buffer, resolver?: Resolver, noCheck?: boolean): any;
fingerprint(algorithm?: string): Uint8Array;
fromBuffer(buffer: Uint8Array, resolver?: Resolver, noCheck?: boolean): any;
fromString(str: string): any;

@@ -200,3 +200,3 @@ inspect(): string;

schema(opts?: Partial<SchemaOptions>): Schema;
toBuffer(value: any): Buffer;
toBuffer(value: any): Uint8Array;
toJSON(): object;

@@ -203,0 +203,0 @@ toString(val?: any): string;

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc