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

@atjson/hir

Package Overview
Dependencies
Maintainers
4
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.8.10 to 0.9.0

9

CHANGELOG.md

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

## [0.9.0](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/hir@0.8.10...@atjson/hir@0.9.0) (2018-10-10)
### ✨ New Features
* ✨🤠 Typed Annotation Collections / Joins! ([#85](https://github.com/CondeNast-Copilot/atjson/issues/85))
## [0.8.10](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/hir@0.8.9...@atjson/hir@0.8.10) (2018-09-14)

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

2

dist/commonjs/hir-node.d.ts

@@ -8,2 +8,3 @@ import { Annotation, Display, Schema } from '@atjson/document';

end: number;
id?: number | string;
text?: string;

@@ -19,2 +20,3 @@ rank: number;

display?: Display;
id?: number | string;
attributes?: object;

@@ -21,0 +23,0 @@ text?: string;

17

dist/commonjs/hir-node.js

@@ -19,2 +19,4 @@ "use strict";

this.end = node.end;
if (node.id)
this.id = node.id;
this.attributes = Object.keys(node.attributes || {}).reduce((attrs, key) => {

@@ -53,13 +55,13 @@ let value = node.attributes[key];

}
let attributes = Object.keys(this.attributes || {}).reduce((attributes, key) => {
let attributes = Object.keys(this.attributes || {}).reduce((attrs, key) => {
let value = this.attributes[key];
if (value instanceof _1.HIR) {
attributes[key] = value.toJSON();
attrs[key] = value.toJSON();
}
else {
attributes[key] = value;
attrs[key] = value;
}
return attributes;
return attrs;
}, {});
return {
let retVal = {
type: this.type,

@@ -71,2 +73,5 @@ attributes,

};
if (this.id)
retVal.id = this.id;
return retVal;
}

@@ -242,2 +247,2 @@ children() {

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

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

document.insertText(a.start, '\uFFFC');
a.start--;
a.start = Math.max(0, a.start - 1);
});

@@ -46,2 +46,2 @@ document.where({ type: 'parse-element' }).remove();

exports.default = HIR;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2hpci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLCtDQUF3RDtBQUN4RCx5Q0FBaUM7QUFHakM7SUFLRSxZQUFZLEdBQWE7UUFDdkIsSUFBSSxRQUFRLEdBQUcsSUFBSSxDQUFDLFFBQVEsR0FBRyxJQUFJLGtCQUFRLENBQUM7WUFDMUMsT0FBTyxFQUFFLEdBQUcsQ0FBQyxPQUFPO1lBQ3BCLFdBQVcsRUFBRSxHQUFHLENBQUMsV0FBVztZQUM1QixXQUFXLEVBQUUsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxXQUFXLENBQUM7WUFDakMsTUFBTSxFQUFFLEdBQUcsQ0FBQyxNQUFNO1NBQ25CLENBQUMsQ0FBQztRQUVILFFBQVEsQ0FBQyxXQUFXO2FBQ2pCLE1BQU0sQ0FBQyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsQ0FBQyxLQUFLLEtBQUssQ0FBQyxDQUFDLEdBQUcsQ0FBQzthQUM5QixPQUFPLENBQUMsQ0FBQyxDQUFDLEVBQUU7WUFDVixRQUFRLENBQUMsVUFBVSxDQUFDLENBQUMsQ0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FCO1FBQ0gsQ0FBQyxDQUFDLENBQUMsT0FBTyxDQUFDLENBQUMsVUFBc0IsRUFBRSxFQUFFLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxnQkFBZ0IsQ0FBQyxVQUFVLENBQUMsQ0FBQyxDQUFDO1FBRW5GLElBQUksQ0FBQyxRQUFRLENBQUMsVUFBVSxDQUFDLFFBQVEsQ0FBQyxPQUFPLENBQUMsQ0FBQztJQUM3QyxDQUFDO0lBRUQsTUFBTTtRQUNKLE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQyxNQUFNLEVBQUUsQ0FBQztJQUNoQyxDQUFDO0NBQ0Y7QUE3Q0Qsc0JBNkNDIn0=
export declare type Node = JSONNode | string;
export default interface JSONNode {
type: string;
id?: number | string;
attributes?: {

@@ -5,0 +6,0 @@ [key: string]: any;

@@ -8,2 +8,3 @@ import { Annotation, Display, Schema } from '@atjson/document';

end: number;
id?: number | string;
text?: string;

@@ -19,2 +20,3 @@ rank: number;

display?: Display;
id?: number | string;
attributes?: object;

@@ -21,0 +23,0 @@ text?: string;

@@ -17,2 +17,4 @@ import Document from '@atjson/document';

this.end = node.end;
if (node.id)
this.id = node.id;
this.attributes = Object.keys(node.attributes || {}).reduce((attrs, key) => {

@@ -51,13 +53,13 @@ let value = node.attributes[key];

}
let attributes = Object.keys(this.attributes || {}).reduce((attributes, key) => {
let attributes = Object.keys(this.attributes || {}).reduce((attrs, key) => {
let value = this.attributes[key];
if (value instanceof HIR) {
attributes[key] = value.toJSON();
attrs[key] = value.toJSON();
}
else {
attributes[key] = value;
attrs[key] = value;
}
return attributes;
return attrs;
}, {});
return {
let retVal = {
type: this.type,

@@ -69,2 +71,5 @@ attributes,

};
if (this.id)
retVal.id = this.id;
return retVal;
}

@@ -239,2 +244,2 @@ children() {

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

@@ -15,3 +15,3 @@ import Document from '@atjson/document';

document.insertText(a.start, '\uFFFC');
a.start--;
a.start = Math.max(0, a.start - 1);
});

@@ -43,2 +43,2 @@ document.where({ type: 'parse-element' }).remove();

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGlyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL2hpci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFFBQXdCLE1BQU0sa0JBQWtCLENBQUM7QUFDeEQsT0FBTyxPQUFPLE1BQU0sWUFBWSxDQUFDO0FBR2pDLE1BQU0sQ0FBQyxPQUFPO0lBS1osWUFBWSxHQUFhO1FBQ3ZCLElBQUksUUFBUSxHQUFHLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxRQUFRLENBQUM7WUFDMUMsT0FBTyxFQUFFLEdBQUcsQ0FBQyxPQUFPO1lBQ3BCLFdBQVcsRUFBRSxHQUFHLENBQUMsV0FBVztZQUM1QixXQUFXLEVBQUUsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxXQUFXLENBQUM7WUFDakMsTUFBTSxFQUFFLEdBQUcsQ0FBQyxNQUFNO1NBQ25CLENBQUMsQ0FBQztRQUVILFFBQVEsQ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CxPQUFPLENBQUMsQ0FBQyxDQUFDLEdBQUcsR0FBRyxDQUFDLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsR0FBRyxHQUFHLENBQUMsQ0FBQyxLQUFLLENBQUMsQ0FBQztpQkFDOUM7YUFDRjtpQkFBTTtnQkFDTCxPQUFPLENBQUMsQ0FBQyxLQUFLLEdBQUcsQ0FBQyxDQUFDLEtBQUssQ0FBQzthQUMxQjtRQUNILENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxDQUFDLFVBQXNCLEVBQUUsRUFBRSxDQUFDLElBQUksQ0FBQyxRQUFRLENBQUMsZ0JBQWdCLENBQUMsVUFBVSxDQUFDLENBQUMsQ0FBQztRQUVuRixJQUFJLENBQUMsUUFBUSxDQUFDLFVBQVUsQ0FBQyxRQUFRLENBQUMsT0FBTyxDQUFDLENBQUM7SUFDN0MsQ0FBQztJQUVELE1BQU07UUFDSixPQUFPLElBQUksQ0FBQyxRQUFRLENBQUMsTUFBTSxFQUFFLENBQUM7SUFDaEMsQ0FBQztDQUNGIn0=
export declare type Node = JSONNode | string;
export default interface JSONNode {
type: string;
id?: number | string;
attributes?: {

@@ -5,0 +6,0 @@ [key: string]: any;

{
"name": "@atjson/hir",
"version": "0.8.10",
"version": "0.9.0",
"description": "Libraries for annotated JSON documents",

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

"dependencies": {
"@atjson/document": "0.8.7"
"@atjson/document": "0.9.0"
},
"gitHead": "3b149d228a382c0d05f323e1dce3a5783f99a11d"
"gitHead": "8d0640410453bbfc1495644c346145b502cc7400"
}

@@ -23,2 +23,4 @@ import Document, { Annotation, Display, Schema } from '@atjson/document';

id?: number | string;
text?: string;

@@ -32,6 +34,7 @@

constructor(node: {type: string, start: number, end: number, display?: Display, attributes?: object, text?: string}, schema?: Schema) {
constructor(node: {type: string, start: number, end: number, display?: Display, id?: number | string, attributes?: object, text?: string}, schema?: Schema) {
this.type = node.type;
this.start = node.start;
this.end = node.end;
if (node.id) this.id = node.id;
this.attributes = Object.keys(node.attributes || {}).reduce((attrs: any, key: string) => {

@@ -71,13 +74,13 @@ let value = (node.attributes as any)[key];

let attributes = Object.keys(this.attributes || {}).reduce((attributes: any, key: string) => {
let attributes = Object.keys(this.attributes || {}).reduce((attrs: any, key: string) => {
let value = (this.attributes as any)[key];
if (value instanceof HIR) {
attributes[key] = value.toJSON();
attrs[key] = value.toJSON();
} else {
attributes[key] = value;
attrs[key] = value;
}
return attributes;
return attrs;
}, {});
return {
let retVal: JSONNode = {
type: this.type,

@@ -89,2 +92,6 @@ attributes,

};
if (this.id) retVal.id = this.id;
return retVal;
}

@@ -91,0 +98,0 @@

@@ -22,3 +22,3 @@ import Document, { Annotation } from '@atjson/document';

document.insertText(a.start, '\uFFFC');
a.start--;
a.start = Math.max(0, a.start - 1);
});

@@ -25,0 +25,0 @@ document.where({ type: 'parse-element' }).remove();

@@ -5,4 +5,5 @@ export type Node = JSONNode | string;

type: string;
id?: number | string;
attributes?: { [key: string]: any };
children: Node[];
}
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