From bfe156cc0b3d6364a5872d1aa21cabf7e7d5c5ab Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Mon, 29 May 2023 12:33:46 +0200 Subject: [PATCH] matrix-hookshot: 4.0.0 -> 4.1.0 https://github.com/matrix-org/matrix-hookshot/releases/tag/4.1.0 --- .../matrix-hookshot/default.nix | 1 + .../matrix-hookshot/package.json | 21 ++++++++++--------- .../matrix-synapse/matrix-hookshot/pin.json | 8 +++---- 3 files changed, 16 insertions(+), 14 deletions(-) diff --git a/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix b/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix index bf5cecd821f4..1a7e233c6e89 100644 --- a/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix +++ b/pkgs/servers/matrix-synapse/matrix-hookshot/default.nix @@ -74,5 +74,6 @@ mkYarnPackage rec { description = "A bridge between Matrix and multiple project management services, such as GitHub, GitLab and JIRA"; maintainers = with maintainers; [ chvp ]; license = licenses.asl20; + platforms = platforms.linux; }; } diff --git a/pkgs/servers/matrix-synapse/matrix-hookshot/package.json b/pkgs/servers/matrix-synapse/matrix-hookshot/package.json index 0c4a0956b61e..525e9201b791 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": "4.0.0", + "version": "4.1.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", @@ -35,10 +35,10 @@ "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" + "lint:rs": "cargo fmt --all -- --check && cargo clippy -- -Dwarnings", + "lint:rs:apply": "cargo clippy --fix && cargo fmt --all", + "generate-default-config": "ts-node src/config/Defaults.ts --config > config.sample.yml", + "validate-config": "ts-node src/config/Config.ts" }, "dependencies": { "@alloc/quick-lru": "^5.2.0", @@ -46,6 +46,7 @@ "@octokit/auth-token": "^2.4.5", "@octokit/rest": "^18.10.0", "@octokit/webhooks": "^9.1.2", + "@sentry/node": "^7.52.1", "ajv": "^8.11.0", "axios": "^0.24.0", "cors": "^2.8.5", @@ -68,7 +69,7 @@ "source-map-support": "^0.5.21", "string-argv": "^0.3.1", "tiny-typed-emitter": "^2.1.0", - "vm2": "^3.9.17", + "vm2": "^3.9.18", "winston": "^3.3.3", "xml2js": "^0.5.0", "yaml": "^2.2.2" @@ -87,15 +88,15 @@ "@types/micromatch": "^4.0.1", "@types/mime": "^2.0.3", "@types/mocha": "^9.0.0", + "@types/node": "18", "@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", + "@typescript-eslint/eslint-plugin": "^5.59.1", + "@typescript-eslint/parser": "^5.59.1", "@uiw/react-codemirror": "^4.12.3", "chai": "^4.3.4", - "eslint": "^8.3.0", + "eslint": "^8.39.0", "eslint-config-preact": "^1.3.0", "eslint-plugin-mocha": "^9.0.0", "mini.css": "^3.0.1", diff --git a/pkgs/servers/matrix-synapse/matrix-hookshot/pin.json b/pkgs/servers/matrix-synapse/matrix-hookshot/pin.json index 106278288dff..c7f2b263ed31 100644 --- a/pkgs/servers/matrix-synapse/matrix-hookshot/pin.json +++ b/pkgs/servers/matrix-synapse/matrix-hookshot/pin.json @@ -1,6 +1,6 @@ { - "version": "4.0.0", - "srcHash": "imZMYp1bgt5N8hPO6S4V133DoPCQoJ5TnMCG905qT1s=", - "yarnHash": "0rnb7i6v7pz2wywjrj0nb2c9am94pbxin1jiykj5p6czmzw289kl", - "cargoHash": "ldz5b7bC7qWRMVDixA4d5ls5Y1ONvElruRC+/TgQWr8=" + "version": "4.1.0", + "srcHash": "TcLdZ9pSZ5T2sI6q1c+BpIFR647HUrwvamuQZ333NOg=", + "yarnHash": "1ydxjmr241kwhsacg4cx05951nijy6ch687xgqw4515islpb89v3", + "cargoHash": "s7NOZ2fKp6i2m4HbbcIWZcZgP8n45nGZqWGG9cV+FWw=" }