Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps datauri from 2.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

You can trigger a rebase of this PR 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)
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot requested a review from rayakoren as a code owner August 23, 2021 07:49
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 23, 2021
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/datauri-4.1.0 branch from e64b349 to 41f5a12 Compare October 17, 2021 11:21
Bumps [datauri](https://github.com/data-uri/datauri) from 2.0.0 to 4.1.0.
- [Release notes](https://github.com/data-uri/datauri/releases)
- [Commits](data-uri/datauri@v2.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] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/datauri-4.1.0 branch from 41f5a12 to e43d3d5 Compare February 16, 2023 09:47
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