Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps datauri from 3.0.0 to 4.1.0.

Release notes

Sourced from datauri's releases.

v4.1.0

v4.0.0

Breaking changes

  • Minimum support is now Node 10+, please use datauri 3 for previous versions.

  • 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

... (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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 25, 2021
@dependabot dependabot bot requested a review from erunion August 25, 2021 23:21
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/datauri-4.1.0 branch from baabb48 to f6d29ce Compare August 26, 2021 17:30
Bumps [datauri](https://github.com/data-uri/datauri) from 3.0.0 to 4.1.0.
- [Release notes](https://github.com/data-uri/datauri/releases)
- [Commits](data-uri/datauri@v3.0.0...v4.1.0)

---
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 force-pushed the dependabot/npm_and_yarn/datauri-4.1.0 branch from f6d29ce to bacc68f Compare August 26, 2021 17:30
@erunion erunion merged commit 445c4ad into main Aug 26, 2021
@erunion erunion deleted the dependabot/npm_and_yarn/datauri-4.1.0 branch August 26, 2021 17:32
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