
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@arcmantle/adapter-element
Advanced tools
A modern custom element framework that bridges reactive signals with Web Components, providing an efficient and developer-friendly approach to building web components with automatic reactivity.
The Adapter Element framework provides a lightweight abstraction over native Web Components that combines:
@arcmantle/injector
for modular architectureTraditional Web Components require significant boilerplate and manual change detection. Adapter Element solves this by:
The base class that your components extend. It provides:
Uses the TC39 Signals proposal for reactive state management:
@state()
- Internal component state that triggers re-renders@property()
- Properties synchronized with HTML attributesThe framework uses a unique two-class approach:
This separation provides clean APIs while maintaining full Web Component compatibility.
import { AdapterElement } from '@arcmantle/adapter-element/adapter';
import { customElement, property, state } from '@arcmantle/adapter-element/adapter';
import { html } from '@arcmantle/adapter-element/shared';
@customElement('my-counter')
class MyCounter extends AdapterElement {
@property(Number) accessor count = 0;
@state() accessor internalState = 'ready';
protected render() {
return html`
<div>
<p>Count: ${this.count}</p>
<button @click=${this.increment}>+</button>
<button @click=${this.decrement}>-</button>
</div>
`;
}
private increment = () => {
this.count++;
};
private decrement = () => {
this.count--;
};
}
The package provides several entry points:
./adapter
- Core AdapterElement class and decorators./shared
- Shared utilities (lit-html exports, CSS helpers, reactive controllers)./router
- Client-side routing utilities⚠️ Work in Progress - This framework is currently in active development and APIs may change. Not recommended for production use yet.
lit-html
- Template renderingsignal-polyfill
- TC39 Signals implementation@arcmantle/injector
- Dependency injection@arcmantle/library
- Utility functionsFAQs
Custom element wrapper using signals and lit-html.
The npm package @arcmantle/adapter-element receives a total of 3 weekly downloads. As such, @arcmantle/adapter-element popularity was classified as not popular.
We found that @arcmantle/adapter-element 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.