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

birchtree

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

birchtree - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

20

build/repo.d.ts
/// <reference types="knex" />
import { BirchTree } from './birchtree';
export interface ModelConstructor {
new (props: any): Model;
new (props?: any): Model;
}

@@ -17,11 +17,11 @@ export declare class Model {

constructor(type: ModelConstructor, birch: BirchTree);
create(model: T, trx: BirchTree.Transaction): Promise<T>;
exterminate(model: T, trx: BirchTree.Transaction): Promise<number>;
find(attrs: any, trx: BirchTree.Transaction): Promise<T>;
findOne(attrs: any, trx: BirchTree.Transaction): Promise<T>;
findOneById(id: number, trx: BirchTree.Transaction): Promise<T>;
findByIds(ids: number[], trx: BirchTree.Transaction): Promise<T[]>;
save(model: T, trx: BirchTree.Transaction): Promise<T>;
update(model: T, trx: BirchTree.Transaction): Promise<T>;
createQuery(trx: BirchTree.Transaction): BirchTree.QueryBuilder;
create(model: T, trx?: BirchTree.Transaction): Promise<T>;
exterminate(model: T, trx?: BirchTree.Transaction): Promise<number>;
find(attrs: any, trx?: BirchTree.Transaction): Promise<T>;
findOne(attrs: any, trx?: BirchTree.Transaction): Promise<T>;
findOneById(id: number, trx?: BirchTree.Transaction): Promise<T>;
findByIds(ids: number[], trx?: BirchTree.Transaction): Promise<T[]>;
save(model: T, trx?: BirchTree.Transaction): Promise<T>;
update(model: T, trx?: BirchTree.Transaction): Promise<T>;
createQuery(trx?: BirchTree.Transaction): BirchTree.QueryBuilder;
}
{
"name": "birchtree",
"version": "0.4.1",
"version": "0.4.2",
"description": "Repository system and helper functions for knexjs",

@@ -5,0 +5,0 @@ "main": "build/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