bson 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/HISTORY.md CHANGED
@@ -1,3 +1,14 @@
1
+ <a name="2.0.8"></a>
2
+ ## [2.0.8](https://github.com/mongodb/js-bson/compare/v2.0.7...v2.0.8) (2018-06-06)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * **readme:** clarify documentation about deserialize methods ([e311056](https://github.com/mongodb/js-bson/commit/e311056))
8
+ * **serialization:** normalize function stringification ([21eb0b0](https://github.com/mongodb/js-bson/commit/21eb0b0))
9
+
10
+
11
+
1
12
  <a name="2.0.7"></a>
2
13
  ## [2.0.7](https://github.com/mongodb/js-bson/compare/v2.0.6...v2.0.7) (2018-05-31)
3
14
 
package/README.md CHANGED
@@ -121,7 +121,7 @@ The BSON `deserialize` method takes a Node.js Buffer and an optional options obj
121
121
  * @param {Object} [options.promoteValues=false] when deserializing will promote BSON values to their Node.js closest equivalent types.
122
122
  * @param {Object} [options.fieldsAsRaw=null] allow to specify if there what fields we wish to return as unserialized raw buffer.
123
123
  * @param {Object} [options.bsonRegExp=false] return BSON regular expressions as BSONRegExp instances.
124
- * @return {Number} returns the next index in the buffer after deserialization **x** numbers of documents.
124
+ * @return {Object} returns the deserialized Javascript Object.
125
125
 
126
126
  #### BSON.deserializeStream
127
127
 
@@ -141,7 +141,7 @@ The BSON `deserializeStream` method takes a Node.js Buffer, `startIndex` and all
141
141
  * @param {Object} [options.promoteValues=false] when deserializing will promote BSON values to their Node.js closest equivalent types.
142
142
  * @param {Object} [options.fieldsAsRaw=null] allow to specify if there what fields we wish to return as unserialized raw buffer.
143
143
  * @param {Object} [options.bsonRegExp=false] return BSON regular expressions as BSONRegExp instances.
144
- * @return {Object} returns the deserialized JavaScript Object.
144
+ * @return {Number} returns the next index in the buffer after deserialization **x** numbers of documents.
145
145
 
146
146
  ## FAQ
147
147