Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: various typed/* additions & improvements (DO NOT SQUASH) #77

Merged
merged 16 commits into from
Jul 9, 2024

Conversation

aleclarson
Copy link
Member

Tip

The owner of this PR can publish a preview release by commenting /publish in this PR. Afterwards, anyone can try it out by running pnpm add radashi@pr<PR_NUMBER>.

Summary

Included changes:

  • chore: add internal isTagged function
  • feat: add isMap function
  • feat: add isRegExp function
  • feat: add isSet function
  • feat: add isWeakSet function
  • feat: add isWeakMap function
  • refactor: use isTagged in isDate
  • feat(isInt): replace custom implementation with Number.isInteger
  • refactor: simplify isNumber implementation
  • refactor: use isTagged in isObject
  • refactor(isString): stop checking for boxed String objects
  • refactor(isSymbol): use unknown for input type

Related issue, if any:

For any code change,

  • Related documentation has been updated, if needed
  • Related tests have been added or updated, if needed
  • Related benchmarks have been added or updated, if needed

Does this PR introduce a breaking change?

No

@aleclarson aleclarson force-pushed the feat/typed-improvements branch 3 times, most recently from 835d9a0 to 6175acd Compare July 4, 2024 00:07
@aleclarson aleclarson changed the title Various typed/* additions & improvements (DO NOT SQUASH) feat: various typed/* additions & improvements (DO NOT SQUASH) Jul 4, 2024
@aleclarson aleclarson mentioned this pull request Jul 4, 2024
3 tasks
@aleclarson aleclarson force-pushed the feat/typed-improvements branch 2 times, most recently from 2bba509 to 25debc0 Compare July 8, 2024 03:31
@aleclarson aleclarson marked this pull request as ready for review July 9, 2024 01:36
@aleclarson aleclarson merged commit 4a3402c into main Jul 9, 2024
4 checks passed
@aleclarson aleclarson deleted the feat/typed-improvements branch July 9, 2024 01:36
aleclarson added a commit that referenced this pull request Jul 9, 2024
aleclarson added a commit that referenced this pull request Jul 9, 2024
aleclarson added a commit that referenced this pull request Jul 9, 2024
aleclarson added a commit that referenced this pull request Jul 9, 2024
aleclarson added a commit that referenced this pull request Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

A new beta version 12.2.0-beta.a39a81e has been published to NPM. 🚀

To install:

The radashi@beta tag also includes this PR.

See the changes

@aleclarson aleclarson added the new feature This PR adds a new function or extends an existing one label Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature This PR adds a new function or extends an existing one
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant