Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 9, 2021

Bumps datauri from 2.0.0 to 4.0.1.

Release notes

Sourced from datauri's releases.

v4.0.0

Breaking changes

  • Deprecate Node.js 8 support, please use datauri 3 in case needed.

  • CSS

    • rename class config to className

    • rename background-size config to backgroundSize

    • Isolate getCSS in datauri/css submodule

      Before (getCSS function)

      const datauri = require('datauri');
      datauri('test/myfile.png', (err, content, meta) => {
      meta.getCSS({
      class: "myClass",
      'background-size': true,
      width: true,
      height: true
      }));
      });

      After (datauri/css)

      const datauriCSS = require('datauri/css');
      await datauriCSS('test/myfile.png', {
      className: "myClass",
      backgroundSize: true,
      width: true,
      height: true
      });

  • CLI

    • fs promises instead of Sync function

    • background-size flag renamed to backgroundSize

    • class flag renamed to className

      Before

      datauri brand.png --css --class=MyNewClass --background-size

      After

... (truncated)

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 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 [datauri](https://github.com/data-uri/datauri) from 2.0.0 to 4.0.1.
- [Release notes](https://github.com/data-uri/datauri/releases)
- [Commits](data-uri/datauri@v2.0.0...v4.0.1)

---
updated-dependencies:
- dependency-name: datauri
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from rayakoren as a code owner August 9, 2021 10:14
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 9, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 23, 2021

Superseded by #305.

@dependabot dependabot bot closed this Aug 23, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/datauri-4.0.1 branch August 23, 2021 07:49
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