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.5 to 0.5.9

.npmignore

96

dist/commonjs/hir-node.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var ROOT_NODE_RANK = 0;
var BLOCK_NODE_RANK = 1;
var PARAGRAPH_NODE_RANK = 2;
var SPAN_NODE_RANK = 3;
var TEXT_NODE_RANK = Infinity;
var HIRNode = (function () {
function HIRNode(node) {
const ROOT_NODE_RANK = 0;
const BLOCK_NODE_RANK = 1;
const PARAGRAPH_NODE_RANK = 2;
const SPAN_NODE_RANK = 3;
const TEXT_NODE_RANK = Infinity;
class HIRNode {
constructor(node) {
this.type = node.type;

@@ -38,2 +38,5 @@ this.start = node.start;

case 'blockquote':
case 'callout':
case 'embed':
case 'asset':
this.rank = BLOCK_NODE_RANK;

@@ -45,4 +48,4 @@ break;

}
HIRNode.prototype.toJSON = function (filter) {
var thisNode = this;
toJSON(filter) {
let thisNode = this;
if (filter) {

@@ -57,8 +60,8 @@ thisNode = filter(this);

attributes: thisNode.attributes,
children: thisNode.children().map(function (child) {
children: thisNode.children().map(child => {
return child.toJSON(filter);
})
};
};
HIRNode.prototype.children = function () {
}
children() {
if (this.child) {

@@ -70,4 +73,4 @@ return [this.child].concat(this.child.siblings());

}
};
HIRNode.prototype.siblings = function () {
}
siblings() {
if (this.sibling) {

@@ -79,8 +82,8 @@ return [this.sibling].concat(this.sibling.siblings());

}
};
HIRNode.prototype.insertAnnotation = function (annotation) {
var hirNode = new HIRNode(annotation);
}
insertAnnotation(annotation) {
let hirNode = new HIRNode(annotation);
this.insertNode(hirNode);
};
HIRNode.prototype.insertText = function (text) {
}
insertText(text) {
if (this.type !== 'root') {

@@ -91,4 +94,4 @@ throw new Error('temporary exception; this should only exist in the root node subclass');

return;
var node = new HIRNode({
text: text,
let node = new HIRNode({
text,
type: 'text',

@@ -99,5 +102,5 @@ start: this.start,

this.insertNode(node);
};
HIRNode.prototype.insertNode = function (node) {
var insertedWholeNode = false;
}
insertNode(node) {
let insertedWholeNode = false;
if (this.type !== 'text') {

@@ -109,3 +112,3 @@ if (this.start === node.start && this.end === node.end) {

if (this.start <= node.start) {
var childNode = node.trim(this.start, this.end);
let childNode = node.trim(this.start, this.end);
if (childNode) {

@@ -119,8 +122,8 @@ this.insertChild(childNode);

if (this.end <= node.end && !insertedWholeNode) {
var siblingNode = node.trim(this.end, node.end);
let siblingNode = node.trim(this.end, node.end);
if (siblingNode)
this.insertSibling(siblingNode);
}
};
HIRNode.prototype.insertSibling = function (node) {
}
insertSibling(node) {
if (!this.sibling) {

@@ -132,4 +135,4 @@ this.sibling = node;

if (this.sibling.start < node.start) {
var preSibling = this.sibling.trim(this.end, node.start);
var postSibling = this.sibling.trim(node.start, this.sibling.end);
let preSibling = this.sibling.trim(this.end, node.start);
let postSibling = this.sibling.trim(node.start, this.sibling.end);
if (postSibling) {

@@ -153,4 +156,4 @@ node.insertNode(postSibling);

if (node.start < this.sibling.start) {
var preSibling = node.trim(this.end, this.sibling.start);
var postSibling = node.trim(this.sibling.start, node.end);
let preSibling = node.trim(this.end, this.sibling.start);
let postSibling = node.trim(this.sibling.start, node.end);
if (postSibling) {

@@ -169,4 +172,4 @@ this.sibling.insertNode(postSibling);

}
};
HIRNode.prototype.insertChild = function (node) {
}
insertChild(node) {
if (!this.child) {

@@ -178,4 +181,4 @@ this.child = node;

if (this.child.start < node.start) {
var preChild = this.child.trim(this.child.start, node.start);
var postChild = this.child.trim(this.start, this.child.end);
let preChild = this.child.trim(this.child.start, node.start);
let postChild = this.child.trim(this.start, this.child.end);
if (postChild) {

@@ -196,4 +199,4 @@ node.insertNode(postChild);

if (node.start < this.child.start) {
var preChild = node.trim(this.start, this.child.start);
var postChild = node.trim(this.child.start, node.end);
let preChild = node.trim(this.start, this.child.start);
let postChild = node.trim(this.child.start, node.end);
if (postChild) {

@@ -212,10 +215,10 @@ this.child.insertNode(postChild);

}
};
HIRNode.prototype.trim = function (start, end) {
var newStart = Math.max(this.start, start);
var newEnd = Math.min(this.end, end);
}
trim(start, end) {
let newStart = Math.max(this.start, start);
let newEnd = Math.min(this.end, end);
if (newStart === this.start && newEnd === this.end) {
return this;
}
var newNode = new HIRNode(this);
let newNode = new HIRNode(this);
newNode.start = Math.min(Math.max(newNode.start, start), newNode.end);

@@ -232,6 +235,5 @@ newNode.end = Math.max(newNode.start, Math.min(newNode.end, end));

return newNode;
};
return HIRNode;
}());
}
}
exports.default = HIRNode;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLW5vZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaGlyLW5vZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFHQSxJQUFNLGNBQWMsR0FBRyxDQUFDLENBQUM7QUFDekIsSUFBTSxlQUFlLEdBQUcsQ0FBQyxDQUFDO0FBQzFCLElBQU0sbUJBQW1CLEdBQUcsQ0FBQyxDQUFDO0FBQzlCLElBQU0sY0FBYyxHQUFHLENBQUMsQ0FBQztBQUN6QixJQUFNLGNBQWMsR0FBRyxRQUFRLENBQUM7QUFFaEM7SUFlRSxpQkFBWSxJQUFvRjtRQUU5RixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUM7UUFFdEIsSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDO1FBQ3hCLElBQUksQ0FBQyxHQUFHLEdBQUcsSUFBSSxDQUFDLEdBQUcsQ0FBQztRQUNwQixJQUFJLENBQUMsVUFBVSxHQUFHLElBQUksQ0FBQyxVQUFVLENBQUM7UUFFbEMsTUFBTSxDQUFDLENBQUMsSUFBSSxDQUFD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BQUMsQ0FBQztRQUN0RSxPQUFPLENBQUMsR0FBRyxHQUFHLElBQUksQ0FBQyxHQUFHLENBQUMsT0FBTyxDQUFDLEtBQUssRUFBRSxJQUFJLENBQUMsR0FBRyxDQUFDLE9BQU8sQ0FBQyxHQUFHLEVBQUUsR0FBRyxDQUFDLENBQUMsQ0FBQztRQUVsRSxFQUFFLENBQUMsQ0FBQyxPQUFPLENBQUMsS0FBSyxLQUFLLE9BQU8sQ0FBQyxHQUFHLENBQUM7WUFBQyxNQUFNLENBQUM7UUFFMUMsRUFBRSxDQUFDLENBQUMsT0FBTyxDQUFDLEtBQUssR0FBRyxPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQztZQUNoQyxNQUFNLElBQUksS0FBSyxDQUFDLDJDQUEyQyxDQUFDLENBQUM7UUFDL0QsQ0FBQztRQUdELEVBQUUsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxJQUFJLEtBQUssTUFBTSxJQUFJLE9BQU0sQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLEtBQUssUUFBUSxDQUFDLENBQUMsQ0FBQztZQUM5RCxPQUFPLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLE9BQU8sQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLEtBQUssRUFBRSxPQUFPLENBQUMsR0FBRyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUN2RixDQUFDO1FBRUQsTUFBTSxDQUFDLE9BQU8sQ0FBQztJQUNqQixDQUFDO0NBQ0Y7QUFwUUQsMEJBb1FDIn0=

@@ -12,5 +12,5 @@ import { Annotation, AtJSON } from '@atjson/core';

getParser(): {
parse: (content: string) => any[];
parse: (content: string) => Annotation[];
};
plainTextParser(content: string): Annotation[];
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var core_1 = require("@atjson/core");
var entities = require("entities");
var hir_node_1 = require("./hir-node");
var HIR = (function () {
function HIR(atjson) {
const core_1 = require("@atjson/core");
const entities = require("entities");
const hir_node_1 = require("./hir-node");
class HIR {
constructor(atjson) {
if (atjson instanceof core_1.AtJSON) {

@@ -19,5 +19,5 @@ this.atjson = atjson;

}
HIR.prototype.toJSON = function () {
toJSON() {
if (this.atjson.contentType === 'text/html') {
return this.rootNode.toJSON(function (node) {
return this.rootNode.toJSON((node) => {
if (node.type === 'text' && typeof (node.text) === 'string') {

@@ -32,12 +32,11 @@ node.text = entities.decodeHTML5(node.text);

}
};
HIR.prototype.populateHIR = function () {
var _this = this;
var atjson = this.atjson;
}
populateHIR() {
let atjson = this.atjson;
atjson.annotations
.filter(function (a) { return a.type === 'parse-token'; })
.forEach(function (a) { return atjson.deleteText(a); });
.filter(a => a.type === 'parse-token')
.forEach(a => atjson.deleteText(a));
atjson.annotations
.filter(function (a) { return a.type === 'parse-token' || a.type === 'parse-element'; })
.forEach(function (a) { return atjson.removeAnnotation(a); });
.filter(a => a.type === 'parse-token' || a.type === 'parse-element')
.forEach(a => atjson.removeAnnotation(a));
this.rootNode = new hir_node_1.default({

@@ -49,3 +48,3 @@ type: 'root',

atjson.annotations
.sort(function (a, b) {
.sort((a, b) => {
if (a.start === b.start) {

@@ -57,9 +56,9 @@ return (b.end - b.start) - (a.end - a.start);

}
}).forEach(function (annotation) { return _this.rootNode.insertAnnotation(annotation); });
}).forEach(annotation => this.rootNode.insertAnnotation(annotation));
this.rootNode.insertText(atjson.content);
};
HIR.prototype.parseContent = function () {
}
parseContent() {
return this.getParser().parse(this.atjson.content);
};
HIR.prototype.getParser = function () {
}
getParser() {
switch (this.atjson.contentType) {

@@ -71,3 +70,3 @@ case undefined:

case 'text/atjson': {
return { parse: function () { return []; } };
return { parse() { return []; } };
}

@@ -78,7 +77,7 @@ default: {

}
};
HIR.prototype.plainTextParser = function (content) {
var prevIdx = 0;
var breakIdx = content.indexOf('\n\n', 0);
var annotations = [];
}
plainTextParser(content) {
let prevIdx = 0;
let breakIdx = content.indexOf('\n\n', 0);
let annotations = [];
while (breakIdx !== -1) {

@@ -111,6 +110,5 @@ annotations.push({

return annotations;
};
return HIR;
}());
}
}
exports.default = HIR;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2hpci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHFDQUFrRDtBQUNsRCxtQ0FBcUM7QUFDckMsdUNBQWlDO0FBR2pDO0lBS0UsYUFBWSxNQUF1QjtRQUNqQyxFQUFFLENBQUMsQ0FBQyxNQUFNLFlBQVksYUFBTSxDQUFDLENBQUMsQ0FBQztZQUM3QixJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQztRQUN2QixDQUFDO1FBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDLE9BQU8sTUFBTSxLQUFLLFFBQVEsQ0FBQyxDQUFDLENBQUM7WUFDdEMsSUFBSSxDQUFDLE1BQU0sR0FBRyxJQUFJLGFBQU0sQ0FBQyxNQUFNLENBQUMsQ0FBQztRQUNuQyxDQUFDO1FBQUMsSUFBSSxDQUFDLENBQUM7WUFDTixNQUFNLElBQUksS0FBSyxDQUFDLGtCQUFrQixDQUFDLENBQUM7UUFDdEMsQ0FBQztRQUVELElBQUksQ0FBQyxXQUFXLEVBQUUsQ0FBQztJQUNyQixDQUFDO0lBRUQsb0JBQU0sR0FBTjtRQUNFLEVBQUUsQ0FBQyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUMsV0FBVyxLQUFLLFdBQVcsQ0FBQyxDQUFDLENBQUM7WUFDNUMsTUFBTSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsTUFBTSxDQUFDLFVBQUMsSUFBYTtnQkFDeEMsRUFBRSxDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksS0FBSyxNQUFNLElBQUksT0FBTSxDQUFDLEl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ict";
Object.defineProperty(exports, "__esModule", { value: true });
var hir_1 = require("./hir");
const hir_1 = require("./hir");
exports.HIR = hir_1.default;
var hir_node_1 = require("./hir-node");
const hir_node_1 = require("./hir-node");
exports.HIRNode = hir_node_1.default;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSw2QkFBd0I7QUFFTixjQUZYLGFBQUcsQ0FFVztBQURyQix1Q0FBaUM7QUFDeEIsa0JBREYsa0JBQU8sQ0FDRSJ9
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFBQSwrQkFBd0I7QUFFTixjQUZYLGFBQUcsQ0FFVztBQURyQix5Q0FBaUM7QUFDeEIsa0JBREYsa0JBQU8sQ0FDRSJ9

@@ -37,2 +37,5 @@ "use strict";

case 'blockquote':
case 'callout':
case 'embed':
case 'asset':
this.rank = BLOCK_NODE_RANK;

@@ -219,2 +222,2 @@ break;

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLW5vZGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaGlyLW5vZGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUdBLE1BQU0sY0FBYyxHQUFHLENBQUMsQ0FBQztBQUN6QixNQUFNLGVBQWUsR0FBRyxDQUFDLENBQUM7QUFDMUIsTUFBTSxtQkFBbUIsR0FBRyxDQUFDLENBQUM7QUFDOUIsTUFBTSxjQUFjLEdBQUcsQ0FBQyxDQ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S0FBSyxFQUFFLE9BQU8sQ0FBQyxHQUFHLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxDQUFDO1FBQ3ZGLENBQUM7UUFFRCxNQUFNLENBQUMsT0FBTyxDQUFDO0lBQ2pCLENBQUM7Q0FDRiJ9

@@ -12,5 +12,5 @@ import { Annotation, AtJSON } from '@atjson/core';

getParser(): {
parse: (content: string) => any[];
parse: (content: string) => Annotation[];
};
plainTextParser(content: string): Annotation[];
}
{
"name": "@atjson/hir",
"version": "0.5.5",
"version": "0.5.9",
"description": "Libraries for annotated JSON documents",

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

@@ -60,2 +60,5 @@ import { Annotation } from '@atjson/core';

case 'blockquote':
case 'callout':
case 'embed':
case 'asset':
this.rank = BLOCK_NODE_RANK;

@@ -62,0 +65,0 @@ break;

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