You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@spinajs/orm-api

Package Overview
Dependencies
Maintainers
1
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/orm-api - npm Package Compare versions

Comparing version

to
2.0.368

3

lib/cjs/index.js

@@ -85,2 +85,5 @@ "use strict";

*/
if (param.Options.noInclude === true) {
return query.firstOrFail();
}
if (callData.Payload.include || callData.Payload._include) {

@@ -87,0 +90,0 @@ query.populate(callData.Payload.include ?? callData.Payload._include);

@@ -35,2 +35,7 @@ import { Class } from '@spinajs/di';

/**
* Sometimes we want to skip include relations eg. when we dont want to
* load relations when getting another model in route
*/
noInclude?: boolean;
/**
*

@@ -37,0 +42,0 @@ * Callback on query builder before model is fetched from DB

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

*/
if (param.Options.noInclude === true) {
return query.firstOrFail();
}
if (callData.Payload.include || callData.Payload._include) {

@@ -84,0 +87,0 @@ query.populate(callData.Payload.include ?? callData.Payload._include);

@@ -35,2 +35,7 @@ import { Class } from '@spinajs/di';

/**
* Sometimes we want to skip include relations eg. when we dont want to
* load relations when getting another model in route
*/
noInclude?: boolean;
/**
*

@@ -37,0 +42,0 @@ * Callback on query builder before model is fetched from DB

24

package.json
{
"name": "@spinajs/orm-api",
"version": "2.0.367",
"version": "2.0.368",
"description": "Orm extensions for HTTP module",

@@ -50,12 +50,12 @@ "main": "lib/cjs/index.js",

"dependencies": {
"@spinajs/configuration": "^2.0.367",
"@spinajs/di": "^2.0.367",
"@spinajs/exceptions": "^2.0.367",
"@spinajs/http": "^2.0.367",
"@spinajs/intl-orm": "^2.0.367",
"@spinajs/log": "^2.0.367",
"@spinajs/orm": "^2.0.367",
"@spinajs/validation": "2.0.367",
"@spinajs/rbac": "^2.0.367",
"@spinajs/rbac-http": "^2.0.367",
"@spinajs/configuration": "^2.0.368",
"@spinajs/di": "^2.0.368",
"@spinajs/exceptions": "^2.0.368",
"@spinajs/http": "^2.0.368",
"@spinajs/intl-orm": "^2.0.368",
"@spinajs/log": "^2.0.368",
"@spinajs/orm": "^2.0.368",
"@spinajs/validation": "2.0.368",
"@spinajs/rbac": "^2.0.368",
"@spinajs/rbac-http": "^2.0.368",
"lodash": "^4.17.21",

@@ -65,5 +65,5 @@ "luxon": "^3.6.1"

"devDependencies": {
"@spinajs/orm-sqlite": "^2.0.367"
"@spinajs/orm-sqlite": "^2.0.368"
},
"gitHead": "b0f038aa2814b69b242ab9a277b26d73d39544d2"
}

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