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

@spinajs/orm

Package Overview
Dependencies
Maintainers
1
Versions
341
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/orm - npm Package Compare versions

Comparing version 2.0.237 to 2.0.238

1

lib/cjs/builders.js

@@ -828,3 +828,2 @@ "use strict";

relInstance.execute(callback);
relInstance.Name = relation;
this._relations.push(relInstance);

@@ -831,0 +830,0 @@ return this;

4

lib/cjs/relations.d.ts

@@ -23,2 +23,3 @@ import { IRelationDescriptor, IModelDescriptor, ForwardRefFunction, ISelectQueryBuilder } from './interfaces.js';

Name: string;
Descriptor: IRelationDescriptor;
}

@@ -35,3 +36,4 @@ export declare abstract class OrmRelation implements IOrmRelation {

protected _driver: OrmDriver;
Name: string;
get Name(): string;
get Descriptor(): IRelationDescriptor;
get Alias(): string;

@@ -38,0 +40,0 @@ constructor(_container: Container, _query: ISelectQueryBuilder, _description: IRelationDescriptor, parentRelation?: OrmRelation);

@@ -29,2 +29,8 @@ "use strict";

let OrmRelation = class OrmRelation {
get Name() {
return this._description.Name;
}
get Descriptor() {
return this._description;
}
get Alias() {

@@ -31,0 +37,0 @@ return this.parentRelation ? `${this.parentRelation.Alias}.${this._separator}${this._description.Name}${this._separator}` : `${this._separator}${this._description.Name}${this._separator}`;

@@ -822,3 +822,2 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

relInstance.execute(callback);
relInstance.Name = relation;
this._relations.push(relInstance);

@@ -825,0 +824,0 @@ return this;

@@ -23,2 +23,3 @@ import { IRelationDescriptor, IModelDescriptor, ForwardRefFunction, ISelectQueryBuilder } from './interfaces.js';

Name: string;
Descriptor: IRelationDescriptor;
}

@@ -35,3 +36,4 @@ export declare abstract class OrmRelation implements IOrmRelation {

protected _driver: OrmDriver;
Name: string;
get Name(): string;
get Descriptor(): IRelationDescriptor;
get Alias(): string;

@@ -38,0 +40,0 @@ constructor(_container: Container, _query: ISelectQueryBuilder, _description: IRelationDescriptor, parentRelation?: OrmRelation);

@@ -26,2 +26,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {

let OrmRelation = class OrmRelation {
get Name() {
return this._description.Name;
}
get Descriptor() {
return this._description;
}
get Alias() {

@@ -28,0 +34,0 @@ return this.parentRelation ? `${this.parentRelation.Alias}.${this._separator}${this._description.Name}${this._separator}` : `${this._separator}${this._description.Name}${this._separator}`;

{
"name": "@spinajs/orm",
"version": "2.0.237",
"version": "2.0.238",
"description": "framework orm module",

@@ -58,6 +58,6 @@ "main": "lib/cjs/index.js",

"dependencies": {
"@spinajs/configuration-common": "^2.0.237",
"@spinajs/di": "^2.0.237",
"@spinajs/exceptions": "^2.0.237",
"@spinajs/log-common": "^2.0.237",
"@spinajs/configuration-common": "^2.0.238",
"@spinajs/di": "^2.0.238",
"@spinajs/exceptions": "^2.0.238",
"@spinajs/log-common": "^2.0.238",
"glob": "^8.1.0",

@@ -64,0 +64,0 @@ "glob-to-regexp": "^0.4.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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