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

@spinajs/orm-sql

Package Overview
Dependencies
Maintainers
0
Versions
357
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spinajs/orm-sql - npm Package Compare versions

Comparing version 2.0.286 to 2.0.288

5

lib/cjs/converters.js

@@ -39,3 +39,3 @@ "use strict";

}
let dt = value instanceof luxon_1.DateTime ? value : luxon_1.DateTime.fromJSDate(value);
let dt = luxon_1.DateTime.isDateTime(value) ? value : luxon_1.DateTime.fromJSDate(value);
if (column) {

@@ -52,2 +52,5 @@ if (DATE_NUMERICAL_TYPES.includes(column.Type)) {

}
if (luxon_1.DateTime.isDateTime(value)) {
return value;
}
// we do this checks, becose at creating models from data

@@ -54,0 +57,0 @@ // we call hydrators, and hydrators checks for converters.

@@ -34,3 +34,3 @@ import { DatetimeValueConverter } from '@spinajs/orm';

}
let dt = value instanceof DateTime ? value : DateTime.fromJSDate(value);
let dt = DateTime.isDateTime(value) ? value : DateTime.fromJSDate(value);
if (column) {

@@ -47,2 +47,5 @@ if (DATE_NUMERICAL_TYPES.includes(column.Type)) {

}
if (DateTime.isDateTime(value)) {
return value;
}
// we do this checks, becose at creating models from data

@@ -49,0 +52,0 @@ // we call hydrators, and hydrators checks for converters.

8

package.json
{
"name": "@spinajs/orm-sql",
"version": "2.0.286",
"version": "2.0.288",
"description": "framework orm sql language module",

@@ -55,5 +55,5 @@

"dependencies": {
"@spinajs/di": "^2.0.286",
"@spinajs/orm": "^2.0.286",
"@spinajs/exceptions": "^2.0.286",
"@spinajs/di": "^2.0.288",
"@spinajs/orm": "^2.0.288",
"@spinajs/exceptions": "^2.0.288",
"luxon": "^3.2.1",

@@ -60,0 +60,0 @@ "typescript-mix": "^3.1.3"

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