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

build(deps-dev): bump rollup-plugin-swc3 from 0.8.2 to 0.10.3 #424

Merged
merged 1 commit into from
Nov 6, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 6, 2023

Bumps rollup-plugin-swc3 from 0.8.2 to 0.10.3.

Release notes

Sourced from rollup-plugin-swc3's releases.

0.10.2

  • Add warning messages when tsconfig is invalid
  • Add rollup 4 official support

0.10.1

  • Fix #41
    • rollup-plugin-swc3 now will always provide baseUrl (resolve to an absolute path) to swc as long as the paths is specified in the tsconfig.json or jsconfig.json being read.

0.10.0

  • Fix #41
    • rollup-plugin-swc3 now will resolve baseUrl to an absolute path against the tsconfig.json and jsconfig.json being read.
    • This is to align with the behavior change of the swc: swc-project/swc#7799 and swc-project/swc#7800.

0.9.1

The support for 'use client' and 'use server' has been separated into a standalone rollup plugin rollup-swc-preserve-directives, maintained by @​huozhi and me. The previous preserveUseDirective named export is retained for the backward compatibility.

0.9.0

  • Add support for bundling library for React Server Component with the proper 'use client' and 'use server' directives handling:

    • Merge duplicated directives in the final bundles
    • Multiple output chunks will have their own separated directives, useful when bundling client only code and server only code in different bundles.
    • Not enabled by default. manually opt-in by changing two lines of code in your rollup.config.js:
    // rollup.config.js
    // Import `preserveUseDirective` from `rollup-plugin-swc3`...
    - import { swc } from 'rollup-plugin-swc3';
    + import { swc, preserveUseDirective } from 'rollup-plugin-swc3';
    export default {
    input: 'xxxx',
    output: {},
    plugins: [
    swc(),
    
    preserveUseDirective()
    ];
    }
Changelog

Sourced from rollup-plugin-swc3's changelog.

0.10.3

0.10.2

  • Add warning message when tsconfig is invalid
  • Add rollup 4 official support

0.10.1

  • Fix #41
    • rollup-plugin-swc3 now will always provide baseUrl (resolve to an absolute path) to swc as long as the paths is specified in the tsconfig.json or jsconfig.json being read.

0.10.0

  • Fix #41
    • rollup-plugin-swc3 now will resolve baseUrl to an absolute path against the tsconfig.json and jsconfig.json being read.
    • This is to align with the behavior change of the swc: swc-project/swc#7799 and swc-project/swc#7800.

0.9.1

  • The support for 'use client' and 'use server' has been separated into a standalone rollup plugin rollup-swc-preserve-directives, maintained by @​huozhi and me. The previous preserveUseDirective named export is retained for the backward compatibility.

0.9.0

  • Add support for bundling library for React Server Component with the proper 'use client' and 'use server' directives handling:

    • Merge duplicated directives in the final bundles
    • Multiple output chunks will have their own separated directives, useful when bundling client only code and server only code in different bundles.
    • Not enabled by default. manually opt-in by changing two lines of code in your rollup.config.js:
    // rollup.config.js
    // Import `preserveUseDirective` from `rollup-plugin-swc3`...
    - import { swc } from 'rollup-plugin-swc3';
    + import { swc, preserveUseDirective } from 'rollup-plugin-swc3';
    export default {
    input: 'xxxx',
    output: {},
    plugins: [
    swc(),
    
    preserveUseDirective()
    ];
    }
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [rollup-plugin-swc3](https://github.com/SukkaW/rollup-plugin-swc) from 0.8.2 to 0.10.3.
- [Release notes](https://github.com/SukkaW/rollup-plugin-swc/releases)
- [Changelog](https://github.com/SukkaW/rollup-plugin-swc/blob/master/CHANGELOG.md)
- [Commits](SukkaW/rollup-plugin-swc@0.8.2...0.10.3)

---
updated-dependencies:
- dependency-name: rollup-plugin-swc3
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 6, 2023
Copy link

netlify bot commented Nov 6, 2023

Deploy Preview for any-viewer ready!

Name Link
🔨 Latest commit c8665c3
🔍 Latest deploy log https://app.netlify.com/sites/any-viewer/deploys/65485d3392fb7f00084d04bc
😎 Deploy Preview https://deploy-preview-424--any-viewer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copy link

Updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
rollup-plugin-swc3 0.8.2...0.10.3 None +15/-1 15.4 MB sukkaw

Copy link

codecov bot commented Nov 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (6efeac6) 87.95% compared to head (c8665c3) 87.95%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #424   +/-   ##
=======================================
  Coverage   87.95%   87.95%           
=======================================
  Files          25       25           
  Lines        2391     2391           
  Branches      382      382           
=======================================
  Hits         2103     2103           
  Misses        287      287           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pionxzh pionxzh merged commit aa7fb3e into main Nov 6, 2023
11 checks passed
@pionxzh pionxzh deleted the dependabot/npm_and_yarn/rollup-plugin-swc3-0.10.3 branch November 6, 2023 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant