You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error Cannot read properties of undefined (reading 'toStringTag') suggests the bundled CJS references a local alias of Symbol that wasn't properly imported/initialized — global Symbol is never undefined in Node. Likely a regression from the pnpm/bundler migration in #55 (the CJS output format that worked in 2.1.19 changed in 2.1.20).
Impact
`@localazy/strapi-plugin@0.2.6` declares `"@localazy/api-client": "^2.1.5"`, so every install after 2026-04-14 17:28 UTC resolves to 2.1.20 and crashes during Strapi plugin loading. Took down production deploys for two Strapi CMS services on our side until we pinned to 2.1.19 via an npm `overrides` entry.
Versions 2.1.19 and earlier load cleanly.
Proposed remediation
Immediate (minutes): `npm deprecate @localazy/api-client@2.1.20 "broken CJS entry, use 2.1.19"` — stops new consumers from hitting this.
Short-term (hours): Publish `2.1.21` with the CJS build fixed — likely reverting or re-auditing the bundler config change from 🔧 chore: Update deps, migrate to pnpm #55 (the 2.1.19 output works, 2.1.20 doesn't, and the only diff is the migration).
Medium-term: Add a release-time smoke test: `node -e "require('.')"` from the built tarball before `npm publish`. Would have caught this before the release.
Happy to help narrow down the bundler config delta if useful.
`@localazy/api-client@2.1.20` (published 2026-04-14 17:28 UTC) ships a broken CJS entry that throws at module load.
Reproduce
On Node 18 or Node 20:
npm i @localazy/api-client@2.1.20 node -e "require('@localazy/api-client')"Output:
The error
Cannot read properties of undefined (reading 'toStringTag')suggests the bundled CJS references a local alias ofSymbolthat wasn't properly imported/initialized — globalSymbolis never undefined in Node. Likely a regression from the pnpm/bundler migration in #55 (the CJS output format that worked in 2.1.19 changed in 2.1.20).Impact
`@localazy/strapi-plugin@0.2.6` declares `"@localazy/api-client": "^2.1.5"`, so every install after 2026-04-14 17:28 UTC resolves to 2.1.20 and crashes during Strapi plugin loading. Took down production deploys for two Strapi CMS services on our side until we pinned to 2.1.19 via an npm `overrides` entry.
Versions 2.1.19 and earlier load cleanly.
Proposed remediation
Happy to help narrow down the bundler config delta if useful.