Skip to content

[pull] latest from npm:latest - #219

Merged
pull[bot] merged 3 commits into
adamlaska:latestfrom
npm:latest
Jul 10, 2026
Merged

[pull] latest from npm:latest#219
pull[bot] merged 3 commits into
adamlaska:latestfrom
npm:latest

Conversation

@pull

@pull pull Bot commented Jul 10, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

github-actions Bot and others added 3 commits July 10, 2026 13:15
…9746)

The `bin links adding and removing` test in
`workspaces/arborist/test/arborist/reify.js` reifies `rimraf@2.7.1`
without setting up a mock registry.

This adds `createRegistry(t, true)` so the test uses the mock registry
instead of depending on the real one.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
## Problem

The `build nodejs` jobs in `Release Integration / publish` fail at
`.github/workflows/node-integration.yml`:

```
node . pack --loglevel=silent --json | jq -r .[0].filename
→ jq: error (at <stdin>:9859): Cannot index object with number
→ Process completed with exit code 5
```

As of #9247 (sync json output of pack and publish), `npm pack --json` no
longer outputs an array. `logTar` now buffers `{ [tar.name]: tarball }`,
so the output is an object keyed by package name:

```json
{ "npm": { "filename": "npm-12.0.1.tgz", ... } }
```

The workflow still parsed it with `.[0].filename`, which errors on an
object. npm 12.0.x is the first release carrying this change, so the
release integration only started breaking now.

## Fix

Parse the filename from the object instead of an array index:

```diff
-npmtarball="$(node . pack --loglevel=silent --json | jq -r .[0].filename)"
+npmtarball="$(node . pack --loglevel=silent --json | jq -r 'to_entries[0].value.filename')"
```

Verified locally: returns `npm-12.0.1.tgz`.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jul 10, 2026
@pull pull Bot added the ⤵️ pull label Jul 10, 2026
@pull
pull Bot merged commit 7b1f6c1 into adamlaska:latest Jul 10, 2026
0 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant