Socket
Socket
Sign inDemoInstall

orma

Package Overview
Dependencies
Maintainers
2
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orma - npm Package Compare versions

Comparing version 1.0.247 to 1.0.248

2

build/query/ast_to_sql.js

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

const scale = get_neighbour_field(obj, path, '$scale');
const enum_values = (_a = get_neighbour_field(obj, path, '$enum_values')) === null || _a === void 0 ? void 0 : _a.map(el => `"${el}"`);
const enum_values = (_a = get_neighbour_field(obj, path, '$enum_values')) === null || _a === void 0 ? void 0 : _a.map(el => (database_type === 'postgres' ? `'${el}'` : `"${el}"`));
const data_type_args = (enum_values !== null && enum_values !== void 0 ? enum_values : [precision, scale])

@@ -314,0 +314,0 @@ .filter(el => el !== undefined)

{
"name": "orma",
"version": "1.0.247",
"version": "1.0.248",
"description": "A declarative relational syncronous orm",

@@ -5,0 +5,0 @@ "main": "build/index.js",

@@ -476,3 +476,3 @@ /**

const enum_values = get_neighbour_field(obj, path, '$enum_values')?.map(
el => `"${el}"`
el => (database_type === 'postgres' ? `'${el}'` : `"${el}"`)
)

@@ -479,0 +479,0 @@ const data_type_args = (enum_values ?? [precision, scale])

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