Age | Commit message (Collapse) | Author |
|
This commit migrates repository from using "eslint"
to "dlint" for linting JavaScript code.
|
|
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
|
|
|
|
|
|
This commit fixes the inspection of functions. The current
implementation gets the name of the type of the function
from "f.__proto__.constructor.name", and it throws when
the prototype is set to null.
This commit checks the prototype before accessing its
constructor name and uses the generic name 'Function'
if the prototype is not available.
|
|
|
|
(#7869)
|
|
|
|
|
|
|
|
Ref: https://github.com/denoland/deno/pull/7516#pullrequestreview-489567120
|
|
Fixes #7650
|
|
This quotes and escapes symbol descriptions that contains characters
outside of the basic alpha-numeric identifier range.
|
|
This encloses symbol keys when used in objects with brackets (e.g
[Symbol("Symbol.iterator")]).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
|
|
|
|
InspectOptions (#6591)
|
|
|
|
|
|
|
|
|
|
|