├── .gitignore ├── .npmignore ├── .vscode └── settings.json ├── CONTRIBUTING.md ├── README.md ├── images └── img.png ├── package.json ├── rollup.config.js ├── scripts └── getDTS.js ├── src ├── index.ts └── vendor │ ├── playground.d.ts │ ├── pluginUtils.d.ts │ ├── sandbox.d.ts │ ├── tsWorker.d.ts │ ├── typescript-vfs.d.ts │ └── utils.ts ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | 8 | # Runtime data 9 | pids 10 | *.pid 11 | *.seed 12 | *.pid.lock 13 | 14 | # Directory for instrumented libs generated by jscoverage/JSCover 15 | lib-cov 16 | 17 | # Coverage directory used by tools like istanbul 18 | coverage 19 | 20 | # nyc test coverage 21 | .nyc_output 22 | 23 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 24 | .grunt 25 | 26 | # Bower dependency directory (https://bower.io/) 27 | bower_components 28 | 29 | # node-waf configuration 30 | .lock-wscript 31 | 32 | # Compiled binary addons (http://nodejs.org/api/addons.html) 33 | build/Release 34 | 35 | # Dependency directories 36 | node_modules/ 37 | jspm_packages/ 38 | 39 | # Typescript v1 declaration files 40 | typings/ 41 | 42 | # Optional npm cache directory 43 | .npm 44 | 45 | # Optional eslint cache 46 | .eslintcache 47 | 48 | # Optional REPL history 49 | .node_repl_history 50 | 51 | # Output of 'npm pack' 52 | *.tgz 53 | 54 | # dotenv environment variables file 55 | .env 56 | 57 | # gatsby files 58 | .cache/ 59 | public 60 | 61 | # Mac files 62 | .DS_Store 63 | 64 | # Yarn 65 | yarn-error.log 66 | .pnp/ 67 | .pnp.js 68 | # Yarn Integrity file 69 | .yarn-integrity 70 | dist 71 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | src 2 | .gitignore 3 | rollup.config.jss 4 | !dist 5 | scripts 6 | .vscode 7 | yarn* 8 | tsconfig.json 9 | rollup* 10 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "typescript.tsdk": "node_modules/typescript/lib" 3 | } -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | ## Contributing to a TypeScript Playground Plugin 2 | 3 | ## Contributing 4 | 5 | You can use `yarn start` to set up both a copy of Rollup to generate the JS, and Serve to host it. 6 | 7 | ```sh 8 | yarn start 9 | ``` 10 | 11 | Then set up the TypeScript playground to connect to a dev plugin at `http://localhost:5000/index.js`. 12 | 13 | #### Plugin API 14 | 15 | The plugin API is documented in the [interface PlaygroundPlugin in `./src/vendor/playground.d.ts`](src/vendor/playground.d.ts) 16 | 17 | Roughly: 18 | 19 | - There are a set of mounting and un-mounting functions which you can use to handle your UI in the sidebar 20 | - There are `modelChanged` methods, which are shortcuts to knowing when the code in monaco editor has changed 21 | 22 | ### Sandbox 23 | 24 | The plugins are passed copies of the TypeScript sandbox, which is a high level API wrapper to the [`monaco-editor`](https://microsoft.github.io/monaco-editor/). You can learn more about the sandbox on [the TypeScript website](http://www.typescriptlang.org/v2/dev/sandbox/ 25 | 26 | #### Rollup 27 | 28 | [Rollup](https://rollupjs.org) is a JavaScript bundler, that will take all of the TypeScript + JavaScript code you reference and then create an AMD bundle for it all. AMD bundles are used in Monaco, TypeScript Sandbox and the Playground - so, this is used for consistency with the rest of the ecosystem. 29 | 30 | #### Serve 31 | 32 | [Serve](https://github.com/zeit/serve) is used to make a web-server for the dist folder. 33 | 34 | ## Deployment 35 | 36 | This module should be deployed to npm when you would like the world to see it, this may mean making your code handle a staging vs production environment (because the URLs will be different.) 37 | 38 | For example, this is how you can handle getting the URL for a CSS file which is included in your `dist` folder: 39 | 40 | ```ts 41 | const isDev = document.location.host.includes('localhost') 42 | const unpkgURL = 'https://unpkg.com/typescript-playground-presentation-mode@latest/dist/slideshow.css' 43 | const cssHref = isDev ? 'http://localhost:5000/slideshow.css' : unpkgURL 44 | ``` 45 | 46 | ### Post-Deploy 47 | 48 | Once this is deployed, you can test it on the TypeScript playground by passing in the name of your plugin on npm to the custom plugin box. This is effectively your staging environment. 49 | 50 | Once you're happy and it's polished, you can apply to have it in the default plugin list. 51 | 52 | ## Support 53 | 54 | Ask questions either on the TypeScript Website issues](https://github.com/microsoft/TypeScript-Website/issues), or in the [TypeScript Community Discord](https://discord.gg/typescript) - in the TypeScript Website channel. 55 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## TypeScript Playground Plugin 2 | 3 | Lets you run [TSQuery](https://github.com/phenomnomnominal/tsquery) in realtime 4 | 5 | 6 | 7 | ## Running this plugin 8 | 9 | - Open up the TypeScript Playground 10 | - Go the "Options" in the sidebar 11 | - Look for "External Plugins" 12 | - Add "playground-plugin-tsquery" 13 | - Reload the browser 14 | 15 | Then it will show up as a tab in the sidebar. 16 | 17 | ## Contributing 18 | 19 | See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full details, however, TLDR: 20 | 21 | ```sh 22 | git clone ... 23 | yarn install 24 | yarn start 25 | ``` 26 | 27 | Then tick the box for starting plugin development inside the TypeScript Playground. 28 | -------------------------------------------------------------------------------- /images/img.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/orta/playground-plugin-tsquery/12488c843c7c4e48c1d2b45d6ec0d578d847c2a8/images/img.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "playground-plugin-tsquery", 3 | "version": "1.0.0", 4 | "main": "dist/index.js", 5 | "license": "MIT", 6 | "keywords": [ 7 | "playground-plugin" 8 | ], 9 | "scripts": { 10 | "build": "rollup -c rollup.config.js;", 11 | "compile": "tsc", 12 | "bootstrap": "node scripts/getDTS.js", 13 | "start": "concurrently -p \"[{name}]\" -n \"ROLLUP,SITE\" -c \"bgBlue.bold,bgMagenta.bold\" \"yarn rollup -c rollup.config.js --watch\" \"yarn serve dist\"", 14 | "prepublish": "yarn build", 15 | "postinstall": "yarn bootstrap; yarn build" 16 | }, 17 | "devDependencies": { 18 | "@rollup/plugin-commonjs": "^11.0.2", 19 | "@rollup/plugin-json": "^4.0.2", 20 | "@rollup/plugin-node-resolve": "^7.1.0", 21 | "@rollup/plugin-typescript": "^3.0.0", 22 | "concurrently": "^5.1.0", 23 | "monaco-editor": "^0.19.3", 24 | "node-fetch": "^2.6.0", 25 | "rollup": "^1.31.0", 26 | "rollup-plugin-external-globals": "^0.5.0", 27 | "rollup-plugin-ignore": "^1.0.5", 28 | "serve": "^11.3.0", 29 | "typescript": "latest" 30 | }, 31 | "dependencies": { 32 | "@phenomnomnominal/tsquery": "^4.0.0", 33 | "tslib": "^1.10.0" 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /rollup.config.js: -------------------------------------------------------------------------------- 1 | import typescript from "@rollup/plugin-typescript"; 2 | import node from "@rollup/plugin-node-resolve"; 3 | import commonjs from "@rollup/plugin-commonjs"; 4 | import json from "@rollup/plugin-json"; 5 | import ignore from "rollup-plugin-ignore"; 6 | 7 | 8 | // You can have more root bundles by extending this array 9 | const rootFiles = ["index.ts"]; 10 | import externalGlobals from "rollup-plugin-external-globals"; 11 | 12 | export default rootFiles.map(name => { 13 | /** @type { import("rollup").RollupOptions } */ 14 | const options = { 15 | input: `src/${name}`, 16 | external: ['typescript', 'fs', 'path'], 17 | output: { 18 | paths: { 19 | "typescript":"typescript-sandbox/index", 20 | "fs":"typescript-sandbox/index", 21 | "path":"typescript-sandbox/index", 22 | }, 23 | name, 24 | dir: "dist", 25 | format: "amd" 26 | }, 27 | plugins: [typescript({ tsconfig: "tsconfig.json" }), externalGlobals({ typescript: "window.ts" }), ignore(["path", "fs"]), commonjs(), node(), json()] 28 | }; 29 | 30 | return options; 31 | }); 32 | -------------------------------------------------------------------------------- /scripts/getDTS.js: -------------------------------------------------------------------------------- 1 | // @ts-check 2 | 3 | // Grab the DTS files from the TypeScript website 4 | // then do a bit of string manipulation in order to make it 5 | // compile without _all_ of the dependencies 6 | 7 | const nodeFetch = require("node-fetch").default; 8 | const { writeFileSync, existsSync, mkdirSync } = require("fs"); 9 | const { join } = require("path"); 10 | 11 | const getFileAndStoreLocally = async (url, path, editFunc) => { 12 | const editingFunc = editFunc ? editFunc : text => text; 13 | const packageJSON = await nodeFetch(url); 14 | const contents = await packageJSON.text(); 15 | writeFileSync(join(__dirname, "..", path), editingFunc(contents), "utf8"); 16 | }; 17 | 18 | const go = async () => { 19 | const vendor = join("src", "vendor"); 20 | if (!existsSync(vendor)) { 21 | mkdirSync(vendor); 22 | } 23 | 24 | // const host = 'https://www.typescriptlang.org/v2' 25 | const host = "http://localhost:8000"; 26 | 27 | await getFileAndStoreLocally(host + "/js/sandbox/tsWorker.d.ts", join(vendor, "tsWorker.d.ts")); 28 | 29 | await getFileAndStoreLocally(host + "/js/playground/pluginUtils.d.ts", join(vendor, "pluginUtils.d.ts")); 30 | 31 | await getFileAndStoreLocally( 32 | host + "/js/sandbox/vendor/typescript-vfs.d.ts", 33 | join(vendor, "typescript-vfs.d.ts"), 34 | text => { 35 | const removeImports = text.replace('/// ', ""); 36 | const removedLZ = removeImports.replace('import("lz-string").LZStringStatic', "any"); 37 | return removedLZ; 38 | } 39 | ); 40 | 41 | await getFileAndStoreLocally(host + "/js/sandbox/index.d.ts", join(vendor, "sandbox.d.ts"), text => { 42 | const removeImports = text.replace(/^import/g, "// import").replace(/\nimport/g, "]\n// import"); 43 | const replaceTSVFS = removeImports.replace( 44 | "// import * as tsvfs from './vendor/typescript-vfs'", 45 | "\nimport * as tsvfs from './typescript-vfs'" 46 | ); 47 | const removedLZ = replaceTSVFS.replace("lzstring: typeof lzstring", "// lzstring: typeof lzstring"); 48 | const addedTsWorkerImport = 'import { TypeScriptWorker } from "./tsWorker";' + removedLZ; 49 | return addedTsWorkerImport; 50 | }); 51 | 52 | await getFileAndStoreLocally(host + "/js/playground/index.d.ts", join(vendor, "/playground.d.ts"), text => { 53 | const replaceSandbox = text.replace(/typescript-sandbox/g, "./sandbox"); 54 | const replaceTSVFS = replaceSandbox.replace( 55 | /typescriptlang-org\/static\/js\/sandbox\/vendor\/typescript-vfs/g, 56 | "./typescript-vfs" 57 | ); 58 | const removedLZ = replaceTSVFS.replace("lzstring: typeof", "// lzstring: typeof"); 59 | const removedWorker = removedLZ.replace("getWorkerProcess", "// getWorkerProcess"); 60 | const removedUI = removedWorker.replace("ui:", "// ui:"); 61 | return removedUI; 62 | }); 63 | }; 64 | 65 | go(); 66 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import { tsquery } from "@phenomnomnominal/tsquery"; 2 | import type { editor } from "monaco-editor"; 3 | import type { Node } from "typescript"; 4 | import {PlaygroundPlugin, PluginUtils} from "./vendor/playground" 5 | 6 | const pluginCreator = (utils: PluginUtils) => { 7 | 8 | let astVersion = -1 9 | let ast:Node = undefined 10 | 11 | const plugin: PlaygroundPlugin = { 12 | id: "tsquery", 13 | displayName: "TSQuery", 14 | 15 | didMount: (sandbox, container) => { 16 | // @ts-ignore - so people can use the console to do tsquery also 17 | window.tsquery = tsquery; 18 | console.log('New global:') 19 | // @ts-ignore 20 | console.log('\twindow.tsquery', window.tsquery) 21 | 22 | // Add some info saying how to use it 23 | const p = (str: string) => utils.el(str, "p", container); 24 | p(`Use the textbox below to make a query, queries happen as you type. You can query using any TypeScript AST SyntaxKind type`); 25 | 26 | // Inject a form with an input to the container 27 | const outerQueryForm = createQueryInputForm(sandbox); 28 | container.appendChild(outerQueryForm); 29 | 30 | // Create some elements to put the results in 31 | const resultMeta = document.createElement("p") 32 | resultMeta.id = "query-results-meta" 33 | container.appendChild(resultMeta) 34 | 35 | const results = document.createElement("div"); 36 | results.id = "query-results"; 37 | container.appendChild(results); 38 | 39 | // Because the query is stored between sessions, then you could 40 | // have something we can run on launch 41 | const model = sandbox.editor.getModel() 42 | runQuery(sandbox, model) 43 | }, 44 | 45 | // When we get told about an update to the monaco model then update our query 46 | modelChangedDebounce: async (sandbox, model) => { 47 | runQuery(sandbox, model) 48 | }, 49 | }; 50 | 51 | /** Runs the input against the current AST */ 52 | const runQuery = async (sandbox, model: editor.ITextModel) => { 53 | // Empty the results section 54 | const results = document.getElementById("query-results"); 55 | const resultsMeta = document.getElementById("query-results-meta"); 56 | resultsMeta.textContent = "" 57 | 58 | // Just being safe 59 | if (!results) return; 60 | while (results.firstChild) { 61 | results.removeChild(results.firstChild); 62 | } 63 | 64 | // NOOP when we don't need to do something 65 | const query = localStorage.getItem("playground-tsquery-current-query"); 66 | if (!query) return; 67 | 68 | // If the model hasn't changed (getVersionId increments on text changes) 69 | // then we don't need to get a new copy of the AST to query against 70 | if (model.getVersionId() !== astVersion) { 71 | ast = await sandbox.getAST(); 72 | astVersion = model.getVersionId() 73 | } 74 | 75 | // The API throws when the query is invalid, so 76 | // use a try catch to give an error message 77 | let queryResults: Node[] 78 | 79 | try { 80 | queryResults = tsquery(ast, query); 81 | } catch (error) { 82 | console.log(error) 83 | resultsMeta.classList.add("err") 84 | resultsMeta.textContent = error.message 85 | } 86 | // Show resukts 87 | if (queryResults) { 88 | resultsMeta.classList.remove("err") 89 | 90 | const suffix = queryResults.length == 1 ? "result" : "results" 91 | resultsMeta.textContent = `Got ${queryResults.length} ${suffix}` 92 | 93 | queryResults.forEach(node => { 94 | // Use the utils version of `createASTTree` so that this plugin gets 95 | // free upgrades as it becomes good. 96 | const div = utils.createASTTree(node); 97 | results.append(div) 98 | }); 99 | } 100 | } 101 | 102 | /** Creates a form with a textbox which runs the query */ 103 | const createQueryInputForm = (sandbox) => { 104 | const form = document.createElement("form") 105 | 106 | const textbox = document.createElement("input") 107 | textbox.id = "tsquery-input" 108 | textbox.placeholder = `Identifier[name="Animal"]` 109 | textbox.autocomplete ="off" 110 | textbox.autocapitalize = "off" 111 | textbox.spellcheck = false 112 | // @ts-ignore 113 | textbox.autocorrect = "off" 114 | 115 | const storedQuery = localStorage.getItem("playground-tsquery-current-query") 116 | textbox.value = storedQuery 117 | 118 | const updateState = ({ enable }) => { 119 | if (enable) { 120 | textbox.classList.add("good") 121 | } else { 122 | textbox.classList.remove("good") 123 | } 124 | }; 125 | 126 | const textUpdate = e => { 127 | const href = e.target.value.trim() 128 | localStorage.setItem("playground-tsquery-current-query", href) 129 | 130 | console.log("text") 131 | const model = sandbox.editor.getModel() 132 | runQuery(sandbox, model) 133 | }; 134 | 135 | textbox.style.width = "90%" 136 | textbox.style.height = "2rem" 137 | textbox.addEventListener("input", textUpdate) 138 | 139 | // Suppress the enter key 140 | textbox.onkeydown = (evt: KeyboardEvent) => { 141 | if (evt.keyCode == 13) return false 142 | } 143 | 144 | form.appendChild(textbox) 145 | updateState({ enable: textbox.textContent && textbox.textContent.length }) 146 | return form 147 | }; 148 | 149 | return plugin 150 | } 151 | 152 | export default pluginCreator; 153 | -------------------------------------------------------------------------------- /src/vendor/playground.d.ts: -------------------------------------------------------------------------------- 1 | declare type Sandbox = import('./sandbox').Sandbox; 2 | export { PluginUtils } from './pluginUtils'; 3 | export declare type PluginFactory = { 4 | (i: (key: string, components?: any) => string): PlaygroundPlugin; 5 | }; 6 | /** The interface of all sidebar plugins */ 7 | export interface PlaygroundPlugin { 8 | /** Not public facing, but used by the playground to uniquely identify plugins */ 9 | id: string; 10 | /** To show in the tabs */ 11 | displayName: string; 12 | /** Should this plugin be selected when the plugin is first loaded? Let's you check for query vars etc to load a particular plugin */ 13 | shouldBeSelected?: () => boolean; 14 | /** Before we show the tab, use this to set up your HTML - it will all be removed by the playground when someone navigates off the tab */ 15 | willMount?: (sandbox: Sandbox, container: HTMLDivElement) => void; 16 | /** After we show the tab */ 17 | didMount?: (sandbox: Sandbox, container: HTMLDivElement) => void; 18 | /** Model changes while this plugin is actively selected */ 19 | modelChanged?: (sandbox: Sandbox, model: import('monaco-editor').editor.ITextModel) => void; 20 | /** Delayed model changes while this plugin is actively selected, useful when you are working with the TS API because it won't run on every keypress */ 21 | modelChangedDebounce?: (sandbox: Sandbox, model: import('monaco-editor').editor.ITextModel) => void; 22 | /** Before we remove the tab */ 23 | willUnmount?: (sandbox: Sandbox, container: HTMLDivElement) => void; 24 | /** After we remove the tab */ 25 | didUnmount?: (sandbox: Sandbox, container: HTMLDivElement) => void; 26 | } 27 | interface PlaygroundConfig { 28 | lang: string; 29 | prefix: string; 30 | } 31 | export declare const setupPlayground: (sandbox: { 32 | config: { 33 | text: string; 34 | useJavaScript: boolean; 35 | compilerOptions: import("monaco-editor").languages.typescript.CompilerOptions; 36 | monacoSettings?: import("monaco-editor").editor.IEditorOptions | undefined; 37 | acquireTypes: boolean; 38 | supportTwoslashCompilerOptions: boolean; 39 | suppressAutomaticallyGettingDefaultText?: true | undefined; 40 | suppressAutomaticallyGettingCompilerFlags?: true | undefined; 41 | logger: { 42 | log: (...args: any[]) => void; 43 | error: (...args: any[]) => void; 44 | }; 45 | domID: string; 46 | }; 47 | supportedVersions: readonly ["3.7.5", "3.6.3", "3.5.1", "3.3.3", "3.1.6", "3.0.1", "2.8.1", "2.7.2", "2.4.1"]; 48 | editor: import("monaco-editor").editor.IStandaloneCodeEditor; 49 | language: string; 50 | monaco: typeof import("monaco-editor"); 51 | // getWorkerProcess: () => Promise; 52 | tsvfs: typeof import("./typescript-vfs"); 53 | getEmitResult: () => Promise; 54 | getRunnableJS: () => Promise; 55 | getDTSForCode: () => Promise; 56 | getDomNode: () => HTMLElement; 57 | getModel: () => import("monaco-editor").editor.ITextModel; 58 | getText: () => string; 59 | setText: (text: string) => void; 60 | getAST: () => Promise; 61 | ts: typeof import("typescript"); 62 | createTSProgram: () => Promise; 63 | compilerDefaults: import("monaco-editor").languages.typescript.CompilerOptions; 64 | getCompilerOptions: () => import("monaco-editor").languages.typescript.CompilerOptions; 65 | setCompilerSettings: (opts: import("monaco-editor").languages.typescript.CompilerOptions) => void; 66 | updateCompilerSetting: (key: string | number, value: any) => void; 67 | updateCompilerSettings: (opts: import("monaco-editor").languages.typescript.CompilerOptions) => void; 68 | setDidUpdateCompilerSettings: (func: (opts: import("monaco-editor").languages.typescript.CompilerOptions) => void) => void; 69 | // lzstring: typeof import("typescriptlang-org/static/js/sandbox/vendor/lzstring.min"); 70 | getURLQueryWithCompilerOptions: (sandbox: any, paramOverrides?: any) => string; 71 | getTwoSlashComplierOptions: (code: string) => any; 72 | languageServiceDefaults: import("monaco-editor").languages.typescript.LanguageServiceDefaults; 73 | }, monaco: typeof import("monaco-editor"), config: PlaygroundConfig, i: (key: string) => string) => { 74 | exporter: { 75 | openProjectInStackBlitz: () => void; 76 | openProjectInCodeSandbox: () => void; 77 | reportIssue: () => Promise; 78 | copyAsMarkdownIssue: () => Promise; 79 | copyForChat: () => void; 80 | copyForChatWithPreview: () => void; 81 | openInTSAST: () => void; 82 | }; 83 | // ui: import("./createUI").UI; 84 | registerPlugin: (plugin: PlaygroundPlugin) => void; 85 | }; 86 | export declare type Playground = ReturnType; 87 | -------------------------------------------------------------------------------- /src/vendor/pluginUtils.d.ts: -------------------------------------------------------------------------------- 1 | import type { Node } from "typescript"; 2 | /** Creates a set of util functions which is exposed to Plugins to make it easier to build consistent UIs */ 3 | export declare const createUtils: (sandbox: any) => { 4 | /** Use this to make a few dumb element generation funcs */ 5 | el: (str: string, el: string, container: Element) => void; 6 | /** Get a relative URL for something in your dist folder depending on if you're in dev mode or not */ 7 | requireURL: (path: string) => string; 8 | /** Returns a div which has an interactive AST a TypeScript AST by passing in the root node */ 9 | createASTTree: (node: Node) => HTMLDivElement; 10 | }; 11 | export declare type PluginUtils = ReturnType; 12 | -------------------------------------------------------------------------------- /src/vendor/sandbox.d.ts: -------------------------------------------------------------------------------- 1 | import { TypeScriptWorker } from "./tsWorker";// import { TypeScriptWorker } from './tsWorker';] 2 | // import lzstring from './vendor/lzstring.min';] 3 | 4 | import * as tsvfs from './typescript-vfs'; 5 | declare type CompilerOptions = import('monaco-editor').languages.typescript.CompilerOptions; 6 | /** 7 | * These are settings for the playground which are the equivalent to props in React 8 | * any changes to it should require a new setup of the playground 9 | */ 10 | export declare type PlaygroundConfig = { 11 | /** The default source code for the playground */ 12 | text: string; 13 | /** Should it run the ts or js IDE services */ 14 | useJavaScript: boolean; 15 | /** Compiler options which are automatically just forwarded on */ 16 | compilerOptions: CompilerOptions; 17 | /** Optional monaco settings overrides */ 18 | monacoSettings?: import('monaco-editor').editor.IEditorOptions; 19 | /** Acquire types via type acquisition */ 20 | acquireTypes: boolean; 21 | /** Support twoslash compiler options */ 22 | supportTwoslashCompilerOptions: boolean; 23 | /** Get the text via query params and local storage, useful when the editor is the main experience */ 24 | suppressAutomaticallyGettingDefaultText?: true; 25 | /** Suppress setting compiler options from the compiler flags from query params */ 26 | suppressAutomaticallyGettingCompilerFlags?: true; 27 | /** Logging system */ 28 | logger: { 29 | log: (...args: any[]) => void; 30 | error: (...args: any[]) => void; 31 | }; 32 | } & ({ 33 | domID: string; 34 | } | { 35 | elementToAppend: HTMLElement; 36 | }); 37 | /** The default settings which we apply a partial over */ 38 | export declare function defaultPlaygroundSettings(): { 39 | /** The default source code for the playground */ 40 | text: string; 41 | /** Should it run the ts or js IDE services */ 42 | useJavaScript: boolean; 43 | /** Compiler options which are automatically just forwarded on */ 44 | compilerOptions: import("monaco-editor").languages.typescript.CompilerOptions; 45 | /** Optional monaco settings overrides */ 46 | monacoSettings?: import("monaco-editor").editor.IEditorOptions | undefined; 47 | /** Acquire types via type acquisition */ 48 | acquireTypes: boolean; 49 | /** Support twoslash compiler options */ 50 | supportTwoslashCompilerOptions: boolean; 51 | /** Get the text via query params and local storage, useful when the editor is the main experience */ 52 | suppressAutomaticallyGettingDefaultText?: true | undefined; 53 | /** Suppress setting compiler options from the compiler flags from query params */ 54 | suppressAutomaticallyGettingCompilerFlags?: true | undefined; 55 | /** Logging system */ 56 | logger: { 57 | log: (...args: any[]) => void; 58 | error: (...args: any[]) => void; 59 | }; 60 | } & { 61 | domID: string; 62 | }; 63 | /** Creates a sandbox editor, and returns a set of useful functions and the editor */ 64 | export declare const createTypeScriptSandbox: (partialConfig: Partial<{ 65 | /** The default source code for the playground */ 66 | text: string; 67 | /** Should it run the ts or js IDE services */ 68 | useJavaScript: boolean; 69 | /** Compiler options which are automatically just forwarded on */ 70 | compilerOptions: import("monaco-editor").languages.typescript.CompilerOptions; 71 | /** Optional monaco settings overrides */ 72 | monacoSettings?: import("monaco-editor").editor.IEditorOptions | undefined; 73 | /** Acquire types via type acquisition */ 74 | acquireTypes: boolean; 75 | /** Support twoslash compiler options */ 76 | supportTwoslashCompilerOptions: boolean; 77 | /** Get the text via query params and local storage, useful when the editor is the main experience */ 78 | suppressAutomaticallyGettingDefaultText?: true | undefined; 79 | /** Suppress setting compiler options from the compiler flags from query params */ 80 | suppressAutomaticallyGettingCompilerFlags?: true | undefined; 81 | /** Logging system */ 82 | logger: { 83 | log: (...args: any[]) => void; 84 | error: (...args: any[]) => void; 85 | }; 86 | } & { 87 | domID: string; 88 | }> | Partial<{ 89 | /** The default source code for the playground */ 90 | text: string; 91 | /** Should it run the ts or js IDE services */ 92 | useJavaScript: boolean; 93 | /** Compiler options which are automatically just forwarded on */ 94 | compilerOptions: import("monaco-editor").languages.typescript.CompilerOptions; 95 | /** Optional monaco settings overrides */ 96 | monacoSettings?: import("monaco-editor").editor.IEditorOptions | undefined; 97 | /** Acquire types via type acquisition */ 98 | acquireTypes: boolean; 99 | /** Support twoslash compiler options */ 100 | supportTwoslashCompilerOptions: boolean; 101 | /** Get the text via query params and local storage, useful when the editor is the main experience */ 102 | suppressAutomaticallyGettingDefaultText?: true | undefined; 103 | /** Suppress setting compiler options from the compiler flags from query params */ 104 | suppressAutomaticallyGettingCompilerFlags?: true | undefined; 105 | /** Logging system */ 106 | logger: { 107 | log: (...args: any[]) => void; 108 | error: (...args: any[]) => void; 109 | }; 110 | } & { 111 | elementToAppend: HTMLElement; 112 | }>, monaco: typeof import("monaco-editor"), ts: typeof import("typescript")) => { 113 | /** The same config you passed in */ 114 | config: { 115 | text: string; 116 | useJavaScript: boolean; 117 | compilerOptions: import("monaco-editor").languages.typescript.CompilerOptions; 118 | monacoSettings?: import("monaco-editor").editor.IEditorOptions | undefined; 119 | acquireTypes: boolean; 120 | supportTwoslashCompilerOptions: boolean; 121 | suppressAutomaticallyGettingDefaultText?: true | undefined; 122 | suppressAutomaticallyGettingCompilerFlags?: true | undefined; 123 | logger: { 124 | log: (...args: any[]) => void; 125 | error: (...args: any[]) => void; 126 | }; 127 | domID: string; 128 | }; 129 | /** A list of TypeScript versions you can use with the TypeScript sandbox */ 130 | supportedVersions: readonly ["3.7.5", "3.6.3", "3.5.1", "3.3.3", "3.1.6", "3.0.1", "2.8.1", "2.7.2", "2.4.1"]; 131 | /** The monaco editor instance */ 132 | editor: import("monaco-editor").editor.IStandaloneCodeEditor; 133 | /** Either "typescript" or "javascript" depending on your config */ 134 | language: string; 135 | /** The outer monaco module, the result of require("monaco-editor") */ 136 | monaco: typeof import("monaco-editor"); 137 | /** Gets a monaco-typescript worker, this will give you access to a language server. Note: prefer this for language server work because it happens on a webworker . */ 138 | getWorkerProcess: () => Promise; 139 | /** A copy of require("typescript-vfs") this can be used to quickly set up an in-memory compiler runs for ASTs, or to get complex language server results (anything above has to be serialized when passed)*/ 140 | tsvfs: typeof tsvfs; 141 | /** Get all the different emitted files after TypeScript is run */ 142 | getEmitResult: () => Promise; 143 | /** Gets just the JavaScript for your sandbox, will transpile if in TS only */ 144 | getRunnableJS: () => Promise; 145 | /** Gets the DTS output of the main code in the editor */ 146 | getDTSForCode: () => Promise; 147 | /** The monaco-editor dom node, used for showing/hiding the editor */ 148 | getDomNode: () => HTMLElement; 149 | /** The model is an object which monaco uses to keep track of text in the editor. Use this to directly modify the text in the editor */ 150 | getModel: () => import("monaco-editor").editor.ITextModel; 151 | /** Gets the text of the main model, which is the text in the editor */ 152 | getText: () => string; 153 | /** Shortcut for setting the model's text content which would update the editor */ 154 | setText: (text: string) => void; 155 | /** WIP: Gets the AST of the current text */ 156 | getAST: () => Promise; 157 | /** The module you get from require("typescript") */ 158 | ts: typeof import("typescript"); 159 | /** Create a new Program, a TypeScript data model which represents the entire project. 160 | * 161 | * The first time this is called it has to download all the DTS files which is needed for an exact compiler run. Which 162 | * at max is about 1.5MB - after that subsequent downloads of dts lib files come from localStorage. 163 | * 164 | * You probably want 165 | */ 166 | createTSProgram: () => Promise; 167 | /** The Sandbox's default compiler options */ 168 | compilerDefaults: import("monaco-editor").languages.typescript.CompilerOptions; 169 | /** The Sandbox's current compiler options */ 170 | getCompilerOptions: () => import("monaco-editor").languages.typescript.CompilerOptions; 171 | /** Replace the Sandbox's compiler options */ 172 | setCompilerSettings: (opts: import("monaco-editor").languages.typescript.CompilerOptions) => void; 173 | /** Overwrite the Sandbox's compiler options */ 174 | updateCompilerSetting: (key: string | number, value: any) => void; 175 | /** Update a single compiler option in the SAndbox */ 176 | updateCompilerSettings: (opts: import("monaco-editor").languages.typescript.CompilerOptions) => void; 177 | /** A way to get callbacks when compiler settings have changed */ 178 | setDidUpdateCompilerSettings: (func: (opts: import("monaco-editor").languages.typescript.CompilerOptions) => void) => void; 179 | /** A copy of lzstring, which is used to archive/unarchive code */ 180 | // lzstring: typeof lzstring; 181 | /** Returns compiler options found in the params of the current page */ 182 | getURLQueryWithCompilerOptions: (sandbox: any, paramOverrides?: any) => string; 183 | /** Returns compiler options in the source code using twoslash notation */ 184 | getTwoSlashComplierOptions: (code: string) => any; 185 | /** Gets to the current monaco-language, this is how you talk to the background webworkers */ 186 | languageServiceDefaults: import("monaco-editor").languages.typescript.LanguageServiceDefaults; 187 | }; 188 | export declare type Sandbox = ReturnType; 189 | export {}; 190 | -------------------------------------------------------------------------------- /src/vendor/tsWorker.d.ts: -------------------------------------------------------------------------------- 1 | import ts from 'typescript'; 2 | export declare class TypeScriptWorker implements ts.LanguageServiceHost { 3 | private _ctx; 4 | private _extraLibs; 5 | private _languageService; 6 | private _compilerOptions; 7 | constructor(ctx: any, createData: any); 8 | getCompilationSettings(): ts.CompilerOptions; 9 | getScriptFileNames(): string[]; 10 | private _getModel; 11 | getScriptVersion(fileName: string): string; 12 | getScriptSnapshot(fileName: string): ts.IScriptSnapshot | undefined; 13 | getScriptKind?(fileName: string): ts.ScriptKind; 14 | getCurrentDirectory(): string; 15 | getDefaultLibFileName(options: ts.CompilerOptions): string; 16 | isDefaultLibFileName(fileName: string): boolean; 17 | private static clearFiles; 18 | getSyntacticDiagnostics(fileName: string): Promise; 19 | getSemanticDiagnostics(fileName: string): Promise; 20 | getSuggestionDiagnostics(fileName: string): Promise; 21 | getCompilerOptionsDiagnostics(fileName: string): Promise; 22 | getCompletionsAtPosition(fileName: string, position: number): Promise; 23 | getCompletionEntryDetails(fileName: string, position: number, entry: string): Promise; 24 | getSignatureHelpItems(fileName: string, position: number): Promise; 25 | getQuickInfoAtPosition(fileName: string, position: number): Promise; 26 | getOccurrencesAtPosition(fileName: string, position: number): Promise | undefined>; 27 | getDefinitionAtPosition(fileName: string, position: number): Promise | undefined>; 28 | getReferencesAtPosition(fileName: string, position: number): Promise; 29 | getNavigationBarItems(fileName: string): Promise; 30 | getFormattingEditsForDocument(fileName: string, options: ts.FormatCodeOptions): Promise; 31 | getFormattingEditsForRange(fileName: string, start: number, end: number, options: ts.FormatCodeOptions): Promise; 32 | getFormattingEditsAfterKeystroke(fileName: string, postion: number, ch: string, options: ts.FormatCodeOptions): Promise; 33 | findRenameLocations(fileName: string, positon: number, findInStrings: boolean, findInComments: boolean, providePrefixAndSuffixTextForRename: boolean): Promise; 34 | getRenameInfo(fileName: string, positon: number, options: ts.RenameInfoOptions): Promise; 35 | getEmitOutput(fileName: string): Promise; 36 | getCodeFixesAtPosition(fileName: string, start: number, end: number, errorCodes: number[], formatOptions: ts.FormatCodeOptions): Promise>; 37 | updateExtraLibs(extraLibs: IExtraLibs): void; 38 | } 39 | export interface IExtraLib { 40 | content: string; 41 | version: number; 42 | } 43 | export interface IExtraLibs { 44 | [path: string]: IExtraLib; 45 | } 46 | -------------------------------------------------------------------------------- /src/vendor/typescript-vfs.d.ts: -------------------------------------------------------------------------------- 1 | 2 | declare type System = import('typescript').System; 3 | declare type CompilerOptions = import('typescript').CompilerOptions; 4 | declare type TS = typeof import('typescript'); 5 | export interface VirtualTypeScriptEnvironment { 6 | sys: System; 7 | languageService: import('typescript').LanguageService; 8 | getSourceFile: (fileName: string) => import('typescript').SourceFile | undefined; 9 | createFile: (fileName: string, content: string) => void; 10 | updateFile: (fileName: string, content: string, replaceTextSpan?: import('typescript').TextSpan) => void; 11 | } 12 | /** 13 | * Makes a virtual copy of the TypeScript environment. This is the main API you want to be using with 14 | * typescript-vfs. A lot of the other exposed functions are used by this function to get set up. 15 | * 16 | * @param sys an object which conforms to the TS Sys (a shim over read/write access to the fs) 17 | * @param rootFiles a list of files which are considered inside the project 18 | * @param ts a copy pf the TypeScript module 19 | * @param compilerOptions the options for this compiler run 20 | */ 21 | export declare function createVirtualTypeScriptEnvironment(sys: System, rootFiles: string[], ts: TS, compilerOptions?: CompilerOptions): VirtualTypeScriptEnvironment; 22 | /** 23 | * Grab the list of lib files for a particular target, will return a bit more than necessary (by including 24 | * the dom) but that's OK 25 | * 26 | * @param target The compiler settings target baseline 27 | * @param ts A copy of the TypeScript module 28 | */ 29 | export declare const knownLibFilesForCompilerOptions: (compilerOptions: import("typescript").CompilerOptions, ts: typeof import("typescript")) => string[]; 30 | /** 31 | * Sets up a Map with lib contents by grabbing the necessary files from 32 | * the local copy of typescript via the file system. 33 | */ 34 | export declare const createDefaultMapFromNodeModules: (compilerOptions: import("typescript").CompilerOptions) => Map; 35 | /** 36 | * Create a virtual FS Map with the lib files from a particular TypeScript 37 | * version based on the target, Always includes dom ATM. 38 | * 39 | * @param options The compiler target, which dictates the libs to set up 40 | * @param version the versions of TypeScript which are supported 41 | * @param cache should the values be stored in local storage 42 | * @param ts a copy of the typescript import 43 | * @param lzstring an optional copy of the lz-string import 44 | * @param fetcher an optional replacement for the global fetch function (tests mainly) 45 | * @param storer an optional replacement for the localStorage global (tests mainly) 46 | */ 47 | export declare const createDefaultMapFromCDN: (options: import("typescript").CompilerOptions, version: string, cache: boolean, ts: typeof import("typescript"), lzstring?: any | undefined, fetcher?: typeof fetch | undefined, storer?: Storage | undefined) => Promise>; 48 | /** 49 | * Creates an in-memory System object which can be used in a TypeScript program, this 50 | * is what provides read/write aspects of the virtual fs 51 | */ 52 | export declare function createSystem(files: Map): System; 53 | /** 54 | * Creates an in-memory CompilerHost -which is essentially an extra wrapper to System 55 | * which works with TypeScript objects - returns both a compiler host, and a way to add new SourceFile 56 | * instances to the in-memory file system. 57 | */ 58 | export declare function createVirtualCompilerHost(sys: System, compilerOptions: CompilerOptions, ts: TS): { 59 | compilerHost: import("typescript").CompilerHost; 60 | updateFile: (sourceFile: import("typescript").SourceFile) => boolean; 61 | }; 62 | /** 63 | * Creates an object which can host a language service against the virtual file-system 64 | */ 65 | export declare function createVirtualLanguageServiceHost(sys: System, rootFiles: string[], compilerOptions: CompilerOptions, ts: TS): { 66 | languageServiceHost: import("typescript").LanguageServiceHost; 67 | updateFile: (sourceFile: import("typescript").SourceFile) => void; 68 | }; 69 | export {}; 70 | -------------------------------------------------------------------------------- /src/vendor/utils.ts: -------------------------------------------------------------------------------- 1 | import type { Node } from "typescript" 2 | 3 | /** Get a relative URL for something in your dist folder depending on if you're in dev mode or not */ 4 | export const requireURL = (path: string) => { 5 | // https://unpkg.com/browse/typescript-playground-presentation-mode@0.0.1/dist/x.js => unpkg/browse/typescript-playground-presentation-mode@0.0.1/dist/x 6 | const isDev = document.location.host.includes("localhost"); 7 | const prefix = isDev ? "local/" : "unpkg/typescript-playground-presentation-mode/dist/"; 8 | return prefix + path; 9 | }; 10 | 11 | /** Use this to make a few dumb element generation funcs */ 12 | export const el = (str: string, el: string, container: Element) => { 13 | const para = document.createElement(el); 14 | para.innerHTML = str; 15 | container.appendChild(para); 16 | }; 17 | 18 | /** Renderers a TypeScript AST */ 19 | export const renderAST = (parent: HTMLElement, node: Node) => { 20 | 21 | 22 | const renderItem = (parentElement: Element, node: Node) => { 23 | const ul = document.createElement("ul") 24 | ul.className = "ast-tree" 25 | 26 | const li = document.createElement("li") 27 | ul.appendChild(li) 28 | 29 | const a = document.createElement("a") 30 | a.textContent = String(node.kind) 31 | li.appendChild(a) 32 | 33 | const kids = node.getChildren() 34 | if (kids.length) { 35 | const childUl = document.createElement("ul") 36 | childUl.className = "ast-tree" 37 | li.appendChild(childUl) 38 | 39 | for (const child of kids) { 40 | renderItem(childUl, child) 41 | } 42 | 43 | parentElement.appendChild(ul) 44 | } 45 | } 46 | 47 | renderItem(parent, node) 48 | 49 | // const tree = document.querySelectorAll("ul.ast-tree a:not(:last-child)"); 50 | // for (var i = 0; i < tree.length; i++) { 51 | // tree[i].addEventListener("click", function(e: MouseEvent) { 52 | 53 | // // @ts-ignore 54 | // const parent = e.target.parentElement; 55 | // const classList = parent.classList; 56 | 57 | // if (classList.contains("open")) { 58 | // classList.remove("open"); 59 | // var opensubs = parent.querySelectorAll(":scope .open"); 60 | 61 | // for (var i = 0; i < opensubs.length; i++) { 62 | // opensubs[i].classList.remove("open"); 63 | // } 64 | // } else { 65 | // classList.add("open"); 66 | // } 67 | // e.preventDefault(); 68 | // }); 69 | // } 70 | }; 71 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "esModuleInterop": true, 4 | "noEmit": true 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@phenomnomnominal/tsquery@^4.0.0": 6 | version "4.0.0" 7 | resolved "https://registry.yarnpkg.com/@phenomnomnominal/tsquery/-/tsquery-4.0.0.tgz#610e8ac968137e4a0f98c842c919bb8ad0e85718" 8 | integrity sha512-s2Yet/MCj9Jh6nR6GfldrUPT6Y+aM1jIAdiKcOKEzmeKALT0Tc7SFIkYP3KvzjzbkKK5W7BiJ3cWy2UOa4ITbw== 9 | dependencies: 10 | esquery "^1.0.1" 11 | 12 | "@rollup/plugin-commonjs@^11.0.2": 13 | version "11.0.2" 14 | resolved "https://registry.yarnpkg.com/@rollup/plugin-commonjs/-/plugin-commonjs-11.0.2.tgz#837cc6950752327cb90177b608f0928a4e60b582" 15 | integrity sha512-MPYGZr0qdbV5zZj8/2AuomVpnRVXRU5XKXb3HVniwRoRCreGlf5kOE081isNWeiLIi6IYkwTX9zE0/c7V8g81g== 16 | dependencies: 17 | "@rollup/pluginutils" "^3.0.0" 18 | estree-walker "^1.0.1" 19 | is-reference "^1.1.2" 20 | magic-string "^0.25.2" 21 | resolve "^1.11.0" 22 | 23 | "@rollup/plugin-json@^4.0.2": 24 | version "4.0.2" 25 | resolved "https://registry.yarnpkg.com/@rollup/plugin-json/-/plugin-json-4.0.2.tgz#482185ee36ac7dd21c346e2dbcc22ffed0c6f2d6" 26 | integrity sha512-t4zJMc98BdH42mBuzjhQA7dKh0t4vMJlUka6Fz0c+iO5IVnWaEMiYBy1uBj9ruHZzXBW23IPDGL9oCzBkQ9Udg== 27 | dependencies: 28 | "@rollup/pluginutils" "^3.0.4" 29 | 30 | "@rollup/plugin-node-resolve@^7.1.0": 31 | version "7.1.1" 32 | resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.1.tgz#8c6e59c4b28baf9d223028d0e450e06a485bb2b7" 33 | integrity sha512-14ddhD7TnemeHE97a4rLOhobfYvUVcaYuqTnL8Ti7Jxi9V9Jr5LY7Gko4HZ5k4h4vqQM0gBQt6tsp9xXW94WPA== 34 | dependencies: 35 | "@rollup/pluginutils" "^3.0.6" 36 | "@types/resolve" "0.0.8" 37 | builtin-modules "^3.1.0" 38 | is-module "^1.0.0" 39 | resolve "^1.14.2" 40 | 41 | "@rollup/plugin-typescript@^3.0.0": 42 | version "3.0.0" 43 | resolved "https://registry.yarnpkg.com/@rollup/plugin-typescript/-/plugin-typescript-3.0.0.tgz#9398fcca1cef67ac325fef19c28dece24c9a5263" 44 | integrity sha512-O6915Ril3+Q0B4P898PULAcPFZfPuatEB/4nox7bnK48ekGrmamMYhMB5tOqWjihEWrw4oz/NL+c+/kS3Fk95g== 45 | dependencies: 46 | "@rollup/pluginutils" "^3.0.1" 47 | resolve "^1.14.1" 48 | 49 | "@rollup/pluginutils@^3.0.0", "@rollup/pluginutils@^3.0.1", "@rollup/pluginutils@^3.0.4", "@rollup/pluginutils@^3.0.6": 50 | version "3.0.8" 51 | resolved "https://registry.yarnpkg.com/@rollup/pluginutils/-/pluginutils-3.0.8.tgz#4e94d128d94b90699e517ef045422960d18c8fde" 52 | integrity sha512-rYGeAc4sxcZ+kPG/Tw4/fwJODC3IXHYDH4qusdN/b6aLw5LPUbzpecYbEJh4sVQGPFJxd2dBU4kc1H3oy9/bnw== 53 | dependencies: 54 | estree-walker "^1.0.1" 55 | 56 | "@types/estree@*": 57 | version "0.0.42" 58 | resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.42.tgz#8d0c1f480339efedb3e46070e22dd63e0430dd11" 59 | integrity sha512-K1DPVvnBCPxzD+G51/cxVIoc2X8uUVl1zpJeE6iKcgHMj4+tbat5Xu4TjV7v2QSDbIeAfLi2hIk+u2+s0MlpUQ== 60 | 61 | "@types/estree@0.0.39": 62 | version "0.0.39" 63 | resolved "https://registry.yarnpkg.com/@types/estree/-/estree-0.0.39.tgz#e177e699ee1b8c22d23174caaa7422644389509f" 64 | integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== 65 | 66 | "@types/node@*": 67 | version "13.7.4" 68 | resolved "https://registry.yarnpkg.com/@types/node/-/node-13.7.4.tgz#76c3cb3a12909510f52e5dc04a6298cdf9504ffd" 69 | integrity sha512-oVeL12C6gQS/GAExndigSaLxTrKpQPxewx9bOcwfvJiJge4rr7wNaph4J+ns5hrmIV2as5qxqN8YKthn9qh0jw== 70 | 71 | "@types/resolve@0.0.8": 72 | version "0.0.8" 73 | resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194" 74 | integrity sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ== 75 | dependencies: 76 | "@types/node" "*" 77 | 78 | "@zeit/schemas@2.6.0": 79 | version "2.6.0" 80 | resolved "https://registry.yarnpkg.com/@zeit/schemas/-/schemas-2.6.0.tgz#004e8e553b4cd53d538bd38eac7bcbf58a867fe3" 81 | integrity sha512-uUrgZ8AxS+Lio0fZKAipJjAh415JyrOZowliZAzmnJSsf7piVL5w+G0+gFJ0KSu3QRhvui/7zuvpLz03YjXAhg== 82 | 83 | accepts@~1.3.5: 84 | version "1.3.7" 85 | resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.7.tgz#531bc726517a3b2b41f850021c6cc15eaab507cd" 86 | integrity sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA== 87 | dependencies: 88 | mime-types "~2.1.24" 89 | negotiator "0.6.2" 90 | 91 | acorn@^7.1.0: 92 | version "7.1.0" 93 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.1.0.tgz#949d36f2c292535da602283586c2477c57eb2d6c" 94 | integrity sha512-kL5CuoXA/dgxlBbVrflsflzQ3PAas7RYZB52NOm/6839iVYJgKMJ3cQJD+t2i5+qFa8h3MDpEOJiS64E8JLnSQ== 95 | 96 | ajv@6.5.3: 97 | version "6.5.3" 98 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.3.tgz#71a569d189ecf4f4f321224fecb166f071dd90f9" 99 | integrity sha512-LqZ9wY+fx3UMiiPd741yB2pj3hhil+hQc8taf4o2QGRFpWgZ2V5C8HA165DY9sS3fJwsk7uT7ZlFEyC3Ig3lLg== 100 | dependencies: 101 | fast-deep-equal "^2.0.1" 102 | fast-json-stable-stringify "^2.0.0" 103 | json-schema-traverse "^0.4.1" 104 | uri-js "^4.2.2" 105 | 106 | ansi-align@^2.0.0: 107 | version "2.0.0" 108 | resolved "https://registry.yarnpkg.com/ansi-align/-/ansi-align-2.0.0.tgz#c36aeccba563b89ceb556f3690f0b1d9e3547f7f" 109 | integrity sha1-w2rsy6VjuJzrVW82kPCx2eNUf38= 110 | dependencies: 111 | string-width "^2.0.0" 112 | 113 | ansi-regex@^3.0.0: 114 | version "3.0.0" 115 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 116 | integrity sha1-7QMXwyIGT3lGbAKWa922Bas32Zg= 117 | 118 | ansi-regex@^4.1.0: 119 | version "4.1.0" 120 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-4.1.0.tgz#8b9f8f08cf1acb843756a839ca8c7e3168c51997" 121 | integrity sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg== 122 | 123 | ansi-styles@^3.2.0, ansi-styles@^3.2.1: 124 | version "3.2.1" 125 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" 126 | integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== 127 | dependencies: 128 | color-convert "^1.9.0" 129 | 130 | arch@^2.1.0: 131 | version "2.1.1" 132 | resolved "https://registry.yarnpkg.com/arch/-/arch-2.1.1.tgz#8f5c2731aa35a30929221bb0640eed65175ec84e" 133 | integrity sha512-BLM56aPo9vLLFVa8+/+pJLnrZ7QGGTVHWsCwieAWT9o9K8UeGaQbzZbGoabWLOo2ksBCztoXdqBZBplqLDDCSg== 134 | 135 | arg@2.0.0: 136 | version "2.0.0" 137 | resolved "https://registry.yarnpkg.com/arg/-/arg-2.0.0.tgz#c06e7ff69ab05b3a4a03ebe0407fac4cba657545" 138 | integrity sha512-XxNTUzKnz1ctK3ZIcI2XUPlD96wbHP2nGqkPKpvk/HNRlPveYrXIVSTk9m3LcqOgDPg3B1nMvdV/K8wZd7PG4w== 139 | 140 | balanced-match@^1.0.0: 141 | version "1.0.0" 142 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 143 | integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= 144 | 145 | boxen@1.3.0: 146 | version "1.3.0" 147 | resolved "https://registry.yarnpkg.com/boxen/-/boxen-1.3.0.tgz#55c6c39a8ba58d9c61ad22cd877532deb665a20b" 148 | integrity sha512-TNPjfTr432qx7yOjQyaXm3dSR0MH9vXp7eT1BFSl/C51g+EFnOR9hTg1IreahGBmDNCehscshe45f+C1TBZbLw== 149 | dependencies: 150 | ansi-align "^2.0.0" 151 | camelcase "^4.0.0" 152 | chalk "^2.0.1" 153 | cli-boxes "^1.0.0" 154 | string-width "^2.0.0" 155 | term-size "^1.2.0" 156 | widest-line "^2.0.0" 157 | 158 | brace-expansion@^1.1.7: 159 | version "1.1.11" 160 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 161 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 162 | dependencies: 163 | balanced-match "^1.0.0" 164 | concat-map "0.0.1" 165 | 166 | builtin-modules@^3.1.0: 167 | version "3.1.0" 168 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-3.1.0.tgz#aad97c15131eb76b65b50ef208e7584cd76a7484" 169 | integrity sha512-k0KL0aWZuBt2lrxrcASWDfwOLMnodeQjodT/1SxEQAXsHANgo6ZC/VEaSEHCXt7aSTZ4/4H5LKa+tBXmW7Vtvw== 170 | 171 | bytes@3.0.0: 172 | version "3.0.0" 173 | resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" 174 | integrity sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg= 175 | 176 | camelcase@^4.0.0: 177 | version "4.1.0" 178 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-4.1.0.tgz#d545635be1e33c542649c69173e5de6acfae34dd" 179 | integrity sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0= 180 | 181 | camelcase@^5.0.0: 182 | version "5.3.1" 183 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320" 184 | integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg== 185 | 186 | chalk@2.4.1: 187 | version "2.4.1" 188 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" 189 | integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ== 190 | dependencies: 191 | ansi-styles "^3.2.1" 192 | escape-string-regexp "^1.0.5" 193 | supports-color "^5.3.0" 194 | 195 | chalk@^2.0.1, chalk@^2.4.2: 196 | version "2.4.2" 197 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" 198 | integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== 199 | dependencies: 200 | ansi-styles "^3.2.1" 201 | escape-string-regexp "^1.0.5" 202 | supports-color "^5.3.0" 203 | 204 | cli-boxes@^1.0.0: 205 | version "1.0.0" 206 | resolved "https://registry.yarnpkg.com/cli-boxes/-/cli-boxes-1.0.0.tgz#4fa917c3e59c94a004cd61f8ee509da651687143" 207 | integrity sha1-T6kXw+WclKAEzWH47lCdplFocUM= 208 | 209 | clipboardy@1.2.3: 210 | version "1.2.3" 211 | resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-1.2.3.tgz#0526361bf78724c1f20be248d428e365433c07ef" 212 | integrity sha512-2WNImOvCRe6r63Gk9pShfkwXsVtKCroMAevIbiae021mS850UkWPbevxsBz3tnvjZIEGvlwaqCPsw+4ulzNgJA== 213 | dependencies: 214 | arch "^2.1.0" 215 | execa "^0.8.0" 216 | 217 | cliui@^5.0.0: 218 | version "5.0.0" 219 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-5.0.0.tgz#deefcfdb2e800784aa34f46fa08e06851c7bbbc5" 220 | integrity sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA== 221 | dependencies: 222 | string-width "^3.1.0" 223 | strip-ansi "^5.2.0" 224 | wrap-ansi "^5.1.0" 225 | 226 | color-convert@^1.9.0: 227 | version "1.9.3" 228 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" 229 | integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== 230 | dependencies: 231 | color-name "1.1.3" 232 | 233 | color-name@1.1.3: 234 | version "1.1.3" 235 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" 236 | integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= 237 | 238 | compressible@~2.0.14: 239 | version "2.0.18" 240 | resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.18.tgz#af53cca6b070d4c3c0750fbd77286a6d7cc46fba" 241 | integrity sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg== 242 | dependencies: 243 | mime-db ">= 1.43.0 < 2" 244 | 245 | compression@1.7.3: 246 | version "1.7.3" 247 | resolved "https://registry.yarnpkg.com/compression/-/compression-1.7.3.tgz#27e0e176aaf260f7f2c2813c3e440adb9f1993db" 248 | integrity sha512-HSjyBG5N1Nnz7tF2+O7A9XUhyjru71/fwgNb7oIsEVHR0WShfs2tIS/EySLgiTe98aOK18YDlMXpzjCXY/n9mg== 249 | dependencies: 250 | accepts "~1.3.5" 251 | bytes "3.0.0" 252 | compressible "~2.0.14" 253 | debug "2.6.9" 254 | on-headers "~1.0.1" 255 | safe-buffer "5.1.2" 256 | vary "~1.1.2" 257 | 258 | concat-map@0.0.1: 259 | version "0.0.1" 260 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 261 | integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= 262 | 263 | concurrently@^5.1.0: 264 | version "5.1.0" 265 | resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-5.1.0.tgz#05523986ba7aaf4b58a49ddd658fab88fa783132" 266 | integrity sha512-9ViZMu3OOCID3rBgU31mjBftro2chOop0G2u1olq1OuwRBVRw/GxHTg80TVJBUTJfoswMmEUeuOg1g1yu1X2dA== 267 | dependencies: 268 | chalk "^2.4.2" 269 | date-fns "^2.0.1" 270 | lodash "^4.17.15" 271 | read-pkg "^4.0.1" 272 | rxjs "^6.5.2" 273 | spawn-command "^0.0.2-1" 274 | supports-color "^6.1.0" 275 | tree-kill "^1.2.2" 276 | yargs "^13.3.0" 277 | 278 | content-disposition@0.5.2: 279 | version "0.5.2" 280 | resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.2.tgz#0cf68bb9ddf5f2be7961c3a85178cb85dba78cb4" 281 | integrity sha1-DPaLud318r55YcOoUXjLhdunjLQ= 282 | 283 | cross-spawn@^5.0.1: 284 | version "5.1.0" 285 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 286 | integrity sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk= 287 | dependencies: 288 | lru-cache "^4.0.1" 289 | shebang-command "^1.2.0" 290 | which "^1.2.9" 291 | 292 | date-fns@^2.0.1: 293 | version "2.9.0" 294 | resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.9.0.tgz#d0b175a5c37ed5f17b97e2272bbc1fa5aec677d2" 295 | integrity sha512-khbFLu/MlzLjEzy9Gh8oY1hNt/Dvxw3J6Rbc28cVoYWQaC1S3YI4xwkF9ZWcjDLscbZlY9hISMr66RFzZagLsA== 296 | 297 | debug@2.6.9: 298 | version "2.6.9" 299 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 300 | integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 301 | dependencies: 302 | ms "2.0.0" 303 | 304 | decamelize@^1.2.0: 305 | version "1.2.0" 306 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 307 | integrity sha1-9lNNFRSCabIDUue+4m9QH5oZEpA= 308 | 309 | deep-extend@^0.6.0: 310 | version "0.6.0" 311 | resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" 312 | integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== 313 | 314 | emoji-regex@^7.0.1: 315 | version "7.0.3" 316 | resolved "https://registry.yarnpkg.com/emoji-regex/-/emoji-regex-7.0.3.tgz#933a04052860c85e83c122479c4748a8e4c72156" 317 | integrity sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA== 318 | 319 | error-ex@^1.3.1: 320 | version "1.3.2" 321 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.2.tgz#b4ac40648107fdcdcfae242f428bea8a14d4f1bf" 322 | integrity sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g== 323 | dependencies: 324 | is-arrayish "^0.2.1" 325 | 326 | escape-string-regexp@^1.0.5: 327 | version "1.0.5" 328 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 329 | integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= 330 | 331 | esquery@^1.0.1: 332 | version "1.1.0" 333 | resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.1.0.tgz#c5c0b66f383e7656404f86b31334d72524eddb48" 334 | integrity sha512-MxYW9xKmROWF672KqjO75sszsA8Mxhw06YFeS5VHlB98KDHbOSurm3ArsjO60Eaf3QmGMCP1yn+0JQkNLo/97Q== 335 | dependencies: 336 | estraverse "^4.0.0" 337 | 338 | estraverse@^4.0.0: 339 | version "4.3.0" 340 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.3.0.tgz#398ad3f3c5a24948be7725e83d11a7de28cdbd1d" 341 | integrity sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw== 342 | 343 | estree-walker@^0.6.1: 344 | version "0.6.1" 345 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-0.6.1.tgz#53049143f40c6eb918b23671d1fe3219f3a1b362" 346 | integrity sha512-SqmZANLWS0mnatqbSfRP5g8OXZC12Fgg1IwNtLsyHDzJizORW4khDfjPqJZsemPWBB2uqykUah5YpQ6epsqC/w== 347 | 348 | estree-walker@^1.0.0, estree-walker@^1.0.1: 349 | version "1.0.1" 350 | resolved "https://registry.yarnpkg.com/estree-walker/-/estree-walker-1.0.1.tgz#31bc5d612c96b704106b477e6dd5d8aa138cb700" 351 | integrity sha512-1fMXF3YP4pZZVozF8j/ZLfvnR8NSIljt56UhbZ5PeeDmmGHpgpdwQt7ITlGvYaQukCvuBRMLEiKiYC+oeIg4cg== 352 | 353 | execa@^0.7.0: 354 | version "0.7.0" 355 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.7.0.tgz#944becd34cc41ee32a63a9faf27ad5a65fc59777" 356 | integrity sha1-lEvs00zEHuMqY6n68nrVpl/Fl3c= 357 | dependencies: 358 | cross-spawn "^5.0.1" 359 | get-stream "^3.0.0" 360 | is-stream "^1.1.0" 361 | npm-run-path "^2.0.0" 362 | p-finally "^1.0.0" 363 | signal-exit "^3.0.0" 364 | strip-eof "^1.0.0" 365 | 366 | execa@^0.8.0: 367 | version "0.8.0" 368 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" 369 | integrity sha1-2NdrvBtVIX7RkP1t1J08d07PyNo= 370 | dependencies: 371 | cross-spawn "^5.0.1" 372 | get-stream "^3.0.0" 373 | is-stream "^1.1.0" 374 | npm-run-path "^2.0.0" 375 | p-finally "^1.0.0" 376 | signal-exit "^3.0.0" 377 | strip-eof "^1.0.0" 378 | 379 | fast-deep-equal@^2.0.1: 380 | version "2.0.1" 381 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz#7b05218ddf9667bf7f370bf7fdb2cb15fdd0aa49" 382 | integrity sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk= 383 | 384 | fast-json-stable-stringify@^2.0.0: 385 | version "2.1.0" 386 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" 387 | integrity sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw== 388 | 389 | fast-url-parser@1.1.3: 390 | version "1.1.3" 391 | resolved "https://registry.yarnpkg.com/fast-url-parser/-/fast-url-parser-1.1.3.tgz#f4af3ea9f34d8a271cf58ad2b3759f431f0b318d" 392 | integrity sha1-9K8+qfNNiicc9YrSs3WfQx8LMY0= 393 | dependencies: 394 | punycode "^1.3.2" 395 | 396 | find-up@^3.0.0: 397 | version "3.0.0" 398 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-3.0.0.tgz#49169f1d7993430646da61ecc5ae355c21c97b73" 399 | integrity sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg== 400 | dependencies: 401 | locate-path "^3.0.0" 402 | 403 | get-caller-file@^2.0.1: 404 | version "2.0.5" 405 | resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" 406 | integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== 407 | 408 | get-stream@^3.0.0: 409 | version "3.0.0" 410 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" 411 | integrity sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ= 412 | 413 | has-flag@^3.0.0: 414 | version "3.0.0" 415 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" 416 | integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= 417 | 418 | hosted-git-info@^2.1.4: 419 | version "2.8.5" 420 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.5.tgz#759cfcf2c4d156ade59b0b2dfabddc42a6b9c70c" 421 | integrity sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg== 422 | 423 | ini@~1.3.0: 424 | version "1.3.5" 425 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" 426 | integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw== 427 | 428 | is-arrayish@^0.2.1: 429 | version "0.2.1" 430 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 431 | integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= 432 | 433 | is-fullwidth-code-point@^2.0.0: 434 | version "2.0.0" 435 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 436 | integrity sha1-o7MKXE8ZkYMWeqq5O+764937ZU8= 437 | 438 | is-module@^1.0.0: 439 | version "1.0.0" 440 | resolved "https://registry.yarnpkg.com/is-module/-/is-module-1.0.0.tgz#3258fb69f78c14d5b815d664336b4cffb6441591" 441 | integrity sha1-Mlj7afeMFNW4FdZkM2tM/7ZEFZE= 442 | 443 | is-reference@^1.1.2, is-reference@^1.1.4: 444 | version "1.1.4" 445 | resolved "https://registry.yarnpkg.com/is-reference/-/is-reference-1.1.4.tgz#3f95849886ddb70256a3e6d062b1a68c13c51427" 446 | integrity sha512-uJA/CDPO3Tao3GTrxYn6AwkM4nUPJiGGYu5+cB8qbC7WGFlrKZbiRo7SFKxUAEpFUfiHofWCXBUNhvYJMh+6zw== 447 | dependencies: 448 | "@types/estree" "0.0.39" 449 | 450 | is-stream@^1.1.0: 451 | version "1.1.0" 452 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" 453 | integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= 454 | 455 | isexe@^2.0.0: 456 | version "2.0.0" 457 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 458 | integrity sha1-6PvzdNxVb/iUehDcsFctYz8s+hA= 459 | 460 | json-parse-better-errors@^1.0.1: 461 | version "1.0.2" 462 | resolved "https://registry.yarnpkg.com/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz#bb867cfb3450e69107c131d1c514bab3dc8bcaa9" 463 | integrity sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw== 464 | 465 | json-schema-traverse@^0.4.1: 466 | version "0.4.1" 467 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" 468 | integrity sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg== 469 | 470 | locate-path@^3.0.0: 471 | version "3.0.0" 472 | resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-3.0.0.tgz#dbec3b3ab759758071b58fe59fc41871af21400e" 473 | integrity sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A== 474 | dependencies: 475 | p-locate "^3.0.0" 476 | path-exists "^3.0.0" 477 | 478 | lodash@^4.17.15: 479 | version "4.17.15" 480 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" 481 | integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== 482 | 483 | lru-cache@^4.0.1: 484 | version "4.1.5" 485 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.5.tgz#8bbe50ea85bed59bc9e33dcab8235ee9bcf443cd" 486 | integrity sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g== 487 | dependencies: 488 | pseudomap "^1.0.2" 489 | yallist "^2.1.2" 490 | 491 | magic-string@^0.25.2, magic-string@^0.25.4: 492 | version "0.25.6" 493 | resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.25.6.tgz#5586387d1242f919c6d223579cc938bf1420795e" 494 | integrity sha512-3a5LOMSGoCTH5rbqobC2HuDNRtE2glHZ8J7pK+QZYppyWA36yuNpsX994rIY2nCuyP7CZYy7lQq/X2jygiZ89g== 495 | dependencies: 496 | sourcemap-codec "^1.4.4" 497 | 498 | mime-db@1.43.0, "mime-db@>= 1.43.0 < 2": 499 | version "1.43.0" 500 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.43.0.tgz#0a12e0502650e473d735535050e7c8f4eb4fae58" 501 | integrity sha512-+5dsGEEovYbT8UY9yD7eE4XTc4UwJ1jBYlgaQQF38ENsKR3wj/8q8RFZrF9WIZpB2V1ArTVFUva8sAul1NzRzQ== 502 | 503 | mime-db@~1.33.0: 504 | version "1.33.0" 505 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.33.0.tgz#a3492050a5cb9b63450541e39d9788d2272783db" 506 | integrity sha512-BHJ/EKruNIqJf/QahvxwQZXKygOQ256myeN/Ew+THcAa5q+PjyTTMMeNQC4DZw5AwfvelsUrA6B67NKMqXDbzQ== 507 | 508 | mime-types@2.1.18: 509 | version "2.1.18" 510 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.18.tgz#6f323f60a83d11146f831ff11fd66e2fe5503bb8" 511 | integrity sha512-lc/aahn+t4/SWV/qcmumYjymLsWfN3ELhpmVuUFjgsORruuZPVSwAQryq+HHGvO/SI2KVX26bx+En+zhM8g8hQ== 512 | dependencies: 513 | mime-db "~1.33.0" 514 | 515 | mime-types@~2.1.24: 516 | version "2.1.26" 517 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.26.tgz#9c921fc09b7e149a65dfdc0da4d20997200b0a06" 518 | integrity sha512-01paPWYgLrkqAyrlDorC1uDwl2p3qZT7yl806vW7DvDoxwXi46jsjFbg+WdwotBIk6/MbEhO/dh5aZ5sNj/dWQ== 519 | dependencies: 520 | mime-db "1.43.0" 521 | 522 | minimatch@3.0.4: 523 | version "3.0.4" 524 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 525 | integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== 526 | dependencies: 527 | brace-expansion "^1.1.7" 528 | 529 | minimist@^1.2.0: 530 | version "1.2.0" 531 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 532 | integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ= 533 | 534 | monaco-editor@^0.19.3: 535 | version "0.19.3" 536 | resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.19.3.tgz#1c994b3186c00650dbcd034d5370d46bf56c0663" 537 | integrity sha512-2n1vJBVQF2Hhi7+r1mMeYsmlf18hjVb6E0v5SoMZyb4aeOmYPKun+CE3gYpiNA1KEvtSdaDHFBqH9d7Wd9vREg== 538 | 539 | ms@2.0.0: 540 | version "2.0.0" 541 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 542 | integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= 543 | 544 | negotiator@0.6.2: 545 | version "0.6.2" 546 | resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb" 547 | integrity sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw== 548 | 549 | node-fetch@^2.6.0: 550 | version "2.6.0" 551 | resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.0.tgz#e633456386d4aa55863f676a7ab0daa8fdecb0fd" 552 | integrity sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA== 553 | 554 | normalize-package-data@^2.3.2: 555 | version "2.5.0" 556 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8" 557 | integrity sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA== 558 | dependencies: 559 | hosted-git-info "^2.1.4" 560 | resolve "^1.10.0" 561 | semver "2 || 3 || 4 || 5" 562 | validate-npm-package-license "^3.0.1" 563 | 564 | npm-run-path@^2.0.0: 565 | version "2.0.2" 566 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" 567 | integrity sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8= 568 | dependencies: 569 | path-key "^2.0.0" 570 | 571 | on-headers@~1.0.1: 572 | version "1.0.2" 573 | resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.2.tgz#772b0ae6aaa525c399e489adfad90c403eb3c28f" 574 | integrity sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA== 575 | 576 | p-finally@^1.0.0: 577 | version "1.0.0" 578 | resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" 579 | integrity sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4= 580 | 581 | p-limit@^2.0.0: 582 | version "2.2.2" 583 | resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.2.2.tgz#61279b67721f5287aa1c13a9a7fbbc48c9291b1e" 584 | integrity sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ== 585 | dependencies: 586 | p-try "^2.0.0" 587 | 588 | p-locate@^3.0.0: 589 | version "3.0.0" 590 | resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-3.0.0.tgz#322d69a05c0264b25997d9f40cd8a891ab0064a4" 591 | integrity sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ== 592 | dependencies: 593 | p-limit "^2.0.0" 594 | 595 | p-try@^2.0.0: 596 | version "2.2.0" 597 | resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" 598 | integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ== 599 | 600 | parse-json@^4.0.0: 601 | version "4.0.0" 602 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-4.0.0.tgz#be35f5425be1f7f6c747184f98a788cb99477ee0" 603 | integrity sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA= 604 | dependencies: 605 | error-ex "^1.3.1" 606 | json-parse-better-errors "^1.0.1" 607 | 608 | path-exists@^3.0.0: 609 | version "3.0.0" 610 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-3.0.0.tgz#ce0ebeaa5f78cb18925ea7d810d7b59b010fd515" 611 | integrity sha1-zg6+ql94yxiSXqfYENe1mwEP1RU= 612 | 613 | path-is-inside@1.0.2: 614 | version "1.0.2" 615 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 616 | integrity sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM= 617 | 618 | path-key@^2.0.0: 619 | version "2.0.1" 620 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" 621 | integrity sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A= 622 | 623 | path-parse@^1.0.6: 624 | version "1.0.6" 625 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" 626 | integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== 627 | 628 | path-to-regexp@2.2.1: 629 | version "2.2.1" 630 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-2.2.1.tgz#90b617025a16381a879bc82a38d4e8bdeb2bcf45" 631 | integrity sha512-gu9bD6Ta5bwGrrU8muHzVOBFFREpp2iRkVfhBJahwJ6p6Xw20SjT0MxLnwkjOibQmGSYhiUnf2FLe7k+jcFmGQ== 632 | 633 | pify@^3.0.0: 634 | version "3.0.0" 635 | resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" 636 | integrity sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY= 637 | 638 | pseudomap@^1.0.2: 639 | version "1.0.2" 640 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 641 | integrity sha1-8FKijacOYYkX7wqKw0wa5aaChrM= 642 | 643 | punycode@^1.3.2: 644 | version "1.4.1" 645 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 646 | integrity sha1-wNWmOycYgArY4esPpSachN1BhF4= 647 | 648 | punycode@^2.1.0: 649 | version "2.1.1" 650 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" 651 | integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== 652 | 653 | range-parser@1.2.0: 654 | version "1.2.0" 655 | resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" 656 | integrity sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4= 657 | 658 | rc@^1.0.1, rc@^1.1.6: 659 | version "1.2.8" 660 | resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed" 661 | integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw== 662 | dependencies: 663 | deep-extend "^0.6.0" 664 | ini "~1.3.0" 665 | minimist "^1.2.0" 666 | strip-json-comments "~2.0.1" 667 | 668 | read-pkg@^4.0.1: 669 | version "4.0.1" 670 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-4.0.1.tgz#963625378f3e1c4d48c85872b5a6ec7d5d093237" 671 | integrity sha1-ljYlN48+HE1IyFhytabsfV0JMjc= 672 | dependencies: 673 | normalize-package-data "^2.3.2" 674 | parse-json "^4.0.0" 675 | pify "^3.0.0" 676 | 677 | registry-auth-token@3.3.2: 678 | version "3.3.2" 679 | resolved "https://registry.yarnpkg.com/registry-auth-token/-/registry-auth-token-3.3.2.tgz#851fd49038eecb586911115af845260eec983f20" 680 | integrity sha512-JL39c60XlzCVgNrO+qq68FoNb56w/m7JYvGR2jT5iR1xBrUA3Mfx5Twk5rqTThPmQKMWydGmq8oFtDlxfrmxnQ== 681 | dependencies: 682 | rc "^1.1.6" 683 | safe-buffer "^5.0.1" 684 | 685 | registry-url@3.1.0: 686 | version "3.1.0" 687 | resolved "https://registry.yarnpkg.com/registry-url/-/registry-url-3.1.0.tgz#3d4ef870f73dde1d77f0cf9a381432444e174942" 688 | integrity sha1-PU74cPc93h138M+aOBQyRE4XSUI= 689 | dependencies: 690 | rc "^1.0.1" 691 | 692 | require-directory@^2.1.1: 693 | version "2.1.1" 694 | resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42" 695 | integrity sha1-jGStX9MNqxyXbiNE/+f3kqam30I= 696 | 697 | require-main-filename@^2.0.0: 698 | version "2.0.0" 699 | resolved "https://registry.yarnpkg.com/require-main-filename/-/require-main-filename-2.0.0.tgz#d0b329ecc7cc0f61649f62215be69af54aa8989b" 700 | integrity sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg== 701 | 702 | resolve@^1.10.0, resolve@^1.11.0, resolve@^1.14.1, resolve@^1.14.2: 703 | version "1.15.1" 704 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.15.1.tgz#27bdcdeffeaf2d6244b95bb0f9f4b4653451f3e8" 705 | integrity sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w== 706 | dependencies: 707 | path-parse "^1.0.6" 708 | 709 | rollup-plugin-external-globals@^0.5.0: 710 | version "0.5.0" 711 | resolved "https://registry.yarnpkg.com/rollup-plugin-external-globals/-/rollup-plugin-external-globals-0.5.0.tgz#1662cacfb240a6e4e0618db2b79e9feae0134603" 712 | integrity sha512-v3qjync/2wcqdSesNP3qPnYeOnnV39ydCU+2fTxjlmux8uA1VqM4cUVffkgzoDh3TBOEhN8JWAHrN7Hs9ZD0Sg== 713 | dependencies: 714 | estree-walker "^1.0.0" 715 | is-reference "^1.1.4" 716 | magic-string "^0.25.4" 717 | rollup-pluginutils "^2.8.2" 718 | 719 | rollup-plugin-ignore@^1.0.5: 720 | version "1.0.5" 721 | resolved "https://registry.yarnpkg.com/rollup-plugin-ignore/-/rollup-plugin-ignore-1.0.5.tgz#fc16b321b29d054d728dafde808a8a52ec39f024" 722 | integrity sha512-fGDl4eRMpEeSNqZ9WFR3piK47rrFgVzAIFRsJhTc9/P5t1qsScuFeEBfbXbHDnv6yh5OUth8dti+f+dswebV+Q== 723 | 724 | rollup-pluginutils@^2.8.2: 725 | version "2.8.2" 726 | resolved "https://registry.yarnpkg.com/rollup-pluginutils/-/rollup-pluginutils-2.8.2.tgz#72f2af0748b592364dbd3389e600e5a9444a351e" 727 | integrity sha512-EEp9NhnUkwY8aif6bxgovPHMoMoNr2FulJziTndpt5H9RdwC47GSGuII9XxpSdzVGM0GWrNPHV6ie1LTNJPaLQ== 728 | dependencies: 729 | estree-walker "^0.6.1" 730 | 731 | rollup@^1.31.0: 732 | version "1.31.1" 733 | resolved "https://registry.yarnpkg.com/rollup/-/rollup-1.31.1.tgz#4170d6f87148d46e5fbe29b493f8f3ea3453c96f" 734 | integrity sha512-2JREN1YdrS/kpPzEd33ZjtuNbOuBC3ePfuZBdKEybvqcEcszW1ckyVqzcEiEe0nE8sqHK+pbJg+PsAgRJ8+1dg== 735 | dependencies: 736 | "@types/estree" "*" 737 | "@types/node" "*" 738 | acorn "^7.1.0" 739 | 740 | rxjs@^6.5.2: 741 | version "6.5.4" 742 | resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.5.4.tgz#e0777fe0d184cec7872df147f303572d414e211c" 743 | integrity sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q== 744 | dependencies: 745 | tslib "^1.9.0" 746 | 747 | safe-buffer@5.1.2: 748 | version "5.1.2" 749 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" 750 | integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== 751 | 752 | safe-buffer@^5.0.1: 753 | version "5.2.0" 754 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.0.tgz#b74daec49b1148f88c64b68d49b1e815c1f2f519" 755 | integrity sha512-fZEwUGbVl7kouZs1jCdMLdt95hdIv0ZeHg6L7qPeciMZhZ+/gdesW4wgTARkrFWEpspjEATAzUGPG8N2jJiwbg== 756 | 757 | "semver@2 || 3 || 4 || 5": 758 | version "5.7.1" 759 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" 760 | integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== 761 | 762 | serve-handler@6.1.2: 763 | version "6.1.2" 764 | resolved "https://registry.yarnpkg.com/serve-handler/-/serve-handler-6.1.2.tgz#f05b0421a313fff2d257838cba00cbcc512cd2b6" 765 | integrity sha512-RFh49wX7zJmmOVDcIjiDSJnMH+ItQEvyuYLYuDBVoA/xmQSCuj+uRmk1cmBB5QQlI3qOiWKp6p4DUGY+Z5AB2A== 766 | dependencies: 767 | bytes "3.0.0" 768 | content-disposition "0.5.2" 769 | fast-url-parser "1.1.3" 770 | mime-types "2.1.18" 771 | minimatch "3.0.4" 772 | path-is-inside "1.0.2" 773 | path-to-regexp "2.2.1" 774 | range-parser "1.2.0" 775 | 776 | serve@^11.3.0: 777 | version "11.3.0" 778 | resolved "https://registry.yarnpkg.com/serve/-/serve-11.3.0.tgz#1d342e13e310501ecf17b6602f1f35da640d6448" 779 | integrity sha512-AU0g50Q1y5EVFX56bl0YX5OtVjUX1N737/Htj93dQGKuHiuLvVB45PD8Muar70W6Kpdlz8aNJfoUqTyAq9EE/A== 780 | dependencies: 781 | "@zeit/schemas" "2.6.0" 782 | ajv "6.5.3" 783 | arg "2.0.0" 784 | boxen "1.3.0" 785 | chalk "2.4.1" 786 | clipboardy "1.2.3" 787 | compression "1.7.3" 788 | serve-handler "6.1.2" 789 | update-check "1.5.2" 790 | 791 | set-blocking@^2.0.0: 792 | version "2.0.0" 793 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 794 | integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc= 795 | 796 | shebang-command@^1.2.0: 797 | version "1.2.0" 798 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 799 | integrity sha1-RKrGW2lbAzmJaMOfNj/uXer98eo= 800 | dependencies: 801 | shebang-regex "^1.0.0" 802 | 803 | shebang-regex@^1.0.0: 804 | version "1.0.0" 805 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 806 | integrity sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM= 807 | 808 | signal-exit@^3.0.0: 809 | version "3.0.2" 810 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 811 | integrity sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0= 812 | 813 | sourcemap-codec@^1.4.4: 814 | version "1.4.8" 815 | resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" 816 | integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== 817 | 818 | spawn-command@^0.0.2-1: 819 | version "0.0.2-1" 820 | resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0" 821 | integrity sha1-YvXpRmmBwbeW3Fkpk34RycaSG9A= 822 | 823 | spdx-correct@^3.0.0: 824 | version "3.1.0" 825 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-3.1.0.tgz#fb83e504445268f154b074e218c87c003cd31df4" 826 | integrity sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q== 827 | dependencies: 828 | spdx-expression-parse "^3.0.0" 829 | spdx-license-ids "^3.0.0" 830 | 831 | spdx-exceptions@^2.1.0: 832 | version "2.2.0" 833 | resolved "https://registry.yarnpkg.com/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz#2ea450aee74f2a89bfb94519c07fcd6f41322977" 834 | integrity sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA== 835 | 836 | spdx-expression-parse@^3.0.0: 837 | version "3.0.0" 838 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz#99e119b7a5da00e05491c9fa338b7904823b41d0" 839 | integrity sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg== 840 | dependencies: 841 | spdx-exceptions "^2.1.0" 842 | spdx-license-ids "^3.0.0" 843 | 844 | spdx-license-ids@^3.0.0: 845 | version "3.0.5" 846 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz#3694b5804567a458d3c8045842a6358632f62654" 847 | integrity sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q== 848 | 849 | string-width@^2.0.0, string-width@^2.1.1: 850 | version "2.1.1" 851 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 852 | integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw== 853 | dependencies: 854 | is-fullwidth-code-point "^2.0.0" 855 | strip-ansi "^4.0.0" 856 | 857 | string-width@^3.0.0, string-width@^3.1.0: 858 | version "3.1.0" 859 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-3.1.0.tgz#22767be21b62af1081574306f69ac51b62203961" 860 | integrity sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w== 861 | dependencies: 862 | emoji-regex "^7.0.1" 863 | is-fullwidth-code-point "^2.0.0" 864 | strip-ansi "^5.1.0" 865 | 866 | strip-ansi@^4.0.0: 867 | version "4.0.0" 868 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 869 | integrity sha1-qEeQIusaw2iocTibY1JixQXuNo8= 870 | dependencies: 871 | ansi-regex "^3.0.0" 872 | 873 | strip-ansi@^5.0.0, strip-ansi@^5.1.0, strip-ansi@^5.2.0: 874 | version "5.2.0" 875 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-5.2.0.tgz#8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae" 876 | integrity sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA== 877 | dependencies: 878 | ansi-regex "^4.1.0" 879 | 880 | strip-eof@^1.0.0: 881 | version "1.0.0" 882 | resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" 883 | integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8= 884 | 885 | strip-json-comments@~2.0.1: 886 | version "2.0.1" 887 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 888 | integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo= 889 | 890 | supports-color@^5.3.0: 891 | version "5.5.0" 892 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" 893 | integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== 894 | dependencies: 895 | has-flag "^3.0.0" 896 | 897 | supports-color@^6.1.0: 898 | version "6.1.0" 899 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3" 900 | integrity sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ== 901 | dependencies: 902 | has-flag "^3.0.0" 903 | 904 | term-size@^1.2.0: 905 | version "1.2.0" 906 | resolved "https://registry.yarnpkg.com/term-size/-/term-size-1.2.0.tgz#458b83887f288fc56d6fffbfad262e26638efa69" 907 | integrity sha1-RYuDiH8oj8Vtb/+/rSYuJmOO+mk= 908 | dependencies: 909 | execa "^0.7.0" 910 | 911 | tree-kill@^1.2.2: 912 | version "1.2.2" 913 | resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" 914 | integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== 915 | 916 | tslib@^1.10.0, tslib@^1.9.0: 917 | version "1.11.0" 918 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.0.tgz#f1f3528301621a53220d58373ae510ff747a66bc" 919 | integrity sha512-BmndXUtiTn/VDDrJzQE7Mm22Ix3PxgLltW9bSNLoeCY31gnG2OPx0QqJnuc9oMIKioYrz487i6K9o4Pdn0j+Kg== 920 | 921 | typescript@latest: 922 | version "3.8.2" 923 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.2.tgz#91d6868aaead7da74f493c553aeff76c0c0b1d5a" 924 | integrity sha512-EgOVgL/4xfVrCMbhYKUQTdF37SQn4Iw73H5BgCrF1Abdun7Kwy/QZsE/ssAy0y4LxBbvua3PIbFsbRczWWnDdQ== 925 | 926 | update-check@1.5.2: 927 | version "1.5.2" 928 | resolved "https://registry.yarnpkg.com/update-check/-/update-check-1.5.2.tgz#2fe09f725c543440b3d7dabe8971f2d5caaedc28" 929 | integrity sha512-1TrmYLuLj/5ZovwUS7fFd1jMH3NnFDN1y1A8dboedIDt7zs/zJMo6TwwlhYKkSeEwzleeiSBV5/3c9ufAQWDaQ== 930 | dependencies: 931 | registry-auth-token "3.3.2" 932 | registry-url "3.1.0" 933 | 934 | uri-js@^4.2.2: 935 | version "4.2.2" 936 | resolved "https://registry.yarnpkg.com/uri-js/-/uri-js-4.2.2.tgz#94c540e1ff772956e2299507c010aea6c8838eb0" 937 | integrity sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ== 938 | dependencies: 939 | punycode "^2.1.0" 940 | 941 | validate-npm-package-license@^3.0.1: 942 | version "3.0.4" 943 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" 944 | integrity sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew== 945 | dependencies: 946 | spdx-correct "^3.0.0" 947 | spdx-expression-parse "^3.0.0" 948 | 949 | vary@~1.1.2: 950 | version "1.1.2" 951 | resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" 952 | integrity sha1-IpnwLG3tMNSllhsLn3RSShj2NPw= 953 | 954 | which-module@^2.0.0: 955 | version "2.0.0" 956 | resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a" 957 | integrity sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho= 958 | 959 | which@^1.2.9: 960 | version "1.3.1" 961 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" 962 | integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== 963 | dependencies: 964 | isexe "^2.0.0" 965 | 966 | widest-line@^2.0.0: 967 | version "2.0.1" 968 | resolved "https://registry.yarnpkg.com/widest-line/-/widest-line-2.0.1.tgz#7438764730ec7ef4381ce4df82fb98a53142a3fc" 969 | integrity sha512-Ba5m9/Fa4Xt9eb2ELXt77JxVDV8w7qQrH0zS/TWSJdLyAwQjWoOzpzj5lwVftDz6n/EOu3tNACS84v509qwnJA== 970 | dependencies: 971 | string-width "^2.1.1" 972 | 973 | wrap-ansi@^5.1.0: 974 | version "5.1.0" 975 | resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-5.1.0.tgz#1fd1f67235d5b6d0fee781056001bfb694c03b09" 976 | integrity sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q== 977 | dependencies: 978 | ansi-styles "^3.2.0" 979 | string-width "^3.0.0" 980 | strip-ansi "^5.0.0" 981 | 982 | y18n@^4.0.0: 983 | version "4.0.0" 984 | resolved "https://registry.yarnpkg.com/y18n/-/y18n-4.0.0.tgz#95ef94f85ecc81d007c264e190a120f0a3c8566b" 985 | integrity sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w== 986 | 987 | yallist@^2.1.2: 988 | version "2.1.2" 989 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 990 | integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI= 991 | 992 | yargs-parser@^13.1.1: 993 | version "13.1.1" 994 | resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-13.1.1.tgz#d26058532aa06d365fe091f6a1fc06b2f7e5eca0" 995 | integrity sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ== 996 | dependencies: 997 | camelcase "^5.0.0" 998 | decamelize "^1.2.0" 999 | 1000 | yargs@^13.3.0: 1001 | version "13.3.0" 1002 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-13.3.0.tgz#4c657a55e07e5f2cf947f8a366567c04a0dedc83" 1003 | integrity sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA== 1004 | dependencies: 1005 | cliui "^5.0.0" 1006 | find-up "^3.0.0" 1007 | get-caller-file "^2.0.1" 1008 | require-directory "^2.1.1" 1009 | require-main-filename "^2.0.0" 1010 | set-blocking "^2.0.0" 1011 | string-width "^3.0.0" 1012 | which-module "^2.0.0" 1013 | y18n "^4.0.0" 1014 | yargs-parser "^13.1.1" 1015 | --------------------------------------------------------------------------------