Huge News!Announcing our $40M Series B led by Abstract Ventures.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.2.9 to 0.2.10

2

lib/index.js

@@ -82,3 +82,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

const fieldValue = document[fieldName];
yield modelsQueue.addJob(`${this.modelName.model}${sortFieldName}`, {
yield modelsQueue.addJob(`${this.model.modelName}${sortFieldName}`, {
objectId: document._id,

@@ -85,0 +85,0 @@ fieldName,

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

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

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

const fieldValue = document[fieldName];
await modelsQueue.addJob(`${this.modelName.model}${sortFieldName}`, {
await modelsQueue.addJob(`${this.model.modelName}${sortFieldName}`, {
objectId: document._id,

@@ -82,0 +82,0 @@ fieldName,

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