bson 7.1.0 → 7.1.1
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/bson.d.ts +2 -0
- package/lib/bson.bundle.js +2 -0
- package/lib/bson.bundle.js.map +1 -1
- package/lib/bson.cjs +2 -0
- package/lib/bson.cjs.map +1 -1
- package/lib/bson.mjs +2 -0
- package/lib/bson.mjs.map +1 -1
- package/lib/bson.node.mjs +2 -0
- package/lib/bson.node.mjs.map +1 -1
- package/lib/bson.rn.cjs +2 -0
- package/lib/bson.rn.cjs.map +1 -1
- package/package.json +1 -1
- package/src/parser/on_demand/index.ts +8 -0
package/lib/bson.rn.cjs
CHANGED
|
@@ -4604,6 +4604,8 @@ function parseToElements(bytes, startOffset = 0) {
|
|
|
4604
4604
|
|
|
4605
4605
|
const onDemand = Object.create(null);
|
|
4606
4606
|
onDemand.parseToElements = parseToElements;
|
|
4607
|
+
onDemand.ByteUtils = ByteUtils;
|
|
4608
|
+
onDemand.NumberUtils = NumberUtils;
|
|
4607
4609
|
Object.freeze(onDemand);
|
|
4608
4610
|
|
|
4609
4611
|
const MAXSIZE = 1024 * 1024 * 17;
|