BlogDocs

feat: add `orChar`/`from` chain for `charIn`/`charNotIn`(#399)

Comparing
feat/or-char-from
(
4091f08
) with
main
(
b06c4e9
)
0%
IMPROVEMENTS
0
REGRESSIONS
0
UNTOUCHED
6
NEW
0
DROPPED
0
IGNORED
0

Benchmarks

Passed

preserves context for dynamic regexps
test/transform.bench.ts::transformer: magic-regexp::preserves context for dynamic regexps
+1%
3 ms
3 ms
respects how users import library
test/transform.bench.ts::transformer: magic-regexp::respects how users import library
+1%
3.5 ms
3.4 ms
ignores non-JS files
test/transform.bench.ts::transformer: magic-regexp::ignores non-JS files
+1%
617.8 µs
613.3 µs
statically replaces regexps where possible
test/transform.bench.ts::transformer: magic-regexp::statically replaces regexps where possible
+1%
4 ms
4 ms
transforms vue script blocks
test/transform.bench.ts::transformer: magic-regexp::transforms vue script blocks
0%
5.3 ms
5.3 ms
ignores code without imports from magic-regexp
test/transform.bench.ts::transformer: magic-regexp::ignores code without imports from magic-regexp
0%
669 µs
671.3 µs

Commits

Click on a commit to change the comparison range
base
main
b06c4e9
-1%
fix: decrease type complexity somewhat
fc3e203
6 months ago
by danielroe
+1%
chore: import type
4091f08
6 months ago
by danielroe
ResourcesHomePricingDocsBlogGitHubChangelog
Copyright © 2024 CodSpeed Technology SAS. All rights reserved.