Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pnpm for openSUSE:Factory checked in at 2025-07-02 12:12:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pnpm (Old) and /work/SRC/openSUSE:Factory/.pnpm.new.7067 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pnpm" Wed Jul 2 12:12:02 2025 rev:42 rq:1289680 version:10.12.4 Changes: -------- --- /work/SRC/openSUSE:Factory/pnpm/pnpm.changes 2025-06-26 11:38:50.976604749 +0200 +++ /work/SRC/openSUSE:Factory/.pnpm.new.7067/pnpm.changes 2025-07-02 12:15:14.605070189 +0200 @@ -1,0 +2,15 @@ +Mon Jun 30 05:15:22 UTC 2025 - Johannes Kastl <opensuse_buildserv...@ojkastl.de> + +- update to 10.12.4: + * Patch Changes + - Fix pnpm licenses command for local dependencies #9583. + - Fix a bug in which pnpm ls --filter=not-exist --json prints + nothing instead of an empty array #9672. + - Fix a deadlock that sometimes happens during peer dependency + resolution #9673. + - Running pnpm install after pnpm fetch should hoist all + dependencies that need to be hoisted. + - Fixes a regression introduced in v10.12.2 by #9648; resolves + #9689. + +------------------------------------------------------------------- Old: ---- pnpm-10.12.3.tgz New: ---- pnpm-10.12.4.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pnpm.spec ++++++ --- /var/tmp/diff_new_pack.qhgEUr/_old 2025-07-02 12:15:15.269097745 +0200 +++ /var/tmp/diff_new_pack.qhgEUr/_new 2025-07-02 12:15:15.273097911 +0200 @@ -23,7 +23,7 @@ %global __nodejs_provides %{nil} %global __nodejs_requires %{nil} Name: pnpm -Version: 10.12.3 +Version: 10.12.4 Release: 0 Summary: Fast, disk space efficient package manager License: MIT ++++++ pnpm-10.12.3.tgz -> pnpm-10.12.4.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/README.md new/package/README.md --- old/package/README.md 1985-10-26 09:15:00.000000000 +0100 +++ new/package/README.md 1985-10-26 09:15:00.000000000 +0100 @@ -154,6 +154,17 @@ </a> </td> </tr> + <tr> + <td align="center" valign="middle"> + <a href="https://oomol.com/?utm_source=pnpm&utm_medium=readme" target="_blank"> + <picture> + <source media="(prefers-color-scheme: light)" srcset="https://pnpm.io/img/users/oomol.svg" /> + <source media="(prefers-color-scheme: dark)" srcset="https://pnpm.io/img/users/oomol_light.svg" /> + <img src="https://pnpm.io/img/users/oomol.svg" width="90" alt="OOMOL Studio" /> + </picture> + </a> + </td> + </tr> </tbody> </table> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/dist/node_modules/.modules.yaml new/package/dist/node_modules/.modules.yaml --- old/package/dist/node_modules/.modules.yaml 1985-10-26 09:15:00.000000000 +0100 +++ new/package/dist/node_modules/.modules.yaml 1985-10-26 09:15:00.000000000 +0100 @@ -17,8 +17,8 @@ - node_modules/agent-base ansi-regex@5.0.1: - node_modules/string-width-cjs/node_modules/ansi-regex - - node_modules/strip-ansi-cjs/node_modules/ansi-regex - node_modules/wrap-ansi-cjs/node_modules/ansi-regex + - node_modules/strip-ansi-cjs/node_modules/ansi-regex ansi-regex@6.1.0: - node_modules/ansi-regex ansi-styles@4.3.0: @@ -196,7 +196,7 @@ nodeLinker: hoisted packageManager: pnpm@10.12.1 pendingBuilds: [] -prunedAt: Tue, 24 Jun 2025 10:15:50 GMT +prunedAt: Thu, 26 Jun 2025 17:13:15 GMT publicHoistPattern: [] registries: '@jsr': https://npm.jsr.io/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/dist/node_modules/.pnpm-workspace-state.json new/package/dist/node_modules/.pnpm-workspace-state.json --- old/package/dist/node_modules/.pnpm-workspace-state.json 1985-10-26 09:15:00.000000000 +0100 +++ new/package/dist/node_modules/.pnpm-workspace-state.json 1985-10-26 09:15:00.000000000 +0100 @@ -1,5 +1,5 @@ { - "lastValidatedTimestamp": 1750760150262, + "lastValidatedTimestamp": 1750957995953, "projects": {}, "pnpmfileExists": false, "settings": { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/dist/pnpm.cjs new/package/dist/pnpm.cjs --- old/package/dist/pnpm.cjs 1985-10-26 09:15:00.000000000 +0100 +++ new/package/dist/pnpm.cjs 1985-10-26 09:15:00.000000000 +0100 @@ -5754,7 +5754,7 @@ var load_json_file_1 = __importDefault2(require_load_json_file()); var defaultManifest = { name: true ? "pnpm" : "pnpm", - version: true ? "10.12.3" : "0.0.0" + version: true ? "10.12.4" : "0.0.0" }; var pkgJson; if (require.main == null) { @@ -128507,10 +128507,10 @@ } }); -// ../node_modules/.pnpm/@pnpm+slice-ansi@1.1.2/node_modules/@pnpm/slice-ansi/index.js +// ../node_modules/.pnpm/@pnpm+slice-ansi@1.1.3/node_modules/@pnpm/slice-ansi/index.js var require_slice_ansi3 = __commonJS({ - "../node_modules/.pnpm/@pnpm+slice-ansi@1.1.2/node_modules/@pnpm/slice-ansi/index.js"(exports2, module2) { - var ANSI_SEQUENCE = /^(.*?)(\x1b\[[^m]+m|\x1b\]8;;.*?(\x1b\\|\u0007))/; + "../node_modules/.pnpm/@pnpm+slice-ansi@1.1.3/node_modules/@pnpm/slice-ansi/index.js"(exports2, module2) { + var ANSI_SEQUENCE = /^([\s\S]*?)(\x1b\[[^m]+m|\x1b\]8;;[\s\S]*?(\x1b\\|\u0007))/; var splitGraphemes; function getSplitter() { if (splitGraphemes) @@ -153879,7 +153879,7 @@ } } const calculateDepPaths = []; - const graph = []; + const graph = /* @__PURE__ */ new Map(); const finishingList = []; const parentDepPaths = {}; for (const [name, parentPkg] of Object.entries(parentPkgs)) { @@ -153912,13 +153912,25 @@ allResolvedPeers.set(peerName, peerNodeId); edges.push(peerName); } - graph.push([currentAlias, edges]); + addEdgesToGraph(currentAlias, edges); + const node = ctx.dependenciesTree.get(childNodeId); + if (currentAlias !== node.resolvedPackage.name) { + addEdgesToGraph(node.resolvedPackage.name, edges); + } for (const [missingPeer, range] of missingPeers.entries()) { allMissingPeers.set(missingPeer, range); } } + function addEdgesToGraph(pkgName, edges) { + const existingEdges = graph.get(pkgName); + if (existingEdges == null) { + graph.set(pkgName, edges); + } else { + existingEdges.push(...edges); + } + } if (calculateDepPaths.length) { - const { cycles } = (0, graph_cycles_1.analyzeGraph)(graph); + const { cycles } = (0, graph_cycles_1.analyzeGraph)(Array.from(graph.entries())); finishingList.push(...calculateDepPaths.map((calculateDepPath) => calculateDepPath(cycles))); } const finishing = Promise.all(finishingList).then(() => { @@ -160074,7 +160086,12 @@ modulesCacheMaxAge: 0, pruneStore: true, storeController: store.ctrl, - storeDir: store.dir + storeDir: store.dir, + // Hoisting is skipped anyway, + // so we store these empty patterns in node_modules/.modules.yaml + // to let the subsequent install know that hoisting should be performed. + hoistPattern: [], + publicHoistPattern: [] }); } } @@ -183043,7 +183060,7 @@ let pkgIndexFilePath; if (isPackageWithIntegrity) { const parsedId = (0, dependency_path_1.parse)(id); - pkgIndexFilePath = (0, store_cafs_1.getIndexFilePathInCafs)(opts.storeDir, packageResolution.integrity, `${parsedId.name}@${parsedId.version}`); + pkgIndexFilePath = (0, store_cafs_1.getIndexFilePathInCafs)(opts.storeDir, packageResolution.integrity, parsedId.nonSemverVersion ?? `${parsedId.name}@${parsedId.version}`); } else if (!packageResolution.type && packageResolution.tarball) { const packageDirInStore = (0, dependency_path_1.depPathToFilename)((0, dependency_path_1.parse)(id).nonSemverVersion ?? id, opts.virtualStoreDirMaxLength); pkgIndexFilePath = path_1.default.join(opts.storeDir, packageDirInStore, "integrity.json"); @@ -198081,8 +198098,14 @@ if (printLogs) { console.log(`No projects matched the filters in "${wsDir}"`); } - process.exitCode = config.failIfNoMatch ? 1 : 0; - return; + if (config.failIfNoMatch) { + process.exitCode = 1; + return; + } + if (cmd !== "list") { + process.exitCode = 0; + return; + } } if (filterResults.unmatchedFilters.length !== 0 && printLogs) { console.log(`No projects matched the filters "${filterResults.unmatchedFilters.join(", ")}" in "${wsDir}"`); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json --- old/package/package.json 1985-10-26 09:15:00.000000000 +0100 +++ new/package/package.json 1985-10-26 09:15:00.000000000 +0100 @@ -1,6 +1,6 @@ { "name": "pnpm", - "version": "10.12.3", + "version": "10.12.4", "description": "Fast, disk space efficient package manager", "keywords": [ "pnpm",