Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

typeorm-plus

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typeorm-plus - npm Package Compare versions

Comparing version 0.0.38 to 0.0.39

2

package.json
{
"name": "typeorm-plus",
"private": false,
"version": "0.0.38",
"version": "0.0.39",
"description": "Add extra features to TypeORM",

@@ -6,0 +6,0 @@ "main": "dist/index.js",

@@ -1,2 +0,2 @@

import { ObjectType, SelectQueryBuilder, WhereExpression } from 'typeorm';
import { SelectQueryBuilder, WhereExpression } from 'typeorm';
export declare class SelectQueryBuilderPlus<Entity> extends SelectQueryBuilder<Entity> implements WhereExpression {

@@ -6,4 +6,2 @@ paginate?(current: number, size: number): this;

when?(condition: any, callback: (qb: this) => this): this;
from<T>(entityTarget: (qb: SelectQueryBuilderPlus<any>) => SelectQueryBuilderPlus<any>, aliasName: string): SelectQueryBuilderPlus<T>;
from<T>(entityTarget: ObjectType<T> | string, aliasName: string): SelectQueryBuilderPlus<T>;
}

@@ -54,7 +54,2 @@ "use strict";

};
SelectQueryBuilderPlus.prototype.from = function (entityTarget, aliasName) {
var mainAlias = this.createFromAlias(entityTarget, aliasName);
this.expressionMap.setMainAlias(mainAlias);
return this;
};
return SelectQueryBuilderPlus;

@@ -61,0 +56,0 @@ }(typeorm_1.SelectQueryBuilder));

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