Skip to content

Commit

Permalink
bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bezoerb committed Oct 8, 2023
1 parent ca5aa89 commit f9faf70
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 95 deletions.
124 changes: 33 additions & 91 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"clean-css": "^5.3.2",
"common-tags": "^1.8.2",
"css-url-parser": "^1.1.3",
"data-uri-to-buffer": "^5.0.1",
"data-uri-to-buffer": "^6.0.1",
"debug": "^4.3.4",
"find-up": "^6.3.0",
"get-stdin": "^9.0.0",
"globby": "^13.2.2",
"got": "^13.0.0",
"group-args": "^0.1.0",
"indent-string": "^5.0.0",
"inline-critical": "^11.0.0",
"inline-critical": "^11.0.1",
"is-glob": "^4.0.3",
"joi": "^17.11.0",
"lodash": "^4.17.21",
Expand All @@ -53,7 +53,7 @@
"plugin-error": "^2.0.1",
"postcss": "^8.4.31",
"postcss-discard": "^2.0.0",
"postcss-image-inliner": "^6.1.0",
"postcss-image-inliner": "^6.2.0",
"postcss-url": "^10.1.3",
"replace-ext": "^2.0.0",
"slash": "^5.1.0",
Expand Down
3 changes: 2 additions & 1 deletion src/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -428,9 +428,10 @@ function getStylesheetObjects(file, options) {

// support base64 encoded styles
if (link.value.startsWith('data:')) {
const parsed = dataUriToBuffer(link.value);
return {
media,
value: dataUriToBuffer(link.value),
value: Buffer.from(parsed.buffer),
};
}

Expand Down

0 comments on commit f9faf70

Please sign in to comment.