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

irish-pub-sub

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

irish-pub-sub - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

index.js.map

6

index.js

@@ -1,4 +0,2 @@

export default (obj = {}) => ([
(craic, drink) => (obj[craic] || (obj[craic] = [])).push(drink) && (() => obj[craic].sort(fn => fn === drink ? 1 : -1).pop() && 'eff off'),
(craic, msg) => (obj[craic] || []).forEach(fn => fn(msg))
])
module.exports=function(n){return void 0===n&&(n={}),[function(r,t){return(n[r]||(n[r]=[])).push(t)&&function(){return n[r].sort(function(n){return n===t?1:-1}).pop()&&"eff off"}},function(r,t){return(n[r]||[]).forEach(function(n){return n(t)})}]};
//# sourceMappingURL=index.js.map
{
"name": "irish-pub-sub",
"version": "1.0.0",
"version": "1.0.1",
"description": "🍀146b Pubsub system",

@@ -8,3 +8,10 @@ "main": "index.js",

"author": "Alex Bratsos <alexisbratsos@gmail.com>",
"license": "MIT"
"license": "MIT",
"scripts": {
"build": "microbundle",
"dev": "microbundle watch"
},
"devDependencies": {
"microbundle": "^0.9.0"
}
}
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