Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to latest dependencies #5

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .mocharc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
# https://mochajs.org/#configuring-mocha-nodejs
# https://github.com/mochajs/mocha/blob/master/example/config/.mocharc.yml

spec: test/specs/**/*.spec.js
extension:
- ts

spec: test/specs/**/*.spec.ts

loader: ts-node/esm

bail: true
recursive: true
5,677 changes: 0 additions & 5,677 deletions package-lock.json

This file was deleted.

32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"type": "git",
"url": "https://github.com/JS-DevTools/rehype-inline-svg.git"
},
"type": "module",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
Expand All @@ -36,36 +37,35 @@
"watch": "tsc --watch",
"test": "mocha && npm run lint",
"coverage": "nyc node_modules/mocha/bin/mocha",
"upgrade": "npm-check -u && npm audit fix",
"upgrade": "NPM_CHECK_INSTALLER=pnpm npm-check -u",
"bump": "bump --tag --push --all",
"release": "npm run upgrade && npm run clean && npm run build && npm test && npm run bump"
},
"engines": {
"node": ">=10"
"node": "^12.20.0 || >=14.13.1"
},
"devDependencies": {
"@jsdevtools/eslint-config": "^1.1.4",
"@jsdevtools/version-bump-prompt": "^6.1.0",
"@types/chai": "^4.2.14",
"@types/mocha": "^8.2.0",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.6",
"@types/node": "^14.14.19",
"@types/svgo": "^1.3.3",
"@types/unist": "^2.0.3",
"@types/vfile": "^4.0.0",
"chai": "^4.2.0",
"@types/unist": "^3.0.2",
"chai": "^5.1.1",
"eslint": "^7.17.0",
"mocha": "^8.2.1",
"mocha": "^10.4.0",
"npm-check": "^5.9.2",
"nyc": "^15.1.0",
"rehype-stringify": "^8.0.0",
"rehype-stringify": "^10.0.0",
"shx": "^0.3.3",
"to-vfile": "^6.1.0",
"typescript": "^4.1.3",
"vfile": "^4.2.1"
"to-vfile": "^8.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"vfile": "^6.0.1"
},
"dependencies": {
"rehype-parse": "^7.0.1",
"svgo": "^1.3.2",
"unified": "^9.2.0"
"rehype-parse": "^9.0.0",
"svgo": "^3.3.2",
"unified": "^11.0.4"
}
}
Loading