File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 11// extract values
22const recuFilter = ( tree , copy , valCreator ) => {
33 const recu = ( tree , copy ) => {
4- if ( typeof tree === 'object' && ! Buffer . isBuffer ( tree ) && ! ( typeof tree ?. subarray === 'function' ) // like Int32Array
5- ) {
4+ if ( typeof tree === 'object' ) {
65 for ( let k of Object . keys ( tree ) ) {
76 if ( [ '__proto__' , 'constructor' , 'prototype' ] . includes ( k ) ) continue ;
87 copy [ k ] = { } ;
Original file line number Diff line number Diff line change 22 // extract values
33 const recuFilter = ( tree , copy , valCreator ) => {
44 const recu = ( tree , copy ) => {
5- if ( typeof tree === 'object' && ! Buffer . isBuffer ( tree ) && ! ( typeof tree ?. subarray === 'function' ) // like Int32Array
6- ) {
5+ if ( typeof tree === 'object' ) {
76 for ( let k of Object . keys ( tree ) ) {
87 if ( [ '__proto__' , 'constructor' , 'prototype' ] . includes ( k ) ) continue ;
98 copy [ k ] = { } ;
Original file line number Diff line number Diff line change 11{
22 "name" : " iorpc" ,
3- "version" : " 9.0.3 " ,
3+ "version" : " 9.0.4 " ,
44 "keywords" : [
55 " rpc" ,
66 " callback" ,
You can’t perform that action at this time.
0 commit comments