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
374
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 1.2.157 to 1.2.161

5

lib/hydrators.js

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

var _a;
// skip if column is primary key & is null
// we dont want to override pkey of target model
if (k === descriptor.PrimaryKey && !values[k]) {
return;
}
const column = (_a = descriptor.Columns) === null || _a === void 0 ? void 0 : _a.find((c) => c.Name === k);

@@ -53,0 +58,0 @@ target[k] = column.Converter ? column.Converter.fromDB(values[k]) : values[k];

4

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

@@ -55,3 +55,3 @@ "main": "lib/index.js",

},
"gitHead": "7e1bbb1c0a139e119230689892278afd0fa54416"
"gitHead": "3d19ce4912042ecb6378df155bdf7c8614bb80fe"
}

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