native-event-bus
Advanced tools
Comparing version 1.0.1 to 1.0.2
export class EventBus { | ||
eventTarget; | ||
constructor(description = '') { | ||
@@ -3,0 +4,0 @@ this.eventTarget = typeof document === 'object' |
{ | ||
"name": "native-event-bus", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Lightweight Native Event Bus in JavaScript", | ||
"type": "module", | ||
"main": "index.js", | ||
@@ -15,5 +16,9 @@ "module": "index.js", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"typescript": "^4.5.4" | ||
}, | ||
"scripts": { | ||
"build": "tsc -d -p ." | ||
} | ||
} | ||
}, | ||
"readme": "# event-bus\n\nLightweight Native Event Bus in JavaScript\n\n## The article\n\n* English: <https://css-tricks.com/lets-create-a-lightweight-native-event-bus-in-javascript/>\n* Chinese: <https://segmentfault.com/a/1190000024439839>\n\n## License\n\nMIT\n" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6278
9
72
Yes
1