Reduce duplication in badge regex/url patterns (#2279)

This reduces duplication in badge regex/url patterns, and reduces the need to understand regexes in order to create badges.

Ref: #2050
This commit is contained in:
Paul Melnikow
2018-11-08 15:05:44 -05:00
committed by GitHub
parent 611e58e43e
commit 291f35d4ad
8 changed files with 311 additions and 245 deletions

View File

@@ -44,6 +44,7 @@
"lodash.uniq": "~4.5.0",
"moment": "^2.19.3",
"node-env-flag": "^0.1.0",
"path-to-regexp": "^2.4.0",
"pdfkit": "~0.8.0",
"pretty-bytes": "^5.0.0",
"priorityqueuejs": "^1.0.0",