Erik Arvidsson

Results 49 issues of Erik Arvidsson

## Issue Type Feature Request ## Issue Description We run our eslint as follows: ``` eslint --ignore-path= ... ``` as described here: https://eslint.org/docs/user-guide/command-line-interface#ignore-path It would be nice if there was...

enhancement

https://discord.com/channels/830183651022471199/1095424613284065330/1095424613284065330 We are hitting [this assert](https://github.com/rocicorp/replicache-internal/blob/13d7e4bcf2dec05897a97b46387ebf8abff04b68/src/dag/lazy-store.ts#L561): ```js const oldCount = this._refCounts.get(refHash); ... assert(oldCount > 0); ``` This is in some old code dealing with the in memory cache and the...

https://discord.com/channels/830183651022471199/1050431029602697226/1050431029602697226 In a `useSubscribe` query, I have the following: ```js const countWithoutIndex = ( await txn .scan({ limit: 1, }) .entries() .toArray() ).length; const countWithIndex = ( await txn .scan({...

It is a nice how `chain` and `try` works together and you can create nice combinations ```ts import * as v from '@badrap/valita'; const s1 = v.object({ x: v.number(), });...

# Description When there are nested collections `set` does not work as expected. ## Steps to reproduce ```js function fakeFirestore() { return firebaseStub( {database: {}}, {mutable: true}, ).firestore(); } test('Setting...

zod etc have a `lazy` combinator that allows creating recursive validators. For example, given this TS type: ```ts type Node = { label: string; children: Node[]; }; ``` There is...

Right now the code is compiled to ES5 which is a lot more verbose than needed. Can the esm.js file at least be compiled to ES6 if not esnext?

blockquote and q both use HTMLQuoteElement. Custom elements do not all a prototype to be reused for multiple tag names.

This can be done be fetching the two revisions of the files. We did this for the side by side diff for bugs.webkit.org. It worked out pretty well.

The array methods would be simpler if we had try/catch. ``` md 1. Try: 1. Let _status_ be Foo(). 1. HandleException(_status_) 1. Catch _exception_. 1. Do something with exception. ```...