Skip to content

Commit

Permalink
6.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dcodeIO committed Dec 5, 2016
1 parent f91c432 commit 0754825
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 21 deletions.
6 changes: 3 additions & 3 deletions dist/protobuf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/protobuf.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/protobuf.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified dist/protobuf.min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/protobuf.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/enum.js
Original file line number Diff line number Diff line change
Expand Up @@ -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>}
*/
});

Expand Down
33 changes: 21 additions & 12 deletions types/protobuf.js.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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" {

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand All @@ -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.
Expand Down

0 comments on commit 0754825

Please sign in to comment.