From f2d14c2bce892364186c933e4ac1f038f6293665 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 00:40:42 +0000 Subject: [PATCH 1/5] docs: remove inapplicable callback `@throws` tag in `_tools/pkgs/browser-deps` The synchronous API accepts `( pkgs[, options] )` and never validates a callback. Removed the `@throws {TypeError} callback argument must be a function` JSDoc tag copied from `lib/async.js` (absent from 80% of sibling `lib/sync.js` files, 16/20). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD77JrT2EefRqpDUb1Cx --- lib/node_modules/@stdlib/_tools/pkgs/browser-deps/lib/sync.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/browser-deps/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/browser-deps/lib/sync.js index 16fef83a833c..d4d31452117a 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/browser-deps/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/browser-deps/lib/sync.js @@ -51,7 +51,6 @@ var debug = logger( 'browser-pkg-deps:sync' ); * @param {boolean} [options.builtins=false] - boolean indicating whether to include built-in packages * @param {boolean} [options.dev=false] - boolean indicating whether to resolve dev dependencies * @throws {TypeError} first argument must be an array of strings -* @throws {TypeError} callback argument must be a function * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options * @returns {(ObjectArray|Error)} resolved dependencies From 3abb3b6c975754e1fb6c73db963d4fdbe4b648af Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 00:40:43 +0000 Subject: [PATCH 2/5] docs: remove inapplicable callback `@throws` tag in `_tools/pkgs/browser-entry-points` The synchronous API accepts `( pkgs[, options] )` and never validates a callback. Removed the `@throws {TypeError} callback argument must be a function` JSDoc tag copied from `lib/async.js` (absent from 80% of sibling `lib/sync.js` files, 16/20). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD77JrT2EefRqpDUb1Cx --- .../@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js index 194e1ddceeac..5ea8c378774f 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/browser-entry-points/lib/sync.js @@ -46,7 +46,6 @@ var debug = logger( 'browser-entry-points:sync' ); * @param {Options} [options] - function options * @param {string} [options.dir] - root directory from which to resolve packages * @throws {TypeError} first argument must be an array of strings -* @throws {TypeError} callback argument must be a function * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options * @returns {ObjectArray} entry points From e09e0e8c751cc73bc7aa0d47faef91da5ceffdad Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 00:40:43 +0000 Subject: [PATCH 3/5] docs: remove inapplicable callback `@throws` tag in `_tools/pkgs/deps` The synchronous API accepts `( pkgs[, options] )` and never validates a callback. Removed the `@throws {TypeError} callback argument must be a function` JSDoc tag copied from `lib/async.js` (absent from 80% of sibling `lib/sync.js` files, 16/20). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD77JrT2EefRqpDUb1Cx --- lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js index 04f2b2d06ae4..4489b552d921 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/deps/lib/sync.js @@ -49,7 +49,6 @@ var debug = logger( 'pkg-deps:sync' ); * @param {boolean} [options.builtins=false] - boolean indicating whether to include built-in packages * @param {boolean} [options.dev=false] - boolean indicating whether to resolve dev dependencies * @throws {TypeError} first argument must be an array of strings -* @throws {TypeError} callback argument must be a function * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options * @returns {ObjectArray} resolved dependencies From 38afc9e5d0c16fd3497e106f8e73974066b01b5c Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 00:40:44 +0000 Subject: [PATCH 4/5] docs: remove inapplicable callback `@throws` tag in `_tools/pkgs/entry-points` The synchronous API accepts `( pkgs[, options] )` and never validates a callback. Removed the `@throws {TypeError} callback argument must be a function` JSDoc tag copied from `lib/async.js` (absent from 80% of sibling `lib/sync.js` files, 16/20). Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD77JrT2EefRqpDUb1Cx --- lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js index 8c25582ef134..c0e529330608 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js @@ -46,7 +46,6 @@ var debug = logger( 'entry-points:sync' ); * @param {Options} [options] - function options * @param {string} [options.dir] - root directory from which to resolve packages * @throws {TypeError} first argument must be an array of strings -* @throws {TypeError} callback argument must be a function * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options * @returns {ObjectArray} entry points From 71955657a1aace56a51d3476a3f55cdd692da8c5 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 3 Nov 2026 00:44:11 +0000 Subject: [PATCH 5/5] Revert "docs: remove inapplicable callback `@throws` tag in `_tools/pkgs/entry-points`" This reverts the `entry-points` change. Touching `entry-points/lib/sync.js` surfaces a pre-existing `stdlib/jsdoc-doctest` failure in its `@example` block, which is addressed separately in #11672. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017wWD77JrT2EefRqpDUb1Cx --- lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js index c0e529330608..8c25582ef134 100644 --- a/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js +++ b/lib/node_modules/@stdlib/_tools/pkgs/entry-points/lib/sync.js @@ -46,6 +46,7 @@ var debug = logger( 'entry-points:sync' ); * @param {Options} [options] - function options * @param {string} [options.dir] - root directory from which to resolve packages * @throws {TypeError} first argument must be an array of strings +* @throws {TypeError} callback argument must be a function * @throws {TypeError} options argument must be an object * @throws {TypeError} must provide valid options * @returns {ObjectArray} entry points