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.62 to 1.0.63

build/query/validate_query.d.ts

0

build/helpers/benchmark.d.ts
export declare const start_profiler: () => Promise<void>;
export declare const stop_profiler: () => Promise<void>;

@@ -0,0 +0,0 @@ "use strict";

export declare const deep_merge: (target: any, source: any) => any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export interface error_type {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ declare type type_string = 'Object' | 'Number' | 'Boolean' | 'String' | 'Null' | 'Array' | 'RegExp' | 'Function' | 'Undefined';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

export declare const stable_sort: (arr: any, compare: any) => any;

@@ -0,0 +0,0 @@ "use strict";

export declare const path_to_string: (path: any) => string;
export declare const string_to_path: (str: any) => any;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare const orma_introspect: (db: string, fn: (s: string[]) => Promise<Record<string, unknown>[][]>) => Promise<import("./introspector/introspector").orma_schema>;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

import { orma_schema } from './introspector';
export declare const migrator: (target_schema: orma_schema, database_schema?: orma_schema) => void;

@@ -0,0 +0,0 @@ "use strict";

export declare const apply_inherit_operations_macro: (mutation: any) => void;

@@ -0,0 +0,0 @@ import { orma_schema } from '../../introspector/introspector';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { PathedRecord } from '../types';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { orma_schema } from '../introspector/introspector';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { error_type } from '../helpers/error_handling';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

export declare const verify_independence: (mutation: any, orma_query: (query: any) => Promise<any>) => Promise<void>;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { orma_schema } from '../introspector/introspector';

8

build/mutate/mutate.js

@@ -53,7 +53,5 @@ "use strict";

.filter(el => el !== undefined);
if (query_statements.length > 0) {
const query_results = await mysql_function(query_statements);
const new_tier_results = (0, exports.add_foreign_key_indexes)(query_statements, query_results, mutation, orma_schema);
tier_results = Object.assign(Object.assign({}, tier_results), new_tier_results);
}
const query_results = await mysql_function(query_statements);
const new_tier_results = (0, exports.add_foreign_key_indexes)(query_statements, query_results, mutation, orma_schema);
tier_results = Object.assign(Object.assign({}, tier_results), new_tier_results);
}

@@ -60,0 +58,0 @@ // merge database rows into mutation

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { error_type } from '../../helpers/error_handling';

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { orma_schema } from '../../introspector/introspector';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

export declare const apply_escape_macro: (query: any) => void;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { orma_schema } from '../../introspector/introspector';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { orma_schema } from '../../introspector/introspector';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ declare type select_expr = {};

@@ -0,0 +0,0 @@ // interface query {

@@ -0,0 +0,0 @@ import { error_type } from '../helpers/error_handling';

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { error_type } from '../helpers/error_handling';

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

if (errors.length > 0) {
throw {
return {
$success: false,

@@ -109,0 +109,0 @@ errors,

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ // export type CreateTableStatement = ({

import { error_type } from "../helpers/error_handling";
export declare const validator: (query: any, schema: any) => error_type[];

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ export declare type Path = (string | number)[];

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ /**

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { XOR } from '../helper_types';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { IsEqual } from '../helper_types';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Pluck } from '../helper_types';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { Edge } from '../helpers/schema_helpers';

"use strict";
// generate type for orma schema which plays well with as const declarations
Object.defineProperty(exports, "__esModule", { value: true });

@@ -0,0 +0,0 @@ "use strict";

{
"name": "orma",
"version": "1.0.62",
"version": "1.0.63",
"description": "A declarative relational syncronous orm",

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

@@ -0,0 +0,0 @@ ## Status

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