1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/runtime/js
Marvin Hagemeister 26425a137b
feat(unstable): add JS linting plugin infrastructure (#27416)
This PR extracts the core part of
https://github.com/denoland/deno/pull/27203 to make it easier to review
and land in parts.

It contains:
-  The JS plugin code the deserializes and walks the buffer
- The Rust portion to serialize SWC to the buffer format (a bunch of
nodes are still todos, but imo these can land anytime later)
- Basic lint plugin types, without the AST node types to make this PR
easier to review
- Added more code comments to explain the format etc.


More fixes and changes will be done in follow-up PRs.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-12-21 00:58:03 +01:00
..
01_errors.js feat(cli): use NotCapable error for permission errors (#25431) 2024-09-10 11:12:24 -07:00
01_version.ts refactor: use core.ensureFastOps() (#21888) 2024-01-10 15:37:25 -07:00
06_util.js refactor: use web utils and lazy load utils from core (#22289) 2024-02-06 22:28:32 +01:00
10_permissions.js fix(unstable/worker): ensure import permissions are passed (#26101) 2024-10-10 14:01:42 +01:00
11_workers.js fix(runtime): use more null proto objects (#23921) 2024-05-23 00:03:35 +02:00
30_os.js fix: validate integer values in Deno.exitCode setter (#24068) 2024-06-02 21:29:01 -04:00
40_fs_events.js fix: share inotify fd across watchers (#26200) 2024-10-23 09:22:58 +05:30
40_process.js fix(node): Pass NPM_PROCESS_STATE to subprocesses via temp file instead of env var (#25896) 2024-09-27 12:35:37 -07:00
40_signals.js fix(runtime): use more null proto objects (#23921) 2024-05-23 00:03:35 +02:00
40_tty.js chore(tty): soft-remove Deno.isatty() (#25410) 2024-09-04 18:12:11 +10:00
41_prompt.js refactor: migrate extensions to virtual ops module (#22135) 2024-01-26 23:46:46 +01:00
90_deno_ns.js feat(unstable): Implement QUIC (#21942) 2024-12-20 13:48:48 +01:00
98_global_scope_shared.js fix: Buffer global in --unstable-node-globals (#26973) 2024-11-21 16:27:37 +00:00
98_global_scope_window.js chore: cleanup remaining internals.future code (#25624) 2024-09-16 09:28:35 +10:00
98_global_scope_worker.js fix(runtime): use more null proto objects again (#25040) 2024-09-06 12:52:59 +02:00
99_main.js feat(unstable): add JS linting plugin infrastructure (#27416) 2024-12-21 00:58:03 +01:00
README.md chore: fix outdated note in runtime/js/README.md (#23673) 2024-05-05 01:30:53 +00:00

Runtime JavaScript Code

This directory contains Deno runtime code written in plain JavaScript.

Each file is an ES module and is prefixed with a number, telling in which order scripts should be loaded into V8 isolate.

Deno Web APIs

This directory facilities Web APIs that are available in Deno.

Please note, that some implementations might not be completely aligned with specification.

Some Web APIs are using ops under the hood, eg. console, performance.

Implemented Web APIs