-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update rxjs peer dependency to include rxjs 7.x #103
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"@grammarly/focal-atom": minor | ||
"@grammarly/focal": minor | ||
--- | ||
|
||
Update peer dependency to include rxjs versions up to 7.x |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -744,7 +744,7 @@ describe('atom', () => { | |
describe('fromObservable', () => { | ||
test('emits atom', async () => { | ||
const a = await Atom.fromObservable(from([1])).pipe(take(1)).toPromise() | ||
expect(a.get()).toEqual(1) | ||
expect(a?.get()).toEqual(1) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
}) | ||
|
||
test('emits atom once', async () => { | ||
|
@@ -755,7 +755,7 @@ describe('atom', () => { | |
from(['hello']) | ||
).pipe(take(2), toArray()).toPromise() | ||
|
||
expect(a[1]).toEqual('hello') | ||
expect(a?.[1]).toEqual('hello') | ||
}) | ||
|
||
test('does not subscribe to source immediately', () => { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5115,12 +5115,12 @@ run-parallel@^1.1.9: | |
dependencies: | ||
queue-microtask "^1.2.2" | ||
|
||
rxjs@6.3.3: | ||
version "6.3.3" | ||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.3.tgz#3c6a7fa420e844a81390fb1158a9ec614f4bad55" | ||
integrity sha512-JTWmoY9tWCs7zvIk/CvRjhjGaOd+OVBM987mxFo+OW66cGpdKjZcpmc74ES1sB//7Kl/PAe8+wEakuhG4pcgOw== | ||
rxjs@^7.8.1: | ||
version "7.8.1" | ||
resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" | ||
integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== | ||
dependencies: | ||
tslib "^1.9.0" | ||
tslib "^2.1.0" | ||
|
||
safe-array-concat@^1.0.1: | ||
version "1.0.1" | ||
|
@@ -5779,11 +5779,16 @@ [email protected]: | |
micromatch "^4.0.0" | ||
semver "^7.3.4" | ||
|
||
tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: | ||
tslib@^1.8.0, tslib@^1.8.1: | ||
version "1.14.1" | ||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" | ||
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== | ||
|
||
tslib@^2.1.0: | ||
version "2.6.2" | ||
resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" | ||
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== | ||
|
||
[email protected]: | ||
version "5.20.0" | ||
resolved "https://registry.yarnpkg.com/tslint/-/tslint-5.20.0.tgz#fac93bfa79568a5a24e7be9cdde5e02b02d00ec1" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rxjs@7
https://rxjs.dev/6-to-7-change-summary#observable