mirror of
https://github.com/the-draupnir-project/Draupnir.git
synced 2026-04-25 15:32:06 +00:00
* Bump jsdom from 16.7.0 to 24.0.0 Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.7.0 to 24.0.0. - [Release notes](https://github.com/jsdom/jsdom/releases) - [Changelog](https://github.com/jsdom/jsdom/blob/main/Changelog.md) - [Commits](https://github.com/jsdom/jsdom/compare/16.7.0...24.0.0) --- updated-dependencies: - dependency-name: jsdom dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Make an arbritrary decision when upgrading @types/jsdom. https://github.com/DefinitelyTyped/DefinitelyTyped#how-do-definitely-typed-package-versions-relate-to-versions-of-the-corresponding-library Apparently the typings for jsdom are really out of date. So we have to take the risk and use an older version that seems to be ok so that we can upgrade the package. I did consider just using 21.1.6 for both so that we could be stubbornly accurate but there's no indication how long it will take for the typings package to be upgraded. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: gnuxie <Gnuxie@protonmail.com>
72 lines
2.9 KiB
JSON
72 lines
2.9 KiB
JSON
{
|
|
"name": "draupnir",
|
|
"version": "1.86.1",
|
|
"description": "A moderation tool for Matrix",
|
|
"main": "lib/index.js",
|
|
"repository": "https://github.com/the-draupnir-project/Draupnir.git",
|
|
"author": "Gnuxie",
|
|
"license": "AFL-3.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"postbuild": "yarn remove-tests-from-lib && yarn describe-version",
|
|
"describe-version": "(git describe > version.txt.tmp && mv version.txt.tmp version.txt) || true && rm -f version.txt.tmp",
|
|
"remove-tests-from-lib": "rm -rf lib/test/ && cp -r lib/src/* lib/ && rm -rf lib/src/",
|
|
"lint": "eslint ./**/*.ts",
|
|
"start:dev": "yarn build && node --async-stack-traces lib/index.js",
|
|
"test": "ts-mocha --project ./tsconfig.json test/commands/**/*.ts",
|
|
"test:integration": "NODE_ENV=harness ts-mocha --async-stack-traces --forbid-only --require test/integration/fixtures.ts --timeout 300000 --project ./tsconfig.json \"test/integration/**/*Test.ts\"",
|
|
"test:integration:single": "NODE_ENV=harness npx ts-mocha --require test/integration/fixtures.ts --timeout 300000 --project ./tsconfig.json",
|
|
"test:appservice:integration": "NODE_ENV=harness ts-mocha --async-stack-traces --forbid-only --timeout 300000 --project ./tsconfig.json \"test/appservice/integration/**/*Test.ts\"",
|
|
"test:appservice:integration:single": "NODE_ENV=harness npx ts-mocha --timeout 300000 --project ./tsconfig.json",
|
|
"test:manual": "NODE_ENV=harness ts-node test/integration/manualLaunchScript.ts",
|
|
"version": "sed -i '/# version automated/s/[0-9][0-9]*\\.[0-9][0-9]*\\.[0-9][^\"]*/'$npm_package_version'/' synapse_antispam/setup.py && git add synapse_antispam/setup.py && cat synapse_antispam/setup.py"
|
|
},
|
|
"devDependencies": {
|
|
"@types/config": "^3.3.1",
|
|
"@types/crypto-js": "^4.2.2",
|
|
"@types/express": "^4.17.21",
|
|
"@types/html-to-text": "^8.0.1",
|
|
"@types/humanize-duration": "^3.27.1",
|
|
"@types/js-yaml": "^4.0.9",
|
|
"@types/jsdom": "21.1.6",
|
|
"@types/mocha": "^10.0.6",
|
|
"@types/nedb": "^1.8.16",
|
|
"@types/node": "^20.11.5",
|
|
"@types/pg": "^8.6.5",
|
|
"@types/request": "^2.48.12",
|
|
"@types/shell-quote": "1.7.1",
|
|
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
"@typescript-eslint/parser": "^6.19.0",
|
|
"crypto-js": "^4.2.0",
|
|
"eslint": "^8.56",
|
|
"expect": "^29.7.0",
|
|
"mocha": "^10.2.0",
|
|
"ts-mocha": "^10.0.0",
|
|
"typescript": "^5.3.3",
|
|
"typescript-formatter": "^7.2"
|
|
},
|
|
"dependencies": {
|
|
"@sentry/node": "^7.17.2",
|
|
"@sentry/tracing": "^7.17.2",
|
|
"await-lock": "^2.2.2",
|
|
"body-parser": "^1.20.2",
|
|
"config": "^3.3.9",
|
|
"express": "^4.18",
|
|
"html-to-text": "^8.0.0",
|
|
"humanize-duration": "^3.27.1",
|
|
"humanize-duration-ts": "^2.1.1",
|
|
"js-yaml": "^4.1.0",
|
|
"jsdom": "^24.0.0",
|
|
"matrix-appservice-bridge": "^9.0.1",
|
|
"parse-duration": "^1.0.2",
|
|
"pg": "^8.8.0",
|
|
"shell-quote": "^1.7.3",
|
|
"ulidx": "^2.2.1",
|
|
"yaml": "^2.3.2"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
}
|
|
}
|