jmespath / jmespath/jmespath.js

Supplementary plane code points are not handled atomically

Open
#88 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
847
Forks
101
PR merge metrics
No merged PRs in 30d

Description

cf. https://github.com/jmespath-community/jmespath.test/issues/2

String functions such as [`length`](https://jmespath.site/#func-length) and [`reverse`](https://jmespath.site/#func-reverse) and [`sort`](https://jmespath.site/#func-sort) are documented to treat strings as sequences of code points, but this implementation incorrectly interprets the code units of each surrogate pair representing a supplementary plane character as independent code points.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.