Skip to content

Commit a23e788

Browse files
authored
feat(NODE-7316): export number utils (#850)
1 parent 4364656 commit a23e788

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/bson.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ export {
4848
MinKey,
4949
MaxKey,
5050
BSONRegExp,
51-
Decimal128
51+
Decimal128,
52+
NumberUtils
5253
};
5354
export { BSONValue, bsonType, type BSONTypeTag } from './bson_value';
5455
export { BSONError, BSONVersionError, BSONRuntimeError, BSONOffsetError } from './error';

test/node/exports.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ const EXPECTED_EXPORTS = [
3838
'calculateObjectSize',
3939
'deserializeStream',
4040
'BSON',
41-
'bsonType'
41+
'bsonType',
42+
'NumberUtils'
4243
];
4344

4445
const EXPECTED_EJSON_EXPORTS = ['parse', 'stringify', 'serialize', 'deserialize'];

0 commit comments

Comments
 (0)