OmniLayer / omniexplorer

Block Explorer for Omni Protocol
Other
51 stars 50 forks source link

Bump svg-url-loader from 2.3.2 to 7.1.1 #485

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps svg-url-loader from 2.3.2 to 7.1.1.

Release notes

Sourced from svg-url-loader's releases.

Performance improvements

What's new ?

Performance improvements

  1. Now we run regex for style element detection only when needed
  2. Made encoded entities lowercase for better compression.

Internal changes

  1. better code organization
  2. upgraded prettier and webpack to the latest version

Add resourceQuery support

What's new ?

Features

  1. Added support for passing options using resourceQuery. That allows following syntax:
      .selector {
        background-image: url(../../assets/ticket.svg?encoding=base64);
      } 
    
    Thanks to @​c0defre4k for reporting this! Sorry for being so late.
  2. Added more detailed usage examples to the readme.

Internal changes

  1. upgraded devDependencies
  2. refactor tests to follow DRY principle
  3. make tests pass on both webpack 4 and 5

https://github.com/bhovhannes/svg-url-loader/compare/v7.0.0...v7.1.0

Fallback to file-loader using default options

What's new ?

Internal changes

  1. Switched to GitHub actions.
  2. Update Node.js version to 10, 12 and 14. We test on this versions only.
  3. Fix some Node warnings and modernized code a little.

Breaking changes

Previously, during falling back to file-loader, svg-url-loader was passing esModule=false option to file-loader. This release changes that behavior and passes esModule=true (file-loader default mode). esModule=true mode was introduced a while ago and is well supported. However, technically it is breaking change.

Deprecate stripdeclarations option

Breaking changes

... (truncated)

Commits
  • 5125ae9 7.1.1
  • b5ffa23 refactor: make code faster and cleaner
  • 770c8da chore(deps): update dependency webpack to v5.9.0
  • 04ff760 chore(deps): update dependency prettier to v2.2.1
  • 8e665da 7.1.0
  • 39fa085 feat(fixes #133): allow passing options via resourceQuery
  • a40f2d2 docs: more detailed config examples (closes #323, closes #324)
  • eae0cfd test(closes #425): use sass instead of node-sass, as told by sass-loader
  • b8a9106 test(closes #419): support both webpack 4 and 5
  • 7ff6b60 test: cleanup tests
  • 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 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)