bson 5.5.0 → 5.5.1
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/lib/bson.bundle.js +1 -1
- package/lib/bson.bundle.js.map +1 -1
- package/lib/bson.cjs +1 -1
- package/lib/bson.cjs.map +1 -1
- package/lib/bson.mjs +1 -1
- package/lib/bson.mjs.map +1 -1
- package/lib/bson.rn.cjs +1 -1
- package/lib/bson.rn.cjs.map +1 -1
- package/package.json +1 -1
- package/src/error.ts +1 -3
package/lib/bson.bundle.js
CHANGED
|
@@ -96,7 +96,7 @@ class BSONVersionError extends BSONError {
|
|
|
96
96
|
return 'BSONVersionError';
|
|
97
97
|
}
|
|
98
98
|
constructor() {
|
|
99
|
-
super(`Unsupported BSON version, bson types must be from bson ${BSON_MAJOR_VERSION}.
|
|
99
|
+
super(`Unsupported BSON version, bson types must be from bson ${BSON_MAJOR_VERSION}.x.x`);
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
class BSONRuntimeError extends BSONError {
|