New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lambdaorm-base

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lambdaorm-base - npm Package Compare versions

Comparing version 0.1.30 to 0.1.31

2

package.json
{
"name": "lambdaorm-base",
"version": "0.1.30",
"version": "0.1.31",
"description": "ORM",

@@ -5,0 +5,0 @@ "author": "Flavio Lionel Rita <flaviolrita@proton.me>",

@@ -1,2 +0,2 @@

import { ClauseInfo, SourceRule, Schema, SchemaData } from '../domain';
import { ClauseInfo, SourceRule, Schema, SchemaData, Dialect } from '../domain';
import { DataSourceConfigService } from './services/config/dataSourceConfigService';

@@ -34,2 +34,3 @@ import { MappingsConfigService } from './services/config/mappingsConfigService';

constructor(source: DataSourceConfigService, domain: DomainConfigService, mapping: MappingsConfigService, stage: StageConfigService, view: ViewsConfigService, schemaService: SchemaService, getSchemaData: GetSchemaSchema, routeService: RouteService, extender: SchemaExtender, createSchema: CreateSchema, updateSchema: UpdateSchema, loadSchema: LoadSchema, getSchema: GetSchema, completeSchema: CompleteSchema);
new(dialect?: Dialect, connection?: any): Schema;
evalSourceRule(rule: SourceRule, clauseInfo: ClauseInfo): boolean;

@@ -36,0 +37,0 @@ getSource(clauseInfo: ClauseInfo, stage?: string): string;

@@ -32,2 +32,12 @@ "use strict";

}
new(dialect, connection) {
const schema = this.schemaService.newSchema();
if (dialect && connection) {
schema.infrastructure = this.schemaService.newInfrastructure();
schema.infrastructure.sources = [];
schema.infrastructure.sources.push({ name: 'default', mapping: 'default', dialect, connection });
schema.infrastructure.mappings = [{ name: 'default', entities: [] }];
}
return schema;
}
evalSourceRule(rule, clauseInfo) {

@@ -34,0 +44,0 @@ return this.routeService.eval(rule, clauseInfo);

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