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

chore(deps): update dependency @rslib/core to v0.6.0 #4899

Merged
merged 1 commit into from
Mar 28, 2025
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 28, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@rslib/core (source) 0.5.5 -> 0.6.0 age adoption passing confidence

Release Notes

web-infra-dev/rslib (@​rslib/core)

v0.6.0

Compare Source

Highlights ✨

This release brings exciting new features and improvements to Rslib:

  • New default library type for CommonJS: Rslib changes the default value of output.library.type for CommonJS from commonjs to commonjs-static. Now, individual exports will be set as properties on module.exports and the output can be statically analyzable, thus named exports are importable into ESM via Node.js. This is useful when source code is written in ESM and the output should be compatible with both CJS and ESM. (#​819)

    Named exports are importable into ESM via Node.js

    • Input:
    export function doSomething() {}
    • Output:
    function doSomething() {}
    // …
    exports.doSomething = __webpack_exports__.doSomething;
    • Consumption (CommonJS):
    const { doSomething } = require('./output.cjs'); // doSomething => [Function: doSomething]
    • Consumption (ESM):
    import { doSomething } from './output.cjs'; // doSomething => [Function: doSomething]
  • Optimize declaration file generation logs: Rslib now shows full context and codeblocks of tsc diagnostics in the terminal when generating declaration files. This makes it easier to understand and fix issues in the source code. (#​847)

    image

What's Changed

New Features 🎉
Bug Fixes 🐞
Document 📖
Other Changes

New Contributors

Full Changelog: web-infra-dev/rslib@v0.5.5...v0.6.0


Configuration

📅 Schedule: Branch creation - "* 0-3 * * 1" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link

netlify bot commented Mar 28, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit b9b228e
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/67e606a051f5cb00080e0685
😎 Deploy Preview https://deploy-preview-4899--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 80 (🔴 down 2 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@chenjiahan chenjiahan merged commit fe32864 into main Mar 28, 2025
12 checks passed
@chenjiahan chenjiahan deleted the renovate/rslib branch March 28, 2025 02:23
@chenjiahan chenjiahan mentioned this pull request Mar 28, 2025
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.

1 participant