From 7c8ebabaaaa886f44e138f2fc01489c0c072ff16 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Thu, 27 Apr 2023 17:35:28 +0200 Subject: [PATCH] matrix-hookshot: 3.2.0 -> 4.0.0 https://github.com/matrix-org/matrix-hookshot/releases/tag/4.0.0 --- .../matrix-hookshot/package.json | 25 ++++++++++--------- .../matrix-synapse/matrix-hookshot/pin.json | 8 +++--- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/pkgs/servers/matrix-synapse/matrix-hookshot/package.json b/pkgs/servers/matrix-synapse/matrix-hookshot/package.json index bba0c179ca7f..0c4a0956b61e 100644 --- a/pkgs/servers/matrix-synapse/matrix-hookshot/package.json +++ b/pkgs/servers/matrix-synapse/matrix-hookshot/package.json @@ -1,6 +1,6 @@ { "name": "matrix-hookshot", - "version": "3.2.0", + "version": "4.0.0", "description": "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA.", "main": "lib/app.js", "repository": "https://github.com/matrix-org/matrix-hookshot", @@ -10,7 +10,7 @@ "name": "matrix-hookshot-rs" }, "engines": { - "node": ">=16" + "node": ">=18" }, "scripts": { "build:web": "vite build", @@ -30,11 +30,13 @@ "start:app": "node --require source-map-support/register lib/App/BridgeApp.js", "start:webhooks": "node --require source-map-support/register lib/App/GithubWebhookApp.js", "start:matrixsender": "node --require source-map-support/register lib/App/MatrixSenderApp.js", + "start:resetcrypto": "node --require source-map-support/register lib/App/ResetCryptoStore.js", "test": "mocha -r ts-node/register tests/init.ts tests/*.ts tests/**/*.ts", "test:cover": "nyc --reporter=lcov --reporter=text yarn test", "lint": "yarn run lint:js && yarn run lint:rs", "lint:js": "eslint -c .eslintrc.js 'src/**/*.ts' 'tests/**/*.ts' 'web/**/*.ts' 'web/**/*.tsx'", "lint:rs": "cargo fmt --all -- --check", + "lint:rs:apply": "cargo fmt --all", "generate-default-config": "ts-node src/Config/Defaults.ts --config > config.sample.yml", "validate-config": "ts-node src/Config/Config.ts" }, @@ -53,8 +55,8 @@ "ioredis": "^5.2.3", "jira-client": "^8.0.0", "markdown-it": "^12.3.2", - "matrix-appservice-bridge": "^6.0.0", - "matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.6.3-element.0", + "matrix-appservice-bridge": "^9.0.0", + "matrix-bot-sdk": "npm:@vector-im/matrix-bot-sdk@^0.6.6-element.1", "matrix-widget-api": "^1.0.0", "micromatch": "^4.0.4", "mime": "^3.0.0", @@ -63,20 +65,19 @@ "p-queue": "^6.6.2", "prom-client": "^14.0.1", "reflect-metadata": "^0.1.13", - "rss-parser": "^3.12.0", "source-map-support": "^0.5.21", "string-argv": "^0.3.1", "tiny-typed-emitter": "^2.1.0", - "vm2": "^3.9.11", + "vm2": "^3.9.17", "winston": "^3.3.3", - "xml2js": "^0.4.23", - "yaml": "^1.10.2" + "xml2js": "^0.5.0", + "yaml": "^2.2.2" }, "devDependencies": { "@codemirror/lang-javascript": "^6.0.2", "@napi-rs/cli": "^2.2.0", "@preact/preset-vite": "^2.2.0", - "@tsconfig/node16": "^1.0.3", + "@tsconfig/node18": "^2.0.0", "@types/ajv": "^1.0.0", "@types/chai": "^4.2.22", "@types/cors": "^2.8.12", @@ -86,10 +87,10 @@ "@types/micromatch": "^4.0.1", "@types/mime": "^2.0.3", "@types/mocha": "^9.0.0", - "@types/node": "^16", "@types/node-emoji": "^1.8.1", "@types/uuid": "^8.3.3", "@types/xml2js": "^0.4.11", + "@types/node": "18", "@typescript-eslint/eslint-plugin": "^5.4.0", "@typescript-eslint/parser": "^5.4.0", "@uiw/react-codemirror": "^4.12.3", @@ -102,8 +103,8 @@ "preact": "^10.5.15", "rimraf": "^3.0.2", "sass": "^1.51.0", - "ts-node": "^10.4.0", - "typescript": "^4.5.2", + "ts-node": "^10.9.1", + "typescript": "^5.0.4", "vite": "^4.1.4", "vite-svg-loader": "^4.0.0" } diff --git a/pkgs/servers/matrix-synapse/matrix-hookshot/pin.json b/pkgs/servers/matrix-synapse/matrix-hookshot/pin.json index 5de70b56bb5f..106278288dff 100644 --- a/pkgs/servers/matrix-synapse/matrix-hookshot/pin.json +++ b/pkgs/servers/matrix-synapse/matrix-hookshot/pin.json @@ -1,6 +1,6 @@ { - "version": "3.2.0", - "srcHash": "7u3JT7BFoJB95vlpKagMgWzoJg0vPYX4CEoqANW0FL4=", - "yarnHash": "0ivizv90wrbz583xjvbakv6vg782h7pjm5zbm8wb9qkpnj735avz", - "cargoHash": "CVJoDaQzyMJUaCx7MQg/bQHVicbkmwNpwncLSbWQwbA=" + "version": "4.0.0", + "srcHash": "imZMYp1bgt5N8hPO6S4V133DoPCQoJ5TnMCG905qT1s=", + "yarnHash": "0rnb7i6v7pz2wywjrj0nb2c9am94pbxin1jiykj5p6czmzw289kl", + "cargoHash": "ldz5b7bC7qWRMVDixA4d5ls5Y1ONvElruRC+/TgQWr8=" }