Skip to content

Tap + Internal Caching Fixes#74

Merged
kaelzhang merged 2 commits intokaelzhang:masterfrom
forking-repos:tap-cache-fixes
Nov 3, 2021
Merged

Tap + Internal Caching Fixes#74
kaelzhang merged 2 commits intokaelzhang:masterfrom
forking-repos:tap-cache-fixes

Conversation

@gfyoung
Copy link
Copy Markdown
Contributor

@gfyoung gfyoung commented Nov 3, 2021

Fix and test to confirm have been added in this PR.

Also adds 16.x (latest LTS) to testing suite.

xref: tapjs/tapjs#624

The issue is closed, but it is still being reported.

xref: nodejs/citgm#852 (comment)

This is the fix being used in this commit.
The internal cache really should be caching the
generated output of the reduce pattern, not
the generated RegExp object, which may not have
the right behavior for "ignorecase"
@kaelzhang kaelzhang merged commit f19a790 into kaelzhang:master Nov 3, 2021
kaelzhang added a commit that referenced this pull request Nov 3, 2021
@kaelzhang
Copy link
Copy Markdown
Owner

kaelzhang commented Nov 3, 2021

Nice catch, buddy.

Landed in 5.1.9

@gfyoung gfyoung deleted the tap-cache-fixes branch November 3, 2021 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants