TexteaInc / json-viewer

not only a JSON viewer
https://viewer.textea.io
MIT License
457 stars 36 forks source link

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

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

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 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)
netlify[bot] commented 1 year ago

Deploy Preview for any-viewer ready!

Name Link
Latest commit c8665c351ef39be825633a729653786f63a4b395
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.

socket-security[bot] commented 1 year ago

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
codecov[bot] commented 1 year ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

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 ```diff @@ 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 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.