diff --git a/bun.lockb b/bun.lockb index fb42b1f..ce65429 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 745c2a7..173ead5 100644 --- a/package.json +++ b/package.json @@ -34,9 +34,9 @@ "prepublishOnly": "bun run build" }, "devDependencies": { - "bun-types": "latest", - "markdown-it": "^13.0.2", - "typescript": "^5.0.0" + "@types/bun": "^1.1.10", + "markdown-it": "^14.1.0", + "typescript": "^5.6.2" }, "engines": { "node": ">=14" diff --git a/tests/utils.ts b/tests/utils.ts index 8896576..abbb9b2 100644 --- a/tests/utils.ts +++ b/tests/utils.ts @@ -1,5 +1,5 @@ -import { readFile } from 'fs/promises' -import { join } from 'path' +import { readFile } from 'node:fs/promises' +import { join } from 'node:path' import MarkdownIt from 'markdown-it' import { Options, importPlugin } from '../src/index.ts' diff --git a/tsconfig.json b/tsconfig.json index 0771619..bec401e 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,13 +6,11 @@ "moduleResolution": "bundler", "moduleDetection": "force", "allowImportingTsExtensions": true, + "skipLibCheck": true, "emitDeclarationOnly": true, "outDir": "./dist", "composite": true, - "strict": true, - "types": [ - "bun-types" // add Bun global - ] + "strict": true }, "include": ["./src"] }