MCPcopy Create free account

hub / github.com/sveltejs/devalue / functions

Functions52 in github.com/sveltejs/devalue

↓ 35 callersFunctionstringify
* @param {any} thing * @returns {string}
src/uneval.js:160
↓ 20 callersFunctionstringifyAsync
(value, reducers)
src/stringify.js:37
↓ 18 callersFunctionstringify_string
(str)
src/utils.js:87
↓ 17 callersFunctionparse
(serialized, revivers)
src/parse.js:19
↓ 14 callersFunctionfn
()
benchmarking/benchmarks/typed-array.js:16
↓ 11 callersFunctionvalid_array_indices
(array)
src/utils.js:151
↓ 8 callersFunctionpad_left
(str, n)
benchmarking/run.js:28
↓ 8 callersFunctionuneval
(value, replacer)
src/uneval.js:23
↓ 6 callersFunctionfastest_test
(times, fn)
benchmarking/utils.js:34
↓ 6 callersFunctionis_primitive
(thing)
src/utils.js:33
↓ 4 callersFunctionget_type
(thing)
src/utils.js:54
↓ 4 callersFunctionpad_right
(str, n)
benchmarking/run.js:25
↓ 3 callersFunctionexec
(command)
benchmarking/compare/index.js:6
↓ 3 callersFunctionstringify_key
(key)
src/utils.js:114
↓ 3 callersFunctionstringify_primitive
@param {any} thing
src/uneval.js:543
↓ 3 callersFunctionunflatten
(parsed, revivers)
src/parse.js:28
↓ 2 callersFunctionchar
(i)
benchmarking/compare/index.js:107
↓ 2 callersFunctionenumerable_symbols
(object)
src/utils.js:105
↓ 2 callersFunctionescape_unsafe_chars
@param {string} str
src/uneval.js:526
↓ 2 callersFunctionhydrate
* @param {number} index * @returns {any}
src/parse.js:50
↓ 2 callersFunctionis_plain_object
(thing)
src/utils.js:42
↓ 2 callersFunctionis_valid_array_index
(n)
src/utils.js:119
↓ 2 callersFunctionrun
* @param {boolean} async * @param {any} value * @param {Record<string, (value: any) => any>} [reducers]
src/stringify.js:75
↓ 2 callersFunctionstringify_primitive
* @param {any} thing * @returns {string}
src/stringify.js:394
↓ 1 callersFunctionbuildSparseDoSPayload
* Builds a payload shaped like: * [ {k0:1, k1:2, ..., k(count-1):count}, // root object, references each sparse array * [-7, perArrayLen, 0,
test/index.test.js:1450
↓ 1 callersFunctionflatten
* @param {any} thing * @param {number} [index]
src/stringify.js:99
↓ 1 callersFunctionget_escaped_char
@param {string} char
src/utils.js:59
↓ 1 callersFunctionget_name
@param {number} num
src/uneval.js:509
↓ 1 callersFunctionis_valid_array_index_string
@param {string} s
src/utils.js:135
↓ 1 callersFunctionis_valid_array_len
(n)
src/utils.js:127
↓ 1 callersFunctionsafe_key
@param {string} key
src/uneval.js:531
↓ 1 callersFunctionsafe_prop
@param {string} key
src/uneval.js:536
↓ 1 callersFunctiontrack
@type {(fn: () => void) => Promise<{ time: number, gc_time: number }>}
benchmarking/utils.js:6
↓ 1 callersFunctionwalk
@param {any} thing
src/uneval.js:32
FunctionNullObject
()
test/index.test.js:21
Methodconstructor
(value)
test/index.test.js:10
Methodconstructor
(value)
test/index.test.js:16
Methodconstructor
(fn)
test/index.test.js:826
Methodconstructor
(x, y)
test/index.test.js:1395
Methodconstructor
* @param {string} message * @param {string[]} keys * @param {any} [value] - The value that failed to be serialized * @param {any} [root] - The r
src/utils.js:23
Functiondecode_buffer
(base64)
src/base64.js:21
Functiondecode_legacy
(base64)
src/base64.js:44
Functiondecode_native
(base64)
src/base64.js:9
Functionencode_buffer
(array_buffer)
src/base64.js:16
Functionencode_legacy
(array_buffer)
src/base64.js:28
Functionencode_native
(array_buffer)
src/base64.js:4
Functionescape_unsafe_char
@param {string} c
src/uneval.js:521
Functioninvalid
()
test/index.test.js:1186
Methodmagnitude
()
test/index.test.js:1399
Functionstringify
(value, reducers)
src/stringify.js:27
FunctiontestFn
(x)
test/index.test.js:831
Functionvalidate
(value)
test/index.test.js:81