sugar-high 0.7.1 → 0.7.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/lib/index.d.ts +1 -0
- package/lib/index.js +1 -3
- package/package.json +3 -3
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -583,7 +583,7 @@ function tokenize(code) {
|
|
|
583
583
|
|
|
584
584
|
/**
|
|
585
585
|
* @param {Array<[number, string]>} tokens
|
|
586
|
-
* @return {Array<
|
|
586
|
+
* @return {Array<[number, string]>}
|
|
587
587
|
*/
|
|
588
588
|
function generate(tokens) {
|
|
589
589
|
const lines = []
|
|
@@ -592,8 +592,6 @@ function generate(tokens) {
|
|
|
592
592
|
*
|
|
593
593
|
*/
|
|
594
594
|
const createLine = (children) =>
|
|
595
|
-
// generateType === 'html'
|
|
596
|
-
// ? `<span class="sh__line">${content}</span>`
|
|
597
595
|
({
|
|
598
596
|
type: 'element',
|
|
599
597
|
tagName: 'span',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sugar-high",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"exports": {
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"codice": "^0.2.0",
|
|
22
|
-
"next": "
|
|
22
|
+
"next": "15.0.1",
|
|
23
23
|
"react": "^18.3.1",
|
|
24
24
|
"react-dom": "^18.3.1",
|
|
25
25
|
"sugar-high": "link:./",
|
|
26
|
-
"vitest": "^1.
|
|
26
|
+
"vitest": "^2.1.3"
|
|
27
27
|
},
|
|
28
28
|
"packageManager": "pnpm@8.7.1"
|
|
29
29
|
}
|