Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jsonext

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonext - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

1441

lib/stringify.js

@@ -5,3 +5,3 @@ 'use strict';

var path = 'D:\\Users\\Jordan\\Desktop\\jsonext\\src\\stringify.js',
hash = '28816ed31d732cf45a80f8b4c79cba29f650add4',
hash = '66d54b9272f322b706999249865f5bbb81517b59',
global = new Function('return this')(),

@@ -268,3 +268,3 @@ gcv = '__coverage__',

end: {
line: 55,
line: 57,
column: 2

@@ -279,3 +279,3 @@ }

end: {
line: 54,
line: 56,
column: 3

@@ -300,3 +300,3 @@ }

end: {
line: 54,
line: 56,
column: 3

@@ -312,3 +312,3 @@ }

line: 53,
column: 28
column: 29
}

@@ -318,8 +318,8 @@ },

start: {
line: 57,
column: 1
line: 54,
column: 9
},
end: {
line: 59,
column: 2
line: 56,
column: 3
}

@@ -329,8 +329,8 @@ },

start: {
line: 58,
column: 2
line: 55,
column: 3
},
end: {
line: 58,
column: 47
line: 55,
column: 28
}

@@ -340,7 +340,7 @@ },

start: {
line: 61,
line: 59,
column: 1
},
end: {
line: 65,
line: 61,
column: 2

@@ -351,8 +351,8 @@ }

start: {
line: 62,
column: 12
line: 60,
column: 2
},
end: {
line: 62,
column: 25
line: 60,
column: 47
}

@@ -363,7 +363,7 @@ },

line: 63,
column: 12
column: 1
},
end: {
line: 63,
column: 25
line: 67,
column: 2
}

@@ -374,7 +374,7 @@ },

line: 64,
column: 13
column: 12
},
end: {
line: 64,
column: 27
column: 25
}

@@ -384,8 +384,8 @@ },

start: {
line: 67,
column: 1
line: 65,
column: 12
},
end: {
line: 69,
column: 2
line: 65,
column: 25
}

@@ -395,8 +395,8 @@ },

start: {
line: 68,
column: 2
line: 66,
column: 13
},
end: {
line: 68,
column: 34
line: 66,
column: 27
}

@@ -406,7 +406,7 @@ },

start: {
line: 71,
line: 69,
column: 1
},
end: {
line: 73,
line: 71,
column: 2

@@ -417,8 +417,8 @@ }

start: {
line: 72,
line: 70,
column: 2
},
end: {
line: 72,
column: 49
line: 70,
column: 34
}

@@ -428,7 +428,7 @@ },

start: {
line: 75,
line: 73,
column: 1
},
end: {
line: 77,
line: 75,
column: 2

@@ -439,8 +439,8 @@ }

start: {
line: 76,
line: 74,
column: 2
},
end: {
line: 76,
column: 78
line: 74,
column: 49
}

@@ -450,3 +450,3 @@ },

start: {
line: 79,
line: 77,
column: 1

@@ -456,3 +456,3 @@ },

line: 79,
column: 17
column: 2
}

@@ -462,817 +462,837 @@ },

start: {
line: 83,
line: 78,
column: 2
},
end: {
line: 78,
column: 78
}
},
'44': {
start: {
line: 81,
column: 1
},
end: {
line: 81,
column: 17
}
},
'45': {
start: {
line: 85,
column: 16
},
end: {
line: 86,
line: 88,
column: 2
}
},
'44': {
'46': {
start: {
line: 88,
line: 90,
column: 1
},
end: {
line: 90,
line: 92,
column: 2
}
},
'45': {
'47': {
start: {
line: 89,
line: 91,
column: 2
},
end: {
line: 89,
line: 91,
column: 19
}
},
'46': {
'48': {
start: {
line: 92,
line: 94,
column: 22
},
end: {
line: 105,
line: 107,
column: 2
}
},
'47': {
'49': {
start: {
line: 107,
line: 109,
column: 1
},
end: {
line: 109,
line: 111,
column: 2
}
},
'48': {
'50': {
start: {
line: 108,
line: 110,
column: 2
},
end: {
line: 108,
line: 110,
column: 27
}
},
'49': {
'51': {
start: {
line: 111,
line: 113,
column: 15
},
end: {
line: 111,
line: 113,
column: 17
}
},
'50': {
'52': {
start: {
line: 113,
line: 115,
column: 1
},
end: {
line: 141,
line: 143,
column: 2
}
},
'51': {
'53': {
start: {
line: 114,
line: 116,
column: 2
},
end: {
line: 127,
line: 129,
column: 3
}
},
'52': {
'54': {
start: {
line: 117,
line: 119,
column: 3
},
end: {
line: 117,
line: 119,
column: 14
}
},
'53': {
'55': {
start: {
line: 118,
line: 120,
column: 3
},
end: {
line: 118,
line: 120,
column: 15
}
},
'54': {
'56': {
start: {
line: 119,
line: 121,
column: 3
},
end: {
line: 119,
line: 121,
column: 11
}
},
'55': {
'57': {
start: {
line: 122,
line: 124,
column: 3
},
end: {
line: 124,
line: 126,
column: 4
}
},
'56': {
'58': {
start: {
line: 123,
line: 125,
column: 4
},
end: {
line: 123,
line: 125,
column: 15
}
},
'57': {
'59': {
start: {
line: 125,
line: 127,
column: 3
},
end: {
line: 125,
line: 127,
column: 15
}
},
'58': {
'60': {
start: {
line: 126,
line: 128,
column: 3
},
end: {
line: 126,
line: 128,
column: 11
}
},
'59': {
'61': {
start: {
line: 129,
line: 131,
column: 2
},
end: {
line: 132,
line: 134,
column: 3
}
},
'60': {
'62': {
start: {
line: 130,
line: 132,
column: 3
},
end: {
line: 130,
line: 132,
column: 29
}
},
'61': {
'63': {
start: {
line: 131,
line: 133,
column: 3
},
end: {
line: 131,
line: 133,
column: 11
}
},
'62': {
'64': {
start: {
line: 134,
line: 136,
column: 2
},
end: {
line: 138,
line: 140,
column: 3
}
},
'63': {
'65': {
start: {
line: 135,
line: 137,
column: 19
},
end: {
line: 135,
line: 137,
column: 47
}
},
'64': {
'66': {
start: {
line: 136,
line: 138,
column: 3
},
end: {
line: 136,
line: 138,
column: 68
}
},
'65': {
'67': {
start: {
line: 137,
line: 139,
column: 3
},
end: {
line: 137,
line: 139,
column: 11
}
},
'66': {
'68': {
start: {
line: 140,
line: 142,
column: 2
},
end: {
line: 140,
line: 142,
column: 14
}
},
'67': {
'69': {
start: {
line: 143,
line: 145,
column: 15
},
end: {
line: 143,
line: 145,
column: 84
}
},
'68': {
'70': {
start: {
line: 143,
line: 145,
column: 52
},
end: {
line: 143,
line: 145,
column: 83
}
},
'69': {
'71': {
start: {
line: 145,
line: 147,
column: 1
},
end: {
line: 145,
line: 147,
column: 71
}
},
'70': {
'72': {
start: {
line: 147,
line: 149,
column: 1
},
end: {
line: 147,
line: 149,
column: 31
}
},
'71': {
'73': {
start: {
line: 151,
line: 153,
column: 1
},
end: {
line: 153,
line: 155,
column: 2
}
},
'72': {
'74': {
start: {
line: 152,
line: 154,
column: 2
},
end: {
line: 152,
line: 154,
column: 61
}
},
'73': {
'75': {
start: {
line: 155,
line: 157,
column: 1
},
end: {
line: 155,
line: 157,
column: 18
}
},
'74': {
'76': {
start: {
line: 157,
line: 159,
column: 16
},
end: {
line: 157,
line: 159,
column: 22
}
},
'75': {
'77': {
start: {
line: 158,
line: 160,
column: 1
},
end: {
line: 158,
line: 160,
column: 22
}
},
'76': {
'78': {
start: {
line: 160,
line: 162,
column: 12
},
end: {
line: 160,
line: 162,
column: 46
}
},
'77': {
'79': {
start: {
line: 161,
line: 163,
column: 15
},
end: {
line: 161,
line: 163,
column: 17
}
},
'78': {
'80': {
start: {
line: 162,
line: 164,
column: 1
},
end: {
line: 172,
line: 174,
column: 2
}
},
'79': {
'81': {
start: {
line: 163,
line: 165,
column: 25
},
end: {
line: 163,
line: 165,
column: 54
}
},
'80': {
'82': {
start: {
line: 164,
line: 166,
column: 2
},
end: {
line: 171,
line: 173,
column: 3
}
},
'81': {
'83': {
start: {
line: 165,
line: 167,
column: 16
},
end: {
line: 165,
line: 167,
column: 39
}
},
'82': {
'84': {
start: {
line: 166,
line: 168,
column: 3
},
end: {
line: 168,
line: 170,
column: 4
}
},
'83': {
'85': {
start: {
line: 167,
line: 169,
column: 4
},
end: {
line: 167,
line: 169,
column: 17
}
},
'84': {
'86': {
start: {
line: 169,
line: 171,
column: 3
},
end: {
line: 169,
line: 171,
column: 27
}
},
'85': {
'87': {
start: {
line: 170,
line: 172,
column: 3
},
end: {
line: 170,
line: 172,
column: 23
}
},
'86': {
'88': {
start: {
line: 175,
line: 177,
column: 1
},
end: {
line: 187,
line: 189,
column: 2
}
},
'87': {
'89': {
start: {
line: 176,
line: 178,
column: 2
},
end: {
line: 176,
line: 178,
column: 14
}
},
'88': {
'90': {
start: {
line: 179,
line: 181,
column: 2
},
end: {
line: 186,
line: 188,
column: 3
}
},
'89': {
'91': {
start: {
line: 180,
line: 182,
column: 3
},
end: {
line: 180,
line: 182,
column: 33
}
},
'90': {
'92': {
start: {
line: 181,
line: 183,
column: 3
},
end: {
line: 181,
line: 183,
column: 33
}
},
'91': {
'93': {
start: {
line: 183,
line: 185,
column: 19
},
end: {
line: 183,
line: 185,
column: 33
}
},
'92': {
'94': {
start: {
line: 184,
line: 186,
column: 3
},
end: {
line: 184,
line: 186,
column: 39
}
},
'93': {
'95': {
start: {
line: 185,
line: 187,
column: 3
},
end: {
line: 185,
line: 187,
column: 63
}
},
'94': {
'96': {
start: {
line: 189,
line: 191,
column: 1
},
end: {
line: 189,
line: 191,
column: 12
}
},
'95': {
'97': {
start: {
line: 190,
line: 192,
column: 1
},
end: {
line: 190,
line: 192,
column: 18
}
},
'96': {
'98': {
start: {
line: 191,
line: 193,
column: 1
},
end: {
line: 191,
line: 193,
column: 13
}
},
'97': {
'99': {
start: {
line: 195,
line: 197,
column: 19
},
end: {
line: 195,
line: 197,
column: 59
}
},
'98': {
'100': {
start: {
line: 196,
line: 198,
column: 1
},
end: {
line: 198,
line: 200,
column: 2
}
},
'99': {
'101': {
start: {
line: 197,
line: 199,
column: 2
},
end: {
line: 197,
line: 199,
column: 31
}
},
'100': {
'102': {
start: {
line: 200,
line: 202,
column: 1
},
end: {
line: 204,
line: 206,
column: 2
}
},
'101': {
'103': {
start: {
line: 201,
line: 203,
column: 2
},
end: {
line: 203,
line: 205,
column: 3
}
},
'102': {
'104': {
start: {
line: 202,
line: 204,
column: 3
},
end: {
line: 202,
line: 204,
column: 32
}
},
'103': {
'105': {
start: {
line: 206,
line: 208,
column: 1
},
end: {
line: 206,
line: 208,
column: 11
}
},
'104': {
'106': {
start: {
line: 210,
line: 212,
column: 1
},
end: {
line: 212,
line: 214,
column: 2
}
},
'105': {
'107': {
start: {
line: 211,
line: 213,
column: 2
},
end: {
line: 211,
line: 213,
column: 61
}
},
'106': {
'108': {
start: {
line: 214,
line: 216,
column: 1
},
end: {
line: 214,
line: 216,
column: 18
}
},
'107': {
'109': {
start: {
line: 216,
line: 218,
column: 16
},
end: {
line: 216,
line: 218,
column: 22
}
},
'108': {
'110': {
start: {
line: 217,
line: 219,
column: 1
},
end: {
line: 217,
line: 219,
column: 22
}
},
'109': {
'111': {
start: {
line: 219,
line: 221,
column: 15
},
end: {
line: 219,
line: 221,
column: 17
}
},
'110': {
'112': {
start: {
line: 220,
line: 222,
column: 1
},
end: {
line: 223,
line: 225,
column: 2
}
},
'111': {
'113': {
start: {
line: 221,
line: 223,
column: 25
},
end: {
line: 221,
line: 223,
column: 60
}
},
'112': {
'114': {
start: {
line: 222,
line: 224,
column: 2
},
end: {
line: 222,
line: 224,
column: 72
}
},
'113': {
'115': {
start: {
line: 226,
line: 228,
column: 1
},
end: {
line: 237,
line: 239,
column: 2
}
},
'114': {
'116': {
start: {
line: 227,
line: 229,
column: 2
},
end: {
line: 227,
line: 229,
column: 14
}
},
'115': {
'117': {
start: {
line: 229,
line: 231,
column: 2
},
end: {
line: 236,
line: 238,
column: 3
}
},
'116': {
'118': {
start: {
line: 230,
line: 232,
column: 20
},
end: {
line: 230,
line: 232,
column: 37
}
},
'117': {
'119': {
start: {
line: 231,
line: 233,
column: 3
},
end: {
line: 231,
line: 233,
column: 33
}
},
'118': {
'120': {
start: {
line: 233,
line: 235,
column: 19
},
end: {
line: 233,
line: 235,
column: 33
}
},
'119': {
'121': {
start: {
line: 234,
line: 236,
column: 20
},
end: {
line: 234,
line: 236,
column: 43
}
},
'120': {
'122': {
start: {
line: 235,
line: 237,
column: 3
},
end: {
line: 235,
line: 237,
column: 63
}
},
'121': {
'123': {
start: {
line: 239,
line: 241,
column: 1
},
end: {
line: 239,
line: 241,
column: 12
}
},
'122': {
'124': {
start: {
line: 240,
line: 242,
column: 1
},
end: {
line: 240,
line: 242,
column: 18
}
},
'123': {
'125': {
start: {
line: 241,
line: 243,
column: 1
},
end: {
line: 241,
line: 243,
column: 13
}
},
'124': {
'126': {
start: {
line: 244,
line: 246,
column: 0
},
end: {
line: 244,
line: 246,
column: 26

@@ -1325,3 +1345,3 @@ }

end: {
line: 80,
line: 82,
column: 1

@@ -1336,7 +1356,7 @@ }

start: {
line: 82,
line: 84,
column: 9
},
end: {
line: 82,
line: 84,
column: 20

@@ -1347,11 +1367,11 @@ }

start: {
line: 82,
line: 84,
column: 36
},
end: {
line: 148,
line: 150,
column: 1
}
},
line: 82
line: 84
},

@@ -1362,7 +1382,7 @@ '3': {

start: {
line: 143,
line: 145,
column: 42
},
end: {
line: 143,
line: 145,
column: 43

@@ -1373,11 +1393,11 @@ }

start: {
line: 143,
line: 145,
column: 52
},
end: {
line: 143,
line: 145,
column: 83
}
},
line: 143
line: 145
},

@@ -1388,7 +1408,7 @@ '4': {

start: {
line: 150,
line: 152,
column: 9
},
end: {
line: 150,
line: 152,
column: 24

@@ -1399,11 +1419,11 @@ }

start: {
line: 150,
line: 152,
column: 33
},
end: {
line: 192,
line: 194,
column: 1
}
},
line: 150
line: 152
},

@@ -1414,7 +1434,7 @@ '5': {

start: {
line: 194,
line: 196,
column: 9
},
end: {
line: 194,
line: 196,
column: 21

@@ -1425,11 +1445,11 @@ }

start: {
line: 194,
line: 196,
column: 28
},
end: {
line: 207,
line: 209,
column: 1
}
},
line: 194
line: 196
},

@@ -1440,7 +1460,7 @@ '6': {

start: {
line: 209,
line: 211,
column: 9
},
end: {
line: 209,
line: 211,
column: 23

@@ -1451,11 +1471,11 @@ }

start: {
line: 209,
line: 211,
column: 32
},
end: {
line: 242,
line: 244,
column: 1
}
},
line: 209
line: 211
}

@@ -1768,3 +1788,3 @@ },

end: {
line: 55,
line: 57,
column: 2

@@ -1780,3 +1800,3 @@ }

end: {
line: 55,
line: 57,
column: 2

@@ -1790,3 +1810,3 @@ }

end: {
line: 55,
line: 57,
column: 2

@@ -1804,3 +1824,3 @@ }

end: {
line: 54,
line: 56,
column: 3

@@ -1816,3 +1836,3 @@ }

end: {
line: 54,
line: 56,
column: 3

@@ -1826,3 +1846,3 @@ }

end: {
line: 54,
line: 56,
column: 3

@@ -1840,3 +1860,3 @@ }

end: {
line: 54,
line: 56,
column: 3

@@ -1852,3 +1872,3 @@ }

end: {
line: 54,
line: 56,
column: 3

@@ -1862,3 +1882,3 @@ }

end: {
line: 54,
line: 56,
column: 3

@@ -1872,7 +1892,40 @@ }

start: {
line: 57,
line: 54,
column: 9
},
end: {
line: 56,
column: 3
}
},
type: 'if',
locations: [{
start: {
line: 54,
column: 9
},
end: {
line: 56,
column: 3
}
}, {
start: {
line: 54,
column: 9
},
end: {
line: 56,
column: 3
}
}],
line: 54
},
'13': {
loc: {
start: {
line: 59,
column: 1
},
end: {
line: 59,
line: 61,
column: 2

@@ -1884,7 +1937,7 @@ }

start: {
line: 57,
line: 59,
column: 1
},
end: {
line: 59,
line: 61,
column: 2

@@ -1894,20 +1947,20 @@ }

start: {
line: 57,
line: 59,
column: 1
},
end: {
line: 59,
line: 61,
column: 2
}
}],
line: 57
line: 59
},
'13': {
'14': {
loc: {
start: {
line: 61,
line: 63,
column: 1
},
end: {
line: 65,
line: 67,
column: 2

@@ -1919,7 +1972,7 @@ }

start: {
line: 62,
line: 64,
column: 1
},
end: {
line: 62,
line: 64,
column: 25

@@ -1929,7 +1982,7 @@ }

start: {
line: 63,
line: 65,
column: 1
},
end: {
line: 63,
line: 65,
column: 25

@@ -1939,20 +1992,20 @@ }

start: {
line: 64,
line: 66,
column: 1
},
end: {
line: 64,
line: 66,
column: 27
}
}],
line: 61
line: 63
},
'14': {
'15': {
loc: {
start: {
line: 67,
line: 69,
column: 1
},
end: {
line: 69,
line: 71,
column: 2

@@ -1964,7 +2017,7 @@ }

start: {
line: 67,
line: 69,
column: 1
},
end: {
line: 69,
line: 71,
column: 2

@@ -1974,20 +2027,20 @@ }

start: {
line: 67,
line: 69,
column: 1
},
end: {
line: 69,
line: 71,
column: 2
}
}],
line: 67
line: 69
},
'15': {
'16': {
loc: {
start: {
line: 71,
line: 73,
column: 1
},
end: {
line: 73,
line: 75,
column: 2

@@ -1999,7 +2052,7 @@ }

start: {
line: 71,
line: 73,
column: 1
},
end: {
line: 73,
line: 75,
column: 2

@@ -2009,20 +2062,20 @@ }

start: {
line: 71,
line: 73,
column: 1
},
end: {
line: 73,
line: 75,
column: 2
}
}],
line: 71
line: 73
},
'16': {
'17': {
loc: {
start: {
line: 72,
line: 74,
column: 9
},
end: {
line: 72,
line: 74,
column: 49

@@ -2034,7 +2087,7 @@ }

start: {
line: 72,
line: 74,
column: 27
},
end: {
line: 72,
line: 74,
column: 40

@@ -2044,20 +2097,20 @@ }

start: {
line: 72,
line: 74,
column: 43
},
end: {
line: 72,
line: 74,
column: 49
}
}],
line: 72
line: 74
},
'17': {
'18': {
loc: {
start: {
line: 75,
line: 77,
column: 1
},
end: {
line: 77,
line: 79,
column: 2

@@ -2069,7 +2122,7 @@ }

start: {
line: 75,
line: 77,
column: 1
},
end: {
line: 77,
line: 79,
column: 2

@@ -2079,20 +2132,20 @@ }

start: {
line: 75,
line: 77,
column: 1
},
end: {
line: 77,
line: 79,
column: 2
}
}],
line: 75
line: 77
},
'18': {
'19': {
loc: {
start: {
line: 76,
line: 78,
column: 9
},
end: {
line: 76,
line: 78,
column: 78

@@ -2104,7 +2157,7 @@ }

start: {
line: 76,
line: 78,
column: 32
},
end: {
line: 76,
line: 78,
column: 53

@@ -2114,20 +2167,20 @@ }

start: {
line: 76,
line: 78,
column: 56
},
end: {
line: 76,
line: 78,
column: 78
}
}],
line: 76
line: 78
},
'19': {
'20': {
loc: {
start: {
line: 88,
line: 90,
column: 1
},
end: {
line: 90,
line: 92,
column: 2

@@ -2139,7 +2192,7 @@ }

start: {
line: 88,
line: 90,
column: 1
},
end: {
line: 90,
line: 92,
column: 2

@@ -2149,20 +2202,20 @@ }

start: {
line: 88,
line: 90,
column: 1
},
end: {
line: 90,
line: 92,
column: 2
}
}],
line: 88
line: 90
},
'20': {
'21': {
loc: {
start: {
line: 107,
line: 109,
column: 1
},
end: {
line: 109,
line: 111,
column: 2

@@ -2174,7 +2227,7 @@ }

start: {
line: 107,
line: 109,
column: 1
},
end: {
line: 109,
line: 111,
column: 2

@@ -2184,20 +2237,20 @@ }

start: {
line: 107,
line: 109,
column: 1
},
end: {
line: 109,
line: 111,
column: 2
}
}],
line: 107
line: 109
},
'21': {
'22': {
loc: {
start: {
line: 114,
line: 116,
column: 2
},
end: {
line: 127,
line: 129,
column: 3

@@ -2209,7 +2262,7 @@ }

start: {
line: 115,
line: 117,
column: 2
},
end: {
line: 115,
line: 117,
column: 11

@@ -2219,7 +2272,7 @@ }

start: {
line: 116,
line: 118,
column: 2
},
end: {
line: 119,
line: 121,
column: 11

@@ -2229,20 +2282,20 @@ }

start: {
line: 121,
line: 123,
column: 2
},
end: {
line: 126,
line: 128,
column: 11
}
}],
line: 114
line: 116
},
'22': {
'23': {
loc: {
start: {
line: 122,
line: 124,
column: 3
},
end: {
line: 124,
line: 126,
column: 4

@@ -2254,7 +2307,7 @@ }

start: {
line: 122,
line: 124,
column: 3
},
end: {
line: 124,
line: 126,
column: 4

@@ -2264,20 +2317,20 @@ }

start: {
line: 122,
line: 124,
column: 3
},
end: {
line: 124,
line: 126,
column: 4
}
}],
line: 122
line: 124
},
'23': {
'24': {
loc: {
start: {
line: 129,
line: 131,
column: 2
},
end: {
line: 132,
line: 134,
column: 3

@@ -2289,7 +2342,7 @@ }

start: {
line: 129,
line: 131,
column: 2
},
end: {
line: 132,
line: 134,
column: 3

@@ -2299,20 +2352,20 @@ }

start: {
line: 129,
line: 131,
column: 2
},
end: {
line: 132,
line: 134,
column: 3
}
}],
line: 129
line: 131
},
'24': {
'25': {
loc: {
start: {
line: 134,
line: 136,
column: 2
},
end: {
line: 138,
line: 140,
column: 3

@@ -2324,7 +2377,7 @@ }

start: {
line: 134,
line: 136,
column: 2
},
end: {
line: 138,
line: 140,
column: 3

@@ -2334,20 +2387,20 @@ }

start: {
line: 134,
line: 136,
column: 2
},
end: {
line: 138,
line: 140,
column: 3
}
}],
line: 134
line: 136
},
'25': {
'26': {
loc: {
start: {
line: 143,
line: 145,
column: 52
},
end: {
line: 143,
line: 145,
column: 83

@@ -2359,7 +2412,7 @@ }

start: {
line: 143,
line: 145,
column: 78
},
end: {
line: 143,
line: 145,
column: 79

@@ -2369,20 +2422,20 @@ }

start: {
line: 143,
line: 145,
column: 82
},
end: {
line: 143,
line: 145,
column: 83
}
}],
line: 143
line: 145
},
'26': {
'27': {
loc: {
start: {
line: 151,
line: 153,
column: 1
},
end: {
line: 153,
line: 155,
column: 2

@@ -2394,7 +2447,7 @@ }

start: {
line: 151,
line: 153,
column: 1
},
end: {
line: 153,
line: 155,
column: 2

@@ -2404,20 +2457,20 @@ }

start: {
line: 151,
line: 153,
column: 1
},
end: {
line: 153,
line: 155,
column: 2
}
}],
line: 151
line: 153
},
'27': {
'28': {
loc: {
start: {
line: 160,
line: 162,
column: 12
},
end: {
line: 160,
line: 162,
column: 46

@@ -2429,7 +2482,7 @@ }

start: {
line: 160,
line: 162,
column: 12
},
end: {
line: 160,
line: 162,
column: 24

@@ -2439,20 +2492,20 @@ }

start: {
line: 160,
line: 162,
column: 28
},
end: {
line: 160,
line: 162,
column: 46
}
}],
line: 160
line: 162
},
'28': {
'29': {
loc: {
start: {
line: 164,
line: 166,
column: 2
},
end: {
line: 171,
line: 173,
column: 3

@@ -2464,7 +2517,7 @@ }

start: {
line: 164,
line: 166,
column: 2
},
end: {
line: 171,
line: 173,
column: 3

@@ -2474,20 +2527,20 @@ }

start: {
line: 164,
line: 166,
column: 2
},
end: {
line: 171,
line: 173,
column: 3
}
}],
line: 164
line: 166
},
'29': {
'30': {
loc: {
start: {
line: 166,
line: 168,
column: 3
},
end: {
line: 168,
line: 170,
column: 4

@@ -2499,7 +2552,7 @@ }

start: {
line: 166,
line: 168,
column: 3
},
end: {
line: 168,
line: 170,
column: 4

@@ -2509,20 +2562,20 @@ }

start: {
line: 166,
line: 168,
column: 3
},
end: {
line: 168,
line: 170,
column: 4
}
}],
line: 166
line: 168
},
'30': {
'31': {
loc: {
start: {
line: 175,
line: 177,
column: 1
},
end: {
line: 187,
line: 189,
column: 2

@@ -2534,7 +2587,7 @@ }

start: {
line: 175,
line: 177,
column: 1
},
end: {
line: 187,
line: 189,
column: 2

@@ -2544,20 +2597,20 @@ }

start: {
line: 175,
line: 177,
column: 1
},
end: {
line: 187,
line: 189,
column: 2
}
}],
line: 175
line: 177
},
'31': {
'32': {
loc: {
start: {
line: 179,
line: 181,
column: 2
},
end: {
line: 186,
line: 188,
column: 3

@@ -2569,7 +2622,7 @@ }

start: {
line: 179,
line: 181,
column: 2
},
end: {
line: 186,
line: 188,
column: 3

@@ -2579,20 +2632,20 @@ }

start: {
line: 179,
line: 181,
column: 2
},
end: {
line: 186,
line: 188,
column: 3
}
}],
line: 179
line: 181
},
'32': {
'33': {
loc: {
start: {
line: 196,
line: 198,
column: 1
},
end: {
line: 198,
line: 200,
column: 2

@@ -2604,7 +2657,7 @@ }

start: {
line: 196,
line: 198,
column: 1
},
end: {
line: 198,
line: 200,
column: 2

@@ -2614,20 +2667,20 @@ }

start: {
line: 196,
line: 198,
column: 1
},
end: {
line: 198,
line: 200,
column: 2
}
}],
line: 196
line: 198
},
'33': {
'34': {
loc: {
start: {
line: 201,
line: 203,
column: 2
},
end: {
line: 203,
line: 205,
column: 3

@@ -2639,7 +2692,7 @@ }

start: {
line: 201,
line: 203,
column: 2
},
end: {
line: 203,
line: 205,
column: 3

@@ -2649,20 +2702,20 @@ }

start: {
line: 201,
line: 203,
column: 2
},
end: {
line: 203,
line: 205,
column: 3
}
}],
line: 201
line: 203
},
'34': {
'35': {
loc: {
start: {
line: 210,
line: 212,
column: 1
},
end: {
line: 212,
line: 214,
column: 2

@@ -2674,7 +2727,7 @@ }

start: {
line: 210,
line: 212,
column: 1
},
end: {
line: 212,
line: 214,
column: 2

@@ -2684,20 +2737,20 @@ }

start: {
line: 210,
line: 212,
column: 1
},
end: {
line: 212,
line: 214,
column: 2
}
}],
line: 210
line: 212
},
'35': {
'36': {
loc: {
start: {
line: 222,
line: 224,
column: 15
},
end: {
line: 222,
line: 224,
column: 71

@@ -2709,7 +2762,7 @@ }

start: {
line: 222,
line: 224,
column: 48
},
end: {
line: 222,
line: 224,
column: 62

@@ -2719,20 +2772,20 @@ }

start: {
line: 222,
line: 224,
column: 65
},
end: {
line: 222,
line: 224,
column: 71
}
}],
line: 222
line: 224
},
'36': {
'37': {
loc: {
start: {
line: 226,
line: 228,
column: 1
},
end: {
line: 237,
line: 239,
column: 2

@@ -2744,7 +2797,7 @@ }

start: {
line: 226,
line: 228,
column: 1
},
end: {
line: 237,
line: 239,
column: 2

@@ -2754,20 +2807,20 @@ }

start: {
line: 226,
line: 228,
column: 1
},
end: {
line: 237,
line: 239,
column: 2
}
}],
line: 226
line: 228
},
'37': {
'38': {
loc: {
start: {
line: 229,
line: 231,
column: 2
},
end: {
line: 236,
line: 238,
column: 3

@@ -2779,7 +2832,7 @@ }

start: {
line: 229,
line: 231,
column: 2
},
end: {
line: 236,
line: 238,
column: 3

@@ -2789,11 +2842,11 @@ }

start: {
line: 229,
line: 231,
column: 2
},
end: {
line: 236,
line: 238,
column: 3
}
}],
line: 229
line: 231
}

@@ -2926,3 +2979,5 @@ },

'123': 0,
'124': 0
'124': 0,
'125': 0,
'126': 0
},

@@ -2952,4 +3007,4 @@ f: {

'12': [0, 0],
'13': [0, 0, 0],
'14': [0, 0],
'13': [0, 0],
'14': [0, 0, 0],
'15': [0, 0],

@@ -2961,4 +3016,4 @@ '16': [0, 0],

'20': [0, 0],
'21': [0, 0, 0],
'22': [0, 0],
'21': [0, 0],
'22': [0, 0, 0],
'23': [0, 0],

@@ -2978,3 +3033,4 @@ '24': [0, 0],

'36': [0, 0],
'37': [0, 0]
'37': [0, 0],
'38': [0, 0]
},

@@ -3133,10 +3189,19 @@ _coverageSchema: '332fd63041d2c1bcb487cc26dd0d5f7d97098a6c'

cov_2ic6k9gh7t.s[28]++;
if (typeof value.toJSON === 'function') {
if (typeof value.toJSON5 === 'function') {
cov_2ic6k9gh7t.b[11][0]++;
cov_2ic6k9gh7t.s[29]++;
value = value.toJSON(key);
value = value.toJSON5(key);
} else {
cov_2ic6k9gh7t.b[11][1]++;
}
cov_2ic6k9gh7t.b[11][1]++;
cov_2ic6k9gh7t.s[30]++;
if (typeof value.toJSON === 'function') {
cov_2ic6k9gh7t.b[12][0]++;
cov_2ic6k9gh7t.s[31]++;
value = value.toJSON(key);
} else {
cov_2ic6k9gh7t.b[12][1]++;
}
}
}

@@ -3147,59 +3212,59 @@ } else {

cov_2ic6k9gh7t.s[30]++;
cov_2ic6k9gh7t.s[32]++;
if (replacerFunc) {
cov_2ic6k9gh7t.b[12][0]++;
cov_2ic6k9gh7t.s[31]++;
cov_2ic6k9gh7t.b[13][0]++;
cov_2ic6k9gh7t.s[33]++;
value = replacerFunc.call(holder, key, value);
} else {
cov_2ic6k9gh7t.b[12][1]++;
cov_2ic6k9gh7t.b[13][1]++;
}
cov_2ic6k9gh7t.s[32]++;
cov_2ic6k9gh7t.s[34]++;
switch (value) {
case null:
cov_2ic6k9gh7t.b[13][0]++;
cov_2ic6k9gh7t.s[33]++;
cov_2ic6k9gh7t.b[14][0]++;
cov_2ic6k9gh7t.s[35]++;
return 'null';
case true:
cov_2ic6k9gh7t.b[13][1]++;
cov_2ic6k9gh7t.s[34]++;
cov_2ic6k9gh7t.b[14][1]++;
cov_2ic6k9gh7t.s[36]++;
return 'true';
case false:
cov_2ic6k9gh7t.b[13][2]++;
cov_2ic6k9gh7t.s[35]++;
cov_2ic6k9gh7t.b[14][2]++;
cov_2ic6k9gh7t.s[37]++;
return 'false';
}
cov_2ic6k9gh7t.s[36]++;
cov_2ic6k9gh7t.s[38]++;
if (typeof value === 'string') {
cov_2ic6k9gh7t.b[14][0]++;
cov_2ic6k9gh7t.s[37]++;
cov_2ic6k9gh7t.b[15][0]++;
cov_2ic6k9gh7t.s[39]++;
return quoteString(value, false);
} else {
cov_2ic6k9gh7t.b[14][1]++;
cov_2ic6k9gh7t.b[15][1]++;
}
cov_2ic6k9gh7t.s[38]++;
cov_2ic6k9gh7t.s[40]++;
if (typeof value === 'number') {
cov_2ic6k9gh7t.b[15][0]++;
cov_2ic6k9gh7t.s[39]++;
cov_2ic6k9gh7t.b[16][0]++;
cov_2ic6k9gh7t.s[41]++;
return isFinite(value) ? (cov_2ic6k9gh7t.b[16][0]++, String(value)) : (cov_2ic6k9gh7t.b[16][1]++, 'null');
return isFinite(value) ? (cov_2ic6k9gh7t.b[17][0]++, String(value)) : (cov_2ic6k9gh7t.b[17][1]++, 'null');
} else {
cov_2ic6k9gh7t.b[15][1]++;
cov_2ic6k9gh7t.b[16][1]++;
}
cov_2ic6k9gh7t.s[40]++;
cov_2ic6k9gh7t.s[42]++;
if ((typeof value === 'undefined' ? 'undefined' : _typeof(value)) === 'object') {
cov_2ic6k9gh7t.b[17][0]++;
cov_2ic6k9gh7t.s[41]++;
cov_2ic6k9gh7t.b[18][0]++;
cov_2ic6k9gh7t.s[43]++;
return Array.isArray(value) ? (cov_2ic6k9gh7t.b[18][0]++, serializeArray(value)) : (cov_2ic6k9gh7t.b[18][1]++, serializeObject(value));
return Array.isArray(value) ? (cov_2ic6k9gh7t.b[19][0]++, serializeArray(value)) : (cov_2ic6k9gh7t.b[19][1]++, serializeObject(value));
} else {
cov_2ic6k9gh7t.b[17][1]++;
cov_2ic6k9gh7t.b[18][1]++;
}
cov_2ic6k9gh7t.s[42]++;
cov_2ic6k9gh7t.s[44]++;
return undefined;

@@ -3211,3 +3276,3 @@ }

var quotes = (cov_2ic6k9gh7t.s[43]++, {
var quotes = (cov_2ic6k9gh7t.s[45]++, {
"'": 0.1,

@@ -3217,13 +3282,13 @@ '"': 0.2

cov_2ic6k9gh7t.s[44]++;
cov_2ic6k9gh7t.s[46]++;
if (!isKey) {
cov_2ic6k9gh7t.b[19][0]++;
cov_2ic6k9gh7t.s[45]++;
cov_2ic6k9gh7t.b[20][0]++;
cov_2ic6k9gh7t.s[47]++;
quotes['`'] = 0.3;
} else {
cov_2ic6k9gh7t.b[19][1]++;
cov_2ic6k9gh7t.b[20][1]++;
}
var replacements = (cov_2ic6k9gh7t.s[46]++, {
var replacements = (cov_2ic6k9gh7t.s[48]++, {
"'": "\\'",

@@ -3243,15 +3308,15 @@ '"': '\\"',

cov_2ic6k9gh7t.s[47]++;
cov_2ic6k9gh7t.s[49]++;
if (!isKey) {
cov_2ic6k9gh7t.b[20][0]++;
cov_2ic6k9gh7t.s[48]++;
cov_2ic6k9gh7t.b[21][0]++;
cov_2ic6k9gh7t.s[50]++;
replacements['`'] = '\\`';
} else {
cov_2ic6k9gh7t.b[20][1]++;
cov_2ic6k9gh7t.b[21][1]++;
}
var product = (cov_2ic6k9gh7t.s[49]++, '');
var product = (cov_2ic6k9gh7t.s[51]++, '');
cov_2ic6k9gh7t.s[50]++;
cov_2ic6k9gh7t.s[52]++;
var _iteratorNormalCompletion2 = true;

@@ -3264,62 +3329,62 @@ var _didIteratorError2 = false;

var c = _step2.value;
cov_2ic6k9gh7t.s[51]++;
cov_2ic6k9gh7t.s[53]++;
switch (c) {
case "'":
cov_2ic6k9gh7t.b[21][0]++;
cov_2ic6k9gh7t.b[22][0]++;
case '"':
cov_2ic6k9gh7t.b[21][1]++;
cov_2ic6k9gh7t.s[52]++;
cov_2ic6k9gh7t.b[22][1]++;
cov_2ic6k9gh7t.s[54]++;
quotes[c]++;
cov_2ic6k9gh7t.s[53]++;
cov_2ic6k9gh7t.s[55]++;
product += c;
cov_2ic6k9gh7t.s[54]++;
cov_2ic6k9gh7t.s[56]++;
continue;
case '`':
cov_2ic6k9gh7t.b[21][2]++;
cov_2ic6k9gh7t.s[55]++;
cov_2ic6k9gh7t.b[22][2]++;
cov_2ic6k9gh7t.s[57]++;
if (!isKey) {
cov_2ic6k9gh7t.b[22][0]++;
cov_2ic6k9gh7t.s[56]++;
cov_2ic6k9gh7t.b[23][0]++;
cov_2ic6k9gh7t.s[58]++;
quotes[c]++;
} else {
cov_2ic6k9gh7t.b[22][1]++;
cov_2ic6k9gh7t.b[23][1]++;
}
cov_2ic6k9gh7t.s[57]++;
cov_2ic6k9gh7t.s[59]++;
product += c;
cov_2ic6k9gh7t.s[58]++;
cov_2ic6k9gh7t.s[60]++;
continue;
}
cov_2ic6k9gh7t.s[59]++;
cov_2ic6k9gh7t.s[61]++;
if (replacements[c]) {
cov_2ic6k9gh7t.b[23][0]++;
cov_2ic6k9gh7t.s[60]++;
cov_2ic6k9gh7t.b[24][0]++;
cov_2ic6k9gh7t.s[62]++;
product += replacements[c];
cov_2ic6k9gh7t.s[61]++;
cov_2ic6k9gh7t.s[63]++;
continue;
} else {
cov_2ic6k9gh7t.b[23][1]++;
cov_2ic6k9gh7t.b[24][1]++;
}
cov_2ic6k9gh7t.s[62]++;
cov_2ic6k9gh7t.s[64]++;
if (c < ' ') {
cov_2ic6k9gh7t.b[24][0]++;
cov_2ic6k9gh7t.b[25][0]++;
var hexString = (cov_2ic6k9gh7t.s[63]++, c.charCodeAt(0).toString(16));
cov_2ic6k9gh7t.s[64]++;
var hexString = (cov_2ic6k9gh7t.s[65]++, c.charCodeAt(0).toString(16));
cov_2ic6k9gh7t.s[66]++;
product += '\\x' + ('00' + hexString).substring(hexString.length);
cov_2ic6k9gh7t.s[65]++;
cov_2ic6k9gh7t.s[67]++;
continue;
} else {
cov_2ic6k9gh7t.b[24][1]++;
cov_2ic6k9gh7t.b[25][1]++;
}
cov_2ic6k9gh7t.s[66]++;
cov_2ic6k9gh7t.s[68]++;
product += c;

@@ -3342,12 +3407,12 @@ }

var quote = (cov_2ic6k9gh7t.s[67]++, Object.keys(quotes).reduce(function (a, b) {
var quote = (cov_2ic6k9gh7t.s[69]++, Object.keys(quotes).reduce(function (a, b) {
cov_2ic6k9gh7t.f[3]++;
cov_2ic6k9gh7t.s[68]++;
return quotes[a] < quotes[b] ? (cov_2ic6k9gh7t.b[25][0]++, a) : (cov_2ic6k9gh7t.b[25][1]++, b);
cov_2ic6k9gh7t.s[70]++;
return quotes[a] < quotes[b] ? (cov_2ic6k9gh7t.b[26][0]++, a) : (cov_2ic6k9gh7t.b[26][1]++, b);
}));
cov_2ic6k9gh7t.s[69]++;
cov_2ic6k9gh7t.s[71]++;
product = product.replace(new RegExp(quote, 'g'), replacements[quote]);
cov_2ic6k9gh7t.s[70]++;
cov_2ic6k9gh7t.s[72]++;
return quote + product + quote;

@@ -3358,23 +3423,23 @@ }

cov_2ic6k9gh7t.f[4]++;
cov_2ic6k9gh7t.s[71]++;
cov_2ic6k9gh7t.s[73]++;
if (stack.indexOf(value) >= 0) {
cov_2ic6k9gh7t.b[26][0]++;
cov_2ic6k9gh7t.s[72]++;
cov_2ic6k9gh7t.b[27][0]++;
cov_2ic6k9gh7t.s[74]++;
throw TypeError('Converting circular structure to JSONext');
} else {
cov_2ic6k9gh7t.b[26][1]++;
cov_2ic6k9gh7t.b[27][1]++;
}
cov_2ic6k9gh7t.s[73]++;
cov_2ic6k9gh7t.s[75]++;
stack.push(value);
var stepback = (cov_2ic6k9gh7t.s[74]++, indent);
cov_2ic6k9gh7t.s[75]++;
var stepback = (cov_2ic6k9gh7t.s[76]++, indent);
cov_2ic6k9gh7t.s[77]++;
indent = indent + gap;
var keys = (cov_2ic6k9gh7t.s[76]++, (cov_2ic6k9gh7t.b[27][0]++, propertyList) || (cov_2ic6k9gh7t.b[27][1]++, Object.keys(value)));
var partial = (cov_2ic6k9gh7t.s[77]++, []);
cov_2ic6k9gh7t.s[78]++;
var keys = (cov_2ic6k9gh7t.s[78]++, (cov_2ic6k9gh7t.b[28][0]++, propertyList) || (cov_2ic6k9gh7t.b[28][1]++, Object.keys(value)));
var partial = (cov_2ic6k9gh7t.s[79]++, []);
cov_2ic6k9gh7t.s[80]++;
var _iteratorNormalCompletion3 = true;

@@ -3388,23 +3453,23 @@ var _didIteratorError3 = false;

var propertyString = (cov_2ic6k9gh7t.s[79]++, serializeProperty(key, value));
cov_2ic6k9gh7t.s[80]++;
var propertyString = (cov_2ic6k9gh7t.s[81]++, serializeProperty(key, value));
cov_2ic6k9gh7t.s[82]++;
if (propertyString !== undefined) {
cov_2ic6k9gh7t.b[28][0]++;
cov_2ic6k9gh7t.b[29][0]++;
var member = (cov_2ic6k9gh7t.s[81]++, serializeKey(key) + ':');
cov_2ic6k9gh7t.s[82]++;
var member = (cov_2ic6k9gh7t.s[83]++, serializeKey(key) + ':');
cov_2ic6k9gh7t.s[84]++;
if (gap !== '') {
cov_2ic6k9gh7t.b[29][0]++;
cov_2ic6k9gh7t.s[83]++;
cov_2ic6k9gh7t.b[30][0]++;
cov_2ic6k9gh7t.s[85]++;
member += ' ';
} else {
cov_2ic6k9gh7t.b[29][1]++;
cov_2ic6k9gh7t.b[30][1]++;
}
cov_2ic6k9gh7t.s[84]++;
cov_2ic6k9gh7t.s[86]++;
member += propertyString;
cov_2ic6k9gh7t.s[85]++;
cov_2ic6k9gh7t.s[87]++;
partial.push(member);
} else {
cov_2ic6k9gh7t.b[28][1]++;
cov_2ic6k9gh7t.b[29][1]++;
}

@@ -3428,27 +3493,27 @@ }

var final = void 0;
cov_2ic6k9gh7t.s[86]++;
cov_2ic6k9gh7t.s[88]++;
if (partial.length === 0) {
cov_2ic6k9gh7t.b[30][0]++;
cov_2ic6k9gh7t.s[87]++;
cov_2ic6k9gh7t.b[31][0]++;
cov_2ic6k9gh7t.s[89]++;
final = '{}';
} else {
cov_2ic6k9gh7t.b[30][1]++;
cov_2ic6k9gh7t.b[31][1]++;
var properties = void 0;
cov_2ic6k9gh7t.s[88]++;
cov_2ic6k9gh7t.s[90]++;
if (gap === '') {
cov_2ic6k9gh7t.b[31][0]++;
cov_2ic6k9gh7t.s[89]++;
cov_2ic6k9gh7t.b[32][0]++;
cov_2ic6k9gh7t.s[91]++;
properties = partial.join(',');
cov_2ic6k9gh7t.s[90]++;
cov_2ic6k9gh7t.s[92]++;
final = '{' + properties + '}';
} else {
cov_2ic6k9gh7t.b[31][1]++;
cov_2ic6k9gh7t.b[32][1]++;
var separator = (cov_2ic6k9gh7t.s[91]++, ',\n' + indent);
cov_2ic6k9gh7t.s[92]++;
var separator = (cov_2ic6k9gh7t.s[93]++, ',\n' + indent);
cov_2ic6k9gh7t.s[94]++;
properties = partial.join(separator);
cov_2ic6k9gh7t.s[93]++;
cov_2ic6k9gh7t.s[95]++;
final = '{\n' + indent + properties + ',\n' + stepback + '}';

@@ -3458,7 +3523,7 @@ }

cov_2ic6k9gh7t.s[94]++;
cov_2ic6k9gh7t.s[96]++;
stack.pop();
cov_2ic6k9gh7t.s[95]++;
cov_2ic6k9gh7t.s[97]++;
indent = stepback;
cov_2ic6k9gh7t.s[96]++;
cov_2ic6k9gh7t.s[98]++;
return final;

@@ -3470,28 +3535,28 @@ }

var firstChar = (cov_2ic6k9gh7t.s[97]++, String.fromCodePoint(key.codePointAt(0)));
cov_2ic6k9gh7t.s[98]++;
var firstChar = (cov_2ic6k9gh7t.s[99]++, String.fromCodePoint(key.codePointAt(0)));
cov_2ic6k9gh7t.s[100]++;
if (!util.isIdStartChar(firstChar)) {
cov_2ic6k9gh7t.b[32][0]++;
cov_2ic6k9gh7t.s[99]++;
cov_2ic6k9gh7t.b[33][0]++;
cov_2ic6k9gh7t.s[101]++;
return quoteString(key, true);
} else {
cov_2ic6k9gh7t.b[32][1]++;
cov_2ic6k9gh7t.b[33][1]++;
}
cov_2ic6k9gh7t.s[100]++;
cov_2ic6k9gh7t.s[102]++;
for (var i = firstChar.length; i < key.length; i++) {
cov_2ic6k9gh7t.s[101]++;
cov_2ic6k9gh7t.s[103]++;
if (!util.isIdContinueChar(String.fromCodePoint(key.codePointAt(i)))) {
cov_2ic6k9gh7t.b[33][0]++;
cov_2ic6k9gh7t.s[102]++;
cov_2ic6k9gh7t.b[34][0]++;
cov_2ic6k9gh7t.s[104]++;
return quoteString(key, true);
} else {
cov_2ic6k9gh7t.b[33][1]++;
cov_2ic6k9gh7t.b[34][1]++;
}
}
cov_2ic6k9gh7t.s[103]++;
cov_2ic6k9gh7t.s[105]++;
return key;

@@ -3502,51 +3567,51 @@ }

cov_2ic6k9gh7t.f[6]++;
cov_2ic6k9gh7t.s[104]++;
cov_2ic6k9gh7t.s[106]++;
if (stack.indexOf(value) >= 0) {
cov_2ic6k9gh7t.b[34][0]++;
cov_2ic6k9gh7t.s[105]++;
cov_2ic6k9gh7t.b[35][0]++;
cov_2ic6k9gh7t.s[107]++;
throw TypeError('Converting circular structure to JSONext');
} else {
cov_2ic6k9gh7t.b[34][1]++;
cov_2ic6k9gh7t.b[35][1]++;
}
cov_2ic6k9gh7t.s[106]++;
cov_2ic6k9gh7t.s[108]++;
stack.push(value);
var stepback = (cov_2ic6k9gh7t.s[107]++, indent);
cov_2ic6k9gh7t.s[108]++;
var stepback = (cov_2ic6k9gh7t.s[109]++, indent);
cov_2ic6k9gh7t.s[110]++;
indent = indent + gap;
var partial = (cov_2ic6k9gh7t.s[109]++, []);
cov_2ic6k9gh7t.s[110]++;
var partial = (cov_2ic6k9gh7t.s[111]++, []);
cov_2ic6k9gh7t.s[112]++;
for (var i = 0; i < value.length; i++) {
var propertyString = (cov_2ic6k9gh7t.s[111]++, serializeProperty(String(i), value));
cov_2ic6k9gh7t.s[112]++;
partial.push(propertyString !== undefined ? (cov_2ic6k9gh7t.b[35][0]++, propertyString) : (cov_2ic6k9gh7t.b[35][1]++, 'null'));
var propertyString = (cov_2ic6k9gh7t.s[113]++, serializeProperty(String(i), value));
cov_2ic6k9gh7t.s[114]++;
partial.push(propertyString !== undefined ? (cov_2ic6k9gh7t.b[36][0]++, propertyString) : (cov_2ic6k9gh7t.b[36][1]++, 'null'));
}
var final = void 0;
cov_2ic6k9gh7t.s[113]++;
cov_2ic6k9gh7t.s[115]++;
if (partial.length === 0) {
cov_2ic6k9gh7t.b[36][0]++;
cov_2ic6k9gh7t.s[114]++;
cov_2ic6k9gh7t.b[37][0]++;
cov_2ic6k9gh7t.s[116]++;
final = '[]';
} else {
cov_2ic6k9gh7t.b[36][1]++;
cov_2ic6k9gh7t.s[115]++;
cov_2ic6k9gh7t.b[37][1]++;
cov_2ic6k9gh7t.s[117]++;
if (gap === '') {
cov_2ic6k9gh7t.b[37][0]++;
cov_2ic6k9gh7t.b[38][0]++;
var properties = (cov_2ic6k9gh7t.s[116]++, partial.join(','));
cov_2ic6k9gh7t.s[117]++;
var properties = (cov_2ic6k9gh7t.s[118]++, partial.join(','));
cov_2ic6k9gh7t.s[119]++;
final = '[' + properties + ']';
} else {
cov_2ic6k9gh7t.b[37][1]++;
cov_2ic6k9gh7t.b[38][1]++;
var separator = (cov_2ic6k9gh7t.s[118]++, ',\n' + indent);
var _properties = (cov_2ic6k9gh7t.s[119]++, partial.join(separator));
cov_2ic6k9gh7t.s[120]++;
var separator = (cov_2ic6k9gh7t.s[120]++, ',\n' + indent);
var _properties = (cov_2ic6k9gh7t.s[121]++, partial.join(separator));
cov_2ic6k9gh7t.s[122]++;
final = '[\n' + indent + _properties + ',\n' + stepback + ']';

@@ -3556,11 +3621,11 @@ }

cov_2ic6k9gh7t.s[121]++;
cov_2ic6k9gh7t.s[123]++;
stack.pop();
cov_2ic6k9gh7t.s[122]++;
cov_2ic6k9gh7t.s[124]++;
indent = stepback;
cov_2ic6k9gh7t.s[123]++;
cov_2ic6k9gh7t.s[125]++;
return final;
}
cov_2ic6k9gh7t.s[124]++;
cov_2ic6k9gh7t.s[126]++;
module.exports = stringify;
{
"name": "jsonext",
"version": "1.0.1",
"version": "1.1.0",
"description": "An extension of JSON that supports the Next gen features",

@@ -5,0 +5,0 @@ "main": "lib/",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc