Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tap + Internal Caching Fixes #74

Merged
merged 2 commits into from
Nov 3, 2021

Conversation

gfyoung
Copy link
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
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