Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@cultureamp/kaizen-binary-assets
Advanced tools
Binary asset management for Culture Amp's Kaizen Design System.
Binary asset management for Culture Amp's Kaizen Design System.
assetUrl(path)
Returns the full URL of the asset at path
managed by the
kaizen-design-system-assets
service.
TypeScript/JavaScript
assetUrl("some/blob.png") // -> "https://<origin>/some/blob.png"
SCSS
asset-url("some/blob.png") // -> "https://<origin>/some/blob.png"
kaizen-design-system-assets
repo. If it doesn't, make a PR to add it (ask the Design Systems team for review). Images in this repo will be automatically uploaded and made available via a CloudFront distribution.@cultureamp/kaizen-binary-assets
package is in your repo's package.json
. This package provides you the assetUrl
function that translates the path to the file in the kaizen-design-system-assets
repo into its equivalent CloudFront URL.index.ts
or index.scss
file and you can access the image through the assetUrl
/asset-url
function:// JS
import assetUrl from "@cultureamp/kaizen-binary-assets/lib/index.ts";
<SomeComponent image={assetUrl("illustrations/ham.png")} />
// SCSS
@import "~@cultureamp/kaizen-binary-assets/lib/index.scss";
.coolpic {
background-image: url(asset-url("illustrations/ham.png"));
}
FAQs
Binary asset management for Culture Amp's Kaizen Design System.
We found that @cultureamp/kaizen-binary-assets demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
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.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.