1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-21 21:50:00 -05:00
Commit graph

598 commits

Author SHA1 Message Date
Marvin Hagemeister
3708e07ee3 align more with eslint 2024-12-17 23:44:06 +01:00
Marvin Hagemeister
ef3447b5a6 fix: descendant selector 2024-12-17 23:41:24 +01:00
Marvin Hagemeister
6e70ba2c77 get selector integration working 2024-12-17 12:04:12 +01:00
Marvin Hagemeister
d9fd959820 integrate selctors part 1 2024-12-17 01:20:21 +01:00
Marvin Hagemeister
132db5604f fix nth child 2024-12-17 00:22:02 +01:00
Marvin Hagemeister
e542ba8b4e fix selector parser 2024-12-16 19:32:47 +01:00
Marvin Hagemeister
2f18594ca8 WIP 2024-12-16 18:16:29 +01:00
Marvin Hagemeister
86fc6e64cb WIP 2024-12-16 16:17:02 +01:00
Marvin Hagemeister
3f9ee0d6df feat(lint): support visitor selector syntax 2024-12-15 22:56:50 +01:00
Marvin Hagemeister
ea11f95029 make js plugins independent of ast strucure 2024-12-15 19:18:30 +01:00
Marvin Hagemeister
65fcda4cd5 improve format 2024-12-13 11:38:35 +01:00
Marvin Hagemeister
f50bf9b064 refactor node handling 2024-12-13 00:33:44 +01:00
Marvin Hagemeister
c83f722039 Refactor binary ast 2024-12-12 22:16:49 +01:00
Marvin Hagemeister
76c1275200 fix traversal 2024-12-12 20:53:08 +01:00
Marvin Hagemeister
8f104313ff more nodes 2024-12-12 15:20:36 +01:00
Marvin Hagemeister
499257cbf1 refactor 2024-12-12 04:19:11 +01:00
Marvin Hagemeister
a3421b9c0a more nodes 2024-12-12 01:35:57 +01:00
Marvin Hagemeister
17ad68bb53 more nodes 2024-12-11 17:47:46 +01:00
Marvin Hagemeister
8e56216adf more nodes 2024-12-11 17:41:33 +01:00
Marvin Hagemeister
a2b10d43f3 more nodes 2024-12-11 17:10:05 +01:00
Marvin Hagemeister
d6c20d3f8b WIP 2024-12-11 13:35:37 +01:00
Marvin Hagemeister
3629fd1d65 WIP 2024-12-11 13:00:47 +01:00
Marvin Hagemeister
3c19d0651b WIP 2024-12-11 12:47:45 +01:00
Marvin Hagemeister
20c477dc7d WIP 2024-12-11 11:02:21 +01:00
Marvin Hagemeister
ccabd64f6d WIP 2024-12-10 23:05:38 +01:00
Marvin Hagemeister
22681b428a WIP 2024-12-10 22:48:54 +01:00
Marvin Hagemeister
c039c51e90 WIP 2024-12-10 21:17:02 +01:00
Marvin Hagemeister
99b9e726d4 WIP 2024-12-10 05:34:12 +01:00
Marvin Hagemeister
280d10e801 WIP 2024-12-10 04:33:33 +01:00
Marvin Hagemeister
19baadf319 WIP 2024-12-09 10:10:45 +01:00
Marvin Hagemeister
ccf7009dfd WIP 2024-12-07 00:24:36 +01:00
Marvin Hagemeister
83da570caa WIP 2024-12-06 23:26:11 +01:00
Marvin Hagemeister
4365959f0c WIP 2024-12-06 21:31:28 +01:00
Marvin Hagemeister
4d3767bdb0 WIP 2024-12-06 21:31:28 +01:00
Marvin Hagemeister
d8897bdd3e WIP 2024-12-06 21:31:28 +01:00
Marvin Hagemeister
f0a2614304 WIP 2024-12-06 21:31:28 +01:00
Marvin Hagemeister
c734214c41 WIP 2024-12-06 21:31:28 +01:00
Marvin Hagemeister
2dba36e6ec feat: merge lint plugin visitors 2024-12-04 12:44:32 +01:00
Bartek Iwańczuk
78dc5b8fe9
remove dead code 2024-12-04 04:33:13 +01:00
Bartek Iwańczuk
026a5d952a
optimize callign to js 2024-12-04 04:30:32 +01:00
Bartek Iwańczuk
3588e75c6c
comment out type decls, capture more fns 2024-12-04 03:29:05 +01:00
Bartek Iwańczuk
052a035c23
plugins can be authored in TS 2024-12-04 02:59:39 +01:00
Bartek Iwańczuk
a1bcdf17a5
feat(jupyter): Add Deno.jupyter.image API (#26284)
This commit adds `Deno.jupyter.image` API to display PNG and JPG images:

```
const data = Deno.readFileSync("./my-image.jpg");
Deno.jupyter.image(data);

Deno.jupyter.image("./my-image.jpg");
```
2024-11-16 15:13:50 +00:00
Ian Bull
939c23f9fe
refactor(cli/js): align error messages (#25406)
Aligns the error messages in the cli/js folder to be in-line with the
Deno style guide.
2024-09-04 09:19:55 +02:00
Zander Hill
f00f0f9298
feat(jupyter): support confirm and prompt in notebooks (#23592)
Closes: https://github.com/denoland/deno/issues/22633

This commit adds support for `confirm` and `prompt` APIs,
that instead of reading from stdin are using notebook frontend
to show modal boxes and wait for answers.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-07-04 22:12:14 +00:00
Luke Edwards
13723f267e
feat: Add Deno.exitCode API (#23609)
This commits adds the ability to set a would-be exit code 
for the Deno process without forcing an immediate exit, 
through the new `Deno.exitCode` API.

- **Implements `Deno.exitCode` getter and setter**: Adds support for
setting
and retrieving a would-be exit code via `Deno.exitCode`.
This allows for asynchronous cleanup before process termination 
without immediately exiting.
- **Ensures type safety**: The setter for `Deno.exitCode` validates that
the provided value is a number, throwing a TypeError if not, to ensure
that
only valid exit codes are set.

Closes to #23605

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-05-29 23:16:27 +00:00
Luca Casonato
971f09abe4
fix(runtime): use more null proto objects (#23921)
This is a primordialization effort to improve resistance against users
tampering with the global `Object` prototype.

---------

Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-05-23 00:03:35 +02:00
Asher Gomez
c6f1107e9c
chore: update references to deno_std to use JSR (#23239)
There are more uses of `deno.land/std` in the codebase, but for URL
parsing purposes rather than network calls or documentation.
2024-04-10 17:26:35 -04:00
Bartek Iwańczuk
d043dd86f7
fix: don't panic in test and bench if ops not available (#23055)
Fixes regression introduced in
https://github.com/denoland/deno/pull/22112 that
removed checks if `Deno.test` or `Deno.bench` are not used in respective
subcommands.

Closes https://github.com/denoland/deno/issues/23041
2024-03-24 16:16:45 -07:00
Bartek Iwańczuk
c940205353
refactor(bench): align ops to testing ops (#23038)
Internal refactor that changes how we use ops in `deno bench`
subcommand.

This brings it in line to what we do in `deno test` subcommand.
2024-03-24 06:22:37 +01:00