From e2eb36d6586f6ed81af1b8ff4ca940b857add51b Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 8 Nov 2021 10:17:43 +0100 Subject: [PATCH] Update dev-dependencies --- build.js | 6 +----- package.json | 12 ++++++------ 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/build.js b/build.js index 243f804..f5c3dd6 100644 --- a/build.js +++ b/build.js @@ -6,11 +6,7 @@ * @typedef {{from: string, to: string}} Match */ -/** @type {import('fs')} */ -// @ts-expect-error import fs from 'node:fs' -/** @type {import('path')} */ -// @ts-expect-error import path from 'node:path' import fetch from 'node-fetch' import {fromXml} from 'xast-util-from-xml' @@ -80,7 +76,7 @@ function onbody(doc) { write('many', many) write('matches', match) - /** @type {import('unist-util-visit').Visitor} */ + /** @param {Element} node */ /* eslint-disable-next-line complexity */ function onelement(node) { var name = node.name diff --git a/package.json b/package.json index b0e27f6..5a29eed 100644 --- a/package.json +++ b/package.json @@ -42,22 +42,22 @@ "bcp-47-match": "^2.0.0" }, "devDependencies": { - "@types/node-fetch": "^2.0.0", + "@types/node-fetch": "^3.0.0", "@types/tape": "^4.0.0", "@types/xast": "^1.0.0", "c8": "^7.0.0", "cldr-core": "^39.0.0", - "node-fetch": "^2.0.0", + "node-fetch": "^3.0.0", "prettier": "^2.0.0", - "remark-cli": "^9.0.0", - "remark-preset-wooorm": "^8.0.0", + "remark-cli": "^10.0.0", + "remark-preset-wooorm": "^9.0.0", "rimraf": "^3.0.0", "tape": "^5.0.0", "type-coverage": "^2.0.0", "typescript": "^4.0.0", - "unist-util-visit": "^3.0.0", + "unist-util-visit": "^4.0.0", "xast-util-from-xml": "^2.0.0", - "xo": "^0.40.0" + "xo": "^0.46.0" }, "scripts": { "prepack": "npm run build && npm run format",