event-emitter-grouped
Advanced tools
Comparing version 5.0.0 to 6.0.0
{ | ||
"title": "Event Emitter Grouped", | ||
"name": "event-emitter-grouped", | ||
"version": "5.0.0", | ||
"version": "6.0.0", | ||
"description": "Emit events in serial or parallel with support for synchronous and asynchronous listeners", | ||
@@ -78,3 +78,3 @@ "homepage": "https://github.com/bevry/event-emitter-grouped", | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=4" | ||
}, | ||
@@ -110,10 +110,39 @@ "editions": [ | ||
} | ||
}, | ||
{ | ||
"description": "ESNext compiled for Node.js 21 with Require for modules", | ||
"directory": "edition-node-21", | ||
"entry": "index.js", | ||
"tags": [ | ||
"compiled", | ||
"javascript", | ||
"require" | ||
], | ||
"engines": { | ||
"node": "6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21", | ||
"browsers": false | ||
} | ||
}, | ||
{ | ||
"description": "ESNext compiled for Node.js 4 with Require for modules", | ||
"directory": "edition-node-4", | ||
"entry": "index.js", | ||
"tags": [ | ||
"compiled", | ||
"javascript", | ||
"require" | ||
], | ||
"engines": { | ||
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21", | ||
"browsers": false | ||
} | ||
} | ||
], | ||
"type": "commonjs", | ||
"main": "source/index.js", | ||
"main": "index.cjs", | ||
"browser": "edition-browsers/index.js", | ||
"dependencies": { | ||
"taskgroup": "^8.0.0", | ||
"unbounded": "^4.0.0" | ||
"editions": "^6.10.0", | ||
"taskgroup": "^9.1.0", | ||
"unbounded": "^5.0.0" | ||
}, | ||
@@ -126,3 +155,3 @@ "devDependencies": { | ||
"@bevry/update-contributors": "^1.23.0", | ||
"assert-helpers": "^10.0.0", | ||
"assert-helpers": "^11.1.0", | ||
"eslint": "^8.53.0", | ||
@@ -135,3 +164,3 @@ "eslint-config-bevry": "^3.29.0", | ||
"kava": "3.2.0", | ||
"prettier": "^3.0.3", | ||
"prettier": "^3.1.0", | ||
"projectz": "^2.23.0", | ||
@@ -143,4 +172,6 @@ "surge": "^0.23.1", | ||
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"our:compile": "npm run our:compile:edition-browsers", | ||
"our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-node-21 && npm run our:compile:edition-node-4", | ||
"our:compile:edition-browsers": "env BABEL_ENV=edition-browsers babel --out-dir ./edition-browsers ./source", | ||
"our:compile:edition-node-21": "env BABEL_ENV=edition-node-21 babel --out-dir ./edition-node-21 ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-node-21/package.json", | ||
"our:compile:edition-node-4": "env BABEL_ENV=edition-node-4 babel --out-dir ./edition-node-4 ./source && printf '%s' '{\"type\": \"commonjs\"}' > edition-node-4/package.json", | ||
"our:deploy": "printf '%s\n' 'no need for this project'", | ||
@@ -165,3 +196,3 @@ "our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz", | ||
"our:verify:prettier": "prettier --write .", | ||
"test": "node ./source/test.js" | ||
"test": "node ./test.cjs" | ||
}, | ||
@@ -175,3 +206,4 @@ "eslintConfig": { | ||
"semi": false, | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
}, | ||
@@ -197,2 +229,36 @@ "babel": { | ||
] | ||
}, | ||
"edition-node-21": { | ||
"sourceType": "script", | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": "21" | ||
}, | ||
"modules": "commonjs" | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/proposal-object-rest-spread" | ||
] | ||
}, | ||
"edition-node-4": { | ||
"sourceType": "script", | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"targets": { | ||
"node": "4" | ||
}, | ||
"modules": "commonjs" | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"@babel/proposal-object-rest-spread" | ||
] | ||
} | ||
@@ -199,0 +265,0 @@ } |
@@ -110,3 +110,3 @@ <!-- TITLE/ --> | ||
<script type="module"> | ||
import * as pkg from '//dev.jspm.io/event-emitter-grouped@5.0.0' | ||
import * as pkg from '//dev.jspm.io/event-emitter-grouped@6.0.0' | ||
</script> | ||
@@ -119,5 +119,7 @@ ``` | ||
<ul><li><code>event-emitter-grouped</code> aliases <code>event-emitter-grouped/source/index.js</code></li> | ||
<ul><li><code>event-emitter-grouped</code> aliases <code>event-emitter-grouped/index.cjs</code> which uses the <a href="https://github.com/bevry/editions" title="You can use the Editions Autoloader to autoload the appropriate edition for your consumers environment">Editions Autoloader</a> to automatically select the correct edition for the consumer's environment</li> | ||
<li><code>event-emitter-grouped/source/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> source code for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>event-emitter-grouped/edition-browsers/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> compiled for web browsers with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li></ul> | ||
<li><code>event-emitter-grouped/edition-browsers/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> compiled for web browsers with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>event-emitter-grouped/edition-node-21/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> compiled for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li> | ||
<li><code>event-emitter-grouped/edition-node-4/index.js</code> is <a href="https://en.wikipedia.org/wiki/ECMAScript#ES.Next" title="ECMAScript Next">ESNext</a> compiled for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 4 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li></ul> | ||
@@ -124,0 +126,0 @@ <h3><a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a></h3> |
@@ -49,3 +49,3 @@ 'use strict' | ||
const tasks = new TaskGroup(`EventEmitterGrouped for ${eventName}`).done( | ||
next, | ||
next | ||
) | ||
@@ -65,3 +65,3 @@ | ||
unbounded.define(listener, listener.listener), | ||
me, | ||
me | ||
) | ||
@@ -68,0 +68,0 @@ : unbounded.binder.call(listener, me) |
Sorry, the diff of this file is not supported yet
51948
11
489
208
3
+ Addededitions@^6.10.0
+ Addedeachr@7.4.0(transitive)
+ Addededitions@6.21.0(transitive)
+ Addedextendr@7.10.0(transitive)
+ Addedtaskgroup@9.8.0(transitive)
+ Addedtypechecker@9.3.0(transitive)
+ Addedunbounded@5.4.06.3.1(transitive)
+ Addedversion-range@4.14.0(transitive)
- Removedeachr@4.5.0(transitive)
- Removedextendr@6.0.0(transitive)
- Removedtaskgroup@8.0.0(transitive)
- Removedtypechecker@6.4.07.18.0(transitive)
- Removedunbounded@4.0.0(transitive)
Updatedtaskgroup@^9.1.0
Updatedunbounded@^5.0.0