MCPcopy
hub / github.com/vuejs/devtools-v6 / stringify

Function stringify

packages/shared-utils/src/util.ts:190–194  ·  view source on GitHub ↗
(data, target: keyof typeof replacers = 'internal')

Source from the content-addressed store, hash-verified

188}
189
190export function stringify(data, target: keyof typeof replacers = 'internal') {
191 // Create a fresh cache for each serialization
192 encodeCache.clear()
193 return stringifyCircularAutoChunks(data, replacers[target])
194}
195
196function replacerForInternal(key) {
197 // @ts-expect-error meow

Callers 5

sendComponentTreeDataFunction · 0.90
sendInspectorStateFunction · 0.90
sendTimelineEventDataFunction · 0.90
copyToClipboardFunction · 0.85

Calls 2

clearMethod · 0.80

Tested by

no test coverage detected