@pnpm/lockfile.filtering 1001.0.31 → 1100.0.1

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,5 +1,5 @@
1
- import { type ProjectSnapshot } from '@pnpm/lockfile.types';
2
- import { type DependenciesField } from '@pnpm/types';
1
+ import type { ProjectSnapshot } from '@pnpm/lockfile.types';
2
+ import type { DependenciesField } from '@pnpm/types';
3
3
  export declare function filterImporter(importer: ProjectSnapshot, include: {
4
4
  [dependenciesField in DependenciesField]: boolean;
5
5
  }): ProjectSnapshot;
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filterImporter = filterImporter;
4
- function filterImporter(importer, include) {
1
+ export function filterImporter(importer, include) {
5
2
  return {
6
3
  dependencies: !include.dependencies ? {} : importer.dependencies ?? {},
7
4
  devDependencies: !include.devDependencies ? {} : importer.devDependencies ?? {},
@@ -1,5 +1,5 @@
1
- import { type LockfileObject } from '@pnpm/lockfile.types';
2
- import { type DependenciesField, type DepPath } from '@pnpm/types';
1
+ import type { LockfileObject } from '@pnpm/lockfile.types';
2
+ import type { DependenciesField, DepPath } from '@pnpm/types';
3
3
  export declare function filterLockfile(lockfile: LockfileObject, opts: {
4
4
  include: {
5
5
  [dependenciesField in DependenciesField]: boolean;
@@ -1,9 +1,6 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filterLockfile = filterLockfile;
4
- const filterLockfileByImporters_js_1 = require("./filterLockfileByImporters.js");
5
- function filterLockfile(lockfile, opts) {
6
- return (0, filterLockfileByImporters_js_1.filterLockfileByImporters)(lockfile, Object.keys(lockfile.importers), {
1
+ import { filterLockfileByImporters } from './filterLockfileByImporters.js';
2
+ export function filterLockfile(lockfile, opts) {
3
+ return filterLockfileByImporters(lockfile, Object.keys(lockfile.importers), {
7
4
  ...opts,
8
5
  failOnMissingDependencies: false,
9
6
  });
@@ -1,5 +1,5 @@
1
- import { type LockfileObject } from '@pnpm/lockfile.types';
2
- import { type DependenciesField, type DepPath, type ProjectId } from '@pnpm/types';
1
+ import type { LockfileObject } from '@pnpm/lockfile.types';
2
+ import type { DependenciesField, DepPath, ProjectId } from '@pnpm/types';
3
3
  export declare function filterLockfileByImporters(lockfile: LockfileObject, importerIds: ProjectId[], opts: {
4
4
  include: {
5
5
  [dependenciesField in DependenciesField]: boolean;
@@ -1,22 +1,19 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filterLockfileByImporters = filterLockfileByImporters;
4
- const constants_1 = require("@pnpm/constants");
5
- const error_1 = require("@pnpm/error");
6
- const lockfile_walker_1 = require("@pnpm/lockfile.walker");
7
- const logger_1 = require("@pnpm/logger");
8
- const filterImporter_js_1 = require("./filterImporter.js");
9
- const lockfileLogger = (0, logger_1.logger)('lockfile');
10
- function filterLockfileByImporters(lockfile, importerIds, opts) {
1
+ import { WANTED_LOCKFILE } from '@pnpm/constants';
2
+ import { LockfileMissingDependencyError } from '@pnpm/error';
3
+ import { lockfileWalker } from '@pnpm/lockfile.walker';
4
+ import { logger } from '@pnpm/logger';
5
+ import { filterImporter } from './filterImporter.js';
6
+ const lockfileLogger = logger('lockfile');
7
+ export function filterLockfileByImporters(lockfile, importerIds, opts) {
11
8
  const packages = {};
12
9
  if (lockfile.packages != null) {
13
- pkgAllDeps((0, lockfile_walker_1.lockfileWalker)(lockfile, importerIds, { include: opts.include, skipped: opts.skipped }).step, packages, {
10
+ pkgAllDeps(lockfileWalker(lockfile, importerIds, { include: opts.include, skipped: opts.skipped }).step, packages, {
14
11
  failOnMissingDependencies: opts.failOnMissingDependencies,
15
12
  });
16
13
  }
17
14
  const importers = { ...lockfile.importers };
18
15
  for (const importerId of importerIds) {
19
- importers[importerId] = (0, filterImporter_js_1.filterImporter)(lockfile.importers[importerId], opts.include);
16
+ importers[importerId] = filterImporter(lockfile.importers[importerId], opts.include);
20
17
  }
21
18
  return {
22
19
  ...lockfile,
@@ -31,9 +28,9 @@ function pkgAllDeps(step, pickedPackages, opts) {
31
28
  }
32
29
  for (const depPath of step.missing) {
33
30
  if (opts.failOnMissingDependencies) {
34
- throw new error_1.LockfileMissingDependencyError(depPath);
31
+ throw new LockfileMissingDependencyError(depPath);
35
32
  }
36
- lockfileLogger.debug(`No entry for "${depPath}" in ${constants_1.WANTED_LOCKFILE}`);
33
+ lockfileLogger.debug(`No entry for "${depPath}" in ${WANTED_LOCKFILE}`);
37
34
  }
38
35
  }
39
36
  //# sourceMappingURL=filterLockfileByImporters.js.map
@@ -1,5 +1,5 @@
1
- import { type LockfileObject } from '@pnpm/lockfile.types';
2
- import { type SupportedArchitectures, type DependenciesField, type ProjectId } from '@pnpm/types';
1
+ import type { LockfileObject } from '@pnpm/lockfile.types';
2
+ import type { DependenciesField, ProjectId, SupportedArchitectures } from '@pnpm/types';
3
3
  export interface FilterLockfileResult {
4
4
  lockfile: LockfileObject;
5
5
  selectedImporterIds: ProjectId[];
@@ -1,49 +1,17 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
- var __importDefault = (this && this.__importDefault) || function (mod) {
26
- return (mod && mod.__esModule) ? mod : { "default": mod };
27
- };
28
- Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.filterLockfileByEngine = filterLockfileByEngine;
30
- exports.filterLockfileByImportersAndEngine = filterLockfileByImportersAndEngine;
31
- const constants_1 = require("@pnpm/constants");
32
- const error_1 = require("@pnpm/error");
33
- const lockfile_utils_1 = require("@pnpm/lockfile.utils");
34
- const logger_1 = require("@pnpm/logger");
35
- const package_is_installable_1 = require("@pnpm/package-is-installable");
36
- const dp = __importStar(require("@pnpm/dependency-path"));
37
- const map_1 = __importDefault(require("ramda/src/map"));
38
- const pickBy_1 = __importDefault(require("ramda/src/pickBy"));
39
- const unnest_1 = __importDefault(require("ramda/src/unnest"));
40
- const filterImporter_js_1 = require("./filterImporter.js");
41
- const lockfileLogger = (0, logger_1.logger)('lockfile');
42
- function filterLockfileByEngine(lockfile, opts) {
1
+ import { packageIsInstallable } from '@pnpm/config.package-is-installable';
2
+ import { WANTED_LOCKFILE } from '@pnpm/constants';
3
+ import * as dp from '@pnpm/deps.path';
4
+ import { LockfileMissingDependencyError } from '@pnpm/error';
5
+ import { nameVerFromPkgSnapshot } from '@pnpm/lockfile.utils';
6
+ import { logger } from '@pnpm/logger';
7
+ import { map as mapValues, pickBy, unnest } from 'ramda';
8
+ import { filterImporter } from './filterImporter.js';
9
+ const lockfileLogger = logger('lockfile');
10
+ export function filterLockfileByEngine(lockfile, opts) {
43
11
  const importerIds = Object.keys(lockfile.importers);
44
12
  return filterLockfileByImportersAndEngine(lockfile, importerIds, opts);
45
13
  }
46
- function filterLockfileByImportersAndEngine(lockfile, importerIds, opts) {
14
+ export function filterLockfileByImportersAndEngine(lockfile, importerIds, opts) {
47
15
  const importerIdSet = new Set(importerIds);
48
16
  const directDepPaths = toImporterDepPaths(lockfile, importerIds, {
49
17
  include: opts.include,
@@ -61,10 +29,10 @@ function filterLockfileByImportersAndEngine(lockfile, importerIds, opts) {
61
29
  supportedArchitectures: opts.supportedArchitectures,
62
30
  })
63
31
  : {};
64
- const importers = (0, map_1.default)((importer) => {
65
- const newImporter = (0, filterImporter_js_1.filterImporter)(importer, opts.include);
32
+ const importers = mapValues((importer) => {
33
+ const newImporter = filterImporter(importer, opts.include);
66
34
  if (newImporter.optionalDependencies != null) {
67
- newImporter.optionalDependencies = (0, pickBy_1.default)((ref, depName) => {
35
+ newImporter.optionalDependencies = pickBy((ref, depName) => {
68
36
  const depPath = dp.refToRelative(ref, depName);
69
37
  return !depPath || packages[depPath] != null;
70
38
  }, newImporter.optionalDependencies);
@@ -92,9 +60,9 @@ function pkgAllDeps(ctx, depPaths, parentIsInstallable, opts) {
92
60
  const pkgSnapshot = ctx.lockfile.packages[depPath];
93
61
  if (!pkgSnapshot && !depPath.startsWith('link:')) {
94
62
  if (opts.failOnMissingDependencies) {
95
- throw new error_1.LockfileMissingDependencyError(depPath);
63
+ throw new LockfileMissingDependencyError(depPath);
96
64
  }
97
- lockfileLogger.debug(`No entry for "${depPath}" in ${constants_1.WANTED_LOCKFILE}`);
65
+ lockfileLogger.debug(`No entry for "${depPath}" in ${WANTED_LOCKFILE}`);
98
66
  continue;
99
67
  }
100
68
  let installable;
@@ -106,7 +74,7 @@ function pkgAllDeps(ctx, depPaths, parentIsInstallable, opts) {
106
74
  }
107
75
  else {
108
76
  const pkg = {
109
- ...(0, lockfile_utils_1.nameVerFromPkgSnapshot)(depPath, pkgSnapshot),
77
+ ...nameVerFromPkgSnapshot(depPath, pkgSnapshot),
110
78
  cpu: pkgSnapshot.cpu,
111
79
  engines: pkgSnapshot.engines,
112
80
  os: pkgSnapshot.os,
@@ -115,7 +83,7 @@ function pkgAllDeps(ctx, depPaths, parentIsInstallable, opts) {
115
83
  // TODO: depPath is not the package ID. Should be fixed
116
84
  installable =
117
85
  opts.includeIncompatiblePackages ||
118
- (0, package_is_installable_1.packageIsInstallable)(pkgSnapshot.id ?? depPath, pkg, {
86
+ packageIsInstallable(pkgSnapshot.id ?? depPath, pkg, {
119
87
  engineStrict: opts.engineStrict,
120
88
  lockfileDir: opts.lockfileDir,
121
89
  nodeVersion: opts.currentEngine.nodeVersion,
@@ -157,7 +125,7 @@ function toImporterDepPaths(lockfile, importerIds, opts) {
157
125
  : {}),
158
126
  }))
159
127
  .map(Object.entries);
160
- let { depPaths, importerIds: nextImporterIds } = parseDepRefs((0, unnest_1.default)(importerDeps), lockfile);
128
+ let { depPaths, importerIds: nextImporterIds } = parseDepRefs(unnest(importerDeps), lockfile);
161
129
  if (!nextImporterIds.length) {
162
130
  return depPaths;
163
131
  }
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { filterLockfile } from './filterLockfile.js';
2
2
  export { filterLockfileByImporters } from './filterLockfileByImporters.js';
3
- export { filterLockfileByImportersAndEngine, filterLockfileByEngine } from './filterLockfileByImportersAndEngine.js';
3
+ export { filterLockfileByEngine, filterLockfileByImportersAndEngine } from './filterLockfileByImportersAndEngine.js';
package/lib/index.js CHANGED
@@ -1,11 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.filterLockfileByEngine = exports.filterLockfileByImportersAndEngine = exports.filterLockfileByImporters = exports.filterLockfile = void 0;
4
- var filterLockfile_js_1 = require("./filterLockfile.js");
5
- Object.defineProperty(exports, "filterLockfile", { enumerable: true, get: function () { return filterLockfile_js_1.filterLockfile; } });
6
- var filterLockfileByImporters_js_1 = require("./filterLockfileByImporters.js");
7
- Object.defineProperty(exports, "filterLockfileByImporters", { enumerable: true, get: function () { return filterLockfileByImporters_js_1.filterLockfileByImporters; } });
8
- var filterLockfileByImportersAndEngine_js_1 = require("./filterLockfileByImportersAndEngine.js");
9
- Object.defineProperty(exports, "filterLockfileByImportersAndEngine", { enumerable: true, get: function () { return filterLockfileByImportersAndEngine_js_1.filterLockfileByImportersAndEngine; } });
10
- Object.defineProperty(exports, "filterLockfileByEngine", { enumerable: true, get: function () { return filterLockfileByImportersAndEngine_js_1.filterLockfileByEngine; } });
1
+ export { filterLockfile } from './filterLockfile.js';
2
+ export { filterLockfileByImporters } from './filterLockfileByImporters.js';
3
+ export { filterLockfileByEngine, filterLockfileByImportersAndEngine } from './filterLockfileByImportersAndEngine.js';
11
4
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@pnpm/lockfile.filtering",
3
- "version": "1001.0.31",
3
+ "version": "1100.0.1",
4
4
  "description": "Filters a lockfile",
5
5
  "keywords": [
6
6
  "pnpm",
7
- "pnpm10",
7
+ "pnpm11",
8
8
  "lockfile",
9
9
  "shrinkwrap"
10
10
  ],
@@ -15,7 +15,7 @@
15
15
  "bugs": {
16
16
  "url": "https://github.com/pnpm/pnpm/issues"
17
17
  },
18
- "type": "commonjs",
18
+ "type": "module",
19
19
  "main": "lib/index.js",
20
20
  "types": "lib/index.d.ts",
21
21
  "exports": {
@@ -27,38 +27,38 @@
27
27
  ],
28
28
  "dependencies": {
29
29
  "ramda": "npm:@pnpm/ramda@0.28.1",
30
- "@pnpm/dependency-path": "1001.1.10",
31
- "@pnpm/error": "1000.1.0",
32
- "@pnpm/lockfile.types": "1002.1.0",
33
- "@pnpm/lockfile.utils": "1004.0.3",
34
- "@pnpm/lockfile.walker": "1001.0.26",
35
- "@pnpm/types": "1001.3.0",
36
- "@pnpm/package-is-installable": "1000.0.21",
37
- "@pnpm/constants": "1001.3.1"
30
+ "@pnpm/config.package-is-installable": "1100.0.1",
31
+ "@pnpm/deps.path": "1100.0.1",
32
+ "@pnpm/error": "1100.0.0",
33
+ "@pnpm/lockfile.types": "1100.0.1",
34
+ "@pnpm/lockfile.utils": "1100.0.1",
35
+ "@pnpm/constants": "1100.0.0",
36
+ "@pnpm/lockfile.walker": "1100.0.1",
37
+ "@pnpm/types": "1101.0.0"
38
38
  },
39
39
  "peerDependencies": {
40
- "@pnpm/logger": "^1001.0.1"
40
+ "@pnpm/logger": ">=1001.0.0 <1002.0.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@jest/globals": "29.7.0",
44
- "@types/ramda": "0.29.12",
45
- "detect-libc": "^2.1.2",
46
- "tempy": "^1.0.1",
47
- "write-yaml-file": "^5.0.0",
43
+ "@jest/globals": "30.3.0",
44
+ "@types/ramda": "0.31.1",
45
+ "detect-libc": "^2.0.3",
46
+ "tempy": "3.0.0",
47
+ "write-yaml-file": "^6.0.0",
48
48
  "yaml-tag": "1.1.0",
49
- "@pnpm/lockfile.filtering": "1001.0.31",
50
- "@pnpm/logger": "1001.0.1"
49
+ "@pnpm/logger": "1100.0.0",
50
+ "@pnpm/lockfile.filtering": "1100.0.1"
51
51
  },
52
52
  "engines": {
53
- "node": ">=18.12"
53
+ "node": ">=22.13"
54
54
  },
55
55
  "jest": {
56
56
  "preset": "@pnpm/jest-config"
57
57
  },
58
58
  "scripts": {
59
59
  "lint": "eslint \"src/**/*.ts\" \"test/**/*.ts\"",
60
- "_test": "jest",
61
- "test": "pnpm run compile && pnpm run _test",
62
- "compile": "tsc --build && pnpm run lint --fix"
60
+ "test": "pn compile && pn .test",
61
+ "compile": "tsgo --build && pn lint --fix",
62
+ ".test": "cross-env NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules --disable-warning=ExperimentalWarning --disable-warning=DEP0169\" jest"
63
63
  }
64
64
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"filterImporter.js","sourceRoot":"","sources":["../src/filterImporter.ts"],"names":[],"mappings":";;AAGA,wCAUC;AAVD,SAAgB,cAAc,CAC5B,QAAyB,EACzB,OAA8D;IAE9D,OAAO;QACL,YAAY,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,YAAY,IAAI,EAAE;QACtE,eAAe,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,eAAe,IAAI,EAAE;QAC/E,oBAAoB,EAAE,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,QAAQ,CAAC,oBAAoB,IAAI,EAAE;QAC9F,UAAU,EAAE,QAAQ,CAAC,UAAU;KAChC,CAAA;AACH,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"filterLockfile.js","sourceRoot":"","sources":["../src/filterLockfile.ts"],"names":[],"mappings":";;AAIA,wCAWC;AAbD,iFAA0E;AAE1E,SAAgB,cAAc,CAC5B,QAAwB,EACxB,IAGC;IAED,OAAO,IAAA,wDAAyB,EAAC,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAgB,EAAE;QACzF,GAAG,IAAI;QACP,yBAAyB,EAAE,KAAK;KACjC,CAAC,CAAA;AACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"filterLockfileByImporters.js","sourceRoot":"","sources":["../src/filterLockfileByImporters.ts"],"names":[],"mappings":";;AAaA,8DAkCC;AA/CD,+CAAiD;AACjD,uCAA4D;AAK5D,2DAA+E;AAC/E,yCAAqC;AAErC,2DAAoD;AAEpD,MAAM,cAAc,GAAG,IAAA,eAAM,EAAC,UAAU,CAAC,CAAA;AAEzC,SAAgB,yBAAyB,CACvC,QAAwB,EACxB,WAAwB,EACxB,IAIC;IAED,MAAM,QAAQ,GAAG,EAAsB,CAAA;IACvC,IAAI,QAAQ,CAAC,QAAQ,IAAI,IAAI,EAAE,CAAC;QAC9B,UAAU,CACR,IAAA,gCAAc,EACZ,QAAQ,EACR,WAAW,EACX,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,IAAI,CAAC,OAAO,EAAE,CACjD,CAAC,IAAI,EACN,QAAQ,EACR;YACE,yBAAyB,EAAE,IAAI,CAAC,yBAAyB;SAC1D,CACF,CAAA;IACH,CAAC;IAED,MAAM,SAAS,GAAG,EAAE,GAAG,QAAQ,CAAC,SAAS,EAAE,CAAA;IAC3C,KAAK,MAAM,UAAU,IAAI,WAAW,EAAE,CAAC;QACrC,SAAS,CAAC,UAAU,CAAC,GAAG,IAAA,kCAAc,EAAC,QAAQ,CAAC,SAAS,CAAC,UAAU,CAAC,EAAE,IAAI,CAAC,OAAO,CAAC,CAAA;IACtF,CAAC;IAED,OAAO;QACL,GAAG,QAAQ;QACX,SAAS;QACT,QAAQ;KACT,CAAA;AACH,CAAC;AAED,SAAS,UAAU,CACjB,IAAwB,EACxB,cAAgC,EAChC,IAEC;IAED,KAAK,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;QAC/D,cAAc,CAAC,OAAO,CAAC,GAAG,WAAW,CAAA;QACrC,UAAU,CAAC,IAAI,EAAE,EAAE,cAAc,EAAE,IAAI,CAAC,CAAA;IAC1C,CAAC;IACD,KAAK,MAAM,OAAO,IAAI,IAAI,CAAC,OAAO,EAAE,CAAC;QACnC,IAAI,IAAI,CAAC,yBAAyB,EAAE,CAAC;YACnC,MAAM,IAAI,sCAA8B,CAAC,OAAO,CAAC,CAAA;QACnD,CAAC;QACD,cAAc,CAAC,KAAK,CAAC,iBAAiB,OAAO,QAAQ,2BAAe,EAAE,CAAC,CAAA;IACzE,CAAC;AACH,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"filterLockfileByImportersAndEngine.js","sourceRoot":"","sources":["../src/filterLockfileByImportersAndEngine.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,wDAMC;AAgBD,gFA8CC;AA3FD,+CAAiD;AACjD,uCAA4D;AAK5D,yDAA6D;AAC7D,yCAAqC;AACrC,yEAAmE;AAEnE,0DAA2C;AAC3C,wDAAqC;AACrC,8DAAqC;AACrC,8DAAqC;AACrC,2DAAoD;AAEpD,MAAM,cAAc,GAAG,IAAA,eAAM,EAAC,UAAU,CAAC,CAAA;AAOzC,SAAgB,sBAAs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