{"_id":"@pnpm/deps.path@1101.0.8","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"dist":{"shasum":"56090a46b92d236f588c9b5fd310148cceec4212","tarball":"http://registry-npm.ywwl.com/@pnpm/deps.path/download/@pnpm/deps.path-1101.0.8.tgz","fileCount":8,"integrity":"sha512-SoGAGzBKszlI7rM5Fgtyl7DDSXND6/cIkFuABun1e1sZhwncRqNVTrQsc8ryq5K4m71lnZNCefam2mamHFIyvw==","signatures":[{"sig":"MEUCIQDPR33C9whZsHAdXGmNHPp446LqtmzPOWRTtb+Rc7DImAIgNiv1/GQTbR3CB8HfZ1eJ67sQsgIAb8Ec4kPfrvAt6YY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDR+EpLxsMpVyE1zl7k+cKYXHlGtlRrQfB+0qJl5vokAAIgKIIMZ1kQu39II+/lfTIl5IgF5/R5W+vrMxFKqqQWxM4="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@pnpm%2fdeps.path@1101.0.8","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":44777,"size":13759,"noattachment":false,"key":"/@pnpm/deps.path/-/@pnpm/deps.path-1101.0.8.tgz"},"jest":{"preset":"@pnpm/jest-config"},"main":"lib/index.js","name":"@pnpm/deps.path","type":"module","types":"lib/index.d.ts","engines":{"node":">=22.13"},"exports":{".":"./lib/index.js"},"funding":"https://opencollective.com/pnpm","license":"MIT","scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","test":"pn compile && pn .test",".test":"cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest","compile":"tsgo --build && pn lint --fix"},"version":"1101.0.8","_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"homepage":"https://github.com/pnpm/pnpm/tree/main/pnpm11/deps/path#readme","keywords":["pnpm","pnpm11","node_modules","path"],"repository":{"url":"https://github.com/pnpm/pnpm/tree/main/pnpm11/deps/path","type":"git"},"description":"Utilities for working with symlinked node_modules","directories":{},"maintainers":[{"name":"pnpmuser","email":"publish-bot@pnpm.io"},{"name":"zkochan","email":"z@kochan.io"}],"dependencies":{"semver":"^7.8.5","@pnpm/types":"1102.1.3","@pnpm/crypto.hash":"1100.0.8"},"_hasShrinkwrap":false,"devDependencies":{"@jest/globals":"30.4.1","@types/semver":"7.8.0","@pnpm/deps.path":"1101.0.8"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/deps.path_1101.0.8_1793060605938_0.9203448630730248"},"readme":"# @pnpm/deps.path\n\n> Utilities for working with symlinked node_modules\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/deps.path.svg)](https://npmx.dev/package/deps.path)\n<!--/@-->\n\nLike `path` but for packages in a symlinked `node_modules`. Symlinked `node_modules` is a unique dependencies layout that\n[pnpm](https://github.com/pnpm/pnpm) creates.\n\n## Installation\n\n```sh\npnpm add @pnpm/deps.path\n```\n\n## Usage\n\n<!--/* cspell:disable */-->\n<!--@example('./example.js')-->\n```js\nconst dependencyPath = require('@pnpm/deps.path')\n\nconst registry = 'https://registry.npmjs.org/'\n\nconsole.log(dependencyPath.isAbsolute('/foo/1.0.0'))\n//> false\n\n// it is confusing currently because relative starts with /.\n// It will be changed in the future to vice versa\nconsole.log(dependencyPath.resolve(registry, '/foo/1.0.0'))\n//> registry.npmjs.org/foo/1.0.0\n\nconsole.log(dependencyPath.relative(registry, 'registry.npmjs.org/foo/1.0.0'))\n//> /foo/1.0.0\n\nconsole.log(dependencyPath.refToAbsolute('1.0.1', 'foo', registry))\n//> registry.npmjs.org/foo/1.0.1\n\nconsole.log(dependencyPath.refToAbsolute('github.com/foo/bar/twe0jger043t0ew', 'foo', registry))\n//> github.com/foo/bar/twe0jger043t0ew\n\nconsole.log(dependencyPath.refToRelative('1.0.1', 'foo', registry))\n//> /foo/1.0.1\n\nconsole.log(dependencyPath.parse('/foo/2.0.0'))\n//> { isAbsolute: false, name: 'foo', version: '2.0.0' }\n```\n<!--/@-->\n<!--/* cspell:enable */-->\n\n## License\n\nMIT\n","publish_time":1793060606039,"_cnpm_publish_time":1793060606039,"dist-tags":{"latest":"1101.0.8"}}