Skip to content

Bun Support #5

@ashphy

Description

@ashphy

Describe the bug
Some tests failed on bun

✗ JSONPath Compliance Test Suite > functions, search, escaped backslash before dot [2.26ms]
✗ JSONPath Compliance Test Suite > functions, search, escaped left square bracket [0.19ms]

It might be mismatch behavior of RegExp.

const a = "x a\\𠀋c y";
const result = /a\\[^\n\r]c/u.test(a);
// false: Bun
// true: Deno

Actual
Steps to reproduce the behavior.

Expected
A clear and concise description of what you expected to happen.

Environment

  • Version: Bun 1.1.8

Additional context
nothing

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions