@scalar/code-highlight 0.3.1 → 0.3.2
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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.d.ts.map +1 -1
- package/dist/markdown/index.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { syntaxHighlight } from './code/index.js';
|
|
2
2
|
export { lowlightLanguageMappings } from './constants.js';
|
|
3
|
-
export
|
|
3
|
+
export { basicLanguages, jsonYamlLanguages, standardLanguages } from './languages/index.js';
|
|
4
4
|
export { type Node, htmlFromMarkdown, isHeading, textFromNode } from './markdown/index.js';
|
|
5
5
|
export { rehypeHighlight } from './rehype-highlight/index.js';
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AACtD,cAAc,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,QAAQ,CAAA;AACxC,OAAO,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAA;AACtD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAClF,OAAO,EAAE,KAAK,IAAI,EAAE,gBAAgB,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AACjF,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { syntaxHighlight } from './code/index.js';
|
|
2
2
|
export { lowlightLanguageMappings } from './constants.js';
|
|
3
|
-
export
|
|
3
|
+
export { basicLanguages, jsonYamlLanguages, standardLanguages } from './languages/index.js';
|
|
4
4
|
export { htmlFromMarkdown, isHeading, textFromNode } from './markdown/index.js';
|
|
5
5
|
export { rehypeHighlight } from './rehype-highlight/index.js';
|
package/dist/markdown/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getHeadings, htmlFromMarkdown, isHeading, splitContent, textFromNode, type Node } from './markdown.js';
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/markdown/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/markdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,gBAAgB,EAAE,SAAS,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,IAAI,EAAE,MAAM,YAAY,CAAA"}
|
package/dist/markdown/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export { getHeadings, htmlFromMarkdown, isHeading, splitContent, textFromNode } from './markdown.js';
|
package/package.json
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"lowlight",
|
|
17
17
|
"highlightjs"
|
|
18
18
|
],
|
|
19
|
-
"version": "0.3.
|
|
19
|
+
"version": "0.3.2",
|
|
20
20
|
"engines": {
|
|
21
21
|
"node": ">=22"
|
|
22
22
|
},
|
|
@@ -80,20 +80,20 @@
|
|
|
80
80
|
"rehype-parse": "^9.0.1",
|
|
81
81
|
"rehype-raw": "^7.0.0",
|
|
82
82
|
"rehype-sanitize": "^6.0.0",
|
|
83
|
-
"rehype-stringify": "^10.0.
|
|
84
|
-
"remark-gfm": "^4.0.
|
|
83
|
+
"rehype-stringify": "^10.0.1",
|
|
84
|
+
"remark-gfm": "^4.0.1",
|
|
85
85
|
"remark-parse": "^11.0.0",
|
|
86
|
-
"remark-rehype": "^11.1.
|
|
86
|
+
"remark-rehype": "^11.1.2",
|
|
87
87
|
"remark-stringify": "^11.0.0",
|
|
88
|
-
"unified": "^11.0.
|
|
89
|
-
"unist-util-visit": "^5.
|
|
88
|
+
"unified": "^11.0.5",
|
|
89
|
+
"unist-util-visit": "^5.1.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
92
|
"@types/hast": "^3.0.4",
|
|
93
93
|
"@types/mdast": "^4.0.4",
|
|
94
|
-
"vfile": "^6.0.
|
|
94
|
+
"vfile": "^6.0.3",
|
|
95
95
|
"vite": "8.0.0",
|
|
96
|
-
"@scalar/themes": "0.15.
|
|
96
|
+
"@scalar/themes": "0.15.2"
|
|
97
97
|
},
|
|
98
98
|
"scripts": {
|
|
99
99
|
"build": "tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json && cp -r src/css dist/css",
|