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.220 to 1.0.221

4

build/schema/schema_macro.js

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

const entity = statement.$create_table;
const edges = (0, schema_helpers_1.get_all_edges)(entity, final_schema);
// remove self-referencing foreign keys, since they dont affect insertion order
// and would make this more complicated if included
const edges = (0, schema_helpers_1.get_all_edges)(entity, final_schema).filter(el => el.from_entity !== el.to_entity);
// we set all foreign key and primary keys to the value 1, since this will result in the strongest

@@ -42,0 +44,0 @@ // ordering when passed to the mutation planner

{
"name": "orma",
"version": "1.0.220",
"version": "1.0.221",
"description": "A declarative relational syncronous orm",

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

@@ -89,3 +89,7 @@ import { get_difference } from '../helpers/helpers'

const entity = statement.$create_table
const edges = get_all_edges(entity, final_schema)
// remove self-referencing foreign keys, since they dont affect insertion order
// and would make this more complicated if included
const edges = get_all_edges(entity, final_schema).filter(
el => el.from_entity !== el.to_entity
)

@@ -92,0 +96,0 @@ // we set all foreign key and primary keys to the value 1, since this will result in the strongest

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