irish-pub-sub
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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" | ||
} | ||
} |
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
4546
9
8
1