Skip to content

chore(deps): update dependency @rslib/core to ^0.6.2 #13427

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

Merged
merged 1 commit into from
Apr 12, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 7, 2025

This PR contains the following updates:

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

Release Notes

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

v0.6.2

Compare Source

What's Changed

Bug Fixes 🐞
Document 📖
Other Changes

Full Changelog: web-infra-dev/rslib@v0.6.1...v0.6.2

v0.6.1

Compare Source

What's Changed

New Features 🎉
Other Changes

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

v0.6.0

Compare Source

Highlights ✨

This release brings exciting new features and improvements to Rslib:

  • New default library type for CJS: Rslib changes the default value of output.library.type for CJS 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 (CJS):
    const { doSomething } = require('./output.cjs'); // doSomething => [Function: doSomething]
    • Consumption (ESM):
    import { doSomething } from './output.cjs'; // doSomething => [Function: doSomething]
  • Show code frame for type errors: Rslib now shows full context and code frame 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.

@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from e78f8aa to 8827be7 Compare April 8, 2025 18:05
@renovate renovate bot changed the title chore(deps): update dependency @rslib/core to ^0.6.1 chore(deps): update dependency @rslib/core to ^0.6.2 Apr 8, 2025
@renovate renovate bot force-pushed the renovate/rslib-core-0.x branch from 8827be7 to e439f33 Compare April 12, 2025 08:06
@chenjiahan chenjiahan merged commit 9b04f77 into main Apr 12, 2025
6 checks passed
@chenjiahan chenjiahan deleted the renovate/rslib-core-0.x branch April 12, 2025 08:15
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