refactor: replace decimal.js with decimal.js-light for smaller footprint#1671
refactor: replace decimal.js with decimal.js-light for smaller footprint#1671
Conversation
WalkthroughWalkthroughThe changes involve modifying the import statement for the Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (4)
packages/plugins/swr/package.jsonis excluded by!**/*.jsonpackages/plugins/tanstack-query/package.jsonis excluded by!**/*.jsonpackages/runtime/package.jsonis excluded by!**/*.jsonpnpm-lock.yamlis excluded by!**/pnpm-lock.yaml,!**/*.yaml
Files selected for processing (1)
- packages/runtime/src/browser/serialization.ts (1 hunks)
Additional comments not posted (2)
packages/runtime/src/browser/serialization.ts (2)
3-3: LGTM!The import statement has been correctly updated to use
decimal.js-lightinstead ofdecimal.js, aligning with the PR objective to reduce the dependency footprint.
8-11: LGTM!The
isApplicablefunction has been correctly updated to include an additional condition for identifying Decimal instances, enhancing compatibility with other implementations of Decimal-like objects.
Fixes #1571