diff --git a/src/bson.ts b/src/bson.ts index b061e5ee..46678360 100644 --- a/src/bson.ts +++ b/src/bson.ts @@ -48,7 +48,8 @@ export { MinKey, MaxKey, BSONRegExp, - Decimal128 + Decimal128, + NumberUtils }; export { BSONValue, bsonType, type BSONTypeTag } from './bson_value'; export { BSONError, BSONVersionError, BSONRuntimeError, BSONOffsetError } from './error'; diff --git a/test/node/exports.test.ts b/test/node/exports.test.ts index fbeefdb4..ba2da484 100644 --- a/test/node/exports.test.ts +++ b/test/node/exports.test.ts @@ -38,7 +38,8 @@ const EXPECTED_EXPORTS = [ 'calculateObjectSize', 'deserializeStream', 'BSON', - 'bsonType' + 'bsonType', + 'NumberUtils' ]; const EXPECTED_EJSON_EXPORTS = ['parse', 'stringify', 'serialize', 'deserialize'];