diff --git a/.aegir.js b/.aegir.js index a8380e4d5..de77b8e29 100644 --- a/.aegir.js +++ b/.aegir.js @@ -3,4 +3,4 @@ module.exports = { docs: { entryPoint: 'utils' } -} \ No newline at end of file +} diff --git a/package.json b/package.json index 224c7d9d6..91bfa13b2 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "@types/chai-string": "^1.4.2", "@types/chai-subset": "^1.3.3", "@types/mocha": "^8.2.2", - "@types/node": "^15.6.0", + "@types/node": "^16.3.0", "@types/sinon": "^10.0.0", "buffer": "^6.0.3", "bytes": "^3.1.0", @@ -82,7 +82,7 @@ "cors": "^2.8.5", "electron-mocha": "^10.0.0", "env-paths": "^2.2.1", - "esbuild": "0.11.5", + "esbuild": "^0.12.15", "esbuild-register": "^2.3.0", "eslint": "^7.23.0", "eslint-config-ipfs": "^2.0.0", @@ -98,13 +98,13 @@ "lilconfig": "^2.0.2", "listr": "~0.14.2", "merge-options": "^3.0.4", - "mocha": "^8.3.2", + "mocha": "^9.0.2", "npm-package-json-lint": "^5.1.0", "nyc": "^15.1.0", "ora": "^5.4.0", "p-map": "4.0.0", "pascalcase": "^1.0.0", - "playwright-test": "^3.0.0", + "playwright-test": "^6.0.0", "polka": "^0.5.2", "premove": "^3.0.1", "proper-lockfile": "^4.1.2", @@ -115,8 +115,8 @@ "strip-bom": "4.0.0", "strip-json-comments": "^3.1.1", "tempy": "^1.0.1", - "typedoc": "^0.20.35", - "typescript": "4.2.3", + "typedoc": "^0.21.2", + "typescript": "^4.3.5", "update-notifier": "^5.0.0", "yargs": "^17.0.1" }, @@ -134,9 +134,10 @@ "@types/semver": "^7.3.4", "@types/update-notifier": "^5.0.0", "@types/yargs": "^17.0.0", - "electron": "^12.0.2", + "electron": "^13.1.6", "iso-url": "^1.1.5", - "sinon": "^10.0.0" + "sinon": "^11.1.1", + "util": "^0.12.4" }, "engines": { "node": ">=14.0.0", diff --git a/src/ts/typedoc-plugin.js b/src/ts/typedoc-plugin.js index 68cc68e18..0a609c879 100644 --- a/src/ts/typedoc-plugin.js +++ b/src/ts/typedoc-plugin.js @@ -4,11 +4,10 @@ const path = require('path') const fs = require('fs') /** - * - * @param {import("typedoc/dist/lib/utils").PluginHost} PluginHost + * @param {import("typedoc/dist/lib/application").Application} Application */ -const plugin = function (PluginHost) { - const app = PluginHost.owner +const plugin = function (Application) { + const app = Application.owner const pkg = path.join(process.cwd(), 'package.json') /** @type {any} */ let pkgJson diff --git a/test/dependants.js b/test/dependants.js index d0fbbb8ae..0590eb6f0 100644 --- a/test/dependants.js +++ b/test/dependants.js @@ -57,7 +57,7 @@ const git = } describe('dependants', function () { - this.timeout(120000) + this.timeout(300000) if (os.platform() === 'win32') { // TODO: travis windows builds can't clone git repos from the local