@shikijs/engine-javascript 1.27.0 → 1.27.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.
@@ -14,9 +14,6 @@ function defaultJavaScriptRegexConstructor(pattern, options) {
14
14
  asciiWordBoundaries: true,
15
15
  // Follow `vscode-oniguruma` which enables this Oniguruma option by default
16
16
  captureGroup: true,
17
- // Removing `\G` anchors in cases when they're not supported for emulation allows
18
- // supporting more grammars, but also allows some mismatches
19
- ignoreUnsupportedGAnchors: true,
20
17
  // Oniguruma uses depth limit `20`; lowered here to keep regexes shorter and maybe
21
18
  // sometimes faster, but can be increased if issues reported due to low limit
22
19
  recursionLimit: 5
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shikijs/engine-javascript",
3
3
  "type": "module",
4
- "version": "1.27.0",
4
+ "version": "1.27.1",
5
5
  "description": "Engine for Shiki using JavaScript's native RegExp",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -35,8 +35,8 @@
35
35
  ],
36
36
  "dependencies": {
37
37
  "@shikijs/vscode-textmate": "^10.0.1",
38
- "oniguruma-to-es": "^1.0.0",
39
- "@shikijs/types": "1.27.0"
38
+ "oniguruma-to-es": "^2.0.0",
39
+ "@shikijs/types": "1.27.1"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "unbuild",