1
0
mirror of https://github.com/badgen/badgen.git synced 2025-04-19 05:42:16 +03:00

309 Commits

Author SHA1 Message Date
Amio
a303e46dad 3.2.3 v3.2.3 2023-07-21 20:04:46 +08:00
Amio Jin
23108a625f
fix: generate random id for svg elements. Fixes #71 (#78) 2023-06-22 15:36:02 +08:00
dependabot[bot]
25ee3bd4bd
build(deps): bump json5 from 2.2.1 to 2.2.3 (#76)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-24 18:33:45 +08:00
简静凡
665dc507ee
feat: export typescript types (#77)
- export type StyleOption
- export type ColorPreset
- export type BadgenOptions
2023-02-24 18:33:13 +08:00
Amio
fdfe99c051 fix: correctly render undefined label 2022-04-30 17:31:10 +08:00
Amio
2ca1ce4755 chore: disable coverage check in tap 2022-04-30 17:14:20 +08:00
Amio
609f95c21a chore: remove test for nodejs 8 and 10 2022-04-30 17:14:20 +08:00
Amio
18f79c98b8 chore: bump esbuild to 0.14, tap to 16 2022-04-30 17:14:20 +08:00
Amio
49b999f5da chore: update tsconfig 2022-04-30 17:14:20 +08:00
Amio
ef2f2914d8 chore: npm update 2022-04-30 17:14:20 +08:00
Andrew Patton
ab4c32e145
docs: fix in-browser code sample (#72) 2022-04-30 15:54:32 +08:00
chris48s
df6c6f026d
feat: apply escaping to all string inputs (#68) 2021-03-28 11:25:47 +08:00
amio
f9cede8f8d 3.2.2 v3.2.2 2020-11-30 21:11:04 +08:00
amio
c22fc7c16b chore: bump dev deps 2020-11-30 21:10:07 +08:00
Frantisek Vymazal
2046b6f993
fix: enable scaling of "bare" badges as well (#66) 2020-11-30 21:08:03 +08:00
dependabot[bot]
484f212b8d
build(deps): bump lodash from 4.17.15 to 4.17.19 (#65)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-19 11:45:03 +08:00
Samim Mirhosseini
dae2b390de
docs: fixing invalid json format in readme (#64) 2020-07-07 13:09:07 +08:00
amio
f9729c0ab1 3.2.1 v3.2.1 2020-07-07 13:06:48 +08:00
Evelyn Hathaway
c150c95057
fix: add edge cases for quotes, use sanitize function for aria-label (#63) 2020-07-07 12:56:54 +08:00
Amio
e8da026791 3.2.0 v3.2.0 2020-07-06 23:17:58 +08:00
Amio
d1cbed3588 chore: bump deps 2020-07-06 23:16:48 +08:00
Evelyn Hathaway
179a1d3c2a
feat: add accessible text alternative in SVG (#62)
* feat: accessible text alternative in SVG

* fix: change alt text strategy to support IE 11
2020-07-06 22:52:07 +08:00
amio
49f8e3d9b4 3.1.0 v3.1.0 2020-05-09 14:26:11 +08:00
amio
9b9b2ab423 docs: update browser bundle url 2020-05-09 14:25:53 +08:00
amio
95ff63dbae chore: bump & cleanup dev deps 2020-05-09 14:23:28 +08:00
amio
4917cf9263 build: add browser bundle, ncc => esbuild 2020-05-09 14:19:27 +08:00
dependabot[bot]
45213df5a2
build(deps): bump acorn from 7.1.0 to 7.1.1 (#61)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-03-15 10:56:17 +08:00
amio
d1db1d6d72 3.0.1 v3.0.1 2019-10-23 00:27:43 +08:00
amio
c50fa5b922 fix: typescript is a devDep 2019-10-23 00:27:01 +08:00
amio
df0e3a55ae docs: update size badge 2019-10-04 10:43:01 +08:00
amio
79e7b0fff9 3.0.0 v3.0.0 2019-10-04 10:32:10 +08:00
amio
4e7677ef37 docs: update docs for browser usage 2019-10-04 10:28:01 +08:00
amio
77f514849f test: migrate to typescript 2019-10-04 10:27:41 +08:00
amio
5b8bb922da 2.9.0 v2.9.0 2019-10-03 20:32:30 +08:00
amio
997fcb6740 test: update test config 2019-10-03 13:39:39 +08:00
amio
2d37d4f0c2 chore: update tsconfig 2019-10-03 12:31:17 +08:00
amio
c81a539a2b docs: update docs for scale 2019-10-03 12:31:08 +08:00
amio
a8fcb2f5f4 docs: update bench results (after migration to ts) 2019-10-03 12:11:00 +08:00
amio
0a2dd9d00e refactor: js => ts 2019-10-03 12:10:43 +08:00
amio
3ef0141295 docs: update bench results (before migration to ts) 2019-10-03 10:58:00 +08:00
amio
9543aa138d feat: support scale arg (badgen/badgen.net#309) 2019-10-03 10:47:22 +08:00
amio
34c0d1e3f3 Fix bench script 2019-08-24 13:47:29 +08:00
amio
1d398838b4 Add workflow nodejs.yml 2019-08-24 13:47:07 +08:00
amio
0ea0ae366c Bump dependencies for vulnerability fixing 2019-08-24 11:35:12 +08:00
amio
db29bba8d7 Update standard to 14 and fix styles 2019-08-21 22:58:25 +08:00
Amio
7664764aed 2.8.2 v2.8.2 2019-07-06 18:22:46 +08:00
Amio
76d85b5b46 Update type definitions 2019-07-06 18:22:05 +08:00
Amio
7a060fd241 2.8.1 v2.8.1 2019-07-06 17:55:22 +08:00
Amio
7c0c70a5f4 Allow subject in type def 2019-07-06 17:54:41 +08:00
Amio
3c63b7e6af Add github action config 2019-07-06 17:36:53 +08:00