Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@siteimprove/alfa-device
Advanced tools
Types for modelling device parameters, such as viewport dimensions and pixel density
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 device parameters, such as viewport dimensions and pixel density
The npm package @siteimprove/alfa-device receives a total of 722 weekly downloads. As such, @siteimprove/alfa-device popularity was classified as not popular.
We found that @siteimprove/alfa-device demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.