irish-pub-sub
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,2 +0,4 @@ | ||
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 | ||
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)) | ||
]) |
{ | ||
"name": "irish-pub-sub", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "🍀146b Pubsub system", | ||
@@ -10,3 +10,3 @@ "main": "index.js", | ||
"scripts": { | ||
"build": "microbundle", | ||
"build": "microbundle -o dist/", | ||
"dev": "microbundle watch" | ||
@@ -13,0 +13,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
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
5650
10
11
1
31
0