Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@matter/general
Advanced tools
This package provides generic functionality required by matter.js that is not specific to Matter.
For more information about matter.js, see the matter.js README. Importing this package is only needed in special cases. For all normal use cases, import the main package.
0.11.0 (2024-10-29)
IMPORTANT: As of 0.10.0 the @project-chip/matter.js module has grown quite large. This release includes major refactoring that moves functional areas into independent NPM packages under the "@matter" org. We have added exports to maintain backwards compatibility but these are not exhaustive. In some cases you may need to update imports to reference new code locations.
Cross-module changes
package.json
"imports" field. This is an internal change that simplifies imports but should not affect consumers@matter/general:
@project-chip/matter.js
. It now lives in @matter/general
ObserverGroup
class simplifies binding management for multiple observables@matter/main:
@matter/model:
@project-chip/matter.js/model
now resides in @matter/model
@matter/node:
@project-chip/matter.js
now reside in @matter/node
. The Node API includes node management, behavior definitions and endpoint definitions@matter/node/behaviors
or individually (e.g. @matter/node/behaviors/on-off
)@matter/node/endpoints
and @matter/node/devices
respectively. You may also import these via index or individually@matter/nodejs:
@project-chip/matter-node.js
remains as a compatibility import.@matter/nodejs-ble
@project-chip/matter-node-ble.js
remains as a compatibility import.@matter/nodejs-shell:
@matter/protocol:
@project-chip/matter.js
now resides in @matter/protocol
. This includes network communication, fabric management and cluster invocation, read/write, events, etc.DeviceCommissioner
, DeviceAdvertiser
, NodeFinder
and Subscription
now perform functions that previously were in the (deprecated) MatterDevice class@matter/types:
@project-chip/matter.js
now reside in @matter/types
. This includes most TLV structures, cluster definitions, and various support types@project-chip/matter.js
. You can import via @project-chip/types/clusters
or individually (e.g. @project-chip/types/clusters/window-covering
)@matter/examples:
@matter/cli-tool:
@matter/create
npm init @matter help
anywhere you have Node.js installedMatter-Core functionality:
matter.js clusters:
matter.js Controller API:
FAQs
Non-Matter support for Matter.js
The npm package @matter/general receives a total of 12,294 weekly downloads. As such, @matter/general popularity was classified as popular.
We found that @matter/general 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
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.