@effection/events
Advanced tools
Comparing version 2.0.0-fix-core-ship-esm-cjs-dist-r2.1628053316093 to 2.0.0-package-json-version-import.1629635719447
# Changelog | ||
## \[2.0.0-beta.12] | ||
- Update core dependency | ||
- Bumped due to a bump in @effection/mocha. | ||
- [d92eee5](https://github.com/thefrontside/effection/commit/d92eee594fdb8dc6d8ab6a37b6aa362122e63f6e) Update core dependency on 2021-08-16 | ||
## \[2.0.0-beta.11] | ||
- Use Object.create to wrap error objects rather than copying properties | ||
- Bumped due to a bump in @effection/core. | ||
- [a56ae2a](https://github.com/thefrontside/effection/commit/a56ae2af8a6247697b8b6253bd35b6d9e569613d) Use Object.create to create error object with trace on 2021-08-16 | ||
## \[2.0.0-beta.10] | ||
- add `Task#spawn` operation to spawn new task with a specific scope | ||
- Bumped due to a bump in @effection/core. | ||
- [a71d65b](https://github.com/thefrontside/effection/commit/a71d65b77df5c337a78b7934edd181080eacf5bf) Add changefile on 2021-07-27 | ||
## \[2.0.0-beta.9] | ||
- Add sideEffects field to package.json | ||
- [383141d](https://github.com/thefrontside/effection/commit/383141dc556c6a781d98087f3b68085d5eb31173) Add sideEffects field to package.json ([#470](https://github.com/thefrontside/effection/pull/470)) on 2021-08-05 | ||
## \[2.0.0-beta.8] | ||
- The `dist` directory didn't contain the `esm` and `cjs` directory. We copy the `package.json` for reference into the dist, and this broke the `files` resolution. Switch to using `dist-cjs` and `dist-esm` which allows us to avoid copying `package.json`. | ||
- [63fbcfb](https://github.com/thefrontside/effection/commit/63fbcfb8151bb7434f1cb8c58bfed25012ad2727) fix: @effection/core to ship dist/esm and dist/cjs on 2021-08-03 | ||
- [7788e24](https://github.com/thefrontside/effection/commit/7788e2408bcff8180b24ce497043283c97b6dbaa) fix: @effection/core to ship dist-esm and dist-cjs on 2021-08-03 | ||
- [6923a0f](https://github.com/thefrontside/effection/commit/6923a0fa1a84cd0788f8c9c1600ccf7539b08bbf) update change file with everything patched on 2021-08-03 | ||
## \[2.0.0-beta.7] | ||
@@ -4,0 +34,0 @@ |
@@ -16,3 +16,3 @@ import { Stream } from '@effection/subscription'; | ||
* ```javascript | ||
* task.spawn(on(document, 'click').forEach(event => { | ||
* yield spawn(on(document, 'click').forEach(event => { | ||
* console.log(`click at (${event.pageX}, ${event.pageY})`); | ||
@@ -28,3 +28,3 @@ * })); | ||
* let buffer = ''; | ||
* task.spawn(on(process.stdin, 'data').forEach(data => { | ||
* yield spawn(on(process.stdin, 'data').forEach(data => { | ||
* buffer += data; | ||
@@ -50,3 +50,3 @@ * })); | ||
* | ||
* task.spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* yield spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* console.log(`${left} times ${right} = ${left * right}!`); | ||
@@ -53,0 +53,0 @@ * })); |
@@ -19,3 +19,3 @@ "use strict"; | ||
* ```javascript | ||
* task.spawn(on(document, 'click').forEach(event => { | ||
* yield spawn(on(document, 'click').forEach(event => { | ||
* console.log(`click at (${event.pageX}, ${event.pageY})`); | ||
@@ -31,3 +31,3 @@ * })); | ||
* let buffer = ''; | ||
* task.spawn(on(process.stdin, 'data').forEach(data => { | ||
* yield spawn(on(process.stdin, 'data').forEach(data => { | ||
* buffer += data; | ||
@@ -64,3 +64,3 @@ * })); | ||
* | ||
* task.spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* yield spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* console.log(`${left} times ${right} = ${left * right}!`); | ||
@@ -67,0 +67,0 @@ * })); |
@@ -16,3 +16,3 @@ import { Stream } from '@effection/subscription'; | ||
* ```javascript | ||
* task.spawn(on(document, 'click').forEach(event => { | ||
* yield spawn(on(document, 'click').forEach(event => { | ||
* console.log(`click at (${event.pageX}, ${event.pageY})`); | ||
@@ -28,3 +28,3 @@ * })); | ||
* let buffer = ''; | ||
* task.spawn(on(process.stdin, 'data').forEach(data => { | ||
* yield spawn(on(process.stdin, 'data').forEach(data => { | ||
* buffer += data; | ||
@@ -50,3 +50,3 @@ * })); | ||
* | ||
* task.spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* yield spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* console.log(`${left} times ${right} = ${left * right}!`); | ||
@@ -53,0 +53,0 @@ * })); |
@@ -16,3 +16,3 @@ import { createStream } from '@effection/subscription'; | ||
* ```javascript | ||
* task.spawn(on(document, 'click').forEach(event => { | ||
* yield spawn(on(document, 'click').forEach(event => { | ||
* console.log(`click at (${event.pageX}, ${event.pageY})`); | ||
@@ -28,3 +28,3 @@ * })); | ||
* let buffer = ''; | ||
* task.spawn(on(process.stdin, 'data').forEach(data => { | ||
* yield spawn(on(process.stdin, 'data').forEach(data => { | ||
* buffer += data; | ||
@@ -60,3 +60,3 @@ * })); | ||
* | ||
* task.spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* yield spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* console.log(`${left} times ${right} = ${left * right}!`); | ||
@@ -63,0 +63,0 @@ * })); |
{ | ||
"name": "@effection/events", | ||
"version": "2.0.0-fix-core-ship-esm-cjs-dist-r2.1628053316093", | ||
"version": "2.0.0-package-json-version-import.1629635719447", | ||
"description": "Helpers for listening to events with effection", | ||
@@ -9,2 +9,3 @@ "main": "dist-cjs/index.js", | ||
"typeDocEntry": "src/index.ts", | ||
"sideEffects": false, | ||
"homepage": "https://github.com/thefrontside/effection", | ||
@@ -31,7 +32,7 @@ "repository": { | ||
"dependencies": { | ||
"@effection/core": "2.0.0-fix-core-ship-esm-cjs-dist-r2.1628053316093", | ||
"@effection/subscription": "2.0.0-fix-core-ship-esm-cjs-dist-r2.1628053316093" | ||
"@effection/core": "2.0.0-package-json-version-import.1629635719447", | ||
"@effection/subscription": "2.0.0-package-json-version-import.1629635719447" | ||
}, | ||
"devDependencies": { | ||
"@effection/mocha": "2.0.0-fix-core-ship-esm-cjs-dist-r2.1628053316093", | ||
"@effection/mocha": "2.0.0-beta.9", | ||
"@frontside/tsconfig": "^1.2.0", | ||
@@ -38,0 +39,0 @@ "@types/node": "16.3.2", |
@@ -18,3 +18,3 @@ import { createStream, Stream } from '@effection/subscription'; | ||
* ```javascript | ||
* task.spawn(on(document, 'click').forEach(event => { | ||
* yield spawn(on(document, 'click').forEach(event => { | ||
* console.log(`click at (${event.pageX}, ${event.pageY})`); | ||
@@ -30,3 +30,3 @@ * })); | ||
* let buffer = ''; | ||
* task.spawn(on(process.stdin, 'data').forEach(data => { | ||
* yield spawn(on(process.stdin, 'data').forEach(data => { | ||
* buffer += data; | ||
@@ -63,3 +63,3 @@ * })); | ||
* | ||
* task.spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* yield spawn(onEmit(emitter, 'multiplication').forEach(([left, right]) => { | ||
* console.log(`${left} times ${right} = ${left * right}!`); | ||
@@ -66,0 +66,0 @@ * })); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
53413
0
+ Added@effection/core@2.0.0-package-json-version-import.1629635719447(transitive)
+ Added@effection/subscription@2.0.0-package-json-version-import.1629635719447(transitive)
- Removed@effection/core@2.0.0-fix-core-ship-esm-cjs-dist-r2.1628053316093(transitive)
- Removed@effection/subscription@2.0.0-fix-core-ship-esm-cjs-dist-r2.1628053316093(transitive)
Updated@effection/core@2.0.0-package-json-version-import.1629635719447
Updated@effection/subscription@2.0.0-package-json-version-import.1629635719447