mirror of
https://github.com/oven-sh/bun
synced 2026-02-15 21:32:05 +00:00
upgrade webkit (#17889)
This commit is contained in:
@@ -2,7 +2,7 @@ option(WEBKIT_VERSION "The version of WebKit to use")
|
||||
option(WEBKIT_LOCAL "If a local version of WebKit should be used instead of downloading")
|
||||
|
||||
if(NOT WEBKIT_VERSION)
|
||||
set(WEBKIT_VERSION f14adff4c39ba08174b84a942f9584028fc9a7ae)
|
||||
set(WEBKIT_VERSION de0b8bec75574eae9b71c979525c6a8fcee1986f)
|
||||
endif()
|
||||
|
||||
string(SUBSTRING ${WEBKIT_VERSION} 0 16 WEBKIT_VERSION_PREFIX)
|
||||
|
||||
31
test/regression/issue/17766.test.ts
Normal file
31
test/regression/issue/17766.test.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
test("17766 minimal", () => {
|
||||
expect(/^(?:H|Hangul)$/.test("Hangul")).toBe(true);
|
||||
});
|
||||
test("17766 acorn", () => {
|
||||
expect(require("acorn").parse("/\\p{Script=Hangul}/u", { ecmaVersion: 2025 })).toMatchInlineSnapshot(`
|
||||
Node {
|
||||
"body": [
|
||||
Node {
|
||||
"end": 20,
|
||||
"expression": Node {
|
||||
"end": 20,
|
||||
"raw": "/\\p{Script=Hangul}/u",
|
||||
"regex": {
|
||||
"flags": "u",
|
||||
"pattern": "\\p{Script=Hangul}",
|
||||
},
|
||||
"start": 0,
|
||||
"type": "Literal",
|
||||
"value": /\\p{Script=Hangul}/u,
|
||||
},
|
||||
"start": 0,
|
||||
"type": "ExpressionStatement",
|
||||
},
|
||||
],
|
||||
"end": 20,
|
||||
"sourceType": "script",
|
||||
"start": 0,
|
||||
"type": "Program",
|
||||
}
|
||||
`);
|
||||
});
|
||||
Reference in New Issue
Block a user