MethodChain, schema support, 90=>96% cov, cache, utils
Pre-release
Pre-release
·
109 commits
to master
since this release
close to getting beta and publishing...
- test cov 90 -> 96%
- MAJOR
- .when(string) string now checks .has
- moved .clean
- observable dot.prop
- caching
- removed many classes
- MethodChain
- removed .extendsGetSet, .defineGetSet, .extendIncrement, .extendWith, .extendAlias, .decorateParent, .typed
- replaced ^ with .alias(), .getSet(), .decorate(obj), .define(), .autoIncrement(), .default(), .initial(), .bind(), .encase(), .call(), .get(), .set(), .returns(), .camelCase(), .factory(for extending), .build with + support
- removed compose/Extend, compose/Child, compose/immutable, compose/Extend, compose/Types, compose/Symbols, compose/Debug, compose/define
- .schema feature
- optional types, array types, or types
- πππ refactor out schema factory
- integrated histories from deepmerge, dot-prop, traverse-js, webpack-chain (all commit hashes change, extremely likely they are not used anywhere, even so there is a branch backup so hardly 100% breaking)
- completely redid type definitions
- took out unsable-to-be-used method
instanceofstatic instance on Chainable
- PATCH
- updating all docs
- tsc for dev version
- exported more deps
- fixed
hasInstanceObject.prototype.instanceOf.call in Chainable - π€Έ split ChainedMap for circular usage (in MethodChain & MergeChain & TraverseChain)
- inlined methods in MergeChain & TraverseChain
- MINOR
- fix typo on
.setIfEmpty - dot-prop array paths
- validator factories
- traverser
- eq: optimized typechecks, const & let, size
- traverse-js: optimized argument slicing, const & let, jsdocs
- many more tests
- covered reduce for tests
- covered almost all traverser branches
- all old tests updated to new .method api
- fix sourcemaps for tests for more accurate coverage (was failing the unused built code such as Object.create)
- π tslint
- π°π refactor build system
- fix typo on
- merge
- covered all branches of dopemerge tests
- fixed
nullignored type on ezTypes in dopemerge - renamed .dopemerge -> .merge for exports
- optimized forEach loops
- optimized switch case into if-else for uglification
- map & set merger (unused)
- build
- webpack build config experiment to check new scope hoisting size
- fusebox updates - close to rollup size
- optimizejs
- utils
- ππ typechecking utils null, undefined, objloose, strornum, class, false, true, updated all clients
- argumentor util (used in traverser, from deopt checks)
- concat util
- move out old
isNodeinto utils from Chainable - ππ isMapish util
- π entries util
- β‘ π isIgnored as a util
- isEnumerable, isPrototypeOf, isEmptyArray, isUndefined, isIterator (merged to kind-of repo)
- garbage collector
- reduce (moved from Chainable)
- π false/true/eqCurry/ezType/charCodeAtZero/length/typeof utils
- π length -1 util, strange
- clean (moved from Chainable)
- encase (moved from compose/Extend)
- πβπrefactor encase factory
- β»οΈ abstract π° refactor πvalidators - split into more reusable functions for later
- ππ fix
isUndefined&isNullin validators stripping to .null & 2x the obj size
- dot-prop
- re-add caching
- observable
- dot-prop paths tests
- dot-prop paths experiment for alternative regex implementation & minor optimization for size
- dot-prop paths traverser to gather paths of objects
- π£ longest paths option
- matcher
- re-add caching