From 198c693d9d8898fd64c6aa87965c6ef8478858f3 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Tue, 12 Oct 2021 13:54:40 +0200 Subject: [PATCH] Update dev-dependencies --- index.d.ts | 4 ++-- index.test-d.ts | 5 +++-- package.json | 6 +++--- test/process.js | 1 + test/run.js | 1 + 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/index.d.ts b/index.d.ts index 916901b5..0412600c 100644 --- a/index.d.ts +++ b/index.d.ts @@ -16,7 +16,7 @@ import {Node} from 'unist' import {VFile, VFileCompatible} from 'vfile' -/* eslint-disable @typescript-eslint/ban-types */ +/* eslint-disable @typescript-eslint/ban-types, @typescript-eslint/naming-convention */ type VFileWithOutput = Result extends Uint8Array // Buffer. ? VFile @@ -71,7 +71,7 @@ type UsePlugin< // just keep it as it was. Processor -/* eslint-enable @typescript-eslint/ban-types */ +/* eslint-enable @typescript-eslint/ban-types, @typescript-eslint/naming-convention */ /** * Processor allows plugins to be chained together to transform content. diff --git a/index.test-d.ts b/index.test-d.ts index 5ff91e09..ede2233b 100644 --- a/index.test-d.ts +++ b/index.test-d.ts @@ -1,8 +1,9 @@ /* eslint-disable @typescript-eslint/no-floating-promises */ +import type {Buffer} from 'node:buffer' import {expectType, expectError} from 'tsd' -import {Node, Parent, Literal} from 'unist' -import {VFile} from 'vfile' +import type {Node, Parent, Literal} from 'unist' +import type {VFile} from 'vfile' import { unified, Plugin, diff --git a/package.json b/package.json index 912af2cd..cfbe1e52 100644 --- a/package.json +++ b/package.json @@ -59,14 +59,14 @@ "@types/tape": "^4.0.0", "c8": "^7.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", "tsd": "^0.17.0", "type-coverage": "^2.0.0", "typescript": "^4.0.0", - "xo": "^0.42.0" + "xo": "^0.45.0" }, "scripts": { "build": "rimraf \"test/**/*.d.ts\" && tsc && tsd && type-coverage", diff --git a/test/process.js b/test/process.js index 79dd1a55..3ba7f3e2 100644 --- a/test/process.js +++ b/test/process.js @@ -5,6 +5,7 @@ * @typedef {import('..').Compiler} Compiler */ +import {Buffer} from 'node:buffer' import test from 'tape' import {VFile} from 'vfile' import {unified} from '../index.js' diff --git a/test/run.js b/test/run.js index c843b24b..357a1a0e 100644 --- a/test/run.js +++ b/test/run.js @@ -1,3 +1,4 @@ +import process from 'node:process' import test from 'tape' import {VFile} from 'vfile' import {unified} from '../index.js'