
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.
elementary-watson
Advanced tools
The ultimate in DOM Element tracking! You can use it to get the position of a DOM element and to track whether this position changes.
The ultimate in DOM Element tracking! You can use it to get the position of a DOM element and to track whether this position changes.
This library uses es2015 and esm. You might need to provide transpilation when using it in your projects.
export BROWSERSTACK_USERNAME=<browserstack-username>
export BROWSERSTACK_KEY=<browserstack-access-key>
npm run test:browserstack
You can get the position of a DOM element:
import ElementaryWatson from 'elementary-watson'
const elementaryWatson = new ElementaryWatson(DOMElement)
const { x, y, height, width, isFixed } = elementaryWatson.getPosition()
isFixed is true when the position of the DOM element is relative to the browser viewport. Otherwise the position is relative to the document. You can track the position of a DOMElement:
elementaryWatson.start(({ x, y, height, width, isFixed }) => {
// ...
})
The callback is called only when the position changes. You can stop listening to changes using:
elementaryWatson.stop()
FAQs
The ultimate in DOM Element tracking! You can use it to get the position of a DOM element and to track whether this position changes.
The npm package elementary-watson receives a total of 0 weekly downloads. As such, elementary-watson popularity was classified as not popular.
We found that elementary-watson demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.