Observable Firestore documents and collections using MobX
0x80/cra-typescript-redux-firebase 2
A boilerplate using CRA, Typescript and Redux / Firebase integration
Get the value equivalent to window.scrollMaxY
OIDC conformant samples for React
:zap: Delightful Node.js packages and resources
Nothing to see here people. Move on.
Create React apps with no build configuration.
A javascript object diff tool
pull request commentviruschidai/diff-json
Add guard for missing changes in add null property
I'm wondering why you haven't merged this @viruschidai?
And if it's not too much of a hassle please make a release with the update, so my production code can use your library again instead of my own fork.
comment created time in 5 days
issue commentfirebase/firebase-tools
Support mono-repos in deployment
How are you dealing with source maps? If I bundle my code with webpack using devtool: "inline-source-map" it doesn't get picked up in stackdriver error reporting.
comment created time in 6 days
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 6 days
push event0x80/firestore-mobx
commit sha 9d7fcc3097d5f7070400c90cf2c3cce962cf5399
v2.0.0-4
push time in 6 days
push event0x80/firestore-mobx
commit sha 5c7eaf90f818f2afb25dcb6e54647d65e2c30e56
Make documents in collection onDocs non-optional
push time in 6 days
push event0x80/firestore-mobx
commit sha a21136619aeeaef5969ee7c28bd86c382d72aa47
v2.0.0-3
push time in 6 days
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 6 days
push event0x80/firestore-mobx
commit sha 4f458350e6293b79b1232850fa830dbcdb2bdfd5
v2.0.0-2
push time in 6 days
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 6 days
push event0x80/firestore-mobx
commit sha 63751c2f1275425fd6232ae143842693f5126679
Replace postinstall script with prepare
push time in 6 days
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 6 days
push event0x80/firestore-mobx
commit sha a8b923fe4374ecb26984611749ef527cfd7abd00
v2.0.0-1
push time in 6 days
push event0x80/firestore-mobx
commit sha 226f006f3a07d4374fc31380e0a0d630636e08d1
Remove preinstall
push time in 6 days
push event0x80/firestore-mobx
commit sha e526a12ffa4498eda1d8c0ffbb8bcad3544e1c43
Add error and data callback functions (#10)
push time in 6 days
PR merged 0x80/firestore-mobx
pr closed time in 6 days
PR opened 0x80/firestore-mobx
pr created time in 6 days
create barnch0x80/firestore-mobx
branch : topic/add-error-and-data-callback
created branch time in 6 days
push event0x80/firestore-mobx
commit sha f625e88ef323a304a9262f0e5f0543077d3e9d32
Bump websocket-extensions from 0.1.3 to 0.1.4 (#7) Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. - [Release notes](https://github.com/faye/websocket-extensions-node/releases) - [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md) - [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
push time in 6 days
PR merged 0x80/firestore-mobx
⚠️ Dependabot is rebasing this PR ⚠️
If you make any changes to it yourself then they will take precedence over the rebase.
Bumps websocket-extensions from 0.1.3 to 0.1.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md">websocket-extensions's changelog</a>.</em></p> <blockquote> <h3>0.1.4 / 2020-06-02</h3> <ul> <li>Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by Robert McLaughlin)</li> <li>Change license from MIT to Apache 2.0</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/faye/websocket-extensions-node/commit/8efd0cd6e35faf9bb9cb08759be1e27082177d43"><code>8efd0cd</code></a> Bump version to 0.1.4</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/3dad4ad44a8c5f74d4f8f4efd3f9d6e0b5df3051"><code>3dad4ad</code></a> Remove ReDoS vulnerability in the Sec-WebSocket-Extensions header parser</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/4a76c75efb1c5d6a2f60550e9501757458d19533"><code>4a76c75</code></a> Add Node versions 13 and 14 on Travis</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/44a677a9c0631daed0b0f4a4b68c095b624183b8"><code>44a677a</code></a> Formatting change: {...} should have spaces inside the braces</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/f6c50aba0c20ff45b0f87cea33babec1217ec3f5"><code>f6c50ab</code></a> Let npm reformat package.json</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/2d211f3705d52d9efb4f01daf5a253adf828592e"><code>2d211f3</code></a> Change markdown formatting of docs.</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/0b620834cc1e1f2eace1d55ab17f71d90d88271d"><code>0b62083</code></a> Update Travis target versions.</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/729a4653073fa8dd020561113513bfa2e2119415"><code>729a465</code></a> Switch license to Apache 2.0.</li> <li>See full diff in <a href="https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4">compare view</a></li> </ul> </details> <br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
</details>
pr closed time in 6 days
create barnch0x80/firestore-mobx
branch : dependabot/npm_and_yarn/websocket-extensions-0.1.4
created branch time in 6 days
push event0x80/firestore-mobx
commit sha 7c7a4fa750379f727df32f02f76100951077f887
v2.0.0-0
push time in 6 days
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 6 days
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 6 days
push event0x80/firestore-mobx
commit sha 741e99d39490b2671b7b7223926adfb88a6422b8
Fix postinstall
push time in 6 days
push event0x80/firestore-mobx
commit sha b9eb9cd7373f6db23d7620468ad11e2106f3cd9c
Upgrade deps and fix tests (#9) * Upgrade all deps * Add prettierrc * Reformat all files * Fix compiler error
push time in 6 days
PR closed 0x80/firestore-mobx
Bumps websocket-extensions from 0.1.3 to 0.1.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md">websocket-extensions's changelog</a>.</em></p> <blockquote> <h3>0.1.4 / 2020-06-02</h3> <ul> <li>Remove a ReDoS vulnerability in the header parser (CVE-2020-7662, reported by Robert McLaughlin)</li> <li>Change license from MIT to Apache 2.0</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/faye/websocket-extensions-node/commit/8efd0cd6e35faf9bb9cb08759be1e27082177d43"><code>8efd0cd</code></a> Bump version to 0.1.4</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/3dad4ad44a8c5f74d4f8f4efd3f9d6e0b5df3051"><code>3dad4ad</code></a> Remove ReDoS vulnerability in the Sec-WebSocket-Extensions header parser</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/4a76c75efb1c5d6a2f60550e9501757458d19533"><code>4a76c75</code></a> Add Node versions 13 and 14 on Travis</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/44a677a9c0631daed0b0f4a4b68c095b624183b8"><code>44a677a</code></a> Formatting change: {...} should have spaces inside the braces</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/f6c50aba0c20ff45b0f87cea33babec1217ec3f5"><code>f6c50ab</code></a> Let npm reformat package.json</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/2d211f3705d52d9efb4f01daf5a253adf828592e"><code>2d211f3</code></a> Change markdown formatting of docs.</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/0b620834cc1e1f2eace1d55ab17f71d90d88271d"><code>0b62083</code></a> Update Travis target versions.</li> <li><a href="https://github.com/faye/websocket-extensions-node/commit/729a4653073fa8dd020561113513bfa2e2119415"><code>729a465</code></a> Switch license to Apache 2.0.</li> <li>See full diff in <a href="https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4">compare view</a></li> </ul> </details> <br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
</details>
pr closed time in 6 days
PR closed 0x80/firestore-mobx
Bumps lodash from 4.17.15 to 4.17.19. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/lodash/lodash/releases">lodash's releases</a>.</em></p> <blockquote> <h2>4.17.16</h2> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/lodash/lodash/commit/d7fbc52ee0466a6d248f047b5d5c3e6d1e099056"><code>d7fbc52</code></a> Bump to v4.17.19</li> <li><a href="https://github.com/lodash/lodash/commit/2e1c0f22f425e9c013815b2cd7c2ebd51f49a8d6"><code>2e1c0f2</code></a> Add npm-package</li> <li><a href="https://github.com/lodash/lodash/commit/1b6c282299f4e0271f932b466c67f0f822aa308e"><code>1b6c282</code></a> Bump to v4.17.18</li> <li><a href="https://github.com/lodash/lodash/commit/a370ac81408de2da77a82b3c4b61a01a3b9c2fac"><code>a370ac8</code></a> Bump to v4.17.17</li> <li><a href="https://github.com/lodash/lodash/commit/1144918f3578a84fcc4986da9b806e63a6175cbb"><code>1144918</code></a> Rebuild lodash and docs</li> <li><a href="https://github.com/lodash/lodash/commit/3a3b0fd339c2109563f7e8167dc95265ed82ef3e"><code>3a3b0fd</code></a> Bump to v4.17.16</li> <li><a href="https://github.com/lodash/lodash/commit/c84fe82760fb2d3e03a63379b297a1cc1a2fce12"><code>c84fe82</code></a> fix(zipObjectDeep): prototype pollution (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4759">#4759</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/e7b28ea6cb17b4ca021e7c9d66218c8c89782f32"><code>e7b28ea</code></a> Sanitize sourceURL so it cannot affect evaled code (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4518">#4518</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/0cec225778d4ac26c2bac95031ecc92a94f08bbb"><code>0cec225</code></a> Fix lodash.isEqual for circular references (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4320">#4320</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4515">#4515</a>)</li> <li><a href="https://github.com/lodash/lodash/commit/94c3a8133cb4fcdb50db72b4fd14dd884b195cd5"><code>94c3a81</code></a> Document matches* shorthands for over* methods (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4510">#4510</a>) (<a href="https://github-redirect.dependabot.com/lodash/lodash/issues/4514">#4514</a>)</li> <li>Additional commits viewable in <a href="https://github.com/lodash/lodash/compare/4.17.15...4.17.19">compare view</a></li> </ul> </details> <details> <summary>Maintainer changes</summary> <p>This version was pushed to npm by <a href="https://www.npmjs.com/~mathias">mathias</a>, a new releaser for lodash since your current version.</p> </details> <br />
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
<details> <summary>Dependabot commands and options</summary> <br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.
</details>
pr closed time in 6 days
push event0x80/firestore-mobx
commit sha 685ed046c600aca1825ea1cda0753c5ce35dd739
Update tests
commit sha d8a6cf9304c22ba79fd1c8eaef7e209473687943
Change set id to use
commit sha 0eaf0d71e1175cf85931cfb6b258f83d3f38a6d3
Add guard for ref.parent
commit sha bdeb8b3d64f9856ecb42ef6d2cb7ba5d05a4130c
Update tests to new use method
commit sha e360e45047684d6c4e28aa45d61cf931ba5924e5
v1.5.0-0
commit sha 8d459bb157a8c6987d1128df565ca7106e9f1d84
Add guard for missing source ref
commit sha d0061d4d1847d6ef2d738a1c3eb387c9f953d09d
v1.5.0-1
commit sha c1860e19dcc50ae5ebf4d58460fc36711dbf7659
Change collection ready logic and add debug logging
commit sha 6be565337843ad143075c33d0725227369765751
Rename internal source id parameters
commit sha da1429d59c75066d7656a5f4ffd97245968b6703
Rename use to attachTo
commit sha 03bb62337800e971226ccc1878e274d46ae3146c
Fix document ready logic
commit sha 6aa15dc4efc11e8a346e1ca37de5932df8b08e7c
Pass data in collection ready
commit sha e8466d7d6b530436335610a0406c9545ec7e25ce
Fix test use rename to attachTo
commit sha 0364236afcb2db96a86621cbd08d24cf8c72646d
Add inspect console helper
commit sha e3e28038ad3887419c8f23963f6585f860305364
Upgrade all deps to latest
commit sha 42382ad878c1a93857f150739091ba869ef152cc
Solve ready logic issues and extend tests
commit sha 4f30ac777696b5ef1a00a1584467b2e775ca10ea
Remove reference to consoleInspect from lib code
commit sha 6b6c2a8a77cebd95f2d40841144e626217a5ca23
Attempt to solve tests not ending
commit sha 1b30cb89ad3014e96bfe7a76ab0835036a9f1997
v1.5.0-2
commit sha bef55e2b024f75a7234d1b17f81e0a90578315ed
Upgrade deps to latest
push time in 6 days
PR merged 0x80/firestore-mobx
- Improve ready logic
- Pass data to ready resolve
- Replace id setter with attachTo method
- Make id property non-optional by adding a fallback string
pr closed time in 6 days
issue commentdividab/tsconfig-paths
Does not work for path mapping starting with `/`
@ashubham Just curious, and it's a matter of taste probably, but why do you start with /@utils and not just /utils? I'm using the latter, and I like the analogy of / as "root of your system" where it just points to the src folder in my repo.
As a workaround, until / is supported, I'm using ~/ which is like your user "home" folder on OSX so that's very similar :)
comment created time in 7 days
issue commentfirebase/firebase-tools
Support mono-repos in deployment
It turns out there is no need for a separate package.dist.json. The annoying thing of having this file is of course that you need to manually update it every time you update any of the dependencies listed there. So it is very easy to forget that.
Instead, move all of the packages that you wouldn't list in your package.dist.json to the devDependencies list, and just use that file in the webpack copy plugin. Now you only have a single package.json to deal with 🎉
Also, I don't want my local nodejs version necessarily the same as the functions deployed node version. I found that you can now specify functions.runtime in the firebase.json file. So take out the engines field from the package.json and instead set functions.runtime to "nodejs10" in your firebase config.
comment created time in 8 days
issue openedakarlsten/snazzy-plus
Add some instructions on how to override colors
I think it would be helpful if you added some instructions on how to override colors.
For example, I love the Plus w/ Italics theme, but the comments were simply too dark for me. In my repo the comments are usually important so want to see them clearly.
This is how I changed it using VSCode settings.
"editor.tokenColorCustomizations": {
"[Snazzy Plus w/ Italics]":{
"comments": "#aaa",
},
},
created time in 9 days
issue commentalexanderbast/vscode-snazzy
Selected comment lines are very hard to read
@alexanderbast Could you maybe give an example on how to change the comment color? The instructions only tell me what settings properties to use, but not what colors (names?) are available and how to specify them (hex string?).
I love the Dark+ w/italics but the comments (even without selection) are really too dark for me. In my repository the comments are valuable and I want to be able to read them clearly.
comment created time in 9 days
startednektos/act
started time in 10 days
issue commentvercel/next.js
Correction: it does work, but you need to specify the correct module that needs the dependency which in this case was not nextjs:
packageExtensions:
"mini-css-extract-plugin@*":
dependencies:
"webpack": "*"
comment created time in 10 days
issue commentvercel/next.js
I ran into a similar issue:
Build error occurred Error: mini-css-extract-plugin tried to access webpack (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
Required package: webpack (via "webpack") Required by: mini-css-extract-plugin@virtual:1d9168c037c08506cad690e29fd976d3b38a884a672b631ce328ba655d35796417317af720f12d57f0e7cd3ab2976fc12b60f56238e7a04aa9afa12f9ac77003#npm:0.4.3 (via /Users/me/Development/myproject/.yarn/$$virtual/mini-css-extract-plugin-virtual-cebe464182/0/cache/mini-css-extract-plugin-npm-0.4.3-a350360081-0a0010769e.zip/node_modules/mini-css-extract-plugin/dist/) Ancestor breaking the chain: @zeit/next-css@npm:1.0.1
Adding webpack to the packageExtensions in the yarn file didn't seem to help this
comment created time in 10 days
issue commentfirebase/firebase-tools
Support mono-repos in deployment
I managed to get things working without warnings 🥳 I ended up with the configuration below. Especially using the regex patterns for the excludes made a difference because if you just have "firebase-functions" in your excluded, any import that you make from a submodule will not be matched and the library is still included in your bundle.
As a result of bundling issues, I also ran into some cryptic @grpc errors when deploying. I forgot to keep them for reference.
const path = require("path");
const CopyPlugin = require("copy-webpack-plugin");
module.exports = {
target: "node",
mode: "production",
entry: "./src/index.ts",
devtool: "inline-source-map",
module: {
rules: [
{
test: /\.tsx?$/,
use: "ts-loader",
exclude: /node_modules/,
},
],
},
resolve: {
extensions: [".tsx", ".ts", ".js", ".json"],
alias: {
"~": path.resolve(__dirname, "src"),
},
},
output: {
filename: "index.js",
path: path.resolve(__dirname, "dist/bundled"),
libraryTarget: "commonjs",
},
externals: ["express", /^firebase.+$/, /^@google.+$/],
plugins: [
new CopyPlugin({
patterns: [{ from: "package.dist.json", to: "package.json" }],
}),
],
};
comment created time in 11 days
issue commentjoonhocho/tscpaths
tsconfig.json with comments does not work (in particular, `tsc --init`)
I ran into this issue as well. It's really helpful that Typescript allows using comments in JSON files. Would be great if you can support this.
comment created time in 11 days
issue commentfirebase/firebase-tools
Support mono-repos in deployment
I'm running into some Webpack warnings like this:
WARNING in /Users/me/Development/node_modules/myproject/firebase-functions/lib/config.js 61:23-42 Critical dependency: the request of a dependency is an expression
Did you find a way to solve these, or are you ignoring/suppressing them?
comment created time in 11 days
startedframer/motion
started time in 15 days
issue commentcypress-io/cypress
Type 'Promise<any>' is not assignable to type 'CanReturnChainable' in Cypress
@jennifer-shehane I'm seeing similar behavior.
- Yes, it's code added to support/index.ts
- It's the compiler that complains. Weirdly enough the tests still run.
- No preprocessor in plugins
- Tsconfig file below
Cypress.Commands.add(
"createReview",
(payload: Partial<CreateReviewPayload>) => {
const review = cleanObject<CreateReviewPayload>({
title: payload.title || `[cy-test]`,
description: "This is a review created for test purposes",
tagIds: [],
industryId: "__no_industry",
type: "self-review",
accountId: testAccountId,
...payload,
});
return functions
.httpsCallable("createReview")(review)
.then((result) => {
const reviewId = result.data.reviewId as string;
return firestore
.collection("reviews")
.doc(reviewId)
.get()
.then((snap) => ({
id: reviewId,
data: snap.data() as Review,
}));
});
},
);
Error:
Argument of type '(payload: Partial<CreateReviewPayload>) => Promise<{ id: string; data: Review; }>' is not assignable to parameter of type '(...args: any[]) => CanReturnChainable'.
Type 'Promise<{ id: string; data: Review; }>' is not assignable to type 'CanReturnChainable'.
Type 'Promise<{ id: string; data: Review; }>' is missing the following properties from type 'Chainable<any>': and, as, blur, check, and 89 more.ts(2345)
{
"compilerOptions": {
"esModuleInterop": true,
"jsx": "preserve",
"lib": ["dom", "esnext"],
"types": ["cypress", "node"],
"module": "esnext",
"moduleResolution": "node",
"noEmit": true,
"noUnusedLocals": false,
"noUnusedParameters": false,
"preserveConstEnums": true,
"removeComments": false,
"skipLibCheck": true,
"checkJs": false,
"sourceMap": true,
"strict": true,
"target": "es2018",
"allowJs": false,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"baseUrl": ".",
"paths": {
"/*": ["./src/*"]
}
}
}
For me this issue also started when upgrading from 4.8 to 4.9
comment created time in a month
issue comment0x80/yurnalist
@adadgio I think my example is assuming Typescript with"esModuleInterop": true.
comment created time in 2 months
startedoreillymedia/programming_rust
started time in 2 months
startedoreillymedia/programming_rust
started time in 2 months
issue commentgoogleapis/google-api-nodejs-client
Heap running out-of-memory with bigquery insertLoadJob
@JustinBeckwith No, I haven't done an analysis like that. The collections list is never that big. We have about 20 root collections in total so it won't go over that.
comment created time in 2 months
push event0x80/firestore-mobx
commit sha e7fdbbe6604c5cf34a94d27cdcac2d0de15fb678
Enable mobx strict mode in tests
commit sha 3ba7608ca424b297de11fc367790b0231168dd25
Fix test setup teardown
commit sha 0be929907881f272d4e3a650c9a0d2360030d30c
Add debug names to observables
commit sha 2cde8fb991340ab3b038453239d32832b4cef56b
Remove obsolete comments
push time in 2 months
startedfacebookexperimental/Recoil
started time in 2 months
push event0x80/firestore-mobx
commit sha b172aa1a87fb0f27094c3d00e2a9ac8e354b11ee
Fix new typescript boundary errors
push time in 2 months
push event0x80/firestore-mobx
commit sha bef55e2b024f75a7234d1b17f81e0a90578315ed
Upgrade deps to latest
push time in 2 months
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 2 months
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 3 months
created tag0x80/firestore-mobx
Observable Firestore documents and collections using MobX
created time in 3 months
push event0x80/diff-json
commit sha 55d0ab4b91cf5e0a6d1a33d86d0254774123e034
Add guard for missing changes in add null property
push time in 3 months
issue commentviruschidai/diff-json
Fails for case of newly added property with a value of null
#20
In the meantime you can do something like: yarn add https://github.com/0x80/diff-json\#topic/fix-newly-added-null
comment created time in 3 months
issue commentviruschidai/diff-json
Fails for case of newly added property with a value of null
Shit, I just wasted a lot of time before checking the issues here 🤦
Wonder why this hasn't been picked up in two years @viruschidai? But happy to find a solution.
comment created time in 3 months