
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@paraboly/pwc-map-legend
Advanced tools
Fully customizable map legend view for Web with StencilJS via Paraboly
<script type="module" src="https://unpkg.com/@paraboly/pwc-map-legend@latest/dist/pwc-map-legend/pwc-map-legend.esm.js"></script>
in the head of your index.htmlnpm install @paraboly/pwc-map-legend --save
import @paraboly/pwc-map-legend;
<pwc-map-legend
title-text="Custom Legend Title"
entries='[
{
"name": "Foo",
"count": 1512,
"color": "red"
},
{
"name": "Road",
"count": 8,
"color": "#222123",
"svgStyle": { "stroke-opacity": 0.8, "stroke-width": 15 },
"roadLines": [
{
"color": "white",
"svgStyle": { "stroke-dasharray": 6 }
},
{
"color": "white"
}
]
}
]'
></pwc-map-legend>
<pwc-map-legend></pwc-map-legend>
var pwcMapLegend = document.querySelector("pwc-map-legend");
pwcMapLegend.titleText = "Legend";
pwcMapLegend.entries = [
{
name: "Foo",
count: 1512,
color: "red"
},
{
name: "Triple Lane Road",
count: 8,
color: "#222123",
svgStyle: { "stroke-opacity": 0.8, "stroke-width": 15 },
roadLines: [
{
color: "white",
svgStyle: { "stroke-dasharray": 6 }
},
{
color: "white"
}
]
}
];
stroke-width
of svgStyle
overrides has to be of type number
only. This is enforced in TypeScript interfaces, but there is no type enforcement when used from JavaScript code or from plain HTML.SchemeSonic, haldun.yildiz@paraboly.com | haldun313@gmail.com
FreakyCoder, kuray.ogun@paraboly.com | kurayogun@gmail.com
starikcetin, tarik.cetin@paraboly.com | cetinsamedtarik@gmail.com
WebComponent PWC Map Legend is available under the MIT license. Refer to the LICENSE file for more information.
FAQs
Fully customizable map legend view for Web with StencilJS via Paraboly
The npm package @paraboly/pwc-map-legend receives a total of 2 weekly downloads. As such, @paraboly/pwc-map-legend popularity was classified as not popular.
We found that @paraboly/pwc-map-legend 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.