Skip to content

Commit 3fda065

Browse files
committed
Restore Snyk badge and switch license badge to npm endpoint
Snyk's public test endpoint is serving the badge SVG again, so the badge can come back. The license badge now reads from npm's license field (more reliable than github/license detection) and links to a relative LICENSE path so it resolves correctly on both GitHub and npm.
1 parent 8e20e3f commit 3fda065

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ A <b>WebSocket</b> for browsers with <b>auto-reconnect</b> and <b>message buffer
1919

2020
[![npm version](https://img.shields.io/npm/v/websocket-ts.svg)](https://www.npmjs.org/package/websocket-ts)
2121
[![Bundle Size](https://deno.bundlejs.com/badge?q=websocket-ts@2.2.1)](https://bundlejs.com/?q=websocket-ts)
22-
[![License](https://img.shields.io/github/license/jjxxs/websocket-ts)](/LICENSE)
22+
[![Snyk security](https://snyk.io/test/npm/websocket-ts/badge.svg)](https://snyk.io/test/npm/websocket-ts)
23+
[![License](https://img.shields.io/npm/l/websocket-ts)](LICENSE)
2324

2425
</div>
2526

0 commit comments

Comments
 (0)