New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongoose-sort-encrypted-field

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-sort-encrypted-field - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

4

lib/index.js

@@ -42,3 +42,3 @@ // mongoose is not in package.json to avoid compatibility issues with npm package user

});
schema.pre("updateOne", async function preUpdateOne(res, next) {
schema.pre("updateOne", async function preUpdateOne(next) {
const update = this.getUpdate();

@@ -78,3 +78,3 @@ for (const fieldName in sortFields) {

});
schema.pre("updateMany", async function preUpdateMany(res, next) {
schema.pre("updateMany", async function preUpdateMany(next) {
const update = this.getUpdate();

@@ -81,0 +81,0 @@ for (const fieldName in sortFields) {

{
"name": "mongoose-sort-encrypted-field",
"version": "0.3.1",
"version": "0.3.2",
"description": "Mongoose plugin to enable sorting on encrypted fields",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc