Skip to content

Commit

Permalink
chore(deps): update
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Jul 26, 2024
1 parent a83f491 commit 8098f40
Show file tree
Hide file tree
Showing 18 changed files with 1,378 additions and 1,829 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ const myImage4 = new URL("image.png?as=webp&w=150&h=120", import.meta.url);
// You can use `auto` to reset `width` or `height` from the `preset` option
const myImage5 = new URL("image.png?as=webp&w=150&h=auto", import.meta.url);
// You can use `unit` to get the non-retina resize of images that are retina sized
const myImage1 = new URL("image.png?width=50&unit=percent", import.meta.url);
const myImage6 = new URL("image.png?width=50&unit=percent", import.meta.url);
```
```css
Expand Down
3 changes: 1 addition & 2 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ module.exports = (api) => {
[
"@babel/preset-env",
{
exclude:
process.env.NODE_ENV === "test" ? [] : ["proposal-dynamic-import"],
exclude: ["proposal-dynamic-import"],
targets: {
node: "18.12.0",
},
Expand Down
76 changes: 0 additions & 76 deletions globalSetup.js

This file was deleted.

12 changes: 0 additions & 12 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,5 @@

module.exports = {
testEnvironment: "node",
moduleNameMapper: {
"^imagemin$": "<rootDir>/test/bundled/imagemin/index.js",
"^imagemin-svgo$": "<rootDir>/test/bundled/imagemin-svgo/index.js",
"^node:buffer$": "<rootDir>/test/helpers/built-in-modules/buffer.js",
"^node:fs$": "<rootDir>/test/helpers/built-in-modules/fs.js",
"^node:util$": "<rootDir>/test/helpers/built-in-modules/util.js",
"^node:path$": "<rootDir>/test/helpers/built-in-modules/path.js",
"^node:stream$": "<rootDir>/test/helpers/built-in-modules/stream.js",
"^node:url$": "<rootDir>/test/helpers/built-in-modules/url.js",
"^node:process$": "<rootDir>/test/helpers/built-in-modules/url.js",
},
collectCoverageFrom: ["src/**/*.{js,mjs,jsx}"],
globalSetup: "<rootDir>/globalSetup.js",
};
Loading

0 comments on commit 8098f40

Please sign in to comment.