mongodb-query-util 2.5.15 → 2.6.0
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/dist/bson-equal.d.ts.map +1 -1
- package/dist/bson-equal.js +4 -3
- package/dist/bson-equal.js.map +1 -1
- package/package.json +6 -5
package/dist/bson-equal.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bson-equal.d.ts","sourceRoot":"","sources":["../src/bson-equal.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,EAAE,OAAO,GAAG,KAAG,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"bson-equal.d.ts","sourceRoot":"","sources":["../src/bson-equal.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,SAAS,GAAI,OAAO,GAAG,EAAE,OAAO,GAAG,KAAG,OAAO,GAAG,SA0B5D,CAAC"}
|
package/dist/bson-equal.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.bsonEqual = void 0;
|
|
4
|
-
const
|
|
4
|
+
const hadron_type_checker_1 = require("hadron-type-checker");
|
|
5
5
|
const bsonEqual = (value, other) => {
|
|
6
|
-
const bsontype = (0,
|
|
6
|
+
const bsontype = (0, hadron_type_checker_1.getBsonType)(value);
|
|
7
|
+
const otherBsontype = (0, hadron_type_checker_1.getBsonType)(other);
|
|
7
8
|
if (!bsontype || typeof bsontype !== 'string') {
|
|
8
9
|
return undefined;
|
|
9
10
|
}
|
|
10
|
-
if (typeof
|
|
11
|
+
if (!otherBsontype || typeof otherBsontype !== 'string') {
|
|
11
12
|
return undefined;
|
|
12
13
|
}
|
|
13
14
|
if (bsontype === 'ObjectId') {
|
package/dist/bson-equal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bson-equal.js","sourceRoot":"","sources":["../src/bson-equal.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"bson-equal.js","sourceRoot":"","sources":["../src/bson-equal.ts"],"names":[],"mappings":";;;AAAA,6DAAkD;AAI3C,MAAM,SAAS,GAAG,CAAC,KAAU,EAAE,KAAU,EAAuB,EAAE;IACvE,MAAM,QAAQ,GAAG,IAAA,iCAAW,EAAC,KAAK,CAAC,CAAC;IACpC,MAAM,aAAa,GAAG,IAAA,iCAAW,EAAC,KAAK,CAAC,CAAC;IAEzC,IAAI,CAAC,QAAQ,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC9C,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,CAAC,aAAa,IAAI,OAAO,aAAa,KAAK,QAAQ,EAAE,CAAC;QACxD,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,IAAI,QAAQ,KAAK,UAAU,EAAE,CAAC;QAC5B,OAAQ,KAAkB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC;IAC3C,CAAC;IAED,IAAI,CAAC,YAAY,EAAE,MAAM,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC9C,OAAO,KAAK,CAAC,QAAQ,EAAE,KAAK,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC/C,CAAC;IAED,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3C,OAAQ,KAAwB,CAAC,KAAK,KAAM,KAAwB,CAAC,KAAK,CAAC;IAC7E,CAAC;IAED,yCAAyC;IACzC,OAAO,SAAS,CAAC;AACnB,CAAC,CAAC;AA1BW,QAAA,SAAS,aA0BpB"}
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"email": "compass@mongodb.com"
|
|
14
14
|
},
|
|
15
15
|
"homepage": "https://github.com/mongodb-js/compass",
|
|
16
|
-
"version": "2.
|
|
16
|
+
"version": "2.6.0",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "https://github.com/mongodb-js/compass.git"
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@mongodb-js/eslint-config-compass": "^1.4.
|
|
53
|
+
"@mongodb-js/eslint-config-compass": "^1.4.17",
|
|
54
54
|
"@mongodb-js/mocha-config-compass": "^1.7.5",
|
|
55
55
|
"@mongodb-js/prettier-config-compass": "^1.2.9",
|
|
56
|
-
"@mongodb-js/tsconfig-compass": "^1.2.
|
|
56
|
+
"@mongodb-js/tsconfig-compass": "^1.2.14",
|
|
57
57
|
"@types/chai": "^4.2.21",
|
|
58
58
|
"@types/mocha": "^9.0.0",
|
|
59
59
|
"@types/sinon-chai": "^3.2.5",
|
|
@@ -66,8 +66,9 @@
|
|
|
66
66
|
"typescript": "^5.9.3"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"bson": "^
|
|
69
|
+
"bson": "^7.2.0",
|
|
70
|
+
"hadron-type-checker": "^7.5.0",
|
|
70
71
|
"lodash": "^4.17.21"
|
|
71
72
|
},
|
|
72
|
-
"gitHead": "
|
|
73
|
+
"gitHead": "3473b2aeed26412f25423caf7f1f7ca848665e34"
|
|
73
74
|
}
|