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.node.mjs
CHANGED
|
@@ -4592,6 +4592,8 @@ function parseToElements(bytes, startOffset = 0) {
|
|
|
4592
4592
|
|
|
4593
4593
|
const onDemand = Object.create(null);
|
|
4594
4594
|
onDemand.parseToElements = parseToElements;
|
|
4595
|
+
onDemand.ByteUtils = ByteUtils;
|
|
4596
|
+
onDemand.NumberUtils = NumberUtils;
|
|
4595
4597
|
Object.freeze(onDemand);
|
|
4596
4598
|
|
|
4597
4599
|
const MAXSIZE = 1024 * 1024 * 17;
|