
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@record-evolution/widget-statehistory
Advanced tools
Webcomponent widget-statehistory following open-wc recommendations
This webcomponent follows the open-wc recommendation.
npm i @record-evolution/widget-statehistory
<script type="module">
import 'widget-statehistory/widget-statehistory.js'
</script>
<widget-statehistory-1.7.0></widget-statehistory-1.7.0>
Please take a look at the src/default-data.json to see what data is expected to make the widget show content.
The following options are available for styling the overall graph and individual lines as well as the graph legend.
The SeriesOptions
type can either be line
or dots
. This selection affects the following styling options.
interface Point {
radius: number,
pointStyle: 'circle' | 'cross' | 'crossRot' | 'dash' | 'line' | 'rect' | 'rectRounded' | 'rectRot' | 'star' | 'triangle' | false,
backgroundColor: string,
borderColor: string,
borderWidth: number
}
interface Line {
backgroundColor: string,
borderColor: string,
borderWidth: number,
fill: boolean,
}
For most of the tools, the configuration is in the package.json
to reduce the amount of files in your project.
If you customize the configuration a lot, you can consider moving them to individual files.
web-dev-server
npm start
To run a local development server that serves the basic demo located in demo/index.html
FAQs
Webcomponent widget-statehistory following open-wc recommendations
The npm package @record-evolution/widget-statehistory receives a total of 50 weekly downloads. As such, @record-evolution/widget-statehistory popularity was classified as not popular.
We found that @record-evolution/widget-statehistory demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.