Comparing version 8.7.0 to 8.7.1
@@ -15,3 +15,4 @@ 'use strict'; | ||
useProjection: false, | ||
versionKey: true | ||
versionKey: true, | ||
flattenObjectIds: false | ||
}; |
@@ -222,2 +222,10 @@ /*! | ||
if (utils.isPOJO(value) && (value.$binary instanceof Binary || typeof value.$binary === 'string')) { | ||
const buf = this.cast(Buffer.from(value.$binary, 'base64')); | ||
if (value.$type != null) { | ||
buf._subtype = value.$type; | ||
return buf; | ||
} | ||
} | ||
throw new CastError('Buffer', value, this.path, null, this); | ||
@@ -224,0 +232,0 @@ }; |
{ | ||
"name": "mongoose", | ||
"description": "Mongoose MongoDB ODM", | ||
"version": "8.7.0", | ||
"version": "8.7.1", | ||
"author": "Guillermo Rauch <guillermo@learnboost.com>", | ||
@@ -55,8 +55,8 @@ "keywords": [ | ||
"lodash.isequalwith": "4.4.0", | ||
"markdownlint-cli2": "^0.13.0", | ||
"marked": "14.1.0", | ||
"markdownlint-cli2": "^0.14.0", | ||
"marked": "14.1.2", | ||
"mkdirp": "^3.0.1", | ||
"mocha": "10.7.3", | ||
"moment": "2.30.1", | ||
"mongodb-memory-server": "10.0.0", | ||
"mongodb-memory-server": "10.0.1", | ||
"ncp": "^2.0.0", | ||
@@ -66,8 +66,8 @@ "nyc": "15.1.0", | ||
"q": "1.5.1", | ||
"sinon": "18.0.0", | ||
"sinon": "19.0.2", | ||
"stream-browserify": "3.0.0", | ||
"tsd": "0.31.1", | ||
"typescript": "5.5.4", | ||
"tsd": "0.31.2", | ||
"typescript": "5.6.2", | ||
"uuid": "10.0.0", | ||
"webpack": "5.94.0" | ||
"webpack": "5.95.0" | ||
}, | ||
@@ -74,0 +74,0 @@ "directories": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
2729208
51587