Skip to content

Commit

Permalink
Bumps to Eleventy Image v3.0.0
Browse files Browse the repository at this point in the history
- Bump other NPM packages.
- Updates tests new rimraf.
  • Loading branch information
saneef committed Jan 31, 2023
1 parent 1902ae0 commit b2d563d
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Eleventy plugin to replace `<img>` using `<picture>` with resized and optimized

This plugin is inspired by [eleventy-plugin-local-respimg](https://github.com/chromeos/static-site-scaffold-modules/tree/main/modules/eleventy-plugin-local-respimg) by [Sam Richard](https://twitter.com/Snugug/).

Requires Node 12+
Requires **Node 14.15+**.

## Features

Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,22 +22,22 @@
"author": "Saneef Ansari <[email protected]> (https://saneef.com/)",
"license": "MIT",
"dependencies": {
"@11ty/eleventy-img": "^2.0.1",
"cheerio": "^1.0.0-rc.11",
"@11ty/eleventy-img": "^3.0.0",
"cheerio": "^1.0.0-rc.12",
"debug": "^4.3.4"
},
"devDependencies": {
"ava": "^3.15.0",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-xo-space": "^0.33.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "^8.0.1",
"image-size": "^1.0.1",
"lint-staged": "^13.0.0",
"ava": "^5.1.1",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"eslint-config-xo-space": "^0.34.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.3",
"image-size": "^1.0.2",
"lint-staged": "^13.1.0",
"nyc": "^15.1.0",
"prettier": "^2.6.2",
"rimraf": "^3.0.2"
"prettier": "^2.8.3",
"rimraf": "^4.1.2"
},
"lint-staged": {
"*.js": "eslint --cache --fix",
Expand Down
3 changes: 1 addition & 2 deletions tests/ignores.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const path = require("path");
const test = require("ava");
const { promisify } = require("util");
const rimraf = promisify(require("rimraf"));
const rimraf = require("rimraf");

const img2picture = require("../lib/img2picture.js");

Expand Down
3 changes: 1 addition & 2 deletions tests/jpgs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const path = require("path");
const test = require("ava");
const { promisify } = require("util");
const rimraf = promisify(require("rimraf"));
const rimraf = require("rimraf");
const imageSize = require("image-size");

const img2picture = require("../lib/img2picture.js");
Expand Down
3 changes: 1 addition & 2 deletions tests/pngs.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const path = require("path");
const test = require("ava");
const { promisify } = require("util");
const rimraf = promisify(require("rimraf"));
const rimraf = require("rimraf");
const imageSize = require("image-size");

const img2picture = require("../lib/img2picture.js");
Expand Down
3 changes: 1 addition & 2 deletions tests/remote.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
const path = require("path");
const test = require("ava");
const { promisify } = require("util");
const rimraf = promisify(require("rimraf"));
const rimraf = require("rimraf");
const imageSize = require("image-size");

const img2picture = require("../lib/img2picture.js");
Expand Down

0 comments on commit b2d563d

Please sign in to comment.