Repository navigation
fix: lockfile that Cloudflare's npm 10 accepts, so the CDN deploys again - #229
Merged
Merged
Conversation
Cloudflare Workers Builds installs with npm 10.9.2 (`npm clean-install`). Since the lockfile was last written with npm 11, npm 10 rejects it: it expects vitest's nested vite to get its optional peer esbuild@0.28.2, and npm 11 leaves that out. Every CDN build since then failed at install, so sdk.gleap.io still serves 19.8.1. `npx npm@10.9.2 install --ignore-scripts` adds the 27 missing esbuild 0.28.2 entries and drops npm 11's `libc` field from 10 Linux binding entries; no version changes. npm 10.9.2 and 11.19.1 both accept the result, and the built bundles are byte-identical. CI now checks the lockfile with npm 10.9.2. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TobiasDuelli
marked this pull request as ready for review
November 23, 2026 09:35
LucaB01
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The CDN deploy (Cloudflare Workers Builds,
jssdk) has failed on every push tomastersince #223. It installs with npm 10.9.2 (npm clean-install), and npm 10 rejects the lockfile that npm 11 wrote:vitest's nestedvitedeclaresesbuild(^0.27.0 || ^0.28.0) as an optional peer. The rootesbuildis 0.17.19 (fromwrangler), so npm 10 wants a nested 0.28.2 in the lockfile; npm 11 leaves it out. As a resultsdk.gleap.io/lateststill serves 19.8.1 from 2026-11-17, while npm has 19.9.0.Change
package-lock.jsonnpx -y npm@10.9.2 install --ignore-scripts: 27 entries added (esbuild0.28.2 undervitest/node_modulesand its platform packages), 10 Linux binding entries lose npm 11'slibcfield. Nothing removed, no version changed..github/workflows/ci.ymlnpm ci:npx -y npm@10.9.2 ci --ignore-scripts --dry-run, so a lockfile the CDN deploy cannot install fails the PR instead of the deploy.AGENTS.mdpackage.json,src/,index.d.ts,build/,published/,wrangler.jsoncand the release workflow are untouched.Proof
masternpm@10.9.2 ciMissinglines (as in the Cloudflare log)npm@11.19.1 cinpm@10.9.2 ci --dry-run)npm ci+ build, sha256 of every file outsidenode_modulesmasterexceptpackage-lock.json: all bundles inbuild/andpublished/byte-identicalWhat a merge ships
Merging deploys
masterto the CDN for the first time since 2026-11-17:sdk.gleap.io/latestmoves from 19.8.1 to 19.9.0. The customer-facing change in it is the one already merged and released on npm: the form's screen recording respects the project's Microphone setting, with the mic off by default (GleapScreenRecorder.js,GleapScreenRecorderMicButton.js,GleapMarkerManager.js).🤖 Generated with Claude Code