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

@atlasmap/core

Package Overview
Dependencies
Maintainers
6
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlasmap/core - npm Package Compare versions

Comparing version 2.4.0-M.3 to 2.4.0-M.4

5

dist/models/document-definition.model.d.ts

@@ -38,2 +38,3 @@ import { DocumentType, InspectionType } from '../contracts/common';

inspectionResult: string;
inspectionPaths: string[];
isSource: boolean;

@@ -84,2 +85,3 @@ isPropertyOrConstant: boolean;

initializeFromFields(): void;
hasField(path: string): boolean;
updateField(field: Field, oldPath: string | null): void;

@@ -92,3 +94,3 @@ addField(field: Field): void;

populateChildren(field: Field): boolean;
private rewriteFieldPath;
rewriteFieldPath(field: Field): void;
/**

@@ -110,3 +112,4 @@ * Clear all fields in this document.

private discoverComplexFields;
getMissingPaths(inspectPaths: string[]): string[];
}
//# sourceMappingURL=document-definition.model.d.ts.map

6

dist/models/expression.model.d.ts

@@ -64,4 +64,3 @@ import { MappedField, MappingModel } from './mapping.model';

* Create a new field node derived from the specified mapped field and push it
* onto the end of the master nodes array. If the last field element is a field
* node and has no trailing text then prepend a '+' to make a legal expression.
* onto the end of the master nodes array.
*

@@ -91,4 +90,3 @@ * @param mfield

/**
* Insert text into the expression at the specified position. If nodeId is not
* specified, it will be added to the end of expression.
* Insert user text/ JSON text into the expression.
*

@@ -95,0 +93,0 @@ * @param newText - string to insert

@@ -44,3 +44,4 @@ import { Input, Options } from 'ky';

};
inspectPaths: string[];
}
//# sourceMappingURL=document-inspection.model.d.ts.map

@@ -23,2 +23,3 @@ import { DocumentInspectionModel, DocumentInspectionRequestModel, DocumentInspectionRequestOptions } from './document-inspection.model';

jsonData: string;
inspectPaths: string[];
};

@@ -25,0 +26,0 @@ };

@@ -21,2 +21,3 @@ import { DocumentInspectionModel, DocumentInspectionRequestModel, DocumentInspectionRequestOptions } from './document-inspection.model';

xmlData: string;
inspectPaths: string[];
};

@@ -23,0 +24,0 @@ };

import { CollectionType, DocumentType, FieldType, InspectionType } from '../contracts/common';
import { Observable } from 'rxjs';
import { Observable, Subject } from 'rxjs';
import { ConfigModel } from '../models/config.model';
import { DocumentDefinition } from '../models/document-definition.model';
import { DocumentInspectionModel } from '../models/inspect/document-inspection.model';
import ky from 'ky';

@@ -16,2 +17,4 @@ /**

private MAX_SEARCH_MATCH;
documentUpdated: Subject<void>;
documentUpdated$: Observable<void>;
constructor(api: typeof ky);

@@ -27,3 +30,3 @@ initialize(): void;

inspectDocuments(): Observable<DocumentDefinition>;
private inspectDocument;
inspectDocument(inspectionModel: DocumentInspectionModel, inspectPaths?: string[]): Promise<DocumentDefinition>;
getLibraryClassNames(): Promise<string[]>;

@@ -30,0 +33,0 @@ /**

@@ -47,3 +47,3 @@ import { Observable, Subject } from 'rxjs';

private fetchMappings;
updateStatus(): void;
updateStatus(): Promise<void>;
private handleError;

@@ -50,0 +50,0 @@ updateInitComplete(): void;

@@ -77,3 +77,31 @@ import { MappingModel } from '../models/mapping.model';

private fieldActionsToExpression;
/**
* Return a double-string array of expression candidates for the expression menu select.
*
* @param configModel
* @param labelName
* @param sourceElements
* @returns
*/
private getExpressionCandidates;
/**
* Return an array of predefined field-action functions and user-defined field-action
* functions.
*
* * Note - these are currently being pulled from the Monaco editor tokens provider
* (lexer). Use the REST API when the dynamic support becomes available.
*
* @param configModel
* @returns
*/
getFieldActionFunctionCandidates(configModel: ConfigModel): string[][];
/**
* Return from the Monaco editor tokens provider an array of AtlasMap conditional
* expression keywords.
*
* @param configModel
* @returns
*/
getKeywordCandidates(configModel: ConfigModel): string[][];
}
//# sourceMappingURL=mapping-expression.service.d.ts.map

@@ -10,3 +10,3 @@ import { IAtlasMappingContainer, IMapping } from '../contracts/mapping';

static serializeFieldMapping(cfg: ConfigModel, mapping: MappingModel, id: string, ignoreValue?: boolean): IMapping;
static deserializeMappingServiceJSON(json: IAtlasMappingContainer, cfg: ConfigModel): void;
static deserializeMappingServiceJSON(json: IAtlasMappingContainer, cfg: ConfigModel): Promise<void>;
/**

@@ -19,3 +19,3 @@ * Return the AtlasMap mappings file name from the specified JSON buffer or an empty string.

static addInputFieldGroupFields(inputField: IField[], mapping: MappingModel, cfg: ConfigModel): void;
static deserializeFieldMapping(mappingJson: IMapping, cfg: ConfigModel): MappingModel;
static deserializeFieldMapping(mappingJson: IMapping, cfg: ConfigModel): Promise<MappingModel>;
private static deserializeInputFieldGroup;

@@ -22,0 +22,0 @@ static deserializeAudits(audits: IAudits, errorType: ErrorType): ErrorInfo[];

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

import { DocumentDefinition } from '../models/document-definition.model';
import { MappedField, MappingModel } from '../models/mapping.model';

@@ -8,4 +9,8 @@ import { ConfigModel } from '../models/config.model';

export declare class MappingUtil {
static updateMappingsFromDocuments(cfg: ConfigModel): void;
static updateMappedFieldsFromDocuments(mapping: MappingModel, cfg: ConfigModel, isSource: boolean): void;
static updateMappingsFromDocuments(cfg: ConfigModel): Promise<void>;
private static groupPathsByDocs;
private static groupDocsByFields;
static updateMappedFieldsFromDocuments(mapping: MappingModel, cfg: ConfigModel, isSource: boolean): Promise<void>;
static applyMappedFieldsFromDocuments(mapping: MappingModel, cfg: ConfigModel, isSource: boolean, docsByFields: Map<MappedField, DocumentDefinition>): void;
private static loadDocumentsWithPaths;
/**

@@ -12,0 +17,0 @@ * Check all mappings in the current context and remove if it refers to un-existing fields.

{
"name": "@atlasmap/core",
"description": "AtlasMap UI core library",
"version": "2.4.0-M.3",
"version": "2.4.0-M.4",
"license": "Apache-2.0",

@@ -124,3 +124,3 @@ "publishConfig": {

},
"gitHead": "55851f67bc7e7f6672e7a68b696dfa2166aa20e6"
"gitHead": "80c7c5536a77f7e51117fd83267768b4e0598a44"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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