1
0
mirror of https://github.com/badges/shields.git synced 2025-04-17 08:37:04 +03:00

chore(deps): bump simple-icons from 14.9.0 to 14.10.0 (#10947)

* chore(deps): bump simple-icons from 14.9.0 to 14.10.0

Bumps [simple-icons](https://github.com/simple-icons/simple-icons) from 14.9.0 to 14.10.0.
- [Release notes](https://github.com/simple-icons/simple-icons/releases)
- [Commits](https://github.com/simple-icons/simple-icons/compare/14.9.0...14.10.0)

---
updated-dependencies:
- dependency-name: simple-icons
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* change test example for logo that is not re-coloured

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: chris48s <git@chris-shaw.dev>
This commit is contained in:
dependabot[bot] 2025-03-14 19:53:33 +00:00 committed by GitHub
parent 2b41dc5dcf
commit 5fdb3f585f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 9 deletions

View File

@ -83,20 +83,20 @@ describe('Logo helpers', function () {
})
it('preserves color if medium logo on dark background', function () {
const logo = prepareNamedLogo({ name: 'android' })
const logo = prepareNamedLogo({ name: 'mastodon' })
const decodedLogo = Buffer.from(
logo.replace('data:image/svg+xml;base64,', ''),
'base64',
).toString('ascii')
expect(decodedLogo).to.contain('fill="#34A853"')
expect(decodedLogo).to.contain('fill="#6364FF"')
})
it('preserves color if medium logo on light background', function () {
const logo = prepareNamedLogo({ name: 'android', style: 'social' })
const logo = prepareNamedLogo({ name: 'mastodon', style: 'social' })
const decodedLogo = Buffer.from(
logo.replace('data:image/svg+xml;base64,', ''),
'base64',
).toString('ascii')
expect(decodedLogo).to.contain('fill="#34A853"')
expect(decodedLogo).to.contain('fill="#6364FF"')
})
})

8
package-lock.json generated
View File

@ -51,7 +51,7 @@
"qs": "^6.14.0",
"query-string": "^9.1.1",
"semver": "~7.7.1",
"simple-icons": "14.9.0",
"simple-icons": "14.10.0",
"smol-toml": "1.3.1",
"svg-path-bbox": "^2.1.0",
"svgpath": "^2.6.0",
@ -29740,9 +29740,9 @@
}
},
"node_modules/simple-icons": {
"version": "14.9.0",
"resolved": "https://registry.npmjs.org/simple-icons/-/simple-icons-14.9.0.tgz",
"integrity": "sha512-d3nebH+gVXaEsHEy3juuX2EJ9H3Es6gHJTyz58Vcx33zAoCwWPQiOC0ONsEHOg7ciwZanFH1FEnJFB4OKzWrdw==",
"version": "14.10.0",
"resolved": "https://registry.npmjs.org/simple-icons/-/simple-icons-14.10.0.tgz",
"integrity": "sha512-B5Uip8C0jQ0Mux9kDDmaveexwYS+ATVMaRZmaOaJJqbi+QpRBOHRCjGAeJ4RG7DYeoAkPvEOWRcHssUQ87db7g==",
"license": "CC0-1.0",
"engines": {
"node": ">=0.12.18"

View File

@ -63,7 +63,7 @@
"qs": "^6.14.0",
"query-string": "^9.1.1",
"semver": "~7.7.1",
"simple-icons": "14.9.0",
"simple-icons": "14.10.0",
"smol-toml": "1.3.1",
"svg-path-bbox": "^2.1.0",
"svgpath": "^2.6.0",