[[heading__top]: #change-log ""
Adds support for asynchronous iterator/generator sources, as well as asynchronous callbacks!... And reorganizes code, documentation, and transpiled source code among other changes.
- Add
examples/
sub-directory, and MVP example NPM workspaces - Add
docs/
sub-directory, generated from source code doc-comments - Add
targets/
sub-directory, for bothimport
andrequire
consumers - Move
ts/
tosrc/
sub-directory, so as to align with standards - Remove redundant
@types/
, and add new, declarations - Move
README.md
some sub-sections to relevant sub-directories - Add
package.json
helper scripts and development dependencies
.zip()
now behaves like.zipValues()
, chain with.entries()
if behavior from previous versions is desired..next()
now returns.value
only, suffix chain with.entries()
if key/index with value is needed.Iterator_Cascade_Callbacks
is now by default underSynchronous
namespace either; updateimport
orrequire
statements, or source directly fromtargets/cjs/synchronous.js
ortargets/mjs/synchronous.mjs
files instead.- removed
.compareValues()
, and related features,git show:v0.0.6 <path>
may be used to resurrect via sub-class if functionality is required.
Please open an Issue if there are any other breaking changes not noted above!
Note; any of the following un-checked check-boxes may make for a good "First Pull Request" 😉
- Add
examples/
for common JavaScript projects, and demonstrate importing/referencing JSDoc comments from.d.ts
files. - Reduce redundant wrapping/awaiting of
Promises
withinAsynchronous.Iterator_Cascade_Callbacks
, andAsynchronous.Wrappers
, source code. - Incorporate static site builder with GitHub Pages, such as Jekyll, that
includes
docs/api/
MarkDown files within web-site output. - Add support for GitHub Actions that executes
npm ci-cd:all
scripts. - Enable linting source code doc-comments, and fix warnings/errors.
@types/iterator-cascade-callbacks/iterator-cascade-callbacks.d.ts
- [
Synchronous.Iterator_Cascade_Callbacks
][heading__class_synchronousiterator_cascade_callbacks] -- Definestatic
method types in a way that TypeScript understands and produce errors only if used improperlyAchieved via experimental TypeScript decorator features
ts/iterator-cascade-callbacks.ts
-
Remove
/* istanbul ignore next */
comments from source code; currently there are three (3
) places that JestJS tests ignores -
Add
Skip_Iteration
, or similar,Error
type and refactorskip
, andstep
, methods to throw such error type -
zipCompareValues
- Fixany
usage to utilize the correct type hint of [Synchronous.Iterator_Cascade_Callbacks
][heading__class_synchronousiterator_cascade_callbacks]Fixed by changing
any
toSynchronous.Iterator_Cascade_Callbacks
, after enabling experimental TypeScript decorator features, and adjustinginterface
s
tsconfig.json
-
Change
removeComments
totrue
once/* istanbul ignore next */
commits are removed from source -
Enable stricter transpiling options
Added
strictBindCallApply
,strictFunctionTypes
, andstrictPropertyInitialization
configurations
ts/__tests__/tests-iterator-cascade-callbacks.ts
-
testsInspect
- Sort out why JestJS does not recognize tests as covering lines withininspect_wrapper
function.
Fixed by testing
...paramaters
within aninspect
callback function