hadron-type-checker
Advanced tools
Comparing version 0.0.0-next-514d0059aae41f2aa9cb0bbe6e204dacbac3d73f to 0.0.0-next-516eced55d345dc219ea74b01bd1f493443fc9b6
@@ -13,3 +13,3 @@ import type { | ||
BSONSymbol, | ||
Timestamp | ||
Timestamp, | ||
} from 'bson'; | ||
@@ -16,0 +16,0 @@ |
@@ -10,3 +10,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/compass", | ||
"version": "0.0.0-next-514d0059aae41f2aa9cb0bbe6e204dacbac3d73f", | ||
"version": "0.0.0-next-516eced55d345dc219ea74b01bd1f493443fc9b6", | ||
"repository": { | ||
@@ -31,13 +31,13 @@ "type": "git", | ||
"dependencies": { | ||
"bson": "^6.7.0", | ||
"bson": "^6.8.0", | ||
"lodash": "^4.17.21" | ||
}, | ||
"devDependencies": { | ||
"@mongodb-js/eslint-config-compass": "0.0.0-next-516eced55d345dc219ea74b01bd1f493443fc9b6", | ||
"chai": "^4.2.0", | ||
"depcheck": "^1.4.1", | ||
"eslint": "^7.25.0", | ||
"eslint-config-mongodb-js": "^5.0.3", | ||
"mocha": "^10.2.0" | ||
}, | ||
"gitHead": "514d0059aae41f2aa9cb0bbe6e204dacbac3d73f" | ||
"gitHead": "516eced55d345dc219ea74b01bd1f493443fc9b6" | ||
} |
@@ -27,3 +27,2 @@ 'use strict'; | ||
Timestamp, | ||
Map | ||
} = require('bson'); | ||
@@ -181,3 +180,5 @@ /** | ||
} | ||
throw new Error(`Value ${object.toString()} is outside the valid Int64 range`); | ||
throw new Error( | ||
`Value ${object.toString()} is outside the valid Int64 range` | ||
); | ||
}; | ||
@@ -214,3 +215,5 @@ | ||
const toBinary = (object) => { | ||
const buffer = ArrayBuffer.isView(object) ? Buffer.from(object) : Buffer.from(toString(object), 'utf8'); | ||
const buffer = ArrayBuffer.isView(object) | ||
? Buffer.from(object) | ||
: Buffer.from(toString(object), 'utf8'); | ||
return new Binary(buffer, Binary.SUBTYPE_DEFAULT); | ||
@@ -258,3 +261,3 @@ }; | ||
Timestamp: toTimestamp, | ||
Undefined: toUndefined | ||
Undefined: toUndefined, | ||
}; | ||
@@ -261,0 +264,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40997
8
384
Updatedbson@^6.8.0