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.1.5 to 0.1.6

2

lib/index.d.ts

@@ -0,5 +1,5 @@

declare const Base2N: any;
declare const documentsBinarySearch: any, getAverageSortId: any, updateSortFieldsForDocument: any;
declare const getModelsQueue: any;
declare const mongoose: any;
declare const Base2N: any;
declare function sortEncryptedFields(schema: {

@@ -6,0 +6,0 @@ pre: Function;

@@ -10,6 +10,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

};
const Base2N = require("@navpreetdevpuri/base-2-n");
const { documentsBinarySearch, getAverageSortId, updateSortFieldsForDocument } = require("./utils");
const getModelsQueue = require("./modelsQueue");
// It is not in package.json to keep it at the same version as the package user's mongoose version to avoid compatibility issues
const mongoose = require("mongoose");
const Base2N = require("@navpreetdevpuri/base-2-n");
/*

@@ -16,0 +17,0 @@ options:

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

@@ -31,3 +31,2 @@ "main": "lib/index.js",

"ioredis": "^5.3.1",
"mongoose": "^7.0.2",
"redis-ordered-queue": "^1.4.2"

@@ -34,0 +33,0 @@ },

@@ -0,5 +1,8 @@

const Base2N = require("@navpreetdevpuri/base-2-n");
const { documentsBinarySearch, getAverageSortId, updateSortFieldsForDocument } = require("./utils");
const getModelsQueue = require("./modelsQueue");
// It is not in package.json to keep it at the same version as the package user's mongoose version to avoid compatibility issues
const mongoose = require("mongoose");
const Base2N = require("@navpreetdevpuri/base-2-n");

@@ -6,0 +9,0 @@ /*

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