🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@microflash/spritely

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@microflash/spritely - npm Package Compare versions

Comparing version
1.3.3
to
1.4.0
+5
-5
package.json
{
"name": "@microflash/spritely",
"version": "1.3.3",
"version": "1.4.0",
"description": "A handy Node.js CLI to generate SVG sprites",

@@ -10,6 +10,6 @@ "preferGlobal": true,

"dependencies": {
"cheerio": "^1.0.0-rc.5",
"commander": "^7.1.0",
"fs-extra": "^9.1.0",
"klaw": "^3.0.0"
"cheerio": "^1.0.0-rc.10",
"commander": "^8.3.0",
"fs-extra": "^10.0.0",
"klaw": "^4.0.1"
},

@@ -16,0 +16,0 @@ "repository": "https://github.com/Microflash/spritely.git",

@@ -82,8 +82,2 @@ # Spritely

When using the sprites, add the `aria-labelledby` attribute describing the content of the file.
```html
<svg role="img" class="icon icon-airplay" aria-labelledby="icon-airplay">
<use xlink:href="sprites.svg#icon-airplay" href="sprites.svg#icon-airplay" />
</svg>
```
For better guidelines on using SVGs accessibly, refer to [Accessible SVGs: Perfect Patterns For Screen Reader Users](https://www.smashingmagazine.com/2021/05/accessible-svg-patterns-comparison/).

Sorry, the diff of this file is not supported yet