Skip to content

Conversation

JAForbes
Copy link
Collaborator

@JAForbes JAForbes commented Feb 15, 2025

Release v2.2.15

Changelog

Patch Changes

[refactor] Limit the condition of the option tag to selected attribute in isFormAttribute() (@kfule)

This PR limits the evaluation of whether a tag is option to only when setting the selected attribute.

test-perf: Load Benckmark.js first in Node.js (@kfule)

Since Node21, global.navigator has been implemented, and together with browserMock, Benchmark.js incorrectly identifies the execution environment as a browser.

Since Node21, global.navigator has been implemented, and together with browserMock, Benchmark.js incorrectly identifies the execution environment as a browser. If Benchmark.js is loaded before browserMock, the misidentification will be avoided.
@JAForbes JAForbes requested a review from a team as a code owner February 15, 2025 05:41
kfule added 2 commits March 22, 2025 20:07
…ute in isFormAttribute()

The condition of the option tag is intended to fix #1916 and should be evaluated in conjunction with the "selected" attribute.
This commit will improve code readability a bit, reduce the number of times to evaluate tags and also reduce the number of times to set the same attribute in option elements redundantly.
@dead-claudia dead-claudia merged commit 71305e4 into release Mar 23, 2025
7 checks passed
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.

3 participants