├── .gitignore ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── .vscodeignore ├── CHANGELOG.md ├── README.md ├── docs └── example.png ├── graphviz-logo.png ├── graphviz-render.js ├── graphviz.css ├── package.json ├── src ├── extension.ts └── test │ ├── extension.test.ts │ └── index.ts ├── tsconfig.json ├── vsc-extension-quickstart.md └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | out 2 | node_modules 3 | .vscode-test/ 4 | .vsix 5 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | // A launch configuration that compiles the extension and then opens it inside a new window 2 | { 3 | "version": "0.1.0", 4 | "configurations": [ 5 | { 6 | "name": "Extension", 7 | "type": "extensionHost", 8 | "request": "launch", 9 | "runtimeExecutable": "${execPath}", 10 | "args": ["--extensionDevelopmentPath=${workspaceRoot}" ], 11 | "stopOnEntry": false, 12 | "sourceMaps": true, 13 | "outFiles": [ "${workspaceRoot}/out/**/*.js" ], 14 | "preLaunchTask": "npm: watch" 15 | }, 16 | { 17 | "name": "Extension Tests", 18 | "type": "extensionHost", 19 | "request": "launch", 20 | "runtimeExecutable": "${execPath}", 21 | "args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ], 22 | "stopOnEntry": false, 23 | "sourceMaps": true, 24 | "outFiles": [ "${workspaceRoot}/out/test/**/*.js" ], 25 | "preLaunchTask": "npm: watch" 26 | } 27 | ] 28 | } 29 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | // Place your settings in this file to overwrite default and user settings. 2 | { 3 | "files.exclude": { 4 | "out": false // set this to true to hide the "out" folder with the compiled JS files 5 | }, 6 | "search.exclude": { 7 | "out": true // set this to false to include "out" folder in search results 8 | } 9 | } -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | // See https://go.microsoft.com/fwlink/?LinkId=733558 2 | // for the documentation about the tasks.json format 3 | { 4 | "version": "2.0.0", 5 | "tasks": [ 6 | { 7 | "type": "npm", 8 | "script": "watch", 9 | "problemMatcher": "$tsc-watch", 10 | "isBackground": true, 11 | "presentation": { 12 | "reveal": "never" 13 | }, 14 | "group": { 15 | "kind": "build", 16 | "isDefault": true 17 | } 18 | } 19 | ] 20 | } -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- 1 | .vscode/** 2 | .vscode-test/** 3 | out/test/** 4 | out/**/*.map 5 | src/** 6 | .gitignore 7 | tsconfig.json 8 | vsc-extension-quickstart.md 9 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | All notable changes to the "graphviz-markdown-preview" extension will be documented on [Github](https://github.com/geeklearningio/graphviz-markdown-preview/releases). -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Visual Studio Marketplace](https://img.shields.io/vscode-marketplace/d/geeklearningio.graphviz-markdown-preview.svg)](https://marketplace.visualstudio.com/items?itemName=geeklearningio.graphviz-markdown-preview) 2 | 3 | Adds [GraphViz](http://www.graphviz.org/) support to VS Code's builtin markdown preview 4 | 5 | ![](https://github.com/geeklearningio/graphviz-markdown-preview/raw/master/docs/example.png) 6 | 7 | 8 | # Usage 9 | Create diagrams in markdown using `graphviz` code blocks: 10 | 11 | ~~~markdown 12 | ```graphviz 13 | digraph finite_state_machine { 14 | rankdir=LR; 15 | size="8,5" 16 | 17 | node [shape = doublecircle]; S; 18 | node [shape = point ]; qi 19 | 20 | node [shape = circle]; 21 | qi -> S; 22 | S -> q1 [ label = "a" ]; 23 | S -> S [ label = "a" ]; 24 | q1 -> S [ label = "a" ]; 25 | q1 -> q2 [ label = "ddb" ]; 26 | q2 -> q1 [ label = "b" ]; 27 | q2 -> q2 [ label = "b" ]; 28 | } 29 | ``` 30 | ~~~ -------------------------------------------------------------------------------- /docs/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeklearningio/graphviz-markdown-preview/ef63f4c7bb8f49814520221954a4fa7375b1a313/docs/example.png -------------------------------------------------------------------------------- /graphviz-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/geeklearningio/graphviz-markdown-preview/ef63f4c7bb8f49814520221954a4fa7375b1a313/graphviz-logo.png -------------------------------------------------------------------------------- /graphviz-render.js: -------------------------------------------------------------------------------- 1 | function contentLoaded() { 2 | var viz = new Viz(); 3 | var graphvizElements = document.getElementsByClassName('graphviz'); 4 | 5 | var changes = []; 6 | 7 | for (let index = 0; index < graphvizElements.length; index++) { 8 | var element = graphvizElements.item(index); 9 | var source = element.textContent; 10 | 11 | changes.push({ 12 | placeholder: element.parentElement.parentElement, 13 | svg: viz.renderString(source, {engine: 'dot', format:'svg'}) 14 | }); 15 | } 16 | 17 | for (let index = 0; index < changes.length; index++) { 18 | const change = changes[index]; 19 | change.svg.then(svg=> { 20 | change.placeholder.outerHTML = svg; 21 | }); 22 | } 23 | 24 | // use to debug rendered code. 25 | // document.body.appendChild(document.createTextNode(document.body.innerHTML)); 26 | } 27 | 28 | window.addEventListener('load', function () { 29 | contentLoaded() 30 | }, false) 31 | 32 | -------------------------------------------------------------------------------- /graphviz.css: -------------------------------------------------------------------------------- 1 | div.graphviz { 2 | margin:0; 3 | padding:0; 4 | 5 | } 6 | 7 | div.graphviz svg { 8 | margin:0; 9 | padding:0; 10 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "graphviz-markdown-preview", 3 | "displayName": "Graphviz Markdown Preview", 4 | "description": "Adds Graphviz support to VSCode's builtin markdown preview", 5 | "version": "0.0.8", 6 | "publisher": "geeklearningio", 7 | "engines": { 8 | "vscode": "^1.20.0" 9 | }, 10 | "preview": true, 11 | "categories": [ 12 | "Other" 13 | ], 14 | "activationEvents": [ 15 | "onCommand:extension.sayHello" 16 | ], 17 | "main": "./out/extension", 18 | "contributes": { 19 | "markdown.previewStyles": [ 20 | "./graphviz.css" 21 | ], 22 | "markdown.previewScripts": [ 23 | "./node_modules/viz.js/viz.js", 24 | "./node_modules/viz.js/full.render.js", 25 | "./graphviz-render.js" 26 | ], 27 | "markdown.markdownItPlugins": true 28 | }, 29 | "scripts": { 30 | "vscode:prepublish": "npm run compile", 31 | "compile": "tsc -p ./", 32 | "watch": "tsc -watch -p ./", 33 | "postinstall": "node ./node_modules/vscode/bin/install", 34 | "test": "npm run compile && node ./node_modules/vscode/bin/test" 35 | }, 36 | "devDependencies": { 37 | "@types/mocha": "^2.2.42", 38 | "@types/node": "^7.0.43", 39 | "typescript": "^3.5.2", 40 | "vscode": "^1.1.35" 41 | }, 42 | "dependencies": { 43 | "viz.js": "^2.1.2" 44 | }, 45 | "repository": { 46 | "type": "git", 47 | "url": "https://github.com/geeklearningio/graphviz-markdown-preview.git" 48 | }, 49 | "icon": "graphviz-logo.png" 50 | } 51 | -------------------------------------------------------------------------------- /src/extension.ts: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | // The module 'vscode' contains the VS Code extensibility API 3 | // Import the module and reference it with the alias vscode in your code below 4 | import * as vscode from 'vscode'; 5 | 6 | // this method is called when your extension is activated 7 | // your extension is activated the very first time the command is executed 8 | export function activate(context: vscode.ExtensionContext) { 9 | 10 | // Use the console to output diagnostic information (console.log) and errors (console.error) 11 | // This line of code will only be executed once when your extension is activated 12 | console.log('Congratulations, your extension "graphviz-markdown-preview" is now active!'); 13 | return { 14 | 15 | extendMarkdownIt(md) { 16 | 17 | const highlight = md.options.highlight; 18 | 19 | md.options.highlight = (code, lang) => { 20 | 21 | if (lang && lang.match(/\bgraphviz\b/i)) { 22 | 23 | return `
${code}
`; 24 | } 25 | 26 | return highlight(code, lang); 27 | 28 | }; 29 | 30 | return md; 31 | 32 | } 33 | 34 | } 35 | } 36 | 37 | // this method is called when your extension is deactivated 38 | export function deactivate() { 39 | } -------------------------------------------------------------------------------- /src/test/extension.test.ts: -------------------------------------------------------------------------------- 1 | // 2 | // Note: This example test is leveraging the Mocha test framework. 3 | // Please refer to their documentation on https://mochajs.org/ for help. 4 | // 5 | 6 | // The module 'assert' provides assertion methods from node 7 | import * as assert from 'assert'; 8 | 9 | // You can import and use all API from the 'vscode' module 10 | // as well as import your extension to test it 11 | import * as vscode from 'vscode'; 12 | import * as myExtension from '../extension'; 13 | 14 | // Defines a Mocha test suite to group tests of similar kind together 15 | suite("Extension Tests", () => { 16 | 17 | // Defines a Mocha unit test 18 | test("Something 1", () => { 19 | assert.equal(-1, [1, 2, 3].indexOf(5)); 20 | assert.equal(-1, [1, 2, 3].indexOf(0)); 21 | }); 22 | }); -------------------------------------------------------------------------------- /src/test/index.ts: -------------------------------------------------------------------------------- 1 | // 2 | // PLEASE DO NOT MODIFY / DELETE UNLESS YOU KNOW WHAT YOU ARE DOING 3 | // 4 | // This file is providing the test runner to use when running extension tests. 5 | // By default the test runner in use is Mocha based. 6 | // 7 | // You can provide your own test runner if you want to override it by exporting 8 | // a function run(testRoot: string, clb: (error:Error) => void) that the extension 9 | // host can call to run the tests. The test runner is expected to use console.log 10 | // to report the results back to the caller. When the tests are finished, return 11 | // a possible error to the callback or null if none. 12 | 13 | import * as testRunner from 'vscode/lib/testrunner'; 14 | 15 | // You can directly control Mocha options by uncommenting the following lines 16 | // See https://github.com/mochajs/mocha/wiki/Using-mocha-programmatically#set-options for more info 17 | testRunner.configure({ 18 | ui: 'tdd', // the TDD UI is being used in extension.test.ts (suite, test, etc.) 19 | useColors: true // colored output from test results 20 | }); 21 | 22 | module.exports = testRunner; -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es6", 5 | "outDir": "out", 6 | "lib": [ 7 | "es6" 8 | ], 9 | "sourceMap": true, 10 | "rootDir": "src" 11 | }, 12 | "exclude": [ 13 | "node_modules", 14 | ".vscode-test" 15 | ] 16 | } -------------------------------------------------------------------------------- /vsc-extension-quickstart.md: -------------------------------------------------------------------------------- 1 | # Welcome to your VS Code Extension 2 | 3 | ## What's in the folder 4 | * This folder contains all of the files necessary for your extension. 5 | * `package.json` - this is the manifest file in which you declare your extension and command. 6 | The sample plugin registers a command and defines its title and command name. With this information 7 | VS Code can show the command in the command palette. It doesn’t yet need to load the plugin. 8 | * `src/extension.ts` - this is the main file where you will provide the implementation of your command. 9 | The file exports one function, `activate`, which is called the very first time your extension is 10 | activated (in this case by executing the command). Inside the `activate` function we call `registerCommand`. 11 | We pass the function containing the implementation of the command as the second parameter to 12 | `registerCommand`. 13 | 14 | ## Get up and running straight away 15 | * Press `F5` to open a new window with your extension loaded. 16 | * Run your command from the command palette by pressing (`Ctrl+Shift+P` or `Cmd+Shift+P` on Mac) and typing `Hello World`. 17 | * Set breakpoints in your code inside `src/extension.ts` to debug your extension. 18 | * Find output from your extension in the debug console. 19 | 20 | ## Make changes 21 | * You can relaunch the extension from the debug toolbar after changing code in `src/extension.ts`. 22 | * You can also reload (`Ctrl+R` or `Cmd+R` on Mac) the VS Code window with your extension to load your changes. 23 | 24 | ## Explore the API 25 | * You can open the full set of our API when you open the file `node_modules/vscode/vscode.d.ts`. 26 | 27 | ## Run tests 28 | * Open the debug viewlet (`Ctrl+Shift+D` or `Cmd+Shift+D` on Mac) and from the launch configuration dropdown pick `Launch Tests`. 29 | * Press `F5` to run the tests in a new window with your extension loaded. 30 | * See the output of the test result in the debug console. 31 | * Make changes to `test/extension.test.ts` or create new test files inside the `test` folder. 32 | * By convention, the test runner will only consider files matching the name pattern `**.test.ts`. 33 | * You can create folders inside the `test` folder to structure your tests any way you want. 34 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@types/mocha@^2.2.42": 6 | version "2.2.48" 7 | resolved "https://registry.yarnpkg.com/@types/mocha/-/mocha-2.2.48.tgz#3523b126a0b049482e1c3c11877460f76622ffab" 8 | 9 | "@types/node@^7.0.43": 10 | version "7.0.54" 11 | resolved "https://registry.yarnpkg.com/@types/node/-/node-7.0.54.tgz#9b3b8fd9d8c88eb4f854f402ce915abe6b1157dc" 12 | 13 | agent-base@4, agent-base@^4.1.0: 14 | version "4.3.0" 15 | resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.3.0.tgz#8165f01c436009bccad0b1d122f05ed770efc6ee" 16 | dependencies: 17 | es6-promisify "^5.0.0" 18 | 19 | ajv@^6.5.5: 20 | version "6.10.0" 21 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.10.0.tgz#90d0d54439da587cd7e843bfb7045f50bd22bdf1" 22 | dependencies: 23 | fast-deep-equal "^2.0.1" 24 | fast-json-stable-stringify "^2.0.0" 25 | json-schema-traverse "^0.4.1" 26 | uri-js "^4.2.2" 27 | 28 | asn1@~0.2.3: 29 | version "0.2.4" 30 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.4.tgz#8d2475dfab553bb33e77b54e59e880bb8ce23136" 31 | dependencies: 32 | safer-buffer "~2.1.0" 33 | 34 | assert-plus@1.0.0, assert-plus@^1.0.0: 35 | version "1.0.0" 36 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 37 | 38 | asynckit@^0.4.0: 39 | version "0.4.0" 40 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 41 | 42 | aws-sign2@~0.7.0: 43 | version "0.7.0" 44 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 45 | 46 | aws4@^1.8.0: 47 | version "1.8.0" 48 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f" 49 | 50 | balanced-match@^1.0.0: 51 | version "1.0.0" 52 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 53 | 54 | bcrypt-pbkdf@^1.0.0: 55 | version "1.0.2" 56 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz#a4301d389b6a43f9b67ff3ca11a3f6637e360e9e" 57 | dependencies: 58 | tweetnacl "^0.14.3" 59 | 60 | brace-expansion@^1.1.7: 61 | version "1.1.10" 62 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.10.tgz#5205cdf64c9798c180dc74b7bfc670c3974e6300" 63 | dependencies: 64 | balanced-match "^1.0.0" 65 | concat-map "0.0.1" 66 | 67 | browser-stdout@1.3.1: 68 | version "1.3.1" 69 | resolved "https://registry.yarnpkg.com/browser-stdout/-/browser-stdout-1.3.1.tgz#baa559ee14ced73452229bad7326467c61fabd60" 70 | 71 | caseless@~0.12.0: 72 | version "0.12.0" 73 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 74 | 75 | combined-stream@^1.0.6, combined-stream@~1.0.6: 76 | version "1.0.8" 77 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.8.tgz#c3d45a8b34fd730631a110a8a2520682b31d5a7f" 78 | dependencies: 79 | delayed-stream "~1.0.0" 80 | 81 | commander@2.15.1: 82 | version "2.15.1" 83 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" 84 | 85 | concat-map@0.0.1: 86 | version "0.0.1" 87 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 88 | 89 | core-util-is@1.0.2: 90 | version "1.0.2" 91 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 92 | 93 | dashdash@^1.12.0: 94 | version "1.14.1" 95 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 96 | dependencies: 97 | assert-plus "^1.0.0" 98 | 99 | debug@3.1.0: 100 | version "3.1.0" 101 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 102 | dependencies: 103 | ms "2.0.0" 104 | 105 | debug@^3.1.0: 106 | version "3.2.6" 107 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" 108 | dependencies: 109 | ms "^2.1.1" 110 | 111 | delayed-stream@~1.0.0: 112 | version "1.0.0" 113 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 114 | 115 | diff@3.5.0: 116 | version "3.5.0" 117 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" 118 | 119 | ecc-jsbn@~0.1.1: 120 | version "0.1.2" 121 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz#3a83a904e54353287874c564b7549386849a98c9" 122 | dependencies: 123 | jsbn "~0.1.0" 124 | safer-buffer "^2.1.0" 125 | 126 | es6-promise@^4.0.3: 127 | version "4.2.8" 128 | resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" 129 | 130 | es6-promisify@^5.0.0: 131 | version "5.0.0" 132 | resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" 133 | dependencies: 134 | es6-promise "^4.0.3" 135 | 136 | escape-string-regexp@1.0.5: 137 | version "1.0.5" 138 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 139 | 140 | extend@~3.0.2: 141 | version "3.0.2" 142 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" 143 | 144 | extsprintf@1.3.0: 145 | version "1.3.0" 146 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" 147 | 148 | extsprintf@^1.2.0: 149 | version "1.4.0" 150 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" 151 | 152 | fast-deep-equal@^2.0.1: 153 | version "2.0.1" 154 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" 155 | 156 | fast-json-stable-stringify@^2.0.0: 157 | version "2.0.0" 158 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 159 | 160 | forever-agent@~0.6.1: 161 | version "0.6.1" 162 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 163 | 164 | form-data@~2.3.2: 165 | version "2.3.3" 166 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.3.tgz#dcce52c05f644f298c6a7ab936bd724ceffbf3a6" 167 | dependencies: 168 | asynckit "^0.4.0" 169 | combined-stream "^1.0.6" 170 | mime-types "^2.1.12" 171 | 172 | fs.realpath@^1.0.0: 173 | version "1.0.0" 174 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 175 | 176 | getpass@^0.1.1: 177 | version "0.1.7" 178 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 179 | dependencies: 180 | assert-plus "^1.0.0" 181 | 182 | glob@7.1.2, glob@^7.1.2: 183 | version "7.1.2" 184 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 185 | dependencies: 186 | fs.realpath "^1.0.0" 187 | inflight "^1.0.4" 188 | inherits "2" 189 | minimatch "^3.0.4" 190 | once "^1.3.0" 191 | path-is-absolute "^1.0.0" 192 | 193 | growl@1.10.5: 194 | version "1.10.5" 195 | resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" 196 | 197 | har-schema@^2.0.0: 198 | version "2.0.0" 199 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 200 | 201 | har-validator@~5.1.0: 202 | version "5.1.3" 203 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.3.tgz#1ef89ebd3e4996557675eed9893110dc350fa080" 204 | dependencies: 205 | ajv "^6.5.5" 206 | har-schema "^2.0.0" 207 | 208 | has-flag@^3.0.0: 209 | version "3.0.0" 210 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" 211 | 212 | he@1.1.1: 213 | version "1.1.1" 214 | resolved "https://registry.yarnpkg.com/he/-/he-1.1.1.tgz#93410fd21b009735151f8868c2f271f3427e23fd" 215 | 216 | http-proxy-agent@^2.1.0: 217 | version "2.1.0" 218 | resolved "https://registry.yarnpkg.com/http-proxy-agent/-/http-proxy-agent-2.1.0.tgz#e4821beef5b2142a2026bd73926fe537631c5405" 219 | dependencies: 220 | agent-base "4" 221 | debug "3.1.0" 222 | 223 | http-signature@~1.2.0: 224 | version "1.2.0" 225 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 226 | dependencies: 227 | assert-plus "^1.0.0" 228 | jsprim "^1.2.2" 229 | sshpk "^1.7.0" 230 | 231 | https-proxy-agent@^2.2.1: 232 | version "2.2.1" 233 | resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.2.1.tgz#51552970fa04d723e04c56d04178c3f92592bbc0" 234 | dependencies: 235 | agent-base "^4.1.0" 236 | debug "^3.1.0" 237 | 238 | inflight@^1.0.4: 239 | version "1.0.6" 240 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 241 | dependencies: 242 | once "^1.3.0" 243 | wrappy "1" 244 | 245 | inherits@2: 246 | version "2.0.3" 247 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 248 | 249 | is-typedarray@~1.0.0: 250 | version "1.0.0" 251 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 252 | 253 | isstream@~0.1.2: 254 | version "0.1.2" 255 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 256 | 257 | jsbn@~0.1.0: 258 | version "0.1.1" 259 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 260 | 261 | json-schema-traverse@^0.4.1: 262 | version "0.4.1" 263 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 264 | 265 | json-schema@0.2.3: 266 | version "0.2.3" 267 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 268 | 269 | json-stringify-safe@~5.0.1: 270 | version "5.0.1" 271 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 272 | 273 | jsprim@^1.2.2: 274 | version "1.4.1" 275 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" 276 | dependencies: 277 | assert-plus "1.0.0" 278 | extsprintf "1.3.0" 279 | json-schema "0.2.3" 280 | verror "1.10.0" 281 | 282 | mime-db@1.40.0: 283 | version "1.40.0" 284 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.40.0.tgz#a65057e998db090f732a68f6c276d387d4126c32" 285 | 286 | mime-db@~1.30.0: 287 | version "1.30.0" 288 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" 289 | 290 | mime-types@^2.1.12: 291 | version "2.1.17" 292 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" 293 | dependencies: 294 | mime-db "~1.30.0" 295 | 296 | mime-types@~2.1.19: 297 | version "2.1.24" 298 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.24.tgz#b6f8d0b3e951efb77dedeca194cff6d16f676f81" 299 | dependencies: 300 | mime-db "1.40.0" 301 | 302 | minimatch@3.0.4, minimatch@^3.0.4: 303 | version "3.0.4" 304 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 305 | dependencies: 306 | brace-expansion "^1.1.7" 307 | 308 | minimist@0.0.8: 309 | version "0.0.8" 310 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 311 | 312 | mkdirp@0.5.1: 313 | version "0.5.1" 314 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 315 | dependencies: 316 | minimist "0.0.8" 317 | 318 | mocha@^5.2.0: 319 | version "5.2.0" 320 | resolved "https://registry.yarnpkg.com/mocha/-/mocha-5.2.0.tgz#6d8ae508f59167f940f2b5b3c4a612ae50c90ae6" 321 | dependencies: 322 | browser-stdout "1.3.1" 323 | commander "2.15.1" 324 | debug "3.1.0" 325 | diff "3.5.0" 326 | escape-string-regexp "1.0.5" 327 | glob "7.1.2" 328 | growl "1.10.5" 329 | he "1.1.1" 330 | minimatch "3.0.4" 331 | mkdirp "0.5.1" 332 | supports-color "5.4.0" 333 | 334 | ms@2.0.0: 335 | version "2.0.0" 336 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 337 | 338 | ms@^2.1.1: 339 | version "2.1.2" 340 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" 341 | 342 | oauth-sign@~0.9.0: 343 | version "0.9.0" 344 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.9.0.tgz#47a7b016baa68b5fa0ecf3dee08a85c679ac6455" 345 | 346 | once@^1.3.0: 347 | version "1.4.0" 348 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 349 | dependencies: 350 | wrappy "1" 351 | 352 | path-is-absolute@^1.0.0: 353 | version "1.0.1" 354 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 355 | 356 | performance-now@^2.1.0: 357 | version "2.1.0" 358 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 359 | 360 | psl@^1.1.24: 361 | version "1.2.0" 362 | resolved "https://registry.yarnpkg.com/psl/-/psl-1.2.0.tgz#df12b5b1b3a30f51c329eacbdef98f3a6e136dc6" 363 | 364 | punycode@^1.4.1: 365 | version "1.4.1" 366 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 367 | 368 | punycode@^2.1.0: 369 | version "2.1.1" 370 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" 371 | 372 | qs@~6.5.2: 373 | version "6.5.2" 374 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.2.tgz#cb3ae806e8740444584ef154ce8ee98d403f3e36" 375 | 376 | querystringify@^2.1.1: 377 | version "2.1.1" 378 | resolved "https://registry.yarnpkg.com/querystringify/-/querystringify-2.1.1.tgz#60e5a5fd64a7f8bfa4d2ab2ed6fdf4c85bad154e" 379 | 380 | request@^2.88.0: 381 | version "2.88.0" 382 | resolved "https://registry.yarnpkg.com/request/-/request-2.88.0.tgz#9c2fca4f7d35b592efe57c7f0a55e81052124fef" 383 | dependencies: 384 | aws-sign2 "~0.7.0" 385 | aws4 "^1.8.0" 386 | caseless "~0.12.0" 387 | combined-stream "~1.0.6" 388 | extend "~3.0.2" 389 | forever-agent "~0.6.1" 390 | form-data "~2.3.2" 391 | har-validator "~5.1.0" 392 | http-signature "~1.2.0" 393 | is-typedarray "~1.0.0" 394 | isstream "~0.1.2" 395 | json-stringify-safe "~5.0.1" 396 | mime-types "~2.1.19" 397 | oauth-sign "~0.9.0" 398 | performance-now "^2.1.0" 399 | qs "~6.5.2" 400 | safe-buffer "^5.1.2" 401 | tough-cookie "~2.4.3" 402 | tunnel-agent "^0.6.0" 403 | uuid "^3.3.2" 404 | 405 | requires-port@^1.0.0: 406 | version "1.0.0" 407 | resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" 408 | 409 | safe-buffer@^5.0.1: 410 | version "5.1.1" 411 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 412 | 413 | safe-buffer@^5.1.2: 414 | version "5.1.2" 415 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 416 | 417 | safer-buffer@^2.0.2, safer-buffer@^2.1.0, safer-buffer@~2.1.0: 418 | version "2.1.2" 419 | resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" 420 | 421 | semver@^5.4.1: 422 | version "5.5.0" 423 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.5.0.tgz#dc4bbc7a6ca9d916dee5d43516f0092b58f7b8ab" 424 | 425 | source-map-support@^0.5.0: 426 | version "0.5.3" 427 | resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.3.tgz#2b3d5fff298cfa4d1afd7d4352d569e9a0158e76" 428 | dependencies: 429 | source-map "^0.6.0" 430 | 431 | source-map@^0.6.0: 432 | version "0.6.1" 433 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 434 | 435 | sshpk@^1.7.0: 436 | version "1.16.1" 437 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.16.1.tgz#fb661c0bef29b39db40769ee39fa70093d6f6877" 438 | dependencies: 439 | asn1 "~0.2.3" 440 | assert-plus "^1.0.0" 441 | bcrypt-pbkdf "^1.0.0" 442 | dashdash "^1.12.0" 443 | ecc-jsbn "~0.1.1" 444 | getpass "^0.1.1" 445 | jsbn "~0.1.0" 446 | safer-buffer "^2.0.2" 447 | tweetnacl "~0.14.0" 448 | 449 | supports-color@5.4.0: 450 | version "5.4.0" 451 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.4.0.tgz#1c6b337402c2137605efe19f10fec390f6faab54" 452 | dependencies: 453 | has-flag "^3.0.0" 454 | 455 | tough-cookie@~2.4.3: 456 | version "2.4.3" 457 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.4.3.tgz#53f36da3f47783b0925afa06ff9f3b165280f781" 458 | dependencies: 459 | psl "^1.1.24" 460 | punycode "^1.4.1" 461 | 462 | tunnel-agent@^0.6.0: 463 | version "0.6.0" 464 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 465 | dependencies: 466 | safe-buffer "^5.0.1" 467 | 468 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 469 | version "0.14.5" 470 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 471 | 472 | typescript@^3.5.2: 473 | version "3.5.2" 474 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.2.tgz#a09e1dc69bc9551cadf17dba10ee42cf55e5d56c" 475 | 476 | uri-js@^4.2.2: 477 | version "4.2.2" 478 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" 479 | dependencies: 480 | punycode "^2.1.0" 481 | 482 | url-parse@^1.4.4: 483 | version "1.4.7" 484 | resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.4.7.tgz#a8a83535e8c00a316e403a5db4ac1b9b853ae278" 485 | dependencies: 486 | querystringify "^2.1.1" 487 | requires-port "^1.0.0" 488 | 489 | uuid@^3.3.2: 490 | version "3.3.2" 491 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.3.2.tgz#1b4af4955eb3077c501c23872fc6513811587131" 492 | 493 | verror@1.10.0: 494 | version "1.10.0" 495 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" 496 | dependencies: 497 | assert-plus "^1.0.0" 498 | core-util-is "1.0.2" 499 | extsprintf "^1.2.0" 500 | 501 | viz.js@^2.1.2: 502 | version "2.1.2" 503 | resolved "https://registry.yarnpkg.com/viz.js/-/viz.js-2.1.2.tgz#6f09cd4e10af28754a6d50b055bd2e4a7693983a" 504 | 505 | vscode-test@^0.4.1: 506 | version "0.4.3" 507 | resolved "https://registry.yarnpkg.com/vscode-test/-/vscode-test-0.4.3.tgz#461ebf25fc4bc93d77d982aed556658a2e2b90b8" 508 | dependencies: 509 | http-proxy-agent "^2.1.0" 510 | https-proxy-agent "^2.2.1" 511 | 512 | vscode@^1.1.35: 513 | version "1.1.35" 514 | resolved "https://registry.yarnpkg.com/vscode/-/vscode-1.1.35.tgz#f8c6beb905738b874d539ddb3784e5feeec71c0a" 515 | dependencies: 516 | glob "^7.1.2" 517 | mocha "^5.2.0" 518 | request "^2.88.0" 519 | semver "^5.4.1" 520 | source-map-support "^0.5.0" 521 | url-parse "^1.4.4" 522 | vscode-test "^0.4.1" 523 | 524 | wrappy@1: 525 | version "1.0.2" 526 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 527 | --------------------------------------------------------------------------------