Permalink
Browse files

Other: Coverage progress

  • Loading branch information...
dcodeIO committed Jan 18, 2017
1 parent 8cff92f commit 5aa296c901c2b460ee3be4530ede394e2a45e0ea
Showing with 339 additions and 150 deletions.
  1. +1 −1 .travis.yml
  2. +2 −2 README.md
  3. +44 −24 dist/noparse/protobuf.js
  4. +1 −1 dist/noparse/protobuf.js.map
  5. +3 −3 dist/noparse/protobuf.min.js
  6. BIN dist/noparse/protobuf.min.js.gz
  7. +1 −1 dist/noparse/protobuf.min.js.map
  8. +53 −24 dist/protobuf.js
  9. +1 −1 dist/protobuf.js.map
  10. +3 −3 dist/protobuf.min.js
  11. BIN dist/protobuf.min.js.gz
  12. +1 −1 dist/protobuf.min.js.map
  13. +1 −1 dist/runtime/protobuf.js
  14. +1 −1 dist/runtime/protobuf.min.js
  15. BIN dist/runtime/protobuf.min.js.gz
  16. +1 −0 index.d.ts
  17. +2 −1 package.json
  18. +35 −21 src/namespace.js
  19. +8 −2 src/object.js
  20. +9 −0 src/tokenize.js
  21. +2 −2 tests/api_Class.js
  22. +1 −1 tests/api_common.js
  23. +9 −9 tests/{api_convert.js → api_converters.js}
  24. +1 −1 tests/api_enum.js
  25. +1 −1 tests/api_field.js
  26. +1 −1 tests/api_longbits.js
  27. +1 −1 tests/api_mapfield.js
  28. +76 −0 tests/api_namespace.js
  29. +28 −0 tests/api_object.js
  30. +1 −1 tests/api_oneof.js
  31. +2 −2 tests/api_reader-writer-reuse.js
  32. +2 −2 tests/api_rpc-streaming.js
  33. +1 −1 tests/api_rpc.js
  34. +8 −0 tests/api_type.js
  35. +6 −1 tests/api_util.js
  36. +0 −8 tests/comp_codegen.js
  37. +1 −1 tests/comp_fixed64-grpc.js
  38. +3 −3 tests/comp_float.js
  39. +2 −2 tests/comp_groups.js
  40. +1 −1 tests/comp_jspb-test.js
  41. +3 −3 tests/comp_maps.js
  42. +1 −1 tests/{comp_packed.js → comp_packed-repeated.js}
  43. +1 −1 tests/comp_sfixed64-grpc.js
  44. +1 −1 tests/docs_comments.js
  45. +1 −1 tests/lib_base64.js
  46. +3 −3 tests/lib_utf8.js
  47. +5 −5 tests/other_basics.js
  48. +5 −5 tests/other_classes.js
  49. 0 tests/{comp_node-or-browser.js → other_node-or-browser.js}
  50. +2 −2 tests/other_package-static.js
  51. +3 −3 tests/other_package.js
@@ -27,4 +27,4 @@ matrix:
include:
- node_js: 6
script:
- npm run coverage
- npm run coverage-ci
@@ -1,6 +1,6 @@
# <p align="center"><img alt="protobuf.js" src="https://github.com/dcodeIO/protobuf.js/raw/master/pbjs.png" width="120" height="104" /></p>
[![][travis-image]][travis-url] [![][coverage-image]][coverage-url] [![][downloads-image]][npm-url] [![][npm-image]][npm-url] [![][donate-image]][donate-url]
[![][travis-image]][travis-url] [![][coverage-image]][coverage-url] [![][npm-image]][npm-url] [![][downloads-image]][npm-url] [![][donate-image]][donate-url]
**Protocol Buffers** are a language-neutral, platform-neutral, extensible way of serializing structured data for use in communications protocols, data storage, and more, originally designed at Google ([see](https://developers.google.com/protocol-buffers/)).
@@ -13,7 +13,7 @@
[npm-image]: https://img.shields.io/npm/v/protobufjs.svg
[npm-url]: https://npmjs.org/package/protobufjs
[downloads-image]: https://img.shields.io/npm/dm/protobufjs.svg
[donate-image]: https://img.shields.io/badge/donate-%E2%9D%A4-ff2244.svg
[donate-image]: https://img.shields.io/badge/donate--ff2244.svg
[donate-url]: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=dcode%40dcode.io&item_name=Open%20Source%20Software%20Contribution&item_number=dcodeIO%2Fprotobuf.js
**Recommended read:** [Changes in protobuf.js 6.0](https://github.com/dcodeIO/protobuf.js/wiki/Changes-in-protobuf.js-6.0)

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
BIN +23 Bytes (100%) dist/noparse/protobuf.min.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.
BIN +43 Bytes (100%) dist/protobuf.min.js.gz
Binary file not shown.

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
BIN +0 Bytes (100%) dist/runtime/protobuf.min.js.gz
Binary file not shown.
@@ -1529,6 +1529,7 @@ type TokenizerHandle = { [k: string]: any };
* Tokenizes the given .proto source and returns an object with useful utility functions.
* @param {string} source Source contents
* @returns {TokenizerHandle} Tokenizer handle
* @property {function(string):string} unescape Unescapes a string
*/
export function tokenize(source: string): TokenizerHandle;
@@ -29,7 +29,8 @@
"bench": "node bench",
"build": "gulp",
"changelog": "node scripts/changelog -w",
"coverage": "istanbul cover node_modules/tape/bin/tape tests/*.js tests/node/*.js && cat coverage/lcov.info | coveralls",
"coverage": "istanbul cover node_modules/tape/bin/tape tests/*.js tests/node/*.js",
"coverage-ci": "npm run coverage && cat coverage/lcov.info | coveralls",
"docs": "jsdoc -c jsdoc.docs.json -R README.md",
"lint": "eslint src runtime",
"pages": "node scripts/pages",
Oops, something went wrong.

0 comments on commit 5aa296c

Please sign in to comment.