Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Nov 15, 2024
1 parent aeaea84 commit 46f5331
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 540 deletions.
4 changes: 2 additions & 2 deletions docs/references/engine-js-compat.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Compatibility reference of all built-in grammars with the [JavaScript RegExp engine](/guide/regex-engines#javascript-regexp-engine-experimental).

> Genreated on Sunday, November 10, 2024
> Genreated on Friday, November 15, 2024
>
> Version `1.23.0`
>
> Runtime: Node.js v22.11.0
> Runtime: Node.js v20.18.0
## Report Summary

Expand Down
350 changes: 0 additions & 350 deletions packages/engine-javascript/test/__records__/sql.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,356 +63,6 @@
]
],
"executions": [
{
"args": [
"SELECT * FROM foo\n",
0
],
"result": {
"index": 12,
"captureIndices": [
{
"start": 0,
"end": 6,
"length": 6
},
{
"start": 0,
"end": 6,
"length": 6
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
}
]
}
},
{
"args": [
"SELECT * FROM foo\n",
6
],
"result": {
"index": 21,
"captureIndices": [
{
"start": 7,
"end": 8,
"length": 1
}
]
}
},
{
"args": [
"SELECT * FROM foo\n",
8
],
"result": {
"index": 12,
"captureIndices": [
{
"start": 9,
"end": 13,
"length": 4
},
{
"start": 9,
"end": 13,
"length": 4
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
}
]
}
},
{
"args": [
"SELECT * FROM foo\n",
13
],
"result": null
},
{
"args": [
"SELECT * FROM foo\n",
0
],
"result": {
"index": 12,
"captureIndices": [
{
"start": 0,
"end": 6,
"length": 6
},
{
"start": 0,
"end": 6,
"length": 6
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
}
]
}
},
{
"args": [
"SELECT * FROM foo\n",
6
],
"result": {
"index": 21,
"captureIndices": [
{
"start": 7,
"end": 8,
"length": 1
}
]
}
},
{
"args": [
"SELECT * FROM foo\n",
8
],
"result": {
"index": 12,
"captureIndices": [
{
"start": 9,
"end": 13,
"length": 4
},
{
"start": 9,
"end": 13,
"length": 4
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
},
{
"start": 4294967295,
"end": 4294967295,
"length": 0
}
]
}
},
{
"args": [
"SELECT * FROM foo\n",
13
],
"result": null
},
{
"args": [
"USE AdventureWorks2022;\n",
Expand Down
2 changes: 1 addition & 1 deletion packages/engine-javascript/test/compare.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const cases: Cases[] = [
theme: () => import('../../shiki/src/themes/nord.mjs'),
lang: () => import('../../shiki/src/langs/sql.mjs'),
cases: [
'SELECT * FROM foo',
// 'SELECT * FROM foo',
[
'USE AdventureWorks2022;',
'GO',
Expand Down
Loading

0 comments on commit 46f5331

Please sign in to comment.