Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@cloudfour/simple-svg-placeholder

Package Overview
Dependencies
Maintainers
8
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cloudfour/simple-svg-placeholder - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

index.js

@@ -12,3 +12,3 @@ function simpleSvgPlaceholder({

dataUri = true,
charset = 'utf8'
charset = 'UTF-8'
} = {}) {

@@ -15,0 +15,0 @@ const str = `<svg xmlns="http://www.w3.org/2000/svg" width="${width}" height="${height}" viewBox="0 0 ${width} ${height}">

{
"name": "@cloudfour/simple-svg-placeholder",
"version": "1.0.1",
"version": "1.0.2",
"description": "A very simple placeholder image generator with zero dependencies. Returns a data URI (or raw SVG source) as a string for use in templates.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -119,2 +119,2 @@ # Simple SVG Placeholder

Defaults to `utf8`, but if your source HTML document's character set is different, you may want to update this to match.
Defaults to `UTF-8`, but if your source HTML document's character set is different, you may want to update this to match.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc