This commit is contained in:
dcodeIO 2016-12-05 20:05:20 +01:00
parent f91c432a49
commit 0754825339
8 changed files with 30 additions and 21 deletions

6
dist/protobuf.js vendored
View File

@ -1,6 +1,6 @@
/*!
* protobuf.js v6.0.1 (c) 2016 Daniel Wirtz
* Compiled Mon, 05 Dec 2016 16:22:47 UTC
* protobuf.js v6.0.2 (c) 2016 Daniel Wirtz
* Compiled Mon, 05 Dec 2016 19:04:43 UTC
* Licensed under the Apache License, Version 2.0
* see: https://github.com/dcodeIO/protobuf.js for details
*/
@ -687,7 +687,7 @@ util.props(EnumPrototype, {
* Gets this enum's values by id. This is an alias of {@link Enum#valuesById}'s getter for use within non-ES5 environments.
* @name Enum#getValuesById
* @function
* @returns {Object.<number.string>}
* @returns {Object.<number,string>}
*/
});

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
/*!
* protobuf.js v6.0.1 (c) 2016 Daniel Wirtz
* Compiled Mon, 05 Dec 2016 16:22:47 UTC
* protobuf.js v6.0.2 (c) 2016 Daniel Wirtz
* Compiled Mon, 05 Dec 2016 19:04:43 UTC
* Licensed under the Apache License, Version 2.0
* see: https://github.com/dcodeIO/protobuf.js for details
*/

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "protobufjs",
"version": "6.0.1",
"version": "6.0.2",
"description": "Protocol Buffers for JavaScript.",
"author": "Daniel Wirtz",
"license": "Apache-2.0",

View File

@ -62,7 +62,7 @@ util.props(EnumPrototype, {
* Gets this enum's values by id. This is an alias of {@link Enum#valuesById}'s getter for use within non-ES5 environments.
* @name Enum#getValuesById
* @function
* @returns {Object.<number.string>}
* @returns {Object.<number,string>}
*/
});

View File

@ -2,8 +2,8 @@
/// <reference types="long" />
/*
* protobuf.js v6.0.1 TypeScript definitions
* Generated Sun, 04 Dec 2016 14:04:03 UTC
* protobuf.js v6.0.2 TypeScript definitions
* Generated Mon, 05 Dec 2016 19:04:50 UTC
*/
declare module "protobufjs" {
@ -102,6 +102,14 @@ declare module "protobufjs" {
*/
valuesById: { [k: number]: string };
/**
* Gets this enum's values by id. This is an alias of {@link Enum#valuesById}'s getter for use within non-ES5 environments.
* @name Enum#getValuesById
* @function
* @returns {Object.<number,string>}
*/
getValuesById(): { [k: number]: string };
/**
* Tests if the specified JSON object describes an enum.
* @param {*} json JSON object to test
@ -264,6 +272,14 @@ declare module "protobufjs" {
*/
packed: boolean;
/**
* Determines whether this field is packed. This is an alias of {@link Field#packed}'s getter for use within non-ES5 environments.
* @name Field#isPacked
* @function
* @returns {boolean}
*/
isPacked(): boolean;
/**
* Tests if the specified JSON object describes a field.
* @param {*} json Any JSON object to test
@ -1816,13 +1832,6 @@ declare module "protobufjs" {
*/
constructor();
/**
* Configures the writer interface according to the environment.
* @memberof Writer
* @returns {undefined}
*/
static configure(): undefined;
/**
* Current length.
* @type {number}
@ -1842,10 +1851,10 @@ declare module "protobufjs" {
tail: Object;
/**
* State stack.
* @type {Object[]}
* Linked forked states.
* @type {?Object}
*/
stack: Object[];
states: Object;
/**
* Pushes a new operation to the queue.