chore(analytics): bump js-yaml, googleapis, qs, and pnpm - #661
Conversation
js-yaml 5.4.2, googleapis 181, the qs override ^6.16.0, and pnpm 12.6.0 clear the five analytics audit findings. setup-ga4 --dry-run output is unchanged. Refs #648
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
§11 order 12 now points at the PR that bumps the analytics pnpm project. Refs #648
|
Merged latest
Conflict was only in Resolution keeps all three done marks: Orders 0–9 and the rest of the file match Commands after the resolution (working tree stayed clean; typecheck printed nothing and exited 0.
|
Closes #648
Part of #635, order 12. Base is
preview(43d1e3b8at branch time). Predecessor #647 was not on thispreview; the parallel-lane ruling says not to wait, and this change does not touchpackage.json/bun.lock.Steps
chore/analytics-depsfromorigin/preview.analytics/package.json:googleapis^173→^181,js-yaml^5→^5.4.2,packageManagerpnpm@11.9.0→pnpm@12.6.0.engines.nodestays>=20.analytics/pnpm-workspace.yaml:qs: ^6.15.3→qs: ^6.16.0. Comment block kept.googleapis@181.0.0,googleapis-common@9.1.0,google-auth-library@11.1.0,js-yaml@5.4.2,qs@6.16.0. Lockfile stat for the three analytics files is +213 / −42, the same as the 2026-09-24 dry run. The new lockfile keepslockfileVersion: '9.0'and adds the pnpm 12packageManagerDependenciesdocument (pnpm@12.6.0plus the@pnpm/exe.*entries).setup-ga4.mjs --dry-run(timestamps stripped): identical, 58 lines both sides. No live GA4 command was run.pnpm@11.9.0underanalytics/anddocs/is nowpnpm@12.6.0. Text only insetup-ga4.mjs(comments) andoauth-init.mjs(log strings).docs/TOOLCHAIN.md§10.1bun run auditrow updated in the first commit.git diff --exit-codeis 0 on the committed tree. Playwright /test:e2e/scripts/e2e-server.cjswere not run: another agent is using port 4321. The rendered-output suite is left to this PR's CIqualityrun.CHANGELOG.md### Securityhas the Issue's sentence (first commit). Follow-upd7f1d814marks §11 order 12— done (#661).origin/previewmoved to95ac84d6(#659, Playwright 1.63.0) after this branch was cut.git merge-tree --write-tree HEAD origin/previewexits 0, so the CHANGELOG and §11 edits merge with that commit. This branch was not rebased and was not force-pushed. §11 on this branch therefore does not yet show order 10'sdone (#659)line; that line is already onpreviewand stays there.Count note
The Issue said 24
pnpm@11.9.0hits onpreview9b4e7197. Thispreview(43d1e3b8) has 28 (1 inpackage.json, 27 in the step-6 files: README 15, geo-citation 3, geo-observation 3, oauth-init 3, setup-ga4 2, TOOLCHAIN §10.1 1). All 28 were replaced. Acceptance grep is empty. No other file was edited to chase the old count.Environment notes (not repo changes)
CI=true. pnpm 12 then treats a barepnpm installas frozen, so the first attempt failed withERR_PNPM_LOCKFILE_CONFIG_MISMATCHbefore the lockfile could update. The update install was re-run withCIunset, which is the non-CI command the dry run used. The explicit--frozen-lockfilereinstall was run withCIleft set.NO_COLORandFORCE_COLOR, so Node prints a pid-specific warning on stderr. Those two variables were unset only for the two--dry-runprocesses, so2>&1compared the script's own lines. Both outputs are 58 lines anddiffprintsidentical.bunis 1.4.0 (34cbb9a40). The Issue does not ask for a private Bun install.bun auditreported no vulnerabilities. Global Bun was not upgraded.googleapis@181.0.0declaresengines.node >=22.analytics/package.jsonstays>=20, as the Issue requires. The commands ran on Node v24.20.0.Verification
Step 4 — first attempt (
CI=true, lockfile not updated)grepat that point still showed the old pins (googleapis@173.0.0,js-yaml@5.1.0,qs@6.15.3).corepack pnpm@12.6.0 auditthen still reported 5 vulnerabilities (1 high, 4 moderate).node --testwas already 3/3 (it does not import these packages).Step 4 — update install with
CIunset, then the Issue's frozen reinstallLockfile stat against the three analytics files (matches the dry-run table):
Step 5 —
--dry-runoraclegit stash,corepack pnpm@11.9.0 install --frozen-lockfile(googleapis 173.0.0, js-yaml 5.1.0), dry-run,git stash pop,corepack pnpm@12.6.0 install --frozen-lockfile(googleapis 181.0.0, js-yaml 5.4.2), dry-run. Timestamps stripped withsed -E 's/^\[[0-9:]+\] //'.Step 6 — no
pnpm@11.9.0leftStep 7 — root chain
PUBLIC_GA4_MEASUREMENT_ID,PUBLIC_X_PIXEL_ID, andPUBLIC_META_PIXEL_IDwere unset.Before the commit,
git diff --exit-codeexited 1.git statuslisted only the 10 files in this commit (the build and the gates did not dirty the tree). After the commit:Playwright is not in this local log. CI
qualityruns the rendered-output suite.Not done here
setup,setup:check,discover,oauth-init) was not run.spec.yaml,ga4-spec-validation.mjs, and GA4 logic were not changed.package.json, rootbun.lock, and root CI were not changed.qualityandVercelwere not waited on; this Issue does not ask for a previewinspector a curl.