@pnpm/pkg-manifest.utils 1100.2.0 → 1100.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,3 @@
1
- import type { DependenciesField, ProjectManifest } from '@pnpm/types';
2
- export declare const RUNTIME_NAMES: readonly ['node', 'deno', 'bun'];
3
- export type RuntimeName = (typeof RUNTIME_NAMES)[number];
4
- export declare function isRuntimeAlias(alias: string): alias is RuntimeName;
1
+ import { type DependenciesField, type ProjectManifest } from '@pnpm/types';
5
2
  export declare function convertEnginesRuntimeToDependencies(manifest: ProjectManifest, enginesFieldName: 'devEngines' | 'engines', dependenciesFieldName: DependenciesField): void;
6
3
  export declare function applyRuntimeOnFailOverride(manifest: ProjectManifest, onFailOverride: 'ignore' | 'warn' | 'error' | 'download'): void;
@@ -1,8 +1,5 @@
1
1
  import { globalWarn } from '@pnpm/logger';
2
- export const RUNTIME_NAMES = ['node', 'deno', 'bun'];
3
- export function isRuntimeAlias(alias) {
4
- return RUNTIME_NAMES.includes(alias);
5
- }
2
+ import { RUNTIME_NAMES, } from '@pnpm/types';
6
3
  export function convertEnginesRuntimeToDependencies(manifest, enginesFieldName, dependenciesFieldName) {
7
4
  for (const runtimeName of RUNTIME_NAMES) {
8
5
  const enginesFieldRuntime = manifest[enginesFieldName]?.runtime;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnpm/pkg-manifest.utils",
3
- "version": "1100.2.0",
3
+ "version": "1100.2.2",
4
4
  "description": "Utils for dealing with package manifest",
5
5
  "keywords": [
6
6
  "pnpm",
@@ -8,7 +8,10 @@
8
8
  ],
9
9
  "license": "MIT",
10
10
  "funding": "https://opencollective.com/pnpm",
11
- "repository": "https://github.com/pnpm/pnpm/tree/main/pkg-manifest/utils",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/pnpm/pnpm/tree/main/pkg-manifest/utils"
14
+ },
12
15
  "homepage": "https://github.com/pnpm/pnpm/tree/main/pkg-manifest/utils#readme",
13
16
  "bugs": {
14
17
  "url": "https://github.com/pnpm/pnpm/issues"
@@ -24,20 +27,20 @@
24
27
  "!*.map"
25
28
  ],
26
29
  "dependencies": {
27
- "semver": "^7.7.2",
28
- "@pnpm/core-loggers": "1100.1.1",
29
- "@pnpm/deps.peer-range": "1100.0.1",
30
- "@pnpm/types": "1101.1.1",
31
- "@pnpm/error": "1100.0.0"
30
+ "semver": "^7.8.1",
31
+ "@pnpm/core-loggers": "1100.1.3",
32
+ "@pnpm/error": "1100.0.0",
33
+ "@pnpm/types": "1101.3.0",
34
+ "@pnpm/deps.peer-range": "1100.0.1"
32
35
  },
33
36
  "peerDependencies": {
34
- "@pnpm/logger": ">=1001.0.0 <1002.0.0"
37
+ "@pnpm/logger": "^1001.0.1"
35
38
  },
36
39
  "devDependencies": {
37
40
  "@jest/globals": "30.3.0",
38
41
  "@types/semver": "7.7.1",
39
- "@pnpm/logger": "1100.0.0",
40
- "@pnpm/pkg-manifest.utils": "1100.2.0"
42
+ "@pnpm/pkg-manifest.utils": "1100.2.2",
43
+ "@pnpm/logger": "1100.0.0"
41
44
  },
42
45
  "engines": {
43
46
  "node": ">=22.13"