monolite icon indicating copy to clipboard operation
monolite copied to clipboard

Statically-typed structural-sharing tree modifier

Results 24 monolite issues
Sort by recently updated
recently updated
newest added

Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.4. Commits 43ac7f2 6.5.4 f4bc72b package: bump deps 441b742 ec: validate that a point before deriving keys e71b2d9 lib: relint using eslint 8421a01 build(deps): bump...

dependencies

Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...

dependencies

This idea seems interesting, and could be included in Monolite: https://stackoverflow.com/questions/61404324/modifying-tree-structured-data-in-javascript-with-given-condition

We're using monolite to customize parts of our mock state trees for particular test suites, and I'm trying to upgrade from **0.4.6** to **0.8.0**. I notice the syntax for `set`...

Nested `set` expressions are not transformed by the Babel Plugin: ```ts set( state, _ => _.nested.collection, arr => arr.map(item => set(item, _ => _.nested.prop, x => x + 1) )...

bug

Currently mapping a collection using `set` is quite verbose and ugly: ```ts // Current return set( response, _ => _.results, xs => xs.map(result => set( result, _ => _.poster_path, path...

enhancement

I'm using `strictNullChecks` in my project. Updating an object with missing values will result in a runtime exception like `TypeError: Cannot read property 'bar' of undefined`. Here's an example. Am...

`deepEqual` performance needs to be enhanced by removing usage of `Object.getOwnPropertyNames` in `objectEqual` function.

performance

E.g.: ```ts const m = new Map([['a', 'b'], ['c', 'd']]); // Map { 'a' => 'b', 'c' => 'd' } const m2 = set(m, _ => _.get('c') )('X') // Map...