Repository navigation
chore: update keywords and fix type - #16329
Conversation
Added the `stdutil` keyword after `stdutils` (present in 190 of 198 `@stdlib/utils` packages, 96%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `stdutil` keyword after `stdutils` (present in 190 of 198 `@stdlib/utils` packages, 96%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `stdutil` keyword after `stdutils` (present in 190 of 198 `@stdlib/utils` packages, 96%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `stdutil` keyword after `stdutils` (present in 190 of 198 `@stdlib/utils` packages, 96%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `stdutil` keyword after `stdutils` (present in 190 of 198 `@stdlib/utils` packages, 96%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `stdutil` keyword after `stdutils` (present in 190 of 198 `@stdlib/utils` packages, 96%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `stdutil` keyword after `stdutils` (present in 190 of 198 `@stdlib/utils` packages, 96%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
Added the `utility` keyword after `utilities` (present in 185 of 198 `@stdlib/utils` packages, 93%). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
The implementation throws an `Error`, not a `RangeError`, when provided an unrecognized output path convention. Updated the JSDoc tag to match (`@throws` tags match thrown types in 133 of 139 throwing `@stdlib/utils` packages, 96%; the remainder are builtin wrappers). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
stdutil and utility keywords to utils/* packages and fix @throws type in utils/convert-pathutils packages and fix @throws in utils/convert-path
Ports the fix from #16328 to resolve the CI dependency installation failure (`binding.gyp not found` when building `@kaciras/deasync`). No-op once the base branch carries the same change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017wWD7ArgTRGJD2J6DitJ2W
|
Generated by Claude Code |
|
With the The failure is not caused by this PR's changes. The test builds its command as I found no existing fix. Proposed patch (test only, kept out of this PR's scope): --- a/lib/node_modules/@stdlib/_tools/benchmarks/bundle/test/test.cli.js
+++ b/lib/node_modules/@stdlib/_tools/benchmarks/bundle/test/test.cli.js
@@ tape( 'the command-line interface supports providing a custom glob pattern', ...
join( __dirname, 'fixtures', 'main' ),
'--pattern',
- '*.js'
+ '"*.js"'
];Generated by Claude Code |
Coverage Report
The above coverage report was generated for the changes in this PR. |
|
As the CI failure is not due to changes introduced in this PR, I'll go ahead and merge. |
utils packages and fix @throws in utils/convert-path
Description
This pull request:
stdutilandutilitykeywords to 19@stdlib/utilspackages and fixes a JSDoc@throwstype inutils/convert-paththat does not match the error type actually thrown.Namespace summary
@stdlib/utils(198 packages; no autogenerated packages; majority threshold 149/198 = 75%).package.jsonkey sets and constant values,keywords, README##/###section set and order,test//benchmark//examples/file names, error construction, JSDoc@throws/@exampleshape,requiredependencies.package.jsonkeys (100%),keywordsleading block (93–96% per keyword), READMEUsage/Examples(100%), README section order (100% conform toUsage → Notes → Examples → CLI → See Also),@throwstag/throw-type agreement (96%),@examplepresence (100%),formatfor interpolated error messages (99%).## Notespresence (70%).utils/real-max,real-min,safe-int-max,safe-int-min,size-of,type-max,type-minMissing
stdutilfrom the namespace's leading keyword block (190/198, 96%). Inserted afterstdutils. No other changes.utils/compose,copy,curry,curry-right,decorate-after,function-sequence,memoize,merge,papply,papply-right,uncurry,uncurry-rightMissing
utilityfrom the leading keyword block (185/198, 93%). Inserted afterutilities. No other changes.utils/convert-pathJSDoc declared
@throws {RangeError}for an unrecognized output path convention, but the implementation throwsError. Tag updated to@throws {Error};@throwstags match thrown types in 133 of 139 throwing packages (96%), and the remainder are builtin wrappers. Documentation only; runtime behavior and tests (which assertError) are unchanged.Related Issues
None.
Reference Packages
This pull request followed these packages:
@stdlib/utilspackages carrying the canonical leading keyword block (stdlib,stdutils,stdutil,utilities,utility,utils,util).Questions
utils/library-manifestlacks the entireutilskeyword block and uses tooling-style keywords (tools,manifest,compile, ...) instead. Left untouched pending a decision on whether that framing is intentional.Other
Validation
Structural features were extracted from the file system for all 198 packages. Semantic features were extracted from
lib/main.js,lib/index.js, andlib/validate.js. Each candidate then passed three independent reviews: semantic intent, cross-references to tests, examples, and docs, and structural applicability.Excluded
compose,zip,unzip,bifurcate,map2): repo convention reservesformatfor interpolated messages (~593 plain constant-string throws, zero argument-lessformatcalls), so these are conformant.library-manifestconcatenated errors: the package deliberately avoids stdlib dependencies to prevent circular dependencies (see the note inlib/validate.js; previously attempted in refactor: useformatto construct errors inutils/library-manifest#13650).benchmark/benchmark.js:map*/reduce*split their benchmarks by input type,async/dsvare namespace packages,inheritis already covered by bench: add benchmark toutils/inherit#15245, and the rest (eval,open-url,parallel,library-manifest) would need new benchmarks written, which is not a mechanical fix.## Notes/## See Also:Notesneeds authored content, andSee Alsois populated by tooling.lib/main.jsindefine-propert(y|ies),property-*,find: these packages use the builtin/polyfill layout.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was written by Claude Code, running an automated cross-package drift-detection routine. Features were extracted programmatically, three independent agents validated each candidate, and only behavior-preserving metadata and documentation edits were applied.
Generated by Claude Code