@pnpm/resolving.resolver-base
Advanced tools
+8
-0
@@ -91,5 +91,13 @@ import type { DependencyManifest, PackageManifest, PackageVersionPolicy, PinnedVersion, PkgResolutionId, ProjectRootDir, SupportedArchitectures, TrustPolicy } from '@pnpm/types'; | ||
| export interface ResolutionVerifier { | ||
| /** | ||
| * `ctx.nonSemverVersion` is set when the lockfile entry is keyed by a | ||
| * non-semver reference (URL tarball, git, etc.) rather than a registry | ||
| * `name@version`. Verifiers that only police registry entries use it to | ||
| * skip deliberate non-registry deps, which can still carry a semver | ||
| * `version` copied from the resolved manifest. | ||
| */ | ||
| verify: (resolution: Resolution, ctx: { | ||
| name: string; | ||
| version: string; | ||
| nonSemverVersion?: string; | ||
| }) => Promise<ResolutionVerification>; | ||
@@ -96,0 +104,0 @@ /** |
+7
-4
| { | ||
| "name": "@pnpm/resolving.resolver-base", | ||
| "version": "1100.3.1", | ||
| "version": "1100.4.0", | ||
| "description": "Types for pnpm-compatible resolvers", | ||
@@ -12,3 +12,6 @@ "keywords": [ | ||
| "funding": "https://opencollective.com/pnpm", | ||
| "repository": "https://github.com/pnpm/pnpm/tree/main/resolving/resolver-base", | ||
| "repository": { | ||
| "type": "git", | ||
| "url": "https://github.com/pnpm/pnpm/tree/main/resolving/resolver-base" | ||
| }, | ||
| "homepage": "https://github.com/pnpm/pnpm/tree/main/resolving/resolver-base#readme", | ||
@@ -29,6 +32,6 @@ "bugs": { | ||
| "dependencies": { | ||
| "@pnpm/types": "1101.2.0" | ||
| "@pnpm/types": "1101.3.0" | ||
| }, | ||
| "devDependencies": { | ||
| "@pnpm/resolving.resolver-base": "1100.3.1" | ||
| "@pnpm/resolving.resolver-base": "1100.4.0" | ||
| }, | ||
@@ -35,0 +38,0 @@ "engines": { |
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.
16367
2.76%328
2.5%0
-100%+ Added
- Removed
Updated