Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

native-event-bus

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

native-event-bus - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

pnpm-lock.yaml

1

index.js
export class EventBus {
eventTarget;
constructor(description = '') {

@@ -3,0 +4,0 @@ this.eventTarget = typeof document === 'object'

11

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc