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

@atjson/document

Package Overview
Dependencies
Maintainers
3
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atjson/document - npm Package Compare versions

Comparing version 0.19.0 to 0.20.0

9

CHANGELOG.md

@@ -6,2 +6,11 @@ # Change Log

## [0.20.0](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/document@0.19.0...@atjson/document@0.20.0) (2019-08-26)
### ✨ New Features
* ✨ Add equal() and canonical() on the document class
## [0.19.0](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/document@0.17.0...@atjson/document@0.19.0) (2019-08-05)

@@ -8,0 +17,0 @@

1

dist/commonjs/annotation.d.ts

@@ -49,2 +49,3 @@ import Change, { Deletion, Insertion } from './change';

isAlignedWith(annotation: Annotation<any>): boolean;
equals(annotationToCompare: Annotation<any>): boolean;
handleChange(change: Change): void;

@@ -51,0 +52,0 @@ handleDeletion(change: Deletion): void;

@@ -6,2 +6,25 @@ "use strict";

const change_1 = require("./change");
const index_1 = require("./index");
function areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes) {
for (let key in lhsAnnotationAttributes) {
let lhsAttributeValue = lhsAnnotationAttributes[key];
let rhsAttributeValue = rhsAnnotationAttributes[key];
if (lhsAttributeValue !== rhsAttributeValue) {
if (lhsAttributeValue instanceof index_1.default && rhsAttributeValue instanceof index_1.default) {
let areNestedDocumentsEqual = lhsAttributeValue.equals(rhsAttributeValue);
if (!areNestedDocumentsEqual)
return false;
}
else if (typeof lhsAttributeValue === 'object' && typeof rhsAttributeValue === 'object') {
let areNestedAttributesEqual = areAttributesEqual(lhsAttributeValue, rhsAttributeValue);
if (!areNestedAttributesEqual)
return false;
}
else {
return false;
}
}
}
return true;
}
class Annotation {

@@ -28,2 +51,13 @@ constructor(attrs) {

}
equals(annotationToCompare) {
let AnnotationClass = this.constructor;
let AnnotationToCompareClass = annotationToCompare.constructor;
let lhsAnnotationAttributes = this.attributes;
let rhsAnnotationAttributes = annotationToCompare.attributes;
return this.start === annotationToCompare.start &&
this.end === annotationToCompare.end &&
this.type === annotationToCompare.type &&
AnnotationClass.vendorPrefix === AnnotationToCompareClass.vendorPrefix &&
areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes);
}
handleChange(change) {

@@ -114,2 +148,2 @@ if (change.type === 'insertion') {

exports.default = Annotation;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYW5ub3RhdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9hbm5vdGF0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsK0JBQWtDO0FBQ2xDLDZDQUF1RDtBQUN2RCxxQ0FBa0Y7QUFhbEYsTUFBOEIsVUFBVTtJQXFCdEMsWUFBWSxLQUEyRTtRQUNyRixJQUFJLGVBQWUsR0FBRyxJQUFJLENBQUMsV0FBcUQsQ0FBQztRQUNqRixJQUFJLENBQUMsSUFBSSxHQUFHLGVBQWUsQ0FBQyxJQUFJLENBQUM7UUFDakMsSUFBSSxDQUFDLEVBQUUsR0FBRyxLQUFLLENBQUMsRUFBRSxJQUFJLFNBQUksRUFBRSxDQUFDO1FBQzdCLElBQUksQ0FBQyxLQUFLLEdBQUcsS0FBSyxDQUFDLEtBQUssQ0FBQztRQUN6QixJQUFJLENBQUMsR0FBRyxHQUFHLEtBQUssQ0FBQyxHQUFHLENBQUM7UUFFckIsSUFBSSxDQUFDLFVBQVUsR0FBRyxLQUFLLENBQUMsVUFBVSxJQUFJLEVBQWdCLENBQUM7SUFDekQsQ0FBQztJQXhCRCxNQUFNLENBQUMsT0FBTyxDQUFDLEtBQW9FO1FBQ2pGLE9BQU8sSUFBSyxJQUFZLENBQUM7WUFDdkIsRUFBRSxFQUFFLEtBQUssQ0FBQyxFQUFFO1lBQ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BQUUsSUFBSSxDQUFDLEVBQUU7WUFDWCxJQUFJLEVBQUUsSUFBSSxZQUFZLElBQUksSUFBSSxDQUFDLElBQUksRUFBRTtZQUNyQyxLQUFLLEVBQUUsSUFBSSxDQUFDLEtBQUs7WUFDakIsR0FBRyxFQUFFLElBQUksQ0FBQyxHQUFHO1lBQ2IsVUFBVSxFQUFFLG1CQUFNLENBQUMsWUFBWSxFQUFFLElBQUksQ0FBQyxVQUFVLENBQUM7U0FDbEQsQ0FBQztJQUNKLENBQUM7O0FBbExNLHVCQUFZLEdBQXVDLEVBQUUsQ0FBQztBQUgvRCw2QkFzTEMifQ==

3

dist/commonjs/collection.d.ts
import Document, { Annotation } from './index';
import Join from './join';
export declare function compareAnnotations(a: Annotation<any>, b: Annotation<any>): number;
export declare class Collection {

@@ -12,3 +13,3 @@ document: Document;

reduce<T>(reducer: (accumulator: T, currentValue: Annotation<any>, currentIndex: number, array: Array<Annotation<any>>) => T, initialValue: T): T;
sort(sortFunction?: (a: Annotation<any>, b: Annotation<any>) => number): this;
sort(sortFunction?: typeof compareAnnotations): this;
where(filter: {

@@ -15,0 +16,0 @@ [key: string]: any;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const join_1 = require("./join");
function compareAnnotations(a, b) {
let startDelta = a.start - b.start;
let endDelta = a.end - b.end;
if (startDelta === 0) {
if (endDelta === 0) {
return a.type > b.type ? 1 : a.type < b.type ? -1 : 0;
}
else {
return endDelta;
}
}
else {
return startDelta;
}
}
exports.compareAnnotations = compareAnnotations;
function matches(annotation, filter) {

@@ -35,16 +51,4 @@ return Object.keys(filter).every(key => {

}
sort(sortFunction) {
if (sortFunction) {
this.annotations = this.annotations.sort(sortFunction);
}
else {
this.annotations = this.annotations.sort((a, b) => {
if (a.start - b.start === 0) {
return a.end - b.end;
}
else {
return a.start - b.start;
}
});
}
sort(sortFunction = compareAnnotations) {
this.annotations = [...this.annotations].sort(sortFunction);
return this;

@@ -219,2 +223,2 @@ }

exports.NamedCollection =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@ -60,4 +60,6 @@ import Annotation, { AnnotationConstructor } from './annotation';

}>;
canonical(): Document;
equals(docToCompare: Document): boolean;
private createAnnotation;
private triggerChange;
}

@@ -193,2 +193,27 @@ "use strict";

}
canonical() {
let canonicalDoc = this.clone();
canonicalDoc.where({ type: '-atjson-parse-token' }).update(a => {
canonicalDoc.deleteText(a.start, a.end);
});
canonicalDoc.where({ type: '-atjson-parse-token' })
.remove();
canonicalDoc.annotations.sort(collection_1.compareAnnotations);
return canonicalDoc;
}
equals(docToCompare) {
let canonicalLeftHandSideDoc = this.canonical();
let canonicalRightHandSideDoc = docToCompare.canonical();
let isContentEqual = canonicalLeftHandSideDoc.content === canonicalRightHandSideDoc.content;
if (!isContentEqual) {
return false;
}
let isAnnotationLengthEqual = canonicalLeftHandSideDoc.annotations.length === canonicalRightHandSideDoc.annotations.length;
if (!isAnnotationLengthEqual) {
return false;
}
return canonicalLeftHandSideDoc.annotations.every((lhsAnnotation, index) => {
return lhsAnnotation.equals(canonicalRightHandSideDoc.annotations[index]);
});
}
createAnnotation(annotation) {

@@ -254,2 +279,2 @@ let DocumentClass = this.constructor;

exports.default = Document;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw2Q0FBaUU7QUFtRC9ELHFCQW5ESyxvQkFBVSxDQW1ETDtBQWxEWiwrQ0FBd0g7QUFzRHRILDBCQXRETyw2QkFBZSxDQXNEUDtBQUdmLDJCQXpEd0IsOEJBQWdCLENBeUR4QjtBQUdoQiwyQkE1RDBDLDhCQUFnQixDQTREMUM7QUFFaEIsMEJBOUQ0RCw2QkFBZSxDQThENUQ7QUFDZiw0QkEvRDZFLCtCQUFpQixDQStEN0U7QUE5RG5CLHFDQUFrRjtBQXNEaEYsaUJBdERLLGdCQ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yxJQUFJLENBQUMsa0JBQWtCLENBQUM7UUFDakMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0lBQ1IsQ0FBQzs7QUFuWE0sZUFBTSxHQUEyQyxFQUFFLENBQUM7QUFGN0QsMkJBc1hDIn0=

@@ -49,2 +49,3 @@ import Change, { Deletion, Insertion } from './change';

isAlignedWith(annotation: Annotation<any>): boolean;
equals(annotationToCompare: Annotation<any>): boolean;
handleChange(change: Change): void;

@@ -51,0 +52,0 @@ handleDeletion(change: Deletion): void;

import { v4 as uuid } from 'uuid';
import { clone, toJSON, unprefix } from './attributes';
import { AdjacentBoundaryBehaviour } from './change';
import Document from './index';
function areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes) {
for (let key in lhsAnnotationAttributes) {
let lhsAttributeValue = lhsAnnotationAttributes[key];
let rhsAttributeValue = rhsAnnotationAttributes[key];
if (lhsAttributeValue !== rhsAttributeValue) {
if (lhsAttributeValue instanceof Document && rhsAttributeValue instanceof Document) {
let areNestedDocumentsEqual = lhsAttributeValue.equals(rhsAttributeValue);
if (!areNestedDocumentsEqual)
return false;
}
else if (typeof lhsAttributeValue === 'object' && typeof rhsAttributeValue === 'object') {
let areNestedAttributesEqual = areAttributesEqual(lhsAttributeValue, rhsAttributeValue);
if (!areNestedAttributesEqual)
return false;
}
else {
return false;
}
}
}
return true;
}
export default class Annotation {

@@ -25,2 +48,13 @@ constructor(attrs) {

}
equals(annotationToCompare) {
let AnnotationClass = this.constructor;
let AnnotationToCompareClass = annotationToCompare.constructor;
let lhsAnnotationAttributes = this.attributes;
let rhsAnnotationAttributes = annotationToCompare.attributes;
return this.start === annotationToCompare.start &&
this.end === annotationToCompare.end &&
this.type === annotationToCompare.type &&
AnnotationClass.vendorPrefix === AnnotationToCompareClass.vendorPrefix &&
areAttributesEqual(lhsAnnotationAttributes, rhsAnnotationAttributes);
}
handleChange(change) {

@@ -110,2 +144,2 @@ if (change.type === 'insertion') {

Annotation.subdocuments = {};
//# s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QyxXQUFzRCxDQUFDO1FBQ2xGLElBQUksWUFBWSxHQUFHLGVBQWUsQ0FBQyxZQUFZLENBQUM7UUFDaEQsT0FBTztZQUNMLEVBQUUsRUFBRSxJQUFJLENBQUMsRUFBRTtZQUNYLElBQUksRUFBRSxJQUFJLFlBQVksSUFBSSxJQUFJLENBQUMsSUFBSSxFQUFFO1lBQ3JDLEtBQUssRUFBRSxJQUFJLENBQUMsS0FBSztZQUNqQixHQUFHLEVBQUUsSUFBSSxDQUFDLEdBQUc7WUFDYixVQUFVLEVBQUUsTUFBTSxDQUFDLFlBQVksRUFBRSxJQUFJLENBQUMsVUFBVSxDQUFDO1NBQ2xELENBQUM7SUFDSixDQUFDOztBQWxMTSx1QkFBWSxHQUF1QyxFQUFFLENBQUMifQ==
import Document, { Annotation } from './index';
import Join from './join';
export declare function compareAnnotations(a: Annotation<any>, b: Annotation<any>): number;
export declare class Collection {

@@ -12,3 +13,3 @@ document: Document;

reduce<T>(reducer: (accumulator: T, currentValue: Annotation<any>, currentIndex: number, array: Array<Annotation<any>>) => T, initialValue: T): T;
sort(sortFunction?: (a: Annotation<any>, b: Annotation<any>) => number): this;
sort(sortFunction?: typeof compareAnnotations): this;
where(filter: {

@@ -15,0 +16,0 @@ [key: string]: any;

import Join from './join';
export function compareAnnotations(a, b) {
let startDelta = a.start - b.start;
let endDelta = a.end - b.end;
if (startDelta === 0) {
if (endDelta === 0) {
return a.type > b.type ? 1 : a.type < b.type ? -1 : 0;
}
else {
return endDelta;
}
}
else {
return startDelta;
}
}
function matches(annotation, filter) {

@@ -33,16 +48,4 @@ return Object.keys(filter).every(key => {

}
sort(sortFunction) {
if (sortFunction) {
this.annotations = this.annotations.sort(sortFunction);
}
else {
this.annotations = this.annotations.sort((a, b) => {
if (a.start - b.start === 0) {
return a.end - b.end;
}
else {
return a.start - b.start;
}
});
}
sort(sortFunction = compareAnnotations) {
this.annotations = [...this.annotations].sort(sortFunction);
return this;

@@ -214,2 +217,2 @@ }

}
//# s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AnnotationConstructor } from './annotation';

}>;
canonical(): Document;
equals(docToCompare: Document): boolean;
private createAnnotation;
private triggerChange;
}
import Annotation from './annotation';
import { BlockAnnotation, InlineAnnotation, ObjectAnnotation, ParseAnnotation, UnknownAnnotation } from './annotations';
import Change, { AdjacentBoundaryBehaviour, Deletion, Insertion } from './change';
import AnnotationCollection from './collection';
import AnnotationCollection, { compareAnnotations } from './collection';
import Join from './join';

@@ -179,2 +179,27 @@ export { AdjacentBoundaryBehaviour, Annotation, AnnotationCollection, BlockAnnotation, Change, Deletion, InlineAnnotation, Insertion, ObjectAnnotation, Join, ParseAnnotation, UnknownAnnotation };

}
canonical() {
let canonicalDoc = this.clone();
canonicalDoc.where({ type: '-atjson-parse-token' }).update(a => {
canonicalDoc.deleteText(a.start, a.end);
});
canonicalDoc.where({ type: '-atjson-parse-token' })
.remove();
canonicalDoc.annotations.sort(compareAnnotations);
return canonicalDoc;
}
equals(docToCompare) {
let canonicalLeftHandSideDoc = this.canonical();
let canonicalRightHandSideDoc = docToCompare.canonical();
let isContentEqual = canonicalLeftHandSideDoc.content === canonicalRightHandSideDoc.content;
if (!isContentEqual) {
return false;
}
let isAnnotationLengthEqual = canonicalLeftHandSideDoc.annotations.length === canonicalRightHandSideDoc.annotations.length;
if (!isAnnotationLengthEqual) {
return false;
}
return canonicalLeftHandSideDoc.annotations.every((lhsAnnotation, index) => {
return lhsAnnotation.equals(canonicalRightHandSideDoc.annotations[index]);
});
}
createAnnotation(annotation) {

@@ -239,2 +264,2 @@ let DocumentClass = this.constructor;

Document.schema = [];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxVQUFxQyxNQUFNLGNBQWMsQ0FBQztBQUNqRSxPQUFPLEVBQUUsZUFBZSxFQ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VBQVUsQ0FBQyxVQUFVO3FCQUNsQztpQkFDRixDQUFDLENBQUM7YUFDSjtTQUNGO0lBQ0gsQ0FBQztJQWFPLGFBQWE7UUFDbkIsSUFBSSxJQUFJLENBQUMsa0JBQWtCO1lBQUUsT0FBTztRQUNwQyxJQUFJLENBQUMsa0JBQWtCLEdBQUcsVUFBVSxDQUFDLEdBQUcsRUFBRTtZQUN4QyxJQUFJLENBQUMsZUFBZSxDQUFDLE9BQU8sQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUM7WUFDdkMsT0FBTyxJQUFJLENBQUMsa0JBQWtCLENBQUM7UUFDakMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0lBQ1IsQ0FBQzs7QUFuWE0sZUFBTSxHQUEyQyxFQUFFLENBQUMifQ==
{
"name": "@atjson/document",
"version": "0.19.0",
"version": "0.20.0",
"description": "Document definition for AtJSON",

@@ -22,3 +22,3 @@ "main": "dist/commonjs/index.js",

},
"gitHead": "749993291d289af2e7dee3ab026ba0e9c1864423"
"gitHead": "e4ccea39f42908c2f11d39d8511fd042c05fc941"
}
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