1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 15:48:16 -05:00
denoland-deno/cli/js
Marvin Hagemeister fdd0edf23c
fix(unstable): don't error on non-existing attrs or type attr (#27456)
When running selectors for JS linting plugins we would error when
encountering an unknown attribute name:

```js
// selector
Foo[non-existant]

// error
Error: Missing string id: <number>
```

This was caused by using `0` as the invalid marker, but also overloading
`0` with an actual node type. So the fix is to reserve `0` as the
invalid marker and move the property type to the next index.
2024-12-27 22:46:29 +01:00
..
40_bench.js refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
40_jupyter.js feat(jupyter): Add Deno.jupyter.image API (#26284) 2024-11-16 15:13:50 +00:00
40_lint.js fix(unstable): don't error on non-existing attrs or type attr (#27456) 2024-12-27 22:46:29 +01:00
40_lint_selector.js feat(unstable): support selectors in JS lint plugins (#27452) 2024-12-23 08:45:47 +01:00
40_lint_types.d.ts feat(unstable): support selectors in JS lint plugins (#27452) 2024-12-23 08:45:47 +01:00
40_test.js refactor(cli/js): align error messages (#25406) 2024-09-04 09:19:55 +02:00
40_test_common.js chore(cli): split 40_testing (#22112) 2024-01-25 14:54:35 -05:00