Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Improve 'json-prune' — stack #348

@AdamWr

Description

@AdamWr

It seems that currently stack parameter doesn't work correctly, it's checked at the beginning of the scriptlet, not during pruning, so it's from scriptlet itself (if I'm not wrong):

export function jsonPrune(source, propsToRemove, requiredInitialProps, stack) {
if (!!stack && !matchStackTrace(stack, new Error().stack)) {
return;
}

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions