Skip to content

Commit 7fa6c02

Browse files
committed
fix: apply parse5-utils JSDoc->TS conversion and fix type mismatches
- Convert parse5-utils from JSDoc .js to TypeScript with parse5 v8 API - Update parse5-utils package.json, tsconfig from fix/node24 - Fix polyfills-loader parse5 type imports for v8 compatibility Assisted-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9a40bea commit 7fa6c02

6 files changed

Lines changed: 338 additions & 513 deletions

File tree

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/parse5-utils/index.mjs

Lines changed: 0 additions & 111 deletions
This file was deleted.

packages/parse5-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
},
2727
"scripts": {
2828
"build": "tsc",
29-
"test:node": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\",\"moduleResolution\":\"node\"}' mocha \"test/**/*.test.{ts,js,mjs,cjs}\" --require ts-node/register --reporter dot",
30-
"test:watch": "TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\",\"moduleResolution\":\"node\"}' mocha \"test/**/*.test.{ts,js,mjs,cjs}\" --require ts-node/register --watch"
29+
"test:node": "node --test 'test/**/*.test.mjs'",
30+
"test:watch": "npm run test:node -- --watch"
3131
},
3232
"files": [
3333
"dist",

0 commit comments

Comments
 (0)