diff --git a/biome.json b/biome.json index edbc078..e498c24 100644 --- a/biome.json +++ b/biome.json @@ -1,5 +1,5 @@ { - "$schema": "https://biomejs.dev/schemas/2.2.7/schema.json", + "$schema": "https://biomejs.dev/schemas/2.3.4/schema.json", "vcs": { "enabled": true, "clientKind": "git", diff --git a/docs/index.html b/docs/index.html index c1878e8..9c11221 100644 --- a/docs/index.html +++ b/docs/index.html @@ -54,6 +54,7 @@ +
@@ -155,8 +156,8 @@

CSS

Attributes

    -
  • language The syntax language. The default is plaintext. Default suported languages html|css|js. -
  • content-selector A CSS selector to specify the content element. The default is the element itself. +
  • language The syntax language. The default is plaintext. Default suported languages html|css|js.
  • +
  • content-selector A CSS selector to specify the content element. The default is the element itself.
@@ -168,7 +169,7 @@

Configuration

* @type {object} * @property {string[]} languages - List of languages to support for syntax highlighting. * @property {string[]} tokenTypes - Token types used during lexing/parsing. - * @property {{[key: string]: string[]}} languageTokens - Mapping of language names to their specific tokenization rules. + * @property {[key: string]: string[]} languageTokens - Mapping of language names to their specific tokenization rules. * @property {function} setup - Runs before the custom element gets defined in the registry. * @property {function} tokenize - Tokenize text based on the specified language grammar */ @@ -193,8 +194,8 @@

Configuration

Credits

@@ -232,7 +233,7 @@

Credits

- diff --git a/docs/style.css b/docs/style.css index f839767..71ff9b7 100644 --- a/docs/style.css +++ b/docs/style.css @@ -425,7 +425,6 @@ opacity: 1; @starting-style { - /* biome-ignore lint/suspicious/noDuplicateProperties: reason */ opacity: 0; transform: translateY(100%); } diff --git a/index.html b/index.html index 1af2005..d42f107 100644 --- a/index.html +++ b/index.html @@ -21,7 +21,6 @@ syntax-highlight[data-inline] { display: inline; - padding: unset; hyphens: unset; overflow: unset; line-height: inherit; @@ -85,8 +84,8 @@ - unordered list item 2 -{/* ... */} -<Component attr="value"> +{/* ... */} +<Component attr="value"> {children} </Component> diff --git a/package-lock.json b/package-lock.json index f5eb267..41685a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.2.0", "license": "MIT", "devDependencies": { - "@biomejs/biome": "2.2.7", + "@biomejs/biome": "2.3.4", "@vitest/browser": "3.2.4", "conventional-changelog-cli": "5.0.0", "playwright": "1.56.1", @@ -56,9 +56,9 @@ } }, "node_modules/@biomejs/biome": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.2.7.tgz", - "integrity": "sha512-1a8j0UP1vXVUf3UzMZEJ/zS2VgAG6wU6Cuh/I764sUGI+MCnJs/9WaojHYBDCxCMLTgU60/WqnYof85emXmSBA==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.3.4.tgz", + "integrity": "sha512-TU08LXjBHdy0mEY9APtEtZdNQQijXUDSXR7IK1i45wgoPD5R0muK7s61QcFir6FpOj/RP1+YkPx5QJlycXUU3w==", "dev": true, "license": "MIT OR Apache-2.0", "bin": { @@ -72,20 +72,20 @@ "url": "https://opencollective.com/biome" }, "optionalDependencies": { - "@biomejs/cli-darwin-arm64": "2.2.7", - "@biomejs/cli-darwin-x64": "2.2.7", - "@biomejs/cli-linux-arm64": "2.2.7", - "@biomejs/cli-linux-arm64-musl": "2.2.7", - "@biomejs/cli-linux-x64": "2.2.7", - "@biomejs/cli-linux-x64-musl": "2.2.7", - "@biomejs/cli-win32-arm64": "2.2.7", - "@biomejs/cli-win32-x64": "2.2.7" + "@biomejs/cli-darwin-arm64": "2.3.4", + "@biomejs/cli-darwin-x64": "2.3.4", + "@biomejs/cli-linux-arm64": "2.3.4", + "@biomejs/cli-linux-arm64-musl": "2.3.4", + "@biomejs/cli-linux-x64": "2.3.4", + "@biomejs/cli-linux-x64-musl": "2.3.4", + "@biomejs/cli-win32-arm64": "2.3.4", + "@biomejs/cli-win32-x64": "2.3.4" } }, "node_modules/@biomejs/cli-darwin-arm64": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.2.7.tgz", - "integrity": "sha512-xBUUsebnO2/Qj1v7eZmKUy2ZcFkZ4/jLUkxN02Qup1RPoRaiW9AKXHrqS3L7iX6PzofHY2xuZ+Pb9kAcpoe0qA==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.3.4.tgz", + "integrity": "sha512-w40GvlNzLaqmuWYiDU6Ys9FNhJiclngKqcGld3iJIiy2bpJ0Q+8n3haiaC81uTPY/NA0d8Q/I3Z9+ajc14102Q==", "cpu": [ "arm64" ], @@ -100,9 +100,9 @@ } }, "node_modules/@biomejs/cli-darwin-x64": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.2.7.tgz", - "integrity": "sha512-vsY4NhmxqgfLJufr9XUnC+yGUPJiXAc1mz6FcjaAmuIuLwfghN4uQO7hnW2AneGyoi2mNe9Jbvf6Qtq4AjzrFg==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.3.4.tgz", + "integrity": "sha512-3s7TLVtjJ7ni1xADXsS7x7GMUrLBZXg8SemXc3T0XLslzvqKj/dq1xGeBQ+pOWQzng9MaozfacIHdK2UlJ3jGA==", "cpu": [ "x64" ], @@ -117,9 +117,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.2.7.tgz", - "integrity": "sha512-nUdco104rjV9dULi1VssQ5R/kX2jE/Z2sDjyqS+siV9sTQda0DwmEUixFNRCWvZJRRiZUWhgiDFJ4n7RowO8Mg==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.3.4.tgz", + "integrity": "sha512-y7efHyyM2gYmHy/AdWEip+VgTMe9973aP7XYKPzu/j8JxnPHuSUXftzmPhkVw0lfm4ECGbdBdGD6+rLmTgNZaA==", "cpu": [ "arm64" ], @@ -134,9 +134,9 @@ } }, "node_modules/@biomejs/cli-linux-arm64-musl": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.2.7.tgz", - "integrity": "sha512-FrTwvKO/7t5HbVTvhlMOTOVQLAcR7r4O4iFQhEpZXUtBfosHqrX/JJlX7daPawoe14MDcCu9CDg0zLVpTuDvuQ==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.3.4.tgz", + "integrity": "sha512-IruVGQRwMURivWazchiq7gKAqZSFs5so6gi0hJyxk7x6HR+iwZbO2IxNOqyLURBvL06qkIHs7Wffl6Bw30vCbQ==", "cpu": [ "arm64" ], @@ -151,9 +151,9 @@ } }, "node_modules/@biomejs/cli-linux-x64": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.2.7.tgz", - "integrity": "sha512-tPTcGAIEOOZrj2tQ7fdraWlaxNKApBw6l4In8wQQV1IyxnAexqi0hykHzKEX8hKKctf5gxGBfNCzyIvqpj4CFQ==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.3.4.tgz", + "integrity": "sha512-gKfjWR/6/dfIxPJCw8REdEowiXCkIpl9jycpNVHux8aX2yhWPLjydOshkDL6Y/82PcQJHn95VCj7J+BRcE5o1Q==", "cpu": [ "x64" ], @@ -168,9 +168,9 @@ } }, "node_modules/@biomejs/cli-linux-x64-musl": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.2.7.tgz", - "integrity": "sha512-MnsysF5s/iLC5wnYvuMseOy+m8Pd4bWG1uwlVyy2AUbfjAVUgtbYbboc5wMXljFrDY7e6rLjLTR4S2xqDpGlQg==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.3.4.tgz", + "integrity": "sha512-mzKFFv/w66e4/jCobFmD3kymCqG+FuWE7sVa4Yjqd9v7qt2UhXo67MSZKY9Ih18V2IwPzRKQPCw6KwdZs6AXSA==", "cpu": [ "x64" ], @@ -185,9 +185,9 @@ } }, "node_modules/@biomejs/cli-win32-arm64": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.2.7.tgz", - "integrity": "sha512-h5D1jhwA2b7cFXerYiJfXHSzzAMFFoEDL5Mc2BgiaEw0iaSgSso/3Nc6FbOR55aTQISql+IpB4PS7JoV26Gdbw==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.3.4.tgz", + "integrity": "sha512-5TJ6JfVez+yyupJ/iGUici2wzKf0RrSAxJhghQXtAEsc67OIpdwSKAQboemILrwKfHDi5s6mu7mX+VTCTUydkw==", "cpu": [ "arm64" ], @@ -202,9 +202,9 @@ } }, "node_modules/@biomejs/cli-win32-x64": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.2.7.tgz", - "integrity": "sha512-URqAJi0kONyBKG4V9NVafHLDtm6IHmF4qPYi/b6x7MD6jxpWeJiTCO6R5+xDlWckX2T/OGv6Yq3nkz6s0M8Ykw==", + "version": "2.3.4", + "resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.3.4.tgz", + "integrity": "sha512-FGCijXecmC4IedQ0esdYNlMpx0Jxgf4zceCaMu6fkjWyjgn50ZQtMiqZZQ0Q/77yqPxvtkgZAvt5uGw0gAAjig==", "cpu": [ "x64" ], diff --git a/package.json b/package.json index 1838d31..df016b6 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md" }, "devDependencies": { - "@biomejs/biome": "2.2.7", + "@biomejs/biome": "2.3.4", "@vitest/browser": "3.2.4", "conventional-changelog-cli": "5.0.0", "playwright": "1.56.1",