Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@siteimprove/alfa-callback
Advanced tools
Types for modelling functions that can be passed around and called back with a value once available
0.93.0 (2024-10-03)
@siteimprove/alfa-dom: Element.hasDisplaySize()
now builds a Predicate<Element<"select">>
instead of a Predicate<Element>
. (#1683)
@siteimprove/alfa-dom: The helper Element.inputType(element)
has been replaced by a method element.inputType()
. (#1683)
@siteimprove/alfa-style, @siteimprove/alfa-css: Support for CSS properties scale
and translate
was added. (#1688)
@siteimprove/alfa-parser: A Parser.doubleBar
combinator is now available, to parse CSS "double bar". (#1691)
@siteimprove/alfa-style: A Style.hasUsedStyle
predicate builder is now available. (#1694)
@siteimprove/alfa-style: Style properties container-type
, mix-blend-mode
and isolation
are now supported. (#1675)
@siteimprove/alfa-style, @siteimprove/alfa-css: Style property contain
is now supported. (#1679)
@siteimprove/alfa-css: A Keyword#is
predicate is now available. (#1694)
@siteimprove/alfa-option: An Option.conditional
builder is now available, returning None
if the predicate is false. (#1694)
@siteimprove/alfa-dom: A method Element<"select">#displaySize()
is now available. (#1683)
@siteimprove/alfa-selector: The :checked
pseudo-class is now supported. (#1684)
@siteimprove/alfa-rules: Experimental rule SIA-ER8. It adds support for type="password"
and more. (#1667)
@siteimprove/alfa-style: Style
objects now have an optional owner
pointing to the element whose style it is. (#1694)
@siteimprove/alfa-dom: An Element<"select">#optionsList()
helper is now available. (#1683)
@siteimprove/alfa-style: Basic support for used values is now available. (#1689)
@siteimprove/alfa-css: Transform functions scale3d()
and scaleZ()
have been added and the scale transformation functions now accept percentages. (#1688)
@siteimprove/alfa-string: A String.hasWhitespace
predicate is now available. (#1694)
@siteimprove/alfa-rules: SIA-R83 is now better at handling white-space
and text-overflow
. (#1694)
@siteimprove/alfa-style: flex-wrap
now has a used value of None
on elements that are not flex containers. (#1694)
@siteimprove/alfa-style: <option>
elements that are hidden by their <select>
are now correctly considered as invisible. (#1683)
@siteimprove/alfa-style: overflow
and text-overflow
now have no used value on elements where they don't apply. (#1689)
@siteimprove/alfa-style: The computed value of display
for <button>
elements now correctly handles button layout. (#1694)
FAQs
Types for modelling functions that can be passed around and called back with a value once available
The npm package @siteimprove/alfa-callback receives a total of 1,386 weekly downloads. As such, @siteimprove/alfa-callback popularity was classified as popular.
We found that @siteimprove/alfa-callback demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.