File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/node_modules/non-blocking-json/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ const IS_ARRAY_END = Symbol("IS_ARRAY_END");
44const IS_OBJECT_START = Symbol ( "IS_OBJECT_START" ) ;
55const IS_OBJECT_END = Symbol ( "IS_OBJECT_END" ) ;
66
7- let QUEUE_BATCH_COUNT = 10
7+ let QUEUE_BATCH_COUNT = 50
88let ASYNC_BATCH_COUNT = 3000 ;
99let TRACK_PERF = false ;
1010
@@ -84,8 +84,8 @@ function isRef(ref) {
8484*/
8585export function stringify ( value , replacer ?) {
8686 return new Promise < string > ( resolve => {
87+ const paths = getPaths ( value , new Map ( ) , replacer ? replacer . bind ( global || window ) : replacer ) ;
8788 queue ( async ( ) => {
88- const paths = getPaths ( value , new Map ( ) , replacer ? replacer . bind ( global || window ) : replacer ) ;
8989 const structs = [ ] ;
9090 let prevKey = [ ] ;
9191 let prevValue = null
You can’t perform that action at this time.
0 commit comments