@shikijs/core 2.0.0 → 2.0.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 +1 -1
  2. package/package.json +4 -4
package/dist/index.mjs CHANGED
@@ -244,7 +244,7 @@ class GrammarState {
244
244
  lang: this.lang,
245
245
  theme: this.theme,
246
246
  themes: this.themes,
247
- scopes: this.scopes
247
+ scopes: this.getScopes()
248
248
  };
249
249
  }
250
250
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/core",
3
3
  "type": "module",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "description": "Core of Shiki",
6
6
  "author": "Pine Wu <octref@gmail.com>; Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -63,9 +63,9 @@
63
63
  "@shikijs/vscode-textmate": "^10.0.1",
64
64
  "@types/hast": "^3.0.4",
65
65
  "hast-util-to-html": "^9.0.4",
66
- "@shikijs/engine-javascript": "2.0.0",
67
- "@shikijs/types": "2.0.0",
68
- "@shikijs/engine-oniguruma": "2.0.0"
66
+ "@shikijs/engine-javascript": "2.0.1",
67
+ "@shikijs/engine-oniguruma": "2.0.1",
68
+ "@shikijs/types": "2.0.1"
69
69
  },
70
70
  "scripts": {
71
71
  "build": "unbuild",