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

@deboxsoft/module-server

Package Overview
Dependencies
Maintainers
1
Versions
211
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deboxsoft/module-server - npm Package Compare versions

Comparing version 1.7.0-5 to 1.8.0-1

4

package.json
{
"name": "@deboxsoft/module-server",
"version": "1.7.0-5",
"version": "1.8.0-1",
"license": "SEE LICENSE IN LICENSE",

@@ -39,3 +39,3 @@ "maintainers": [

"dependencies": {
"@deboxsoft/module-core": "^1.7.0-5",
"@deboxsoft/module-core": "^1.8.0-1",
"nanoid": "^3.1.20",

@@ -42,0 +42,0 @@ "nconf": "0.11.0",

@@ -1,9 +0,8 @@

import type { CollectionParams, PageCursorResult } from "@deboxsoft/module-core";
import type { CollectionParams } from "@deboxsoft/module-core";
export interface Repository<Data, Input, UpdateInput = Partial<Input>, Params extends CollectionParams = {}, ID = string> {
create(input: Input, db?: any): Promise<Data>;
update(id: ID, input: UpdateInput, db?: any): Promise<boolean>;
create(input: Input, db?: any): Promise<any>;
update(id: ID, input: UpdateInput, db?: any): Promise<any>;
findById(id: ID, db?: any): Promise<Data | undefined>;
find(params?: Params, db?: any): Promise<Data[]>;
findPageCursor<DataResult = Data>(params?: Params, db?: any): Promise<PageCursorResult<DataResult>>;
remove(id: ID, db?: any): Promise<boolean>;
find<DataResult = any, P = Params>(params?: P, db?: any): Promise<DataResult>;
remove(id: ID, db?: any): Promise<any>;
}

Sorry, the diff of this file is not supported yet

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