@shikijs/transformers 1.5.2 → 1.6.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.
Files changed (2) hide show
  1. package/dist/index.mjs +2 -1
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -419,8 +419,9 @@ function transformerMetaHighlight(options = {}) {
419
419
  name: "@shikijs/transformers:meta-highlight",
420
420
  line(node, line) {
421
421
  var _a;
422
- if (!this.options.meta?.__raw)
422
+ if (!this.options.meta?.__raw) {
423
423
  return;
424
+ }
424
425
  (_a = this.meta)[symbol] || (_a[symbol] = parseMetaHighlightString(this.options.meta.__raw));
425
426
  const lines = this.meta[symbol] || [];
426
427
  if (lines.includes(line))
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/transformers",
3
3
  "type": "module",
4
- "version": "1.5.2",
4
+ "version": "1.6.1",
5
5
  "description": "Collective of common transformers transformers for Shiki",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "shiki": "1.5.2"
33
+ "shiki": "1.6.1"
34
34
  },
35
35
  "scripts": {
36
36
  "build": "unbuild",