Age | Commit message (Collapse) | Author | |
---|---|---|---|
2023-04-30 | refactor: remove ext/console/01_colors.js (#18927) | Leo Kettmeir | |
2023-04-30 | refactor: merge Deno & Node inspectors (#18691) | Leo Kettmeir | |
2023-04-26 | fix(core): Wrap safe collections' argument of primordials (#18750) | Kenta Moriuchi | |
2023-04-14 | fix(core): Use safe primordials wrappers (#18687) | Kenta Moriuchi | |
2023-04-02 | chore: Turn back on dlintPreferPrimordials (#17715) | Kenta Moriuchi | |
Closes #17709 | |||
2023-03-30 | Revert "refactor(ext/node): Use Deno.inspect (#17960)" (#18491) | Bartek Iwańczuk | |
This reverts commit a3529d02329e0d2127ad2a5bb78b4c476ddd6984. This change made debugging Node tests very hard - `AssertionError` is now printed as `[Circular *1]` giving no visibility what failed. We need to align two implementations together and remove this one then. | |||
2023-03-23 | fix(inspect): ensure non-compact output when object literal has newline in ↵ | David Sherret | |
entry text (#18366) Fixes `Deno.inspect` to make an object literal non-compact when an entry has multiple lines in it. | |||
2023-03-23 | refactor(ext/node): Use Deno.inspect (#17960) | Ryan Dahl | |
No need for two almost identical implementations of the same thing --------- Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> Co-authored-by: Aapo Alasuutari <aapo.alasuutari@gmail.com> | |||
2023-03-22 | chore: update ext/ code to only use ASCII (#18371) | Matt Mastracci | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-03-21 | chore(ext/console): inspect anonymous function as `[Function (anonymous)]` ↵ | Yoshiya Hinosawa | |
(#18283) This PR changes the inspect result of anonymous functions from `[Function]` to `[Function (anonymous)]`. This behavior is aligned to `util.inspect` of Node.js. | |||
2023-03-17 | chore(ext/console): add 'quotes' internal option to Deno.inspect (#18183) | Yoshiya Hinosawa | |
2023-03-08 | refactor: rename InternalModuleLoader to ExtModuleLoader, use ext: scheme ↵ | Bartek Iwańczuk | |
for snapshotted modules (#18041) This commit renames "deno_core::InternalModuleLoader" to "ExtModuleLoader" and changes the specifiers used by the modules loaded from this loader to "ext:". "internal:" scheme was really ambiguous and it's more characters than "ext:", which should result in slightly smaller snapshot size. Closes https://github.com/denoland/deno/issues/18020 | |||
2023-03-01 | fix(core): introduce `SafeRegExp` to primordials (#17592) | Kenta Moriuchi | |
2023-02-08 | fix(ext/console): Only right-align integers in console.table() (#17389) | Waldir Pimenta | |
2023-02-07 | refactor: remove prefix from include_js_files & use extension name (#17683) | Leo Kettmeir | |
2023-02-07 | refactor: Use ES modules for internal runtime code (#17648) | Leo Kettmeir | |
This PR refactors all internal js files (except core) to be written as ES modules. `__bootstrap`has been mostly replaced with static imports in form in `internal:[path to file from repo root]`. To specify if files are ESM, an `esm` method has been added to `Extension`, similar to the `js` method. A new ModuleLoader called `InternalModuleLoader` has been added to enable the loading of internal specifiers, which is used in all situations except when a snapshot is only loaded, and not a new one is created from it. --------- Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2023-02-05 | fix(ext/console): log class for class constructor (#17615) | Gasman | |
Co-authored-by: tannal <tannal.cn@gmail.com> | |||
2023-01-29 | fix(ext): internal `structuredClone` for `ArrayBuffer` and `TypedArray` ↵ | Kenta Moriuchi | |
subclasses (#17431) | |||
2023-01-16 | chore: update dlint to v0.37.0 for GitHub Actions (#17295) | Kenta Moriuchi | |
Updated third_party dlint to v0.37.0 for GitHub Actions. This PR includes following changes: * fix(prefer-primordials): Stop using array pattern assignments * fix(prefer-primordials): Stop using global intrinsics except for `SharedArrayBuffer` * feat(guard-for-in): Apply new guard-for-in rule | |||
2023-01-06 | perf(ext,runtime): remove using `SafeArrayIterator` from `for-of` (#17255) | Kenta Moriuchi | |
2023-01-04 | fix: upgrade deno_ast to 0.23 (#17269) | David Sherret | |
Closes #17172 Closes #15669 Closes #8529 | |||
2023-01-02 | chore: update copyright year to 2023 (#17247) | David Sherret | |
Yearly tradition of creating extra noise in git. | |||
2022-12-20 | chore: Update dlint (#17031) | Kenta Moriuchi | |
Introduces `SafeSetIterator` and `SafeMapIterator` to primordials | |||
2022-11-22 | fix(inspector): ensure console methods provided by inspector are available ↵ | Bartek Iwańczuk | |
(#16724) | |||
2022-10-10 | fix sparse array inspection (#16204) | sigmaSd | |
fix https://github.com/denoland/deno/issues/16202 | |||
2022-09-26 | fix(ext/console): fix error when logging a proxied Date (#16018) | 李瑞丰 | |
2022-09-26 | perf(ext/console): break on iterableLimit & better sparse array handling ↵ | Marcos Casagrande | |
(#15935) | |||
2022-09-02 | fix(cli/repl): await Promise.any([])... (#15623) | Jason | |
2022-07-09 | fix(ext/console): Fix a typo in a warning when .timeEnd is called on an ↵ | Gamer Omega | |
unknown timer (#15135) | |||
2022-07-09 | refactor(ext) Decrease of StringPrototypeReplace recurrent usage (#15058) | sevenwithawp | |
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com> | |||
2022-06-15 | fix(console): constrol inspect() indent with option (#14867) | cjihrig | |
This commit updates the Deno.inspect() logic to use the indentLevel option to control indentation instead of passing around separate indent/level parameters internally. Refs: https://github.com/denoland/deno/issues/8099 Refs: https://github.com/denoland/deno/issues/14171 | |||
2022-06-13 | feat(console): pass options and depth to custom inspects (#14855) | Colin Ihrig | |
This commit updates Deno.inspect() to pass inspect options and the current inspect depth to custom inspect functions. Refs: https://github.com/denoland/deno/issues/8099 Refs: https://github.com/denoland/deno/issues/14171 | |||
2022-06-06 | fix: Format non-error exceptions (#14604) | Nayeem Rahman | |
This commit adds "Deno.core.setFormatExceptionCallback" which can be used to provide custom formatting for errors. It is useful in cases when user throws something that is non-Error (eg. a string, plain object, etc). | |||
2022-04-26 | feat(ext/console): Compact empty iterables when calling Deno.inspect with ↵ | Ben Heidemann | |
compact false (#14387) | |||
2022-04-25 | feat(ext/console): Add string abbreviation size option for "Deno.inspect" ↵ | Ben Heidemann | |
(#14384) | |||
2022-04-16 | feat: Better formatting for AggregateError (#14285) | Bartek Iwańczuk | |
This commit adds "aggregated" field to "deno_core::JsError" that stores instances of "JsError" recursively to properly handle "AggregateError" formatting. Appropriate logics was added to "PrettyJsError" and "console" API to format AggregateErrors. Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com> | |||
2022-04-16 | refactor: update runtime code for primordial check x in y (#13642) | Bartek Iwańczuk | |
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com> | |||
2022-03-20 | fix(ext/console): fix error with a Proxy of a Map (#14032) | Jason | |
2022-02-16 | fix(ext/console): print circular ref indicator in cyan (#13684) | Leo Kettmeir | |
2022-02-07 | refactor: update runtime code for primordial check for iterators (#13510) | Bartek Iwańczuk | |
2022-02-06 | fix(ext/console): fix uncaught TypeError in css styling (#13567) | Zach | |
When using css coloring in the console, non-color values should be ignored rather than throw exceptions. Fixes #13469 | |||
2022-02-04 | feat(ext/console): better circular information in object inspection (#13555) | Leo Kettmeir | |
2022-02-01 | refactor: primordials for instanceof (#13527) | Bartek Iwańczuk | |
2022-01-27 | Revert "refactor: update runtime code for primordial checks for "instanceof" ↵ | Bartek Iwańczuk | |
(#13497)" (#13511) This reverts commit 884143218fad0e18f7553aaf079d52de703f7601. | |||
2022-01-27 | refactor: update runtime code for primordial checks for "instanceof" (#13497) | Bartek Iwańczuk | |
2022-01-17 | fix(ext/console): don't depend on globalThis present (#13387) | Bartek Iwańczuk | |
2022-01-07 | chore: update copyright to 2022 (#13306) | Ryan Dahl | |
Co-authored-by: Erfan Safari <erfanshield@outlook.com> | |||
2021-12-23 | fix(ext/console): map basic css color keywords to ansi (#13175) | Zach | |
2021-10-30 | feat(ext/console): Display error.cause in console (#12462) | Kenta Moriuchi | |
2021-10-14 | fix(console): fix display of primitive wrapper objects (#12425) | Kenta Moriuchi | |