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.
babel-plugin-cerebral-proxy-tags
Advanced tools
Babel plugin that convertes proxy access to cerebral tagged templates.
In Cerebral v2 tags are a way to target input, state, props or signals. They are implemented using a new ES2015 feature called template tags.
I implemented these using Proxy Object in cerebral-proxy-tags. This babel-plugin is tracking the usage of these specific proxy tags and translates them into the tagged template syntax.
Instead of this way:
import {set} from 'cerebral/operators'
import {state} from 'cerebral/tags'
export default [
set(state`foo.bar`, 'baz')
]
You can write the same like shown below and it will get transpiled automatically.
import {set} from 'cerebral/operators'
import {state} from 'cerebral-proxy-tags' // or 'cerebral/proxies'
export default [
set(state.foo.bar, 'baz') // <-- usage
]
FAQs
Babel plugin that convertes proxy access to cerebral tagged templates.
The npm package babel-plugin-cerebral-proxy-tags receives a total of 12 weekly downloads. As such, babel-plugin-cerebral-proxy-tags popularity was classified as not popular.
We found that babel-plugin-cerebral-proxy-tags 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
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.