Skip to content

Conversation

@Neerajpathak07
Copy link
Member

@Neerajpathak07 Neerajpathak07 commented Jan 3, 2026

Progresses #8755.

Description

What is the purpose of this pull request?

This pull request:

  • Migrates utils/object-inverse to object/inverse

Related Issues

Does this pull request have any related issues?

This pull request has the following related issues:

Questions

Any questions for reviewers of this pull request?

No.

Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.

Checklist

Please ensure the following tasks are completed before submitting this pull request.

AI Assistance

When authoring the changes proposed in this PR, did you use any kind of AI assistance?

  • Yes
  • No

If you answered "yes" above, how did you use AI assistance?

  • Code generation (e.g., when writing an implementation or fixing a bug)
  • Test/benchmark generation
  • Documentation (including examples)
  • Research and understanding

Disclosure

If you answered "yes" to using AI assistance, please provide a short disclosure indicating how you used AI assistance. This helps reviewers determine how much scrutiny to apply when reviewing your contribution. Example disclosures: "This PR was written primarily by Claude Code." or "I consulted ChatGPT to understand the codebase, but the proposed changes were fully authored manually by myself.".

{{TODO: add disclosure if applicable}}


@stdlib-js/reviewers

This commit removes the `objectInverse` symbol from the `@stdlib/utils`
namespace due to a package migration.

BREAKING CHANGE: remove `objectInverse`

To migrate, users should access the same symbol via the
`@stdlib/object` namespace.

Ref: stdlib-js#8755
This commit removes `@stdlib/utils/object-inverse` in favor of
`@stdlib/object/inverse`.

BREAKING CHANGE: remove `utils/object-inverse`

To migrate, users should update their require/import paths to use
`@stdlib/object/inverse` which provides the same API and implementation.

Ref: stdlib-js#8755
@Neerajpathak07 Neerajpathak07 added the release: Major Breaking change requiring a new major release. label Jan 3, 2026
@stdlib-bot
Copy link
Contributor

Coverage Report

Package Statements Branches Functions Lines
blas/base/diagonal-type-enum2str $\color{green}103/103$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}103/103$
$\color{green}+100.00%$
blas/base/layout-enum2str $\color{green}103/103$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}103/103$
$\color{green}+100.00%$
blas/base/matrix-orientation-enum2str $\color{green}103/103$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}103/103$
$\color{green}+100.00%$
blas/base/matrix-triangle-enum2str $\color{green}103/103$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}103/103$
$\color{green}+100.00%$
blas/base/operation-side-enum2str $\color{green}103/103$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}103/103$
$\color{green}+100.00%$
blas/base/transpose-operation-enum2str $\color{green}103/103$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}103/103$
$\color{green}+100.00%$
error/tools/database $\color{green}85/85$
$\color{green}+100.00%$
$\color{green}3/3$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}85/85$
$\color{green}+100.00%$
error/tools/msg2id $\color{green}106/106$
$\color{green}+100.00%$
$\color{green}10/10$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}106/106$
$\color{green}+100.00%$
namespace/alias2pkg $\color{green}95/95$
$\color{green}+100.00%$
$\color{green}7/7$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}95/95$
$\color{green}+100.00%$
namespace $\color{red}39324/39427$
$\color{green}+99.74%$
$\color{green}112/112$
$\color{green}+100.00%$
$\color{red}2/11$
$\color{green}+18.18%$
$\color{red}39324/39427$
$\color{green}+99.74%$
namespace/pkg2alias $\color{green}100/100$
$\color{green}+100.00%$
$\color{green}10/10$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}100/100$
$\color{green}+100.00%$
namespace/pkg2related $\color{green}100/100$
$\color{green}+100.00%$
$\color{green}10/10$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}100/100$
$\color{green}+100.00%$
namespace/pkg2standalone $\color{green}95/95$
$\color{green}+100.00%$
$\color{green}7/7$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}95/95$
$\color{green}+100.00%$
namespace/standalone2pkg $\color{green}95/95$
$\color{green}+100.00%$
$\color{green}7/7$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}95/95$
$\color{green}+100.00%$
ndarray/base/char2dtype $\color{green}113/113$
$\color{green}+100.00%$
$\color{green}8/8$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}113/113$
$\color{green}+100.00%$
ndarray/base/dtype-enum2str $\color{green}104/104$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}104/104$
$\color{green}+100.00%$
ndarray/base/output-policy-enum2str $\color{green}104/104$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}104/104$
$\color{green}+100.00%$
object/inverse-by $\color{green}226/226$
$\color{green}+100.00%$
$\color{green}24/24$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}226/226$
$\color{green}+100.00%$
stats/base/ztest/alternative-enum2str $\color{green}104/104$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}104/104$
$\color{green}+100.00%$
strided/base/dtype-enum2str $\color{green}103/103$
$\color{green}+100.00%$
$\color{green}5/5$
$\color{green}+100.00%$
$\color{green}1/1$
$\color{green}+100.00%$
$\color{green}103/103$
$\color{green}+100.00%$
utils $\color{red}44177/60170$
$\color{green}+73.42%$
$\color{red}737/777$
$\color{green}+94.85%$
$\color{red}22/499$
$\color{green}+4.41%$
$\color{red}44177/60170$
$\color{green}+73.42%$

The above coverage report was generated for the changes in this PR.

@Neerajpathak07
Copy link
Member Author

Given that the CI errors are not caused due changes in this PR I'll go ahead and open this for review!!

@Neerajpathak07 Neerajpathak07 marked this pull request as ready for review January 3, 2026 18:54
@stdlib-bot stdlib-bot added the Needs Review A pull request which needs code review. label Jan 3, 2026
@Neerajpathak07 Neerajpathak07 requested a review from kgryte January 3, 2026 18:55
@stdlib-bot
Copy link
Contributor

⚠️ Tracking Issue Closure Warning ⚠️

I noticed your PR description contains closing keywords ("Resolves", "Closes", or "Fixes") referencing a "Tracking Issue".

Why this matters:
Tracking issues should typically remain open until all related sub-issues are completed. GitHub automatically closes issues with such closing keywords when the PR is merged. For more information, see GitHub's documentation on using keywords in issues and pull requests.

Required action:
Use "Progresses" instead to reference the tracking issue without automatically closing it.

Thank you for your contribution to the project!

@kgryte kgryte removed the Needs Review A pull request which needs code review. label Jan 4, 2026
Copy link
Member

@kgryte kgryte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@kgryte
Copy link
Member

kgryte commented Jan 4, 2026

As the CI failure is not due to changes introduced in this PR, I'll go ahead and merge.

@kgryte kgryte merged commit 55030f9 into stdlib-js:develop Jan 4, 2026
60 of 62 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: Major Breaking change requiring a new major release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants