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

@spinajs/orm

Package Overview
Dependencies
Maintainers
1
Versions
376
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.314 to 2.0.315

8

lib/cjs/orm.js

@@ -134,2 +134,10 @@ "use strict";

}
// mark foreign key columns based on relation decorators ( if not foreign key is set in db explicit )
// without this update / insert operations with populated data would fail
descriptor.Relations.forEach((r) => {
const c = d.Columns.find((c) => c.Name === r.ForeignKey);
if (c) {
c.IsForeignKey = true;
}
});
/**

@@ -136,0 +144,0 @@ * Add any other converted that is not set by decorators, but is set in container

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

}
// mark foreign key columns based on relation decorators ( if not foreign key is set in db explicit )
// without this update / insert operations with populated data would fail
descriptor.Relations.forEach((r) => {
const c = d.Columns.find((c) => c.Name === r.ForeignKey);
if (c) {
c.IsForeignKey = true;
}
});
/**

@@ -130,0 +138,0 @@ * Add any other converted that is not set by decorators, but is set in container

10

package.json
{
"name": "@spinajs/orm",
"version": "2.0.314",
"version": "2.0.315",
"description": "framework orm module",

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

"dependencies": {
"@spinajs/configuration-common": "^2.0.314",
"@spinajs/di": "^2.0.314",
"@spinajs/exceptions": "^2.0.314",
"@spinajs/log-common": "^2.0.314",
"@spinajs/configuration-common": "^2.0.315",
"@spinajs/di": "^2.0.315",
"@spinajs/exceptions": "^2.0.315",
"@spinajs/log-common": "^2.0.315",
"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

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