Socket
Socket
Sign inDemoInstall

@mashroom/mashroom-storage

Package Overview
Dependencies
40
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-alpha.4 to 2.0.0

8

package.json

@@ -7,3 +7,3 @@ {

"license": "MIT",
"version": "2.0.0-alpha.4",
"version": "2.0.0",
"files": [

@@ -14,7 +14,7 @@ "dist/**",

"dependencies": {
"@mashroom/mashroom-utils": "2.0.0-alpha.4"
"@mashroom/mashroom-utils": "2.0.0"
},
"devDependencies": {
"@mashroom/mashroom": "2.0.0-alpha.4",
"@mashroom/mashroom-memory-cache": "2.0.0-alpha.4"
"@mashroom/mashroom": "2.0.0",
"@mashroom/mashroom-memory-cache": "2.0.0"
},

@@ -21,0 +21,0 @@ "jest": {

@@ -16,24 +16,26 @@

type MongoLikeFilterOperators<T> = {
$eq?: T;
$ne?: T;
$gt?: T;
$gte?: T;
$lt?: T;
$lte?: T;
$in?: ReadonlyArray<T>;
$nin?: ReadonlyArray<T>;
$exists?: boolean;
$regex?: T extends string ? RegExp | string : never;
readonly $eq?: T;
readonly $ne?: T;
readonly $gt?: T;
readonly $gte?: T;
readonly $lt?: T;
readonly $lte?: T;
readonly $in?: ReadonlyArray<T>;
readonly $nin?: ReadonlyArray<T>;
readonly $exists?: boolean;
readonly $not?: T extends string ? MongoLikeFilterOperators<T> | RegExp : MongoLikeFilterOperators<T>;
readonly $regex?: T extends string ? RegExp | string : never;
readonly $options?: string;
}
type MongoLikeRootFilterOperators<T> = {
$and?: Array<MongoLikeFilter<T>>;
$or?: Array<MongoLikeFilter<T>>;
readonly $and?: Array<MongoLikeFilter<T>>;
readonly $or?: Array<MongoLikeFilter<T>>;
}
type MongoLikeFilter<T> = {
[P in keyof T]?: Condition<T[P]>;
readonly [P in keyof T]?: Condition<T[P]>;
} & MongoLikeRootFilterOperators<T> & {
// Nested properties
[key: string]: any
readonly [key: string]: any
}

@@ -48,12 +50,12 @@

export type MashroomStorageSearchResult<T> = {
result: Array<MashroomStorageObject<T>>;
totalCount: number;
readonly result: Array<MashroomStorageObject<T>>;
readonly totalCount: number;
}
export type MashroomStorageUpdateResult = {
modifiedCount: number;
readonly modifiedCount: number;
};
export type MashroomStorageDeleteResult = {
deletedCount: number;
readonly deletedCount: number;
};

@@ -60,0 +62,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc