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

avsc

Package Overview
Dependencies
Maintainers
1
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 5.7.3 to 5.7.4

6

lib/specs.js

@@ -584,3 +584,3 @@ /* jshint node: true */

var javadoc = this._skip(opts && opts.emitJavadoc);
if (javadoc) {
if (typeof javadoc == 'string') {
token.id = 'javadoc';

@@ -754,6 +754,6 @@ token.val = javadoc;

});
while (!lines[0]) {
while (lines.length && !lines[0]) {
lines.shift();
}
while (!lines[lines.length - 1]) {
while (lines.length && !lines[lines.length - 1]) {
lines.pop();

@@ -760,0 +760,0 @@ }

{
"name": "avsc",
"version": "5.7.3",
"version": "5.7.4",
"description": "Avro for JavaScript",

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

@@ -50,4 +50,8 @@ # Avsc [![NPM version](https://img.shields.io/npm/v/avsc.svg)](https://www.npmjs.com/package/avsc) [![Download count](https://img.shields.io/npm/dm/avsc.svg)](https://www.npmjs.com/package/avsc) [![Build status](https://travis-ci.org/mtth/avsc.svg?branch=master)](https://travis-ci.org/mtth/avsc) [![Coverage status](https://coveralls.io/repos/mtth/avsc/badge.svg?branch=master&service=github)](https://coveralls.io/github/mtth/avsc?branch=master)

type: 'record',
name: 'Pet',
fields: [
{name: 'kind', type: {type: 'enum', symbols: ['CAT', 'DOG']}},
{
name: 'kind',
type: {type: 'enum', name: 'PetKind', symbols: ['CAT', 'DOG']}
},
{name: 'name', type: 'string'}

@@ -54,0 +58,0 @@ ]

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

export function discoverProtocol(transport: Service.Transport, callback: Callback<any>): void;
export function extractFileHeader(filePath: string, options?: any): void;
export function extractFileHeader(filePath: string, options?: any): any;
export function parse(schemaOrProtocolIdl: string, options?: any): any; // TODO protocol literal or Type

@@ -155,0 +155,0 @@ export function readProtocol(protocolIdl: string, options?: Partial<DecoderOptions>): any;

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