chore: add keywords#13251
Merged
Merged
Conversation
Added the 15-item keyword list shared by sibling case-check packages (`is-camelcase`, `is-snakecase`, `is-kebabcase`, `is-pascalcase`, `is-uppercase`, `is-lowercase`) with the `isconstantcase`/`constantcase` slugs substituted. All other 342 assert packages carry a non-empty `keywords` array (99.7% conformance); `is-constantcase` was the sole outlier with `keywords: []`.
Contributor
Coverage Report
The above coverage report was generated for the changes in this PR. |
kgryte
approved these changes
Jul 4, 2026
keywords in package.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This pull request:
keywordsarray inlib/node_modules/@stdlib/assert/is-constantcase/package.json.Namespace summary
Ran a majority-vote drift audit across
@stdlib/assert:lib/index.js,docs/repl.txt,docs/types/index.d.ts,docs/types/test.ts,README.md,test/,examples/,benchmark/;package.jsonkeyword set (universalstdlib/utilities/utility/utils/util);mainpath; error-construction via@stdlib/string/format; JSDoc@examplepresence.bin(23%),browser(3%), thestdlibpackage.jsonsub-key (variable across packages).Per outlier package
assert/is-constantcaseThe
keywordsarray inassert/is-constantcase/package.jsonwas empty, making the package the sole outlier among 343 packages in@stdlib/assert(99.7% conformance). Populated with the 15-item list shared by every siblingis-<name>casepackage (is-camelcase,is-snakecase,is-kebabcase,is-pascalcase,is-uppercase,is-lowercase), substitutingisconstantcaseandconstantcasefor the package-specific slugs.Related Issues
No.
Questions
No.
Other
Validation. Structural features were extracted from the file tree,
package.json,manifest.json, and README section headings across all 343 members. Semantic features (error construction, JSDoc shape, validation prologue, dependency graph) were extracted fromlib/main.jsandlib/index.js. Every candidate correction passed three independent reviews (semantic-review, cross-reference, structural-review). Deliberately excluded from this PR: (a) outliers whose deviation reflects a genuine structural difference (e.g.is-<T>-arraypackages that inline logic inlib/index.jswithout a separatelib/main.js; environment-detection packages such asis-browser/is-darwin/is-nodelackingbenchmark/since they return constants;napiandtoolsas internal utilities); (b) features without a clear majority; (c)has-*-supportpackages lackingassert/assertionkeywords, which reflect the feature-detection subclass rather than value-type assertion.Checklist
AI Assistance
If you answered "yes" above, how did you use AI assistance?
Disclosure
This PR was produced by a scheduled cross-package API drift-detection routine driven by Claude Code. Structural and semantic features were extracted per package, a majority pattern computed at a 75% threshold, and the surviving outlier correction was validated by three independent review passes before being applied.
@stdlib-js/reviewers
Generated by Claude Code