codelight.js 1.3.0 → 1.4.0

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,7 +1,7 @@
1
1
  {
2
2
  "name": "codelight.js",
3
- "version": "1.3.0",
4
- "description": "Very fast, lightweight syntax highlighter. Highlights each line once and redraws only what changed, so live code never flickers. 27 languages, no dependencies, React or a script tag.",
3
+ "version": "1.4.0",
4
+ "description": "Very fast, lightweight syntax highlighter. Highlights each line once and redraws only what changed, so live code never flickers. 50 languages, no dependencies, React or a script tag.",
5
5
  "keywords": [
6
6
  "syntax-highlighting",
7
7
  "highlight",
@@ -90,17 +90,22 @@
90
90
  "release:minor": "npm version minor && git push --follow-tags",
91
91
  "release:major": "npm version major && git push --follow-tags",
92
92
  "screenshot": "npm run demo && node tools/screenshot.mjs",
93
- "demo": "npm run build && node tools/build-demo.mjs"
93
+ "demo": "npm run build && node tools/build-demo.mjs",
94
+ "bench": "npm run build && node tools/bench/run.mjs"
94
95
  },
95
96
  "devDependencies": {
97
+ "@shikijs/stream": "^4.6.0",
96
98
  "@types/node": "^20.19.43",
97
99
  "@types/react": "^19.3.3",
98
100
  "@types/react-dom": "^19.3.0",
99
101
  "esbuild": "^0.27.7",
100
102
  "happy-dom": "^21.0.4",
103
+ "highlight.js": "^11.12.0",
104
+ "prismjs": "^1.30.0",
101
105
  "puppeteer-core": "^25.19.0",
102
106
  "react": "^19.3.1",
103
107
  "react-dom": "^19.3.1",
108
+ "shiki": "^4.6.0",
104
109
  "tsup": "^8.5.1",
105
110
  "typescript": "^5.9.3",
106
111
  "vitest": "^2.1.9"