Skip to content

Bump @nevware21/ts-utils from 0.9.8 to 0.16.0 - #2891

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/nevware21/ts-utils-0.16.0
Open

Bump @nevware21/ts-utils from 0.9.8 to 0.16.0#2891
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/nevware21/ts-utils-0.16.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 25, 2026

Copy link
Copy Markdown
Contributor

Bumps @nevware21/ts-utils from 0.9.8 to 0.16.0.

Release notes

Sourced from @​nevware21/ts-utils's releases.

0.16.0

Changelog

Features

  • #587 feat(errors): expose isOwnInstance to createCustomError's constructCb and skip redundant stack captures
    • constructCb now receives a 3rd argument, isOwnInstance, which is true when the class is the leaf-most type actually being instantiated and false when its constructor is only running as a base-class step for a subclass further down an inheritance chain
    • The internal Error.captureStackTrace call is now gated by the same check, so it only fires once per instance (at the leaf-most class) instead of redundantly at every level of a chain
    • Lets custom error hierarchies with their own per-level stack-capture logic skip that work except at the leaf
  • #589 feat(errors): bind constructCb's this to the new instance via fnCall
    • constructCb is now invoked with this bound to the constructed instance (the same value also passed as the self argument), so non-arrow callbacks can use this.prop = ... instead of requiring the self argument
    • constructCb's type signature now declares an explicit this: any parameter; existing callbacks (arrow functions, or plain functions that don't declare this) remain unaffected

Bug Fixes

  • #588 npm run package failed with ERR_REQUIRE_ESM after magic-string moved to an ESM-only release (v1.0.0)
    • lib/rollup.config.js's PURE-annotation normalization plugin now loads magic-string via a dynamic import() inside renderChunk instead of a static import, since --bundleConfigAsCjs rewrites static imports to require(), which throws on Node versions without require(esm) support (eg. Node 18)
    • Added skipLibCheck to the main build and test tsconfigs (lib/tsconfig.base.json and lib/test/tsconfig.*.json) to stop external @types/node type errors (IteratorObject, BuiltinIteratorReturn, etc., introduced by the @types/node v26 bump) from leaking into the build and test compiles
  • #585 Add skipLibCheck to the TypeDoc compiler options to fix the same @types/node v26 type errors when generating docs

Repository Improvements

  • #582 CI: switch Puppeteer loading to ESM import() in Karma configs (Puppeteer is ESM-only), pin Size tests to run only on Node 22, and make Codecov upload non-blocking

Full Changelog

0.15.0

Changelog

Features

  • #570 Add microtask scheduling helpers with native queueMicrotask, Promise, and timer-backed fallbacks
    • New functions: scheduleMicrotask, hasQueueMicrotask, getQueueMicrotask, setMicroTaskFallbackOptions
    • New public types: ScheduleMicrotaskFn, MicroTaskOptions
    • Extends microtask support by providing cancellable microtasks via ITimerHandler, plus fallback ordering to run microtasks before queued timers when using the timer-backed implementation
    • Provides runtime parity across all supported environments by using native queueMicrotask when present, Promise-backed scheduling when available, and a timer-backed microtask queue otherwise
  • #573 Add nextTick scheduling support and new helper exports
    • New timer/runtime functions: scheduleNextTick, getProcessNextTick, hasProcessNextTick, setNextTickFallbackOptions
    • Uses native process.nextTick in Node runtimes when available, while providing equivalent nextTick behavior in browser and worker runtimes via Promise and timer-backed fallbacks
    • Adds shared queue logic and callback-argument support across microtask and nextTick scheduling
    • Adds arrConcat as a dedicated array helper and fnBindArgs as a dedicated function helper
    • Improves function binding typing with exported BoundFunction and updated signatures for fnBind / fnBindArgs
  • #574 feat(iterator,array): add iterator collection helpers, split helper modules, and align collection membership semantics
    • Added new iterator helpers: iterMap, iterFilter, iterTake, iterReduce, iterSome, iterEvery, iterToArray, iterUnion, iterIntersection, iterDifference
    • Added arrToMap helper in the array module and moved callback/type declarations into iterator/types
    • Refactored iterator helper implementation/tests into per-function files and updated root exports
    • Added NaN regression coverage and switched iterator set-operation membership checks to arrIncludes semantics for parity with array helpers
  • #576 Refactor timer microtask/nextTick shared types and environment helpers, with expanded fallback coverage
    • Moved MicrotaskFn and ScheduleMicrotaskFn to helpers/types and updated timer internals to consume shared type definitions

... (truncated)

Changelog

Sourced from @​nevware21/ts-utils's changelog.

v0.16.0 July 18th, 2026

Changelog

Features

  • #587 feat(errors): expose isOwnInstance to createCustomError's constructCb and skip redundant stack captures
    • constructCb now receives a 3rd argument, isOwnInstance, which is true when the class is the leaf-most type actually being instantiated and false when its constructor is only running as a base-class step for a subclass further down an inheritance chain
    • The internal Error.captureStackTrace call is now gated by the same check, so it only fires once per instance (at the leaf-most class) instead of redundantly at every level of a chain
    • Lets custom error hierarchies with their own per-level stack-capture logic skip that work except at the leaf
  • #589 feat(errors): bind constructCb's this to the new instance via fnCall
    • constructCb is now invoked with this bound to the constructed instance (the same value also passed as the self argument), so non-arrow callbacks can use this.prop = ... instead of requiring the self argument
    • constructCb's type signature now declares an explicit this: any parameter; existing callbacks (arrow functions, or plain functions that don't declare this) remain unaffected

Bug Fixes

  • #588 npm run package failed with ERR_REQUIRE_ESM after magic-string moved to an ESM-only release (v1.0.0)
    • lib/rollup.config.js's PURE-annotation normalization plugin now loads magic-string via a dynamic import() inside renderChunk instead of a static import, since --bundleConfigAsCjs rewrites static imports to require(), which throws on Node versions without require(esm) support (eg. Node 18)
    • Added skipLibCheck to the main build and test tsconfigs (lib/tsconfig.base.json and lib/test/tsconfig.*.json) to stop external @types/node type errors (IteratorObject, BuiltinIteratorReturn, etc., introduced by the @types/node v26 bump) from leaking into the build and test compiles
  • #585 Add skipLibCheck to the TypeDoc compiler options to fix the same @types/node v26 type errors when generating docs

Repository Improvements

  • #582 CI: switch Puppeteer loading to ESM import() in Karma configs (Puppeteer is ESM-only), pin Size tests to run only on Node 22, and make Codecov upload non-blocking

Full Changelog

v0.15.0 May 29th, 2026

Changelog

Features

  • #570 Add microtask scheduling helpers with native queueMicrotask, Promise, and timer-backed fallbacks
    • New functions: scheduleMicrotask, hasQueueMicrotask, getQueueMicrotask, setMicroTaskFallbackOptions
    • New public types: ScheduleMicrotaskFn, MicroTaskOptions
    • Extends microtask support by providing cancellable microtasks via ITimerHandler, plus fallback ordering to run microtasks before queued timers when using the timer-backed implementation
    • Provides runtime parity across all supported environments by using native queueMicrotask when present, Promise-backed scheduling when available, and a timer-backed microtask queue otherwise
  • #573 Add nextTick scheduling support and new helper exports
    • New timer/runtime functions: scheduleNextTick, getProcessNextTick, hasProcessNextTick, setNextTickFallbackOptions
    • Uses native process.nextTick in Node runtimes when available, while providing equivalent nextTick behavior in browser and worker runtimes via Promise and timer-backed fallbacks
    • Adds shared queue logic and callback-argument support across microtask and nextTick scheduling
    • Adds arrConcat as a dedicated array helper and fnBindArgs as a dedicated function helper
    • Improves function binding typing with exported BoundFunction and updated signatures for fnBind / fnBindArgs
  • #574 feat(iterator,array): add iterator collection helpers, split helper modules, and align collection membership semantics
    • Added new iterator helpers: iterMap, iterFilter, iterTake, iterReduce, iterSome, iterEvery, iterToArray, iterUnion, iterIntersection, iterDifference
    • Added arrToMap helper in the array module and moved callback/type declarations into iterator/types
    • Refactored iterator helper implementation/tests into per-function files and updated root exports
    • Added NaN regression coverage and switched iterator set-operation membership checks to arrIncludes semantics for parity with array helpers
  • #576 Refactor timer microtask/nextTick shared types and environment helpers, with expanded fallback coverage

... (truncated)

Commits
  • af24320 [Release] Increase version to 0.16.0 (#590)
  • a066abc feat(errors): bind constructCb's this to the new instance via fnCall (#589)
  • efca6c5 chore(deps-dev): bump magic-string from 0.30.21 to 1.0.0 (#588)
  • e92818d feat(errors): expose isOwnInstance to createCustomError's constructCb and ski...
  • 4d61687 chore(deps-dev): bump @​types/node from 20.19.43 to 26.0.1 (#584)
  • 623e876 Add skipLibCheck to TypeDoc compiler options (#585)
  • d682e89 chore(deps-dev): bump @​types/sinon from 21.0.1 to 22.0.0 (#581)
  • 01c3fb1 chore(deps): bump actions/checkout from 6 to 7 (#580)
  • 8b0e7d3 CI: switch Puppeteer loading to ESM import, pin Size tests to Node 22, and ma...
  • 2def7d9 chore(deps): bump codecov/codecov-action from 6 to 7 (#579)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by nevware21bot, a new releaser for @​nevware21/ts-utils since your current version.


Dependabot compatibility score

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.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [@nevware21/ts-utils](https://github.com/nevware21/ts-utils) from 0.9.8 to 0.16.0.
- [Release notes](https://github.com/nevware21/ts-utils/releases)
- [Changelog](https://github.com/nevware21/ts-utils/blob/main/CHANGELOG.md)
- [Commits](nevware21/ts-utils@0.9.8...0.16.0)

---
updated-dependencies:
- dependency-name: "@nevware21/ts-utils"
  dependency-version: 0.16.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added Dependencies Pull requests that update a dependency file. javascript Pull requests that update javascript code labels Jul 25, 2026
@github-actions

Copy link
Copy Markdown

Accessibility Insights Accessibility Insights Action: All applicable checks passed

  • URLs: 12 URL(s) passed, and 0 were not scannable
  • Rules: 27 check(s) passed, and 25 were not applicable
  • Download the Accessibility Insights artifact to view the detailed results of these checks

This scan used axe-core 4.3.2 with Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Safari/537.36.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dependencies Pull requests that update a dependency file. javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants