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