Skip to content

Commit

Permalink
v4.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
slevithan committed Oct 2, 2024
1 parent 19b8ad3 commit 9e1c194
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
8 changes: 1 addition & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
## Unreleased changes

### 🚀 Features

- When an invalid regex throws, always include the generated source in the error message (some browsers automatically include it, but Firefox and Safari don't).

### 🐞 Fixes

- Convert numbers interpolated in enclosed `\u{…}` to hexadecimal. In other words, although `` regex`\u{${'160'}}` `` (string interpolated) returns `/\u{160}/`, `` regex`\u{${160}}` `` (number interpolated) now returns `/\u{A0}/`. (#24, @graphemecluster)
-

## Released changes

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ With the `regex` library, JavaScript steps up as one of the best regex flavors a
- [Interpolation principles](#interpolation-principles)
- [Interpolation contexts](#interpolation-contexts)
- [Options](#-options)
- [Returning a string](#returning-a-string)
- [Performance](#-performance)
- [Compatibility](#-compatibility)
- [FAQ](#-faq)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "regex",
"version": "4.3.2",
"version": "4.3.3",
"description": "Regex template tag with extended syntax, context-aware interpolation, and always-on best practices",
"author": "Steven Levithan",
"license": "MIT",
Expand Down

0 comments on commit 9e1c194

Please sign in to comment.