{"_id":"vscode-uri@3.2.0","tag":"latest","bugs":{"url":"https://github.com/microsoft/vscode-uri/issues"},"dist":{"shasum":"1cb1fd3cee7426b66732afc3fb86343d596d5fb4","tarball":"http://registry-npm.ywwl.com/vscode-uri/download/vscode-uri-3.2.0.tgz","fileCount":17,"integrity":"sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==","signatures":[{"sig":"MEQCIDXzsR6aFOGNw9ML8raCg19Kh5Lks+vNJbGwwoEZ/AJdAiA3vhRQiPl1RSnEccaI70fJR0R8vVQaWHKmR6I+wnR8Dw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDa5xlqU6Vm4wrZRjkHnTRlROAefl0iERR52p6Qj5wjeQIhAPvlGearUf+s6gBQlAJgzAPZA9e/FQeMM1bRXTwG/eVc"}],"unpackedSize":204769,"size":59281,"noattachment":false,"key":"/vscode-uri/-/vscode-uri-3.2.0.tgz"},"main":"./lib/umd/index.js","name":"vscode-uri","_from":"file:M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\28752f34-c893-4d3a-9b1a-63cccc3f8412\\vscode-uri-3.2.0.tgz","author":{"name":"Microsoft"},"exports":{"types":"./lib/umd/index.d.ts","import":"./lib/esm/index.mjs","browser":"./lib/esm/index.mjs","require":"./lib/umd/index.js"},"license":"MIT","scripts":{"test":"tsc -p ./src && npm run pack-dev && mocha","clean":"rimraf lib","compile":"tsc -p ./src","pack-dev":"webpack","prepublish":"npm run pack-production","pack-production":"webpack --mode=production"},"typings":"./lib/umd/index","version":"3.2.0","_npmUser":{"name":"microsoft1es","email":"npmjs@microsoft.com"},"homepage":"https://github.com/microsoft/vscode-uri#readme","_resolved":"M:\\SvcFab\\_App\\MS.Ess.PackageManager.Publisher_App1\\temp\\28752f34-c893-4d3a-9b1a-63cccc3f8412\\vscode-uri-3.2.0.tgz","_integrity":"sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==","repository":{"url":"git+https://github.com/microsoft/vscode-uri.git","type":"git"},"description":"The URI implementation that is used by VS Code and its extensions","directories":{},"maintainers":[{"name":"microsoft1es","email":"npmjs@microsoft.com"},{"name":"microsoft-oss-releases","email":"microsoft-oss-publishing@microsoft.com"},{"name":"alexandrudima","email":"alexdima@microsoft.com"},{"name":"kaimaetzel","email":"kamaet@microsoft.com"},{"name":"sbatten","email":"steven.m.batten@outlook.com"},{"name":"lszomoru","email":"lszomoru@microsoft.com"},{"name":"vscode-bot","email":"vscode-bot-npm@microsoft.com"}],"resolutions":{"mocha/diff":"8.0.3","mocha/serialize-javascript":"7.0.5"},"sideEffects":false,"_nodeVersion":"18.5.0","_hasShrinkwrap":false,"devDependencies":{"mocha":"^11.1.0","rimraf":"^5.0.5","webpack":"^5.88.2","ts-loader":"^9.4.4","typescript":"^5.2.2","@types/node":"20.x","webpack-cli":"^5.1.4","@types/mocha":"^10.0.2","path-browserify":"^1.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/vscode-uri_3.2.0_1787611282458_0.16131503771546019"},"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## Usage: Util\n\nThis module also exports a `Utils` package which is an extension, not part of `vscode.Uri`, and useful for path-math. There is: \n\n* `Utils.joinPath(URI, paths): URI`\n* `Utils.resolvePath(URI, paths): URI`\n* `Utils.dirname(URI): string`\n* `Utils.basename(URI): string`\n* `Utils.extname(URI): string`\n\nAll util use posix path-math as defined by the node.js path module. \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","publish_time":1787611282545,"_cnpm_publish_time":1787611282545,"dist-tags":{"latest":"3.2.0"}}