Skip to content

Commit b6cf228

Browse files
committed
Fixed: Use custom prelude in order to exclude any module loader code from source (for webpack), see #658
1 parent 9044178 commit b6cf228

33 files changed

+255
-131
lines changed

CHANGELOG.md

+13
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
1+
# [6.6.2](https://github.com/dcodeIO/protobuf.js/releases/tag/6.6.2)
2+
3+
## Fixed
4+
[:hash:](https://github.com/dcodeIO/protobuf.js/commit/2b12fb7db9d4eaa3b76b7198539946e97db684c4) Make sure to check optional inner messages for null when encoding, see [#658](https://github.com/dcodeIO/protobuf.js/issues/658)<br />
5+
6+
## Other
7+
[:hash:](https://github.com/dcodeIO/protobuf.js/commit/9044178c052299670108f10621d6e9b3d56e8a40) Travis should exit with the respective error when running sauce tests<br />
8+
[:hash:](https://github.com/dcodeIO/protobuf.js/commit/73721f12072d77263e72a3b27cd5cf9409db9f8b) Moved checks whether a test case is applicable to parent case<br />
9+
[:hash:](https://github.com/dcodeIO/protobuf.js/commit/3fcd88c3f9b1a084b06cab2d5881cb5bb895869d) Added eventemitter tests and updated micromodule dependencies (so far)<br />
10+
[:hash:](https://github.com/dcodeIO/protobuf.js/commit/2db4305ca67d003d57aa14eb23f25eb6c3672034) Added lib/path tests and updated a few dependencies<br />
11+
[:hash:](https://github.com/dcodeIO/protobuf.js/commit/2b12fb7db9d4eaa3b76b7198539946e97db684c4) Moved micro modules to lib so they can have their own tests etc.<br />
12+
[:hash:](https://github.com/dcodeIO/protobuf.js/commit/b6dfa9f0a4c899b5c217d60d1c2bb835e06b2122) Updated travis<br />
13+
114
# [6.6.1](https://github.com/dcodeIO/protobuf.js/releases/tag/6.6.1)
215

316
## Fixed

dist/light/protobuf.js

+37-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/light/protobuf.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/light/protobuf.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/light/protobuf.min.js.gz

-146 Bytes
Binary file not shown.

dist/light/protobuf.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/minimal/protobuf.js

+37-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/minimal/protobuf.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/minimal/protobuf.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/minimal/protobuf.min.js.gz

-120 Bytes
Binary file not shown.

dist/minimal/protobuf.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/protobuf.js

+37-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/protobuf.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/protobuf.min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/protobuf.min.js.gz

-129 Bytes
Binary file not shown.

dist/protobuf.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -2365,9 +2365,10 @@ export namespace util {
23652365
* @memberof util
23662366
* @param {string} path File path or url
23672367
* @param {FetchCallback} [callback] Callback function
2368-
* @returns {Promise<string>|undefined} A Promise if `callback` has been omitted
2368+
* @returns {Promise<string>} A Promise if `callback` has been omitted, otherwise `undefined`
2369+
* @property {function(string, FetchCallback=):Promise<string>} xhr XHR/browser fetch with an identical signature
23692370
*/
2370-
function fetch(path: string, callback?: FetchCallback): (Promise<string>|undefined);
2371+
function fetch(path: string, callback?: FetchCallback): Promise<string>;
23712372

23722373
/**
23732374
* Requires a module only if available.

0 commit comments

Comments
 (0)