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

@atjson/renderer-graphviz

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atjson/renderer-graphviz - npm Package Compare versions

Comparing version 0.12.1 to 0.12.2

9

CHANGELOG.md

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

## [0.12.2](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/renderer-graphviz@0.12.1...@atjson/renderer-graphviz@0.12.2) (2019-03-14)
### 🐛 Fixes
* 🐝🚀 Fix performance regressions ([#118](https://github.com/CondeNast-Copilot/atjson/issues/118))
## [0.12.1](https://github.com/CondeNast-Copilot/atjson/compare/@atjson/renderer-graphviz@0.12.0...@atjson/renderer-graphviz@0.12.1) (2019-02-12)

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

6

dist/commonjs/index.js

@@ -33,7 +33,7 @@ "use strict";

let text = hirNode.type;
if (hirNode.type === 'text' && hirNode.attributes.text != null) {
if (hirNode.type === 'text' && hirNode.annotation.attributes.text != null) {
text = hirNode.annotation.attributes.text;
}
else {
text = JSON.stringify(hirNode.attributes);
text = JSON.stringify(hirNode.annotation.attributes);
}

@@ -73,2 +73,2 @@ let node = {

exports.default = GraphvizRenderer;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFDQSxxQ0FBMkM7QUFTM0MsU0FBUyxRQUFRLENBQUMsVUFBc0I7SUFDdEMsSUFBSSxVQUFVLENBQUMsSUFBSSxLQUFLLENBQUMsUUFBUSxFQUFFO1FBQ2pDLE9BQU8sc0RBQXNELENBQUM7S0FDL0Q7U0FBTSxJQUFJLFVBQVUsQ0FBQyxJQUFJLElBQUksQ0FBQyxFQ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FBSSxDQUFDLEVBQUUsQ0FBQyxLQUFLLElBQUksQ0FBQyxFQUFFLFlBQVksSUFBSSxDQUFDLEtBQUssTUFBTSxJQUFJLENBQUMsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQUUsS0FBSyxDQUFDLEtBQUssSUFBSSxDQUFDLEtBQUssSUFBSSxDQUFDLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxHQUFHLElBQUk7Z0JBQzlILEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLE1BQU0sRUFBRSxLQUFLLENBQUMsRUFBRSxFQUFFLENBQUMsS0FBSyxNQUFNLENBQUMsRUFBRSxPQUFPLEtBQUssQ0FBQyxFQUFFLEdBQUcsQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztTQUNuRjtRQUVELE9BQU87Z0JBQ0ssT0FBTyxDQUFDLEtBQUs7RUFDM0IsR0FBRztFQUNILENBQUM7SUFDRCxDQUFDO0NBQ0Y7QUFwQkQsbUNBb0JDIn0=

@@ -31,7 +31,7 @@ import { HIR } from '@atjson/hir';

let text = hirNode.type;
if (hirNode.type === 'text' && hirNode.attributes.text != null) {
if (hirNode.type === 'text' && hirNode.annotation.attributes.text != null) {
text = hirNode.annotation.attributes.text;
}
else {
text = JSON.stringify(hirNode.attributes);
text = JSON.stringify(hirNode.annotation.attributes);
}

@@ -70,2 +70,2 @@ let node = {

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLEdBQUcsRUFBVyxNQUFNLGFBQWEsQ0FBQztBQVMzQyxTQUFTLFFBQVEsQ0FBQyxVQUFzQjtJQUN0QyxJQUFJLFVBQVUsQ0FBQyxJQUFJLEtBQ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LQUFLLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7U0FDbkY7YUFBTTtZQUNMLEdBQUcsR0FBRyxLQUFLLENBQUMsR0FBRyxDQUFDLElBQUksQ0FBQyxFQUFFLENBQUMsS0FBSyxJQUFJLENBQUMsRUFBRSxZQUFZLElBQUksQ0FBQyxLQUFLLE1BQU0sSUFBSSxDQUFDLElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxFQUFFLEtBQUssQ0FBQyxLQUFLLElBQUksQ0FBQyxLQUFLLElBQUksQ0FBQyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsR0FBRyxJQUFJO2dCQUM5SCxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxNQUFNLEVBQUUsS0FBSyxDQUFDLEVBQUUsRUFBRSxDQUFDLEtBQUssTUFBTSxDQUFDLEVBQUUsT0FBTyxLQUFLLENBQUMsRUFBRSxHQUFHLENBQUMsQ0FBQyxJQUFJLENBQUMsSUFBSSxDQUFDLENBQUM7U0FDbkY7UUFFRCxPQUFPO2dCQUNLLE9BQU8sQ0FBQyxLQUFLO0VBQzNCLEdBQUc7RUFDSCxDQUFDO0lBQ0QsQ0FBQztDQUNGIn0=
{
"name": "@atjson/renderer-graphviz",
"version": "0.12.1",
"version": "0.12.2",
"description": "Render documents into graphs to help with debugging",

@@ -19,6 +19,6 @@ "main": "dist/commonjs/index.js",

"dependencies": {
"@atjson/document": "0.14.2",
"@atjson/hir": "0.11.10"
"@atjson/document": "0.14.3",
"@atjson/hir": "0.11.11"
},
"gitHead": "1a40ee36d19468e676f626e0b2606060c1f44752"
"gitHead": "877b2a4a26a94da04757e7dcb9c536114c54669e"
}

@@ -34,6 +34,6 @@ import Document, { Annotation } from '@atjson/document';

let text = hirNode.type;
if (hirNode.type === 'text' && hirNode.attributes.text != null) {
if (hirNode.type === 'text' && hirNode.annotation.attributes.text != null) {
text = hirNode.annotation.attributes.text;
} else {
text = JSON.stringify(hirNode.attributes);
text = JSON.stringify(hirNode.annotation.attributes);
}

@@ -40,0 +40,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