Skip to content

Conversation

@rasulkireev
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade core-js from 3.46.0 to 3.47.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: core-js from core-js GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade core-js from 3.46.0 to 3.47.0.

See this package in npm:
core-js

See this project in Snyk:
https://app.snyk.io/org/rasulkireev/project/af5f5bbe-5bf5-4dc3-a8a0-96d9e581d724?utm_source=github&utm_medium=referral&page=upgrade-pr
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Dec 15, 2025

Important

Review skipped

Ignore keyword(s) in the title.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch snyk-upgrade-b2a4b955c2b9e6b0ff070f362556fb59

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Dec 15, 2025

Greptile Overview

Greptile Summary

Upgrades core-js from 3.20.3 to 3.47.0, bringing 27 minor versions of improvements including new ES features (Iterator.concat, Iterator.zip, JSON.parse enhancements), bug fixes, and performance improvements.

  • Adds support for new stable ES features: JSON.isRawJSON, JSON.rawJSON, Iterator.concat, Iterator.zip, and Iterator.zipKeyed
  • Includes bug fixes for URLSearchParams.prototype.append in older browsers
  • No breaking changes expected since this is a minor version upgrade within v3.x
  • Issue: The .babelrc config specifies corejs: "3.0.0" but the package is now 3.47.0 - this mismatch should be updated to enable Babel to use newer polyfills

Confidence Score: 4/5

  • Safe to merge with one minor configuration update recommended
  • This is a standard dependency upgrade within the same major version (3.x), with no breaking changes. However, the .babelrc file has a mismatched corejs version ("3.0.0" vs actual 3.47.0) that should be updated to ensure optimal polyfill injection. The upgrade brings new ES features and bug fixes with minimal risk.
  • .babelrc needs its corejs version updated to match the installed package version

Important Files Changed

File Analysis

Filename Score Overview
package.json 5/5 Updated core-js from ^3.20.3 to ^3.47.0 - a minor version upgrade with new ES features and bug fixes
package-lock.json 5/5 Lockfile updated to reflect core-js 3.47.0 with new integrity hash and MIT license field

Sequence Diagram

sequenceDiagram
    participant Dev as Developer
    participant Snyk as Snyk Bot
    participant NPM as NPM Registry
    participant Babel as Babel/Webpack
    participant App as Application

    Snyk->>NPM: Check for core-js updates
    NPM-->>Snyk: v3.47.0 available (from v3.46.0)
    Snyk->>Dev: Create PR #133 to upgrade
    Dev->>Dev: Review PR changes
    Dev->>NPM: npm install (after merge)
    NPM-->>Dev: Install [email protected]
    Dev->>Babel: npm run build
    Babel->>Babel: Transpile JS with @babel/preset-env
    Babel->>Babel: Inject polyfills (useBuiltIns: usage)
    Babel-->>App: Bundle with required polyfills
    App->>App: Run with new ES features support
Loading

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Additional Comments (1)

  1. .babelrc, line 7 (link)

    syntax: The corejs version in Babel config is set to "3.0.0" but the actual core-js package is now at 3.47.0. Update this to "3.47" or at least "3.20" to ensure Babel can use the newer polyfills.

1 file reviewed, 1 comment

Edit Code Review Agent Settings | Greptile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants