UNPKG

@inst/vscode-bin-darwin

Version:

BINARY ONLY - VSCode binary deployment for macOS

68 lines (67 loc) 4.26 kB
{ "_args": [ [ { "raw": "vscode-uri@https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.1.tgz", "scope": null, "escapedName": "vscode-uri", "name": "vscode-uri", "rawSpec": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.1.tgz", "spec": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.1.tgz", "type": "remote" }, "/Users/code/tfs/agent3/_work/2/s/extensions/html/server" ] ], "_from": "vscode-uri@latest", "_id": "vscode-uri@1.0.1", "_inCache": true, "_location": "/vscode-uri", "_phantomChildren": {}, "_requested": { "raw": "vscode-uri@https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.1.tgz", "scope": null, "escapedName": "vscode-uri", "name": "vscode-uri", "rawSpec": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.1.tgz", "spec": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.1.tgz", "type": "remote" }, "_requiredBy": [ "/", "/vscode-html-languageservice", "/vscode-languageserver" ], "_resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.1.tgz", "_shasum": "11a86befeac3c4aa3ec08623651a3c81a6d0bbc8", "_shrinkwrap": null, "_spec": "vscode-uri@https://registry.npmjs.org/vscode-uri/-/vscode-uri-1.0.1.tgz", "_where": "/Users/code/tfs/agent3/_work/2/s/extensions/html/server", "author": { "name": "Microsoft" }, "bugs": { "url": "https://github.com/Microsoft/vscode-uri/issues" }, "dependencies": {}, "description": "The URI implementation that is used by VS Code and its extensions", "devDependencies": { "typescript": "^2.0.3" }, "homepage": "https://github.com/Microsoft/vscode-uri#readme", "license": "MIT", "main": "lib/index.js", "name": "vscode-uri", "optionalDependencies": {}, "readme": "## vscode-uri\n\n[![Build Status](https://travis-ci.org/Microsoft/vscode-uri.svg?branch=master)](https://travis-ci.org/Microsoft/vscode-uri)\n\nThis module contains the URI implementation that is used by VS Code and its extensions. \nIt has support for parsing a string into `scheme`, `authority`, `path`, `query`, and\n`fragment` URI components as defined in: http://tools.ietf.org/html/rfc3986\n\n```\n foo://example.com:8042/over/there?name=ferret#nose\n \\_/ \\______________/\\_________/ \\_________/ \\__/\n | | | | |\nscheme authority path query fragment\n | _____________________|__\n / \\ / \\\n urn:example:animal:ferret:nose\n```\n\n## Usage\n\n```js\nimport Uri from 'vscode-uri'\n\n// parse an Uri from string\n\nlet uri = Uri.parse('https://code.visualstudio.com/docs/extensions/overview#frag')\n\nassert.ok(uri.scheme === 'https');\nassert.ok(uri.authority === 'code.visualstudio.com');\nassert.ok(uri.path === '/docs/extensions/overview');\nassert.ok(uri.query === '');\nassert.ok(uri.fragment === 'frag');\nassert.ok(uri.toString() === 'https://code.visualstudio.com/docs/extensions/overview#frag')\n\n\n// create an Uri from a fs path\n\nlet uri = Uri.file('/users/me/c#-projects/');\n\nassert.ok(uri.scheme === 'file');\nassert.ok(uri.authority === '');\nassert.ok(uri.path === '/users/me/c#-projects/');\nassert.ok(uri.query === '');\nassert.ok(uri.fragment === '');\nassert.ok(uri.toString() === 'file:///users/me/c%23-projects/')\n```\n\n## Contributing\n\nThe source of this module is taken straight from the [vscode](https://github.com/Microsoft/vscode)-sources and because of that issues and pull request should be created in that repository. Thanks and Happy Coding!\n\n## Code of Conduct\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/Microsoft/vscode-uri.git" }, "scripts": { "compile": "tsc && tsc -p spec/tsconfig.json" }, "typings": "./lib/index", "version": "1.0.1" }