dependency-path
Advanced tools
Comparing version 8.0.10 to 8.0.11
{ | ||
"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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
15579
+ Added@pnpm/types@7.10.0(transitive)
- Removed@pnpm/types@7.9.0(transitive)
Updated@pnpm/types@7.10.0