From 1aaabba05a5e1566f62712c755fd1f97ff280404 Mon Sep 17 00:00:00 2001 From: Steven Levithan Date: Sun, 18 Aug 2024 15:43:11 +0200 Subject: [PATCH] v4.1.1 --- CHANGELOG.md | 9 +-------- README.md | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 6 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5ca007..bd23593 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,6 @@ ## Unreleased changes -**Improvements** - -- Combining atomic/possessive syntax with subroutines previously resulted in subroutines using capturing wrappers. This is now avoided when the regex doesn’t use backreferences, resulting in faster-running generated regex source. -- Possessive fixed repetition quantifiers (e.g. `{2}+`) are now converted to greedy quantifiers, which gives the same behavior with faster-running generated regex source. - -**Fixes** - -- When using extended syntax (e.g. atomic groups) that resulted in the use of emulation groups in generated source, the `subclass: true` option led to incorrect values for submatches that preceded emulation groups. +- ## Released changes diff --git a/README.md b/README.md index 466d9c0..11a1bdd 100644 --- a/README.md +++ b/README.md @@ -118,7 +118,7 @@ In browsers: ```html ``` @@ -127,7 +127,7 @@ In browsers: Using a global name (no import) ```html - + diff --git a/package-lock.json b/package-lock.json index d6e6224..a4d6046 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "regex", - "version": "4.1.0", + "version": "4.1.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "regex", - "version": "4.1.0", + "version": "4.1.1", "license": "MIT", "devDependencies": { "esbuild": "^0.23.0", diff --git a/package.json b/package.json index 2aaa96b..ad7aa81 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "regex", - "version": "4.1.0", + "version": "4.1.1", "description": "Regex template tag with extended syntax, context-aware interpolation, and always-on best practices", "author": "Steven Levithan", "license": "MIT",