Socket
Socket
Sign inDemoInstall

@shikijs/engine-javascript

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shikijs/engine-javascript - npm Package Compare versions

Comparing version 1.17.6 to 1.17.7

10

dist/index.d.ts
import { PatternScanner, RegexEngineString, RegexEngine } from '@shikijs/types';
import { IOnigMatch } from '@shikijs/vscode-textmate';

@@ -37,10 +38,3 @@ interface JavaScriptRegexEngineOptions {

constructor(patterns: string[], options?: JavaScriptRegexEngineOptions);
findNextMatchSync(string: string | RegexEngineString, startPosition: number): {
index: number;
captureIndices: {
end: number;
start: number;
length: number;
}[];
} | null;
findNextMatchSync(string: string | RegexEngineString, startPosition: number): IOnigMatch | null;
}

@@ -47,0 +41,0 @@ /**

7

package.json
{
"name": "@shikijs/engine-javascript",
"type": "module",
"version": "1.17.6",
"version": "1.17.7",
"description": "Engine for Shiki using JavaScript's native RegExp",

@@ -17,3 +17,3 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"shiki",
"@shikijs/transformers"
"shiki-engine"
],

@@ -34,4 +34,5 @@ "sideEffects": false,

"dependencies": {
"@shikijs/vscode-textmate": "^9.2.2",
"oniguruma-to-js": "0.4.3",
"@shikijs/types": "1.17.6"
"@shikijs/types": "1.17.7"
},

@@ -38,0 +39,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc