Huge News!Announcing our $40M Series B led by Abstract Ventures.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 1.2.2 to 1.2.3

2

package.json
{
"name": "lambdaorm-base",
"version": "1.2.2",
"version": "1.2.3",
"description": "ORM",

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

@@ -24,3 +24,3 @@ import { Schema, SchemaData, Dialect, Mapping, MatchOptions, InitializeSchemaArgs, SchemaInfo } from '../domain';

introspect(schema: Schema, data: any | any[], name: string): SchemaData;
updateFromMapping(schema: Schema, mappings: Mapping[], options?: MatchOptions): void;
match(schema: Schema, mappings: Mapping[], options?: MatchOptions): void;
schemaData(source: any, name: string, type: Type): SchemaData;

@@ -27,0 +27,0 @@ complete(schema: Schema): void;

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

}
updateFromMapping(schema, mappings, options = {}) {
match(schema, mappings, options = {}) {
this.matchSchema.match(schema, mappings, options);

@@ -39,0 +39,0 @@ }

@@ -28,3 +28,3 @@ import { Schema, SchemaData, ClauseInfo, SourceRule, Mapping, MatchOptions, InitializeSchemaArgs, DomainSchema, Entity, Enum, EntityMapping, Stage } from '../domain';

introspect(data: any | any[], name: string): Promise<SchemaData>;
updateFromMapping(mappings: Mapping[], options?: MatchOptions): Promise<void>;
match(mappings: Mapping[], options?: MatchOptions): Promise<void>;
evalSourceRule(rule: SourceRule, clauseInfo: ClauseInfo): boolean;

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

@@ -85,5 +85,5 @@ "use strict";

}
updateFromMapping(mappings_1) {
match(mappings_1) {
return __awaiter(this, arguments, void 0, function* (mappings, options = { removeEntities: true, removeProperties: true, removeRelations: true }) {
this.facade.updateFromMapping(this.originalSchema, mappings, options);
this.facade.match(this.originalSchema, mappings, options);
if (this.schemaPath) {

@@ -90,0 +90,0 @@ yield this.facade.write(this.originalSchema, this.schemaPath);

Sorry, the diff of this file is not supported yet

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