diff --git a/.travis.yml b/.travis.yml index dca1a649c2ab06fad3d06ba70b109e9cc350b3e3..03335e8d85ebfe85622e7b9a73f21b98fc026f07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,22 @@ language: node_js install: npm install && npm run build +node_js: + - "10" + - "12" jobs: - include: - - stage: tests - name: "Unit - Node 8" - script: npm run test - node_js: "8" - script: npm run test name: "Unit - Node 10" node_js: "10" - script: npm run test - name: "Unit - Node 11" - node_js: "11.0.0" - + name: "Unit - Node 12" + node_js: "12" - script: npm run lint name: "Linting" - node_js: "10" + node_js: "12" - script: npm run coverage name: "Coverage" - node_js: "10" + node_js: "12" notifications: webhooks: diff --git a/README.md b/README.md index c83620ae37be26a05c40dc5d696514c51982d2f5..731ac3a0702b566d84cec20e4c716fbca06e9428 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,10 @@ Please also be aware that this is an unoffical project worked on in my (Half-Sho ## Setting up -These instructions were tested against Node.js v8.11.1 and the Synapse homeserver. +The bridge has been tested against the [Synapse](https://github.com/matrix-org/synapse) homeserver, although any homeserver +that implements the [AS API](https://matrix.org/docs/spec/application_service/r0.1.0.html) should work with this bridge. + +The bridge supports any version of Node.js >= v10.X, including all [current releases](https://nodejs.org/en/about/releases/). ### Setup the bridge diff --git a/package-lock.json b/package-lock.json index 7abcd97a9160b6036722103fbf4de323d51ddd7d..049a27b58d44d1b4333de1f27d01e692a111a4c2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1206,7 +1206,7 @@ }, "finalhandler": { "version": "1.1.1", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", + "resolved": "http://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz", "integrity": "sha512-Y1GUDo39ez4aHAw7MysnUD5JzYX+WaIj8I57kO3aEPT1fFRL4sr7mjei97FgnwhAyyzRYmQZaTHb2+9uZ1dPtg==", "requires": { "debug": "2.6.9", diff --git a/test/test_matrixeventprocessor.ts b/test/test_matrixeventprocessor.ts index 2c836b295847504637a4fac4361557bc47be5595..97f0fe7ae05c30fc199cc9d39d4f4df8f41fa7e7 100644 --- a/test/test_matrixeventprocessor.ts +++ b/test/test_matrixeventprocessor.ts @@ -610,7 +610,7 @@ describe("MatrixEventProcessor", () => { info: { mimetype: "image/png", }, - url: "mxc://bunny", + url: "mxc://bunny/500", }, sender: "@test:localhost", type: "m.sticker",