Skip to content

Commit

Permalink
Fixed: Support node 4.2.0 to 4.4.7 buffers + travis case, see #665; O…
Browse files Browse the repository at this point in the history
…ther: Added fetch test cases + some test cleanup
  • Loading branch information
dcodeIO committed Jan 28, 2017
1 parent 942011d commit 0be01a1
Show file tree
Hide file tree
Showing 35 changed files with 476 additions and 217 deletions.
10 changes: 0 additions & 10 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,5 @@ docs/
coverage/
sandbox/
examples/
src/util/aspromise/
src/util/base64/
src/util/codegen/
src/util/eventemitter/
src/util/extend/
src/util/fetch/
src/util/inquire/
src/util/path/
src/util/pool/
src/util/utf8/
pbjs.png
pbjs.svg
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ language: node_js
node_js:
- 0.12
- 4
- 4.3.2
- 6
- 7
env: CXX=g++-4.8
Expand Down
56 changes: 34 additions & 22 deletions dist/light/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/light/protobuf.js.map

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

56 changes: 34 additions & 22 deletions dist/minimal/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/minimal/protobuf.js.map

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/minimal/protobuf.min.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

56 changes: 34 additions & 22 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.

10 changes: 5 additions & 5 deletions dist/protobuf.min.js

Large diffs are not rendered by default.

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 index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2222,7 +2222,7 @@ export namespace util {
function lazyResolve(root: Root, lazyTypes: { [k: number]: (string|ReflectionObject) }): void;

/**
* Default conversion options used for toJSON implementations.
* Default conversion options used for toJSON implementations. Converts longs, enums and bytes to strings.
* @type {ConversionOptions}
*/
var toJSONOptions: ConversionOptions;
Expand Down
2 changes: 1 addition & 1 deletion lib/fetch/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@protobufjs/fetch",
"description": "Fetches the contents of a file accross node and browsers.",
"version": "1.1.0",
"version": "1.1.1",
"author": "Daniel Wirtz <dcode+protobufjs@dcode.io>",
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions lib/fetch/tests/data/file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
file.txt
Loading

0 comments on commit 0be01a1

Please sign in to comment.