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

orma

Package Overview
Dependencies
Maintainers
2
Versions
236
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.222 to 1.0.223

4

build/query/json_sql.js

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

}[arg];
const constraint_sql = name ? `CONSTRAINT ${name} ` : '';
const constraint_sql = name ? `CONSTRAINT \`${name}\` ` : '';
return `${constraint_sql}${constraint_type_sql}`;

@@ -300,3 +300,3 @@ }, $index: arg => ({

// and the constraint type (e.g. FOREIGN KEY)
get_neighbour_field(obj, path, '$constraint') ? '' : arg, $data_type: (arg, path, obj, database_type) => {
get_neighbour_field(obj, path, '$constraint') ? '' : `\`${arg}\``, $data_type: (arg, path, obj, database_type) => {
var _a;

@@ -303,0 +303,0 @@ const precision = get_neighbour_field(obj, path, '$precision');

{
"name": "orma",
"version": "1.0.222",
"version": "1.0.223",
"description": "A declarative relational syncronous orm",

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

@@ -437,3 +437,3 @@ /**

const constraint_sql = name ? `CONSTRAINT ${name} ` : ''
const constraint_sql = name ? `CONSTRAINT \`${name}\` ` : ''
return `${constraint_sql}${constraint_type_sql}`

@@ -450,3 +450,3 @@ },

// and the constraint type (e.g. FOREIGN KEY)
get_neighbour_field(obj, path, '$constraint') ? '' : arg,
get_neighbour_field(obj, path, '$constraint') ? '' : `\`${arg}\``,
$data_type: (arg, path, obj, database_type) => {

@@ -453,0 +453,0 @@ const precision = get_neighbour_field(obj, path, '$precision')

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