File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 1- 'use strict' ;
2-
3- const { Buffer } = require ( 'buffer' ) ;
4- const { Binary, UUID } = require ( '../register-bson' ) ;
5- const { inspect } = require ( 'util' ) ;
6- const { validate : uuidStringValidate , version : uuidStringVersion } = require ( 'uuid' ) ;
7- const { BSON , BSONError } = require ( '../register-bson' ) ;
1+ import { Binary , UUID } from '../register-bson' ;
2+ import { inspect } from 'util' ;
3+ import { validate as uuidStringValidate , version as uuidStringVersion } from 'uuid' ;
4+ import { BSON , BSONError } from '../register-bson' ;
85const BSON_DATA_BINARY = BSON . BSONType . binData ;
9- const { BSON_BINARY_SUBTYPE_UUID_NEW } = require ( '../../src/constants' ) ;
6+ import { BSON_BINARY_SUBTYPE_UUID_NEW } from '../../src/constants' ;
7+ import { expect } from 'chai' ;
108
119// Test values
1210const UPPERCASE_DASH_SEPARATED_UUID_STRING = 'AAAAAAAA-AAAA-4AAA-AAAA-AAAAAAAAAAAA' ;
You can’t perform that action at this time.
0 commit comments