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

@atjson/hir

Package Overview
Dependencies
Maintainers
2
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atjson/hir - npm Package Compare versions

Comparing version 0.5.9 to 0.5.10

101

dist/commonjs/hir-node.js

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

}
if (this.type === 'paragraph' && node.type === 'paragraph') {
this.insertSibling(node);
return;
}
if (this.start <= node.start) {

@@ -125,38 +129,27 @@ let childNode = node.trim(this.start, this.end);

else {
let targetNode;
let siblingNode;
if (node.rank < this.sibling.rank) {
if (this.sibling.start < node.start) {
let preSibling = this.sibling.trim(this.end, node.start);
let postSibling = this.sibling.trim(node.start, this.sibling.end);
if (postSibling) {
node.insertNode(postSibling);
}
if (preSibling) {
preSibling.insertNode(node);
this.sibling = preSibling;
}
else {
this.sibling = node;
}
}
else {
node.insertNode(this.sibling);
this.sibling = node;
}
targetNode = this.sibling;
siblingNode = node;
}
else {
if (node.start < this.sibling.start) {
let preSibling = node.trim(this.end, this.sibling.start);
let postSibling = node.trim(this.sibling.start, node.end);
if (postSibling) {
this.sibling.insertNode(postSibling);
}
if (preSibling) {
preSibling.insertNode(this.sibling);
this.sibling = preSibling;
}
targetNode = node;
siblingNode = this.sibling;
}
if (targetNode.start < siblingNode.start) {
let leadingNode = targetNode.trim(targetNode.start, siblingNode.start);
let trailingNode = targetNode.trim(siblingNode.start, targetNode.end);
if (trailingNode) {
siblingNode.insertNode(trailingNode);
}
else {
this.sibling.insertNode(node);
if (leadingNode) {
leadingNode.insertNode(siblingNode);
this.sibling = leadingNode;
}
}
else {
siblingNode.insertNode(targetNode);
this.sibling = siblingNode;
}
}

@@ -169,35 +162,27 @@ }

else {
let targetNode;
let childNode;
if (node.rank < this.child.rank) {
if (this.child.start < node.start) {
let preChild = this.child.trim(this.child.start, node.start);
let postChild = this.child.trim(this.start, this.child.end);
if (postChild) {
node.insertNode(postChild);
}
if (preChild) {
preChild.insertNode(node);
this.child = preChild;
}
}
else {
node.insertNode(this.child);
this.child = node;
}
targetNode = this.child;
childNode = node;
}
else {
if (node.start < this.child.start) {
let preChild = node.trim(this.start, this.child.start);
let postChild = node.trim(this.child.start, node.end);
if (postChild) {
this.child.insertNode(postChild);
}
if (preChild) {
preChild.insertNode(this.child);
this.child = preChild;
}
targetNode = node;
childNode = this.child;
}
if (targetNode.start < childNode.start) {
let leadingNode = targetNode.trim(targetNode.start, childNode.start);
let trailingNode = targetNode.trim(childNode.start, targetNode.end);
if (trailingNode) {
childNode.insertNode(trailingNode);
}
else {
this.child.insertNode(node);
if (leadingNode) {
leadingNode.insertNode(childNode);
this.child = leadingNode;
}
}
else {
childNode.insertNode(targetNode);
this.child = childNode;
}
}

@@ -226,2 +211,2 @@ }

exports.default = HIRNode;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLW5vZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaGlyLW5vZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFHQSxNQUFNLGNBQWMsR0FBRyxDQUFDLENBQUM7QUFDekIsTUFBTSxlQUFlLEdBQUcsQ0FBQyxDQUFDO0FBQzFCLE1BQU0sbUJBQW1CLEdBQUcsQ0FBQyxDQUFDO0FBQzlCLE1BQU0sY0FBYyxHQUFHLENBQUMsQ0FBQztBQUN6QixNQUFNLGNBQWMsR0FBRyxRQUFRLENBQUM7QUFFaEM7SUFlRSxZQUFZLElBQW9GO1FBRTlGLElBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQztRQUV0QixJQUFJLENBQUMsS0FBSyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUM7UUFDeEIsSUFBSSxDQUFDLEdBQUcsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDO1FBQ3BCLEl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R0FBRyxDQUFDLE9BQU8sQ0FBQyxLQUFLLEVBQUUsSUFBSSxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFDLENBQUM7UUFFbEUsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLEtBQUssS0FBSyxPQUFPLENBQUMsR0FBRyxDQUFDO1lBQUMsTUFBTSxDQUFDO1FBRTFDLEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxLQUFLLEdBQUcsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUM7WUFDaEMsTUFBTSxJQUFJLEtBQUssQ0FBQywyQ0FBMkMsQ0FBQyxDQUFDO1FBQy9ELENBQUM7UUFHRCxFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsSUFBSSxLQUFLLE1BQU0sSUFBSSxPQUFNLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUM7WUFDOUQsT0FBTyxDQUFDLElBQUksR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsS0FBSyxHQUFHLElBQUksQ0FBQyxLQUFLLEVBQUUsT0FBTyxDQUFDLEdBQUcsR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7UUFDdkYsQ0FBQztRQUVELE1BQU0sQ0FBQyxPQUFPLENBQUM7SUFDakIsQ0FBQztDQUNGO0FBdFBELDBCQXNQQyJ9

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

}
if (this.type === 'paragraph' && node.type === 'paragraph') {
this.insertSibling(node);
return;
}
if (this.start <= node.start) {

@@ -124,38 +128,27 @@ let childNode = node.trim(this.start, this.end);

else {
let targetNode;
let siblingNode;
if (node.rank < this.sibling.rank) {
if (this.sibling.start < node.start) {
let preSibling = this.sibling.trim(this.end, node.start);
let postSibling = this.sibling.trim(node.start, this.sibling.end);
if (postSibling) {
node.insertNode(postSibling);
}
if (preSibling) {
preSibling.insertNode(node);
this.sibling = preSibling;
}
else {
this.sibling = node;
}
}
else {
node.insertNode(this.sibling);
this.sibling = node;
}
targetNode = this.sibling;
siblingNode = node;
}
else {
if (node.start < this.sibling.start) {
let preSibling = node.trim(this.end, this.sibling.start);
let postSibling = node.trim(this.sibling.start, node.end);
if (postSibling) {
this.sibling.insertNode(postSibling);
}
if (preSibling) {
preSibling.insertNode(this.sibling);
this.sibling = preSibling;
}
targetNode = node;
siblingNode = this.sibling;
}
if (targetNode.start < siblingNode.start) {
let leadingNode = targetNode.trim(targetNode.start, siblingNode.start);
let trailingNode = targetNode.trim(siblingNode.start, targetNode.end);
if (trailingNode) {
siblingNode.insertNode(trailingNode);
}
else {
this.sibling.insertNode(node);
if (leadingNode) {
leadingNode.insertNode(siblingNode);
this.sibling = leadingNode;
}
}
else {
siblingNode.insertNode(targetNode);
this.sibling = siblingNode;
}
}

@@ -168,35 +161,27 @@ }

else {
let targetNode;
let childNode;
if (node.rank < this.child.rank) {
if (this.child.start < node.start) {
let preChild = this.child.trim(this.child.start, node.start);
let postChild = this.child.trim(this.start, this.child.end);
if (postChild) {
node.insertNode(postChild);
}
if (preChild) {
preChild.insertNode(node);
this.child = preChild;
}
}
else {
node.insertNode(this.child);
this.child = node;
}
targetNode = this.child;
childNode = node;
}
else {
if (node.start < this.child.start) {
let preChild = node.trim(this.start, this.child.start);
let postChild = node.trim(this.child.start, node.end);
if (postChild) {
this.child.insertNode(postChild);
}
if (preChild) {
preChild.insertNode(this.child);
this.child = preChild;
}
targetNode = node;
childNode = this.child;
}
if (targetNode.start < childNode.start) {
let leadingNode = targetNode.trim(targetNode.start, childNode.start);
let trailingNode = targetNode.trim(childNode.start, targetNode.end);
if (trailingNode) {
childNode.insertNode(trailingNode);
}
else {
this.child.insertNode(node);
if (leadingNode) {
leadingNode.insertNode(childNode);
this.child = leadingNode;
}
}
else {
childNode.insertNode(targetNode);
this.child = childNode;
}
}

@@ -224,2 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QU8sQ0FBQyxJQUFJLEtBQUssTUFBTSxJQUFJLE9BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQztZQUM5RCxPQUFPLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLEtBQUssRUFBRSxPQUFPLENBQUMsR0FBRyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUN2RixDQUFDO1FBRUQsTUFBTSxDQUFDLE9BQU8sQ0FBQztJQUNqQixDQUFDO0NBQ0YifQ==
{
"name": "@atjson/hir",
"version": "0.5.9",
"version": "0.5.10",
"description": "Libraries for annotated JSON documents",

@@ -5,0 +5,0 @@ "contributors": [

@@ -143,2 +143,6 @@ import { Annotation } from '@atjson/core';

if (this.type === 'paragraph' && node.type === 'paragraph') {
this.insertSibling(node);
return;
}

@@ -164,38 +168,28 @@ if (this.start <= node.start) {

} else {
let targetNode: HIRNode;
let siblingNode: HIRNode;
if (node.rank < this.sibling.rank) {
// FIXME FIXME FIXME this needs refacotring, as with below.
if (this.sibling.start < node.start) {
let preSibling = this.sibling.trim(this.end, node.start);
let postSibling = this.sibling.trim(node.start, this.sibling.end);
targetNode = this.sibling;
siblingNode = node;
} else {
targetNode = node;
siblingNode = this.sibling;
}
if (postSibling) {
node.insertNode(postSibling);
}
if (targetNode.start < siblingNode.start) {
let leadingNode = targetNode.trim(targetNode.start, siblingNode.start);
let trailingNode = targetNode.trim(siblingNode.start, targetNode.end);
if (preSibling) {
preSibling.insertNode(node);
this.sibling = preSibling;
} else {
this.sibling = node;
}
} else {
node.insertNode(this.sibling);
this.sibling = node;
if (trailingNode) {
siblingNode.insertNode(trailingNode);
}
} else {
if (node.start < this.sibling.start) {
let preSibling = node.trim(this.end, this.sibling.start);
let postSibling = node.trim(this.sibling.start, node.end);
if (postSibling) {
this.sibling.insertNode(postSibling);
}
if (preSibling) {
preSibling.insertNode(this.sibling);
this.sibling = preSibling;
}
} else {
this.sibling.insertNode(node);
if (leadingNode) {
leadingNode.insertNode(siblingNode);
this.sibling = leadingNode;
}
} else {
siblingNode.insertNode(targetNode);
this.sibling = siblingNode;
}

@@ -209,36 +203,28 @@ }

} else {
// FIXME FIXME FIXME this needs some refactoring for clarity / symmetry.
let targetNode: HIRNode;
let childNode: HIRNode;
if (node.rank < this.child.rank) {
if (this.child.start < node.start) {
let preChild = this.child.trim(this.child.start, node.start);
let postChild = this.child.trim(this.start, this.child.end);
targetNode = this.child;
childNode = node;
} else {
targetNode = node;
childNode = this.child;
}
if (postChild) {
node.insertNode(postChild);
}
if (targetNode.start < childNode.start) {
let leadingNode = targetNode.trim(targetNode.start, childNode.start);
let trailingNode = targetNode.trim(childNode.start, targetNode.end);
if (preChild) {
preChild.insertNode(node);
this.child = preChild;
}
} else {
node.insertNode(this.child);
this.child = node;
if (trailingNode) {
childNode.insertNode(trailingNode);
}
} else {
if (node.start < this.child.start) {
let preChild = node.trim(this.start, this.child.start);
let postChild = node.trim(this.child.start, node.end);
if (postChild) {
this.child.insertNode(postChild);
}
if (preChild) {
preChild.insertNode(this.child);
this.child = preChild;
}
} else {
this.child.insertNode(node);
if (leadingNode) {
leadingNode.insertNode(childNode);
this.child = leadingNode;
}
} else {
childNode.insertNode(targetNode);
this.child = childNode;
}

@@ -245,0 +231,0 @@ }

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