Comparing version
{ | ||
"name": "remitter", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"private": false, | ||
@@ -34,3 +34,3 @@ "description": "An TypeScript friendly event emitter with easy re-emitting events.", | ||
"test": "vitest run --coverage", | ||
"docs": "typedoc --includeVersion --excludePrivate --out docs src/index.ts", | ||
"docs": "typedoc --includeVersion --excludePrivate --out docs src/remitter.ts", | ||
"types": "cross-env NODE_ENV=production tsc --declaration --emitDeclarationOnly --jsx react --esModuleInterop --outDir dist", | ||
@@ -37,0 +37,0 @@ "build": "vite build && npm run types", |
# remitter | ||
<p align="center"> | ||
<img width="200" src="https://raw.githubusercontent.com/crimx/remitter/master/assets/remitter.svg"> | ||
<img width="200" src="https://raw.githubusercontent.com/crimx/remitter/main/assets/remitter.svg"> | ||
</p> | ||
@@ -9,3 +9,3 @@ | ||
[](https://www.npmjs.com/package/remitter) | ||
[](https://coveralls.io/github/crimx/remitter?branch=master) | ||
[](https://coveralls.io/github/crimx/remitter?branch=main) | ||
[](https://bundlephobia.com/package/remitter) | ||
@@ -35,3 +35,3 @@ | ||
const remitter = new Remitter(); | ||
const remitter = new Remitter<EventConfig>(); | ||
@@ -38,0 +38,0 @@ const disposer = remitter.on("event1", value => { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22236
0.04%0
-100%