Comparing version 5.7.3 to 5.7.4
@@ -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; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
263244
136