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-dev): bump @laynezh/vite-plugin-lib-assets from 0.5.24 to 1.0.0 #52

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 13, 2025

Bumps @laynezh/vite-plugin-lib-assets from 0.5.24 to 1.0.0.

Release notes

Sourced from @​laynezh/vite-plugin-lib-assets's releases.

v1.0.0

   🚨 Breaking Changes

  • Option name and outputPath: The name option's [query] placeholder and the third parameter of the outputPath option (in function form) will start with ? to align with the behavior of file-loader. (#102)

    // before:
    libAssetsPlugin({
      name: '[name].[contenthash:8].[ext]?[query]',
      outputPath: (url, resourcePath, resourceQuery) => {
        // `url` - file name processed by the `name` option,eg: `logo.fb2133.png`
        // `resourcePath` - `/original/absolute/path/to/file.js`
        // `resourceQuery` - `foo=bar`
    return url.endsWith('.png') ? 'image' : 'assets'
    
    },
    })
    // after:
    libAssetsPlugin({
    // no longer need a ? between [ext] and [query]
    name: '[name].[contenthash:8].[ext][query]',
    // resourceQuery parameter will start with ?
    outputPath: (url, resourcePath, resourceQuery) => {
    // url - file name processed by the name option,eg: logo.fb2133.png
    // resourcePath - /original/absolute/path/to/file.js
    // resourceQuery - ?foo=bar
    return url.endsWith('.png') ? 'image' : 'assets'
    
    },
    })

   🐞 Bug Fixes

  • Fix resourceQuery value(remove prefixed ?)  -  by Saiya (6bb63)
  • Fix corrupt of binary file after building  -  by Saiya (a5735)
    View changes on GitHub

v0.6.1

No significant changes

    View changes on GitHub

v0.6.0

   🐞 Bug Fixes

    View changes on GitHub

... (truncated)

Commits
  • 8d34784 chore: release v1.0.0
  • 0768201 docs: sync changes in the README to the Chinese version
  • ac3eec6 ci: revert the locked pnpm version to 8.6.2 and regenerate the lock file to f...
  • d84b582 chore: lock pnpm version to 9.10.0
  • a57351b fix: fix corrupt of binary file after building
  • 6bb6309 fix: fix resourceQuery value(remove prefixed ?)
  • 7056a12 chore: release v0.6.1
  • b879147 docs: remove the function form of the name option from the type declaration...
  • 5b1146d chore: fix a trivial type mismatch
  • 5e28609 chore: release v0.6.0
  • Additional commits viewable in compare view

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 [@laynezh/vite-plugin-lib-assets](https://github.com/laynezh/vite-plugin-lib-assets) from 0.5.24 to 1.0.0.
- [Release notes](https://github.com/laynezh/vite-plugin-lib-assets/releases)
- [Commits](laynezh/vite-plugin-lib-assets@v0.5.24...v1.0.0)

---
updated-dependencies:
- dependency-name: "@laynezh/vite-plugin-lib-assets"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jan 13, 2025
@phodal phodal merged commit a6e2289 into main Jan 14, 2025
7 checks passed
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/laynezh/vite-plugin-lib-assets-1.0.0 branch January 14, 2025 01:22
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.

1 participant