fix: correctly serialize negative numbers (#2790)
This commit fixes a bug where negative numbers were not correctly serialized, because the value parser confused "references" (which is where special negative tokens for special values exist), and "values" (where negative numbers are just negative numbers). The parser now correctly distinguishes between the two.
This commit is contained in:
@@ -65,7 +65,8 @@
|
||||
"@marvinh-test/fresh-island": "jsr:@marvinh-test/fresh-island@^0.0.1",
|
||||
"linkedom": "npm:linkedom@^0.16.11",
|
||||
"@std/async": "jsr:@std/async@1",
|
||||
"@std/expect": "jsr:@std/expect@1"
|
||||
"@std/expect": "jsr:@std/expect@1",
|
||||
"@std/testing": "jsr:@std/testing@1"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"lib": ["dom", "dom.asynciterable", "deno.ns", "deno.unstable"],
|
||||
|
||||
Reference in New Issue
Block a user