Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dependency-path

Package Overview
Dependencies
Maintainers
2
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependency-path - npm Package Compare versions

Comparing version 8.0.10 to 8.0.11

15

package.json
{
"name": "dependency-path",
"version": "8.0.10",
"version": "8.0.11",
"description": "Utilities for working with symlinked node_modules",

@@ -11,3 +11,3 @@ "main": "lib/index.js",

],
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/dependency-path",
"repository": "https://github.com/pnpm/pnpm/blob/main/packages/dependency-path",
"keywords": [

@@ -26,5 +26,5 @@ "pnpm6",

},
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/dependency-path#readme",
"homepage": "https://github.com/pnpm/pnpm/blob/main/packages/dependency-path#readme",
"dependencies": {
"@pnpm/types": "7.9.0",
"@pnpm/types": "7.10.0",
"encode-registry": "^3.0.0",

@@ -36,3 +36,3 @@ "normalize-path": "^3.0.0",

"@types/semver": "^7.3.4",
"dependency-path": "8.0.10"
"dependency-path": "8.0.11"
},

@@ -44,5 +44,4 @@ "funding": "https://opencollective.com/pnpm",

"test": "pnpm run compile && pnpm run _test",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build && pnpm run lint -- --fix"
},
"readme": "# dependency-path\n\n> Utilities for working with symlinked node_modules\n\n<!--@shields('npm')-->\n[![npm version](https://img.shields.io/npm/v/dependency-path.svg)](https://www.npmjs.com/package/dependency-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 dependency-path\n```\n\n## Usage\n\n<!--@example('./example.js')-->\n```js\nconst dependencyPath = require('dependency-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\n## License\n\nMIT\n"
"compile": "tsc --build && pnpm run lint --fix"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc