@aiquants/html-to-markdown 1.0.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiquants/html-to-markdown",
3
- "version": "1.0.0",
3
+ "version": "1.2.1",
4
4
  "description": "HTML to Markdown converter",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -24,29 +24,6 @@
24
24
  "LICENSE",
25
25
  "mcp.json"
26
26
  ],
27
- "scripts": {
28
- "postinstall": "playwright install --with-deps chromium",
29
- "dev": "NODE_OPTIONS='--enable-source-maps' vite-node --inspect=9229 --watch src/mcp-streamable.ts --",
30
- "debug": "NODE_OPTIONS='--enable-source-maps' vite-node --inspect-brk=9229 main.ts --",
31
- "start": "vite-node main.ts",
32
- "build": "vite build",
33
- "typecheck": "tsc --noEmit",
34
- "clean": "rimraf dist",
35
- "prepublishOnly": "npm run clean && npm run typecheck && npm run test --if-present && npm run build",
36
- "publish:patch": "npm version patch && npm publish",
37
- "publish:minor": "npm version minor && npm publish",
38
- "publish:major": "npm version major && npm publish",
39
- "lint": "biome lint app/",
40
- "format": "biome format --write",
41
- "check": "biome check --fix src/",
42
- "test": "vitest run",
43
- "test:mcp": "vitest run tests/mcp-unified.test.ts",
44
- "test:watch": "vitest",
45
- "coverage": "vitest run --coverage",
46
- "coverage:mcp": "vitest run --coverage tests/mcp-unified.test.ts",
47
- "license-check": "pnpm dlx license-checker --production --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;Unlicense\"",
48
- "license-check:json": "pnpm dlx license-checker --production --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;Unlicense\" --json"
49
- },
50
27
  "keywords": [
51
28
  "html",
52
29
  "markdown",
@@ -60,15 +37,15 @@
60
37
  },
61
38
  "license": "MIT",
62
39
  "dependencies": {
63
- "@modelcontextprotocol/sdk": "^1.21.1",
64
- "@playwright/test": "^1.56.1",
40
+ "@modelcontextprotocol/sdk": "^1.24.3",
41
+ "@playwright/test": "^1.57.0",
65
42
  "cors": "^2.8.5",
66
- "express": "^5.1.0",
43
+ "express": "^5.2.1",
67
44
  "github-slugger": "^2.0.0",
68
- "happy-dom": "^18.0.1",
45
+ "happy-dom": "^20.0.11",
69
46
  "hast": "^1.0.0",
70
47
  "hast-util-to-html": "^9.0.5",
71
- "playwright": "^1.56.1",
48
+ "playwright": "^1.57.0",
72
49
  "postcss": "^8.5.6",
73
50
  "rehype-parse": "^9.0.1",
74
51
  "rehype-raw": "^7.0.0",
@@ -81,25 +58,47 @@
81
58
  "yargs-parser": "^22.0.0"
82
59
  },
83
60
  "devDependencies": {
84
- "@biomejs/biome": "^2.3.4",
85
61
  "@types/cors": "^2.8.19",
86
- "@types/express": "^5.0.5",
62
+ "@types/express": "^5.0.6",
87
63
  "@types/hast": "^3.0.4",
88
64
  "@types/mdast": "^4.0.4",
89
- "@types/node": "^22.19.0",
65
+ "@types/node": "^25.0.1",
90
66
  "@types/yargs-parser": "^21.0.3",
91
- "@vitest/coverage-v8": "^3.2.4",
67
+ "@vitest/coverage-v8": "^4.0.15",
92
68
  "rehype-stringify": "^10.0.1",
93
- "rimraf": "^6.1.0",
69
+ "rimraf": "^6.1.2",
94
70
  "terser": "^5.44.1",
95
71
  "typescript": "^5.9.3",
96
- "vite": "^7.2.2",
97
- "vite-node": "^3.2.4",
72
+ "vite": "^7.2.7",
73
+ "vite-node": "^5.2.0",
98
74
  "vite-plugin-dts": "^4.5.4",
99
- "vitest": "^3.2.4",
75
+ "vitest": "^4.0.15",
100
76
  "vitest-tsconfig-paths": "^3.4.1"
101
77
  },
102
78
  "publishConfig": {
103
79
  "access": "public"
80
+ },
81
+ "scripts": {
82
+ "postinstall": "playwright install --with-deps chromium",
83
+ "dev": "NODE_OPTIONS='--enable-source-maps' vite-node --inspect=9229 --watch src/mcp-streamable.ts --",
84
+ "watch": "vite build --watch",
85
+ "debug": "NODE_OPTIONS='--enable-source-maps' vite-node --inspect-brk=9229 main.ts --",
86
+ "start": "vite-node main.ts",
87
+ "build": "vite build",
88
+ "typecheck": "tsc --noEmit",
89
+ "clean": "rimraf dist",
90
+ "publish:patch": "npm version patch && pnpm publish --no-git-checks",
91
+ "publish:minor": "npm version minor && pnpm publish --no-git-checks",
92
+ "publish:major": "npm version major && pnpm publish --no-git-checks",
93
+ "lint": "biome lint app/",
94
+ "format": "biome format --write",
95
+ "check": "biome check --fix src/",
96
+ "test": "vitest run",
97
+ "test:mcp": "vitest run tests/mcp-unified.test.ts",
98
+ "test:watch": "vitest",
99
+ "coverage": "vitest run --coverage",
100
+ "coverage:mcp": "vitest run --coverage tests/mcp-unified.test.ts",
101
+ "license-check": "pnpm dlx license-checker --production --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;Unlicense\"",
102
+ "license-check:json": "pnpm dlx license-checker --production --onlyAllow \"MIT;Apache-2.0;BSD-2-Clause;BSD-3-Clause;ISC;Unlicense\" --json"
104
103
  }
105
- }
104
+ }