← All tasks
javascriptchaijs/chai #1687Not a task: not reproduced

Safari versions below v16.4 are unsupported

envgap__chaijs__chai-1687

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
3f4596a25ec0a54640bb9e81cda6d0b1eb0c5da1
Manifest
package.json
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

chaijs/chai #1687 · read the original issue
The bundled lib (see `chai/chai.js` on [npm](https://www.npmjs.com/package/chai?activeTab=code), L156-158) uses static initialization blocks that are only supported in newer browser versions: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks .

This breaks support for Safari 14 and 15, which are supposed to be supported according to the release notes on v5: https://github.com/chaijs/chai/discussions/1565 .

Changing the esbuild target to e.g. 'es2021' should fix this problem 🙂 
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]