@bigbinary/eslint-plugin-neeto 1.0.32 → 1.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +1019 -535
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -831,7 +831,7 @@
831
831
 
832
832
  function cov_2kvndqkrrx() {
833
833
  var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/constants.js";
834
- var hash = "0f2cff659f71f5be4abf4be86aaf4e3d47afad18";
834
+ var hash = "567a6b4485846cd1d69724cbd0fb46e84fde9089";
835
835
  var global = new Function("return this")();
836
836
  var gcv = "__coverage__";
837
837
  var coverageData = {
@@ -883,27 +883,27 @@
883
883
  column: 36
884
884
  },
885
885
  end: {
886
- line: 17,
886
+ line: 16,
887
887
  column: 1
888
888
  }
889
889
  },
890
890
  "5": {
891
891
  start: {
892
- line: 19,
892
+ line: 18,
893
893
  column: 21
894
894
  },
895
895
  end: {
896
- line: 59,
896
+ line: 58,
897
897
  column: 1
898
898
  }
899
899
  },
900
900
  "6": {
901
901
  start: {
902
- line: 61,
902
+ line: 60,
903
903
  column: 34
904
904
  },
905
905
  end: {
906
- line: 65,
906
+ line: 64,
907
907
  column: 1
908
908
  }
909
909
  }
@@ -922,7 +922,7 @@
922
922
  f: {},
923
923
  b: {},
924
924
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
925
- hash: "0f2cff659f71f5be4abf4be86aaf4e3d47afad18"
925
+ hash: "567a6b4485846cd1d69724cbd0fb46e84fde9089"
926
926
  };
927
927
  var coverage = global[gcv] || (global[gcv] = {});
928
928
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -942,7 +942,7 @@
942
942
  var REACT_QUERY_DIRECTORY = (cov_2kvndqkrrx().s[1]++, "app/javascript/src/hooks/reactQuery");
943
943
  var ROUTES_FILE_PATH = (cov_2kvndqkrrx().s[2]++, "app/javascript/src/routes.js");
944
944
  var COMPONENTS_DIRECTORY = (cov_2kvndqkrrx().s[3]++, "app/javascript/src/components");
945
- var BLACKLISTED_PACKAGES = (cov_2kvndqkrrx().s[4]++, ["moment", "bootstrap", "blueprint", "react-spinners", "react-table", "remixicon", "mjml", "react-select", "antd", "@bigbinary/neeto-utils"]);
945
+ var BLACKLISTED_PACKAGES = (cov_2kvndqkrrx().s[4]++, ["moment", "bootstrap", "blueprint", "react-spinners", "react-table", "remixicon", "mjml", "react-select", "@bigbinary/neeto-utils"]);
946
946
  var TYPES = (cov_2kvndqkrrx().s[5]++, {
947
947
  ARRAY_EXPRESSION: "ArrayExpression",
948
948
  ARROW_FUNCTION_EXPRESSION: "ArrowFunctionExpression",
@@ -3536,7 +3536,7 @@
3536
3536
 
3537
3537
  function cov_26237ygvis() {
3538
3538
  var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/utils/messages.js";
3539
- var hash = "81106f6a8f09fb6e40c299b28fde2e62aaeebe35";
3539
+ var hash = "1872697beeea0699588d8e7cc3579bbe509387a5";
3540
3540
  var global = new Function("return this")();
3541
3541
  var gcv = "__coverage__";
3542
3542
  var coverageData = {
@@ -4201,6 +4201,16 @@
4201
4201
  line: 171,
4202
4202
  column: 76
4203
4203
  }
4204
+ },
4205
+ "66": {
4206
+ start: {
4207
+ line: 174,
4208
+ column: 2
4209
+ },
4210
+ end: {
4211
+ line: 174,
4212
+ column: 105
4213
+ }
4204
4214
  }
4205
4215
  },
4206
4216
  fnMap: {
@@ -4512,7 +4522,8 @@
4512
4522
  "62": 0,
4513
4523
  "63": 0,
4514
4524
  "64": 0,
4515
- "65": 0
4525
+ "65": 0,
4526
+ "66": 0
4516
4527
  },
4517
4528
  f: {
4518
4529
  "0": 0,
@@ -4528,7 +4539,7 @@
4528
4539
  },
4529
4540
  b: {},
4530
4541
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
4531
- hash: "81106f6a8f09fb6e40c299b28fde2e62aaeebe35"
4542
+ hash: "1872697beeea0699588d8e7cc3579bbe509387a5"
4532
4543
  };
4533
4544
  var coverage = global[gcv] || (global[gcv] = {});
4534
4545
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -4647,6 +4658,7 @@
4647
4658
  var USE_COMPONENTS_CHILDREN_PROP_IN_TRANS = (cov_26237ygvis().s[63]++, "Use components children prop instead of label prop in `Trans` component to avoid multiple translation keys.");
4648
4659
  var USE_I18NEXT_PLURALS = (cov_26237ygvis().s[64]++, "Use plurals that comes with the `i18next` package for hard-coded strings. Refer: http://bit.ly/3LSaAHN");
4649
4660
  var USE_PLURALIZE_PACKAGE = (cov_26237ygvis().s[65]++, "Use `pluralize` package for dynamic values. Refer: http://bit.ly/3LSaAHN");
4661
+ var USE_COPY_TO_CLIPBOARD_FROM_NEETO_COMMONS = (cov_26237ygvis().s[66]++, "Use `copyToClipboard` from `@bigbinary/neeto-commons-frontend` package. Refer: https://bit.ly/3U9NoHu");
4650
4662
 
4651
4663
  function cov_22o2x8aeul() {
4652
4664
  var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/api-connector-name-should-match-filename.js";
@@ -23879,7 +23891,7 @@
23879
23891
 
23880
23892
  function cov_2jszpfxbn3() {
23881
23893
  var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/neetocommons-tips/constants.js";
23882
- var hash = "9ed215ca72a5b51e3679259e902d9181b46c2552";
23894
+ var hash = "e2bf85c7382730e066d4b9430024a150863070e7";
23883
23895
  var global = new Function("return this")();
23884
23896
  var gcv = "__coverage__";
23885
23897
  var coverageData = {
@@ -23887,463 +23899,503 @@
23887
23899
  statementMap: {
23888
23900
  "0": {
23889
23901
  start: {
23890
- line: 19,
23891
- column: 35
23902
+ line: 21,
23903
+ column: 44
23892
23904
  },
23893
23905
  end: {
23894
- line: 29,
23906
+ line: 24,
23895
23907
  column: 1
23896
23908
  }
23897
23909
  },
23898
23910
  "1": {
23899
23911
  start: {
23900
- line: 31,
23901
- column: 41
23912
+ line: 26,
23913
+ column: 35
23902
23914
  },
23903
23915
  end: {
23904
- line: 38,
23916
+ line: 36,
23905
23917
  column: 1
23906
23918
  }
23907
23919
  },
23908
23920
  "2": {
23909
23921
  start: {
23910
- line: 40,
23911
- column: 29
23922
+ line: 38,
23923
+ column: 41
23912
23924
  },
23913
23925
  end: {
23914
- line: 43,
23926
+ line: 45,
23915
23927
  column: 1
23916
23928
  }
23917
23929
  },
23918
23930
  "3": {
23919
23931
  start: {
23920
- line: 46,
23921
- column: 32
23932
+ line: 47,
23933
+ column: 29
23922
23934
  },
23923
23935
  end: {
23924
- line: 70,
23936
+ line: 50,
23925
23937
  column: 1
23926
23938
  }
23927
23939
  },
23928
23940
  "4": {
23929
23941
  start: {
23930
- line: 57,
23942
+ line: 53,
23943
+ column: 32
23944
+ },
23945
+ end: {
23946
+ line: 77,
23947
+ column: 1
23948
+ }
23949
+ },
23950
+ "5": {
23951
+ start: {
23952
+ line: 64,
23931
23953
  column: 12
23932
23954
  },
23933
23955
  end: {
23934
- line: 58,
23956
+ line: 65,
23935
23957
  column: 55
23936
23958
  }
23937
23959
  },
23938
- "5": {
23960
+ "6": {
23939
23961
  start: {
23940
- line: 63,
23962
+ line: 70,
23941
23963
  column: 8
23942
23964
  },
23943
23965
  end: {
23944
- line: 63,
23966
+ line: 70,
23945
23967
  column: 79
23946
23968
  }
23947
23969
  },
23948
- "6": {
23970
+ "7": {
23949
23971
  start: {
23950
- line: 73,
23972
+ line: 80,
23951
23973
  column: 33
23952
23974
  },
23953
23975
  end: {
23954
- line: 82,
23976
+ line: 89,
23955
23977
  column: 1
23956
23978
  }
23957
23979
  },
23958
- "7": {
23980
+ "8": {
23959
23981
  start: {
23960
- line: 81,
23982
+ line: 88,
23961
23983
  column: 4
23962
23984
  },
23963
23985
  end: {
23964
- line: 81,
23986
+ line: 88,
23965
23987
  column: 75
23966
23988
  }
23967
23989
  },
23968
- "8": {
23990
+ "9": {
23969
23991
  start: {
23970
- line: 84,
23992
+ line: 91,
23971
23993
  column: 38
23972
23994
  },
23973
23995
  end: {
23974
- line: 95,
23996
+ line: 102,
23975
23997
  column: 1
23976
23998
  }
23977
23999
  },
23978
- "9": {
24000
+ "10": {
23979
24001
  start: {
23980
- line: 97,
24002
+ line: 104,
23981
24003
  column: 28
23982
24004
  },
23983
24005
  end: {
23984
- line: 106,
24006
+ line: 113,
23985
24007
  column: 1
23986
24008
  }
23987
24009
  },
23988
- "10": {
24010
+ "11": {
23989
24011
  start: {
23990
- line: 103,
24012
+ line: 110,
23991
24013
  column: 18
23992
24014
  },
23993
24015
  end: {
23994
- line: 103,
24016
+ line: 110,
23995
24017
  column: 31
23996
24018
  }
23997
24019
  },
23998
- "11": {
24020
+ "12": {
23999
24021
  start: {
24000
- line: 108,
24022
+ line: 115,
24001
24023
  column: 39
24002
24024
  },
24003
24025
  end: {
24004
- line: 126,
24026
+ line: 133,
24005
24027
  column: 1
24006
24028
  }
24007
24029
  },
24008
- "12": {
24030
+ "13": {
24009
24031
  start: {
24010
- line: 110,
24032
+ line: 117,
24011
24033
  column: 4
24012
24034
  },
24013
24035
  end: {
24014
- line: 125,
24036
+ line: 132,
24015
24037
  column: 71
24016
24038
  }
24017
24039
  },
24018
- "13": {
24040
+ "14": {
24019
24041
  start: {
24020
- line: 128,
24042
+ line: 135,
24021
24043
  column: 37
24022
24044
  },
24023
24045
  end: {
24024
- line: 147,
24046
+ line: 154,
24025
24047
  column: 1
24026
24048
  }
24027
24049
  },
24028
- "14": {
24050
+ "15": {
24029
24051
  start: {
24030
- line: 135,
24052
+ line: 142,
24031
24053
  column: 4
24032
24054
  },
24033
24055
  end: {
24034
- line: 146,
24056
+ line: 153,
24035
24057
  column: 5
24036
24058
  }
24037
24059
  },
24038
- "15": {
24060
+ "16": {
24039
24061
  start: {
24040
- line: 141,
24062
+ line: 148,
24041
24063
  column: 12
24042
24064
  },
24043
24065
  end: {
24044
- line: 141,
24066
+ line: 148,
24045
24067
  column: 64
24046
24068
  }
24047
24069
  },
24048
- "16": {
24070
+ "17": {
24049
24071
  start: {
24050
- line: 149,
24072
+ line: 156,
24051
24073
  column: 32
24052
24074
  },
24053
24075
  end: {
24054
- line: 189,
24076
+ line: 196,
24055
24077
  column: 1
24056
24078
  }
24057
24079
  },
24058
- "17": {
24080
+ "18": {
24059
24081
  start: {
24060
- line: 156,
24082
+ line: 163,
24061
24083
  column: 6
24062
24084
  },
24063
24085
  end: {
24064
- line: 157,
24086
+ line: 164,
24065
24087
  column: 48
24066
24088
  }
24067
24089
  },
24068
- "18": {
24090
+ "19": {
24069
24091
  start: {
24070
- line: 164,
24092
+ line: 171,
24071
24093
  column: 6
24072
24094
  },
24073
24095
  end: {
24074
- line: 164,
24096
+ line: 171,
24075
24097
  column: 64
24076
24098
  }
24077
24099
  },
24078
- "19": {
24100
+ "20": {
24079
24101
  start: {
24080
- line: 176,
24102
+ line: 183,
24081
24103
  column: 10
24082
24104
  },
24083
24105
  end: {
24084
- line: 185,
24106
+ line: 192,
24085
24107
  column: 11
24086
24108
  }
24087
24109
  },
24088
- "20": {
24110
+ "21": {
24089
24111
  start: {
24090
- line: 181,
24112
+ line: 188,
24091
24113
  column: 30
24092
24114
  },
24093
24115
  end: {
24094
- line: 181,
24116
+ line: 188,
24095
24117
  column: 59
24096
24118
  }
24097
24119
  },
24098
- "21": {
24120
+ "22": {
24099
24121
  start: {
24100
- line: 191,
24122
+ line: 198,
24101
24123
  column: 34
24102
24124
  },
24103
24125
  end: {
24104
- line: 246,
24126
+ line: 253,
24105
24127
  column: 1
24106
24128
  }
24107
24129
  },
24108
- "22": {
24130
+ "23": {
24109
24131
  start: {
24110
- line: 198,
24132
+ line: 205,
24111
24133
  column: 21
24112
24134
  },
24113
24135
  end: {
24114
- line: 198,
24136
+ line: 205,
24115
24137
  column: 49
24116
24138
  }
24117
24139
  },
24118
- "23": {
24140
+ "24": {
24119
24141
  start: {
24120
- line: 228,
24142
+ line: 235,
24121
24143
  column: 6
24122
24144
  },
24123
24145
  end: {
24124
- line: 228,
24146
+ line: 235,
24125
24147
  column: 64
24126
24148
  }
24127
24149
  },
24128
- "24": {
24150
+ "25": {
24129
24151
  start: {
24130
- line: 240,
24152
+ line: 247,
24131
24153
  column: 10
24132
24154
  },
24133
24155
  end: {
24134
- line: 242,
24156
+ line: 249,
24135
24157
  column: 46
24136
24158
  }
24137
24159
  },
24138
- "25": {
24160
+ "26": {
24139
24161
  start: {
24140
- line: 248,
24162
+ line: 255,
24141
24163
  column: 34
24142
24164
  },
24143
24165
  end: {
24144
- line: 290,
24166
+ line: 297,
24145
24167
  column: 1
24146
24168
  }
24147
24169
  },
24148
- "26": {
24170
+ "27": {
24149
24171
  start: {
24150
- line: 263,
24172
+ line: 270,
24151
24173
  column: 8
24152
24174
  },
24153
24175
  end: {
24154
- line: 263,
24176
+ line: 270,
24155
24177
  column: 66
24156
24178
  }
24157
24179
  },
24158
- "27": {
24180
+ "28": {
24159
24181
  start: {
24160
- line: 267,
24182
+ line: 274,
24161
24183
  column: 10
24162
24184
  },
24163
24185
  end: {
24164
- line: 270,
24186
+ line: 277,
24165
24187
  column: 12
24166
24188
  }
24167
24189
  },
24168
- "28": {
24190
+ "29": {
24169
24191
  start: {
24170
- line: 272,
24192
+ line: 279,
24171
24193
  column: 10
24172
24194
  },
24173
24195
  end: {
24174
- line: 282,
24196
+ line: 289,
24175
24197
  column: 11
24176
24198
  }
24177
24199
  },
24178
- "29": {
24200
+ "30": {
24179
24201
  start: {
24180
- line: 276,
24202
+ line: 283,
24181
24203
  column: 30
24182
24204
  },
24183
24205
  end: {
24184
- line: 276,
24206
+ line: 283,
24185
24207
  column: 64
24186
24208
  }
24187
24209
  },
24188
- "30": {
24210
+ "31": {
24189
24211
  start: {
24190
- line: 285,
24212
+ line: 292,
24191
24213
  column: 32
24192
24214
  },
24193
24215
  end: {
24194
- line: 285,
24216
+ line: 292,
24195
24217
  column: 66
24196
24218
  }
24197
24219
  },
24198
- "31": {
24220
+ "32": {
24199
24221
  start: {
24200
- line: 292,
24222
+ line: 299,
24201
24223
  column: 42
24202
24224
  },
24203
24225
  end: {
24204
- line: 317,
24226
+ line: 324,
24205
24227
  column: 1
24206
24228
  }
24207
24229
  },
24208
- "32": {
24230
+ "33": {
24209
24231
  start: {
24210
- line: 297,
24232
+ line: 304,
24211
24233
  column: 6
24212
24234
  },
24213
24235
  end: {
24214
- line: 300,
24236
+ line: 307,
24215
24237
  column: 8
24216
24238
  }
24217
24239
  },
24218
- "33": {
24240
+ "34": {
24219
24241
  start: {
24220
- line: 303,
24242
+ line: 310,
24221
24243
  column: 28
24222
24244
  },
24223
24245
  end: {
24224
- line: 303,
24246
+ line: 310,
24225
24247
  column: 62
24226
24248
  }
24227
24249
  },
24228
- "34": {
24250
+ "35": {
24229
24251
  start: {
24230
- line: 306,
24252
+ line: 313,
24231
24253
  column: 6
24232
24254
  },
24233
24255
  end: {
24234
- line: 314,
24256
+ line: 321,
24235
24257
  column: 7
24236
24258
  }
24237
24259
  },
24238
- "35": {
24260
+ "36": {
24239
24261
  start: {
24240
- line: 310,
24262
+ line: 317,
24241
24263
  column: 26
24242
24264
  },
24243
24265
  end: {
24244
- line: 310,
24266
+ line: 317,
24245
24267
  column: 60
24246
24268
  }
24247
24269
  },
24248
- "36": {
24270
+ "37": {
24249
24271
  start: {
24250
- line: 319,
24272
+ line: 326,
24251
24273
  column: 33
24252
24274
  },
24253
24275
  end: {
24254
- line: 367,
24276
+ line: 374,
24255
24277
  column: 1
24256
24278
  }
24257
24279
  },
24258
- "37": {
24280
+ "38": {
24259
24281
  start: {
24260
- line: 329,
24282
+ line: 336,
24261
24283
  column: 8
24262
24284
  },
24263
24285
  end: {
24264
- line: 329,
24286
+ line: 336,
24265
24287
  column: 66
24266
24288
  }
24267
24289
  },
24268
- "38": {
24290
+ "39": {
24269
24291
  start: {
24270
- line: 333,
24292
+ line: 340,
24271
24293
  column: 10
24272
24294
  },
24273
24295
  end: {
24274
- line: 363,
24296
+ line: 370,
24275
24297
  column: 11
24276
24298
  }
24277
24299
  },
24278
- "39": {
24300
+ "40": {
24279
24301
  start: {
24280
- line: 369,
24302
+ line: 376,
24281
24303
  column: 35
24282
24304
  },
24283
24305
  end: {
24284
- line: 395,
24306
+ line: 402,
24285
24307
  column: 1
24286
24308
  }
24287
24309
  },
24288
- "40": {
24310
+ "41": {
24289
24311
  start: {
24290
- line: 382,
24312
+ line: 389,
24291
24313
  column: 25
24292
24314
  },
24293
24315
  end: {
24294
- line: 382,
24316
+ line: 389,
24295
24317
  column: 42
24296
24318
  }
24297
24319
  },
24298
- "41": {
24320
+ "42": {
24299
24321
  start: {
24300
- line: 389,
24322
+ line: 396,
24301
24323
  column: 17
24302
24324
  },
24303
24325
  end: {
24304
- line: 389,
24326
+ line: 396,
24305
24327
  column: 75
24306
24328
  }
24307
24329
  },
24308
- "42": {
24330
+ "43": {
24309
24331
  start: {
24310
- line: 397,
24332
+ line: 404,
24311
24333
  column: 40
24312
24334
  },
24313
24335
  end: {
24314
- line: 416,
24336
+ line: 423,
24315
24337
  column: 1
24316
24338
  }
24317
24339
  },
24318
- "43": {
24340
+ "44": {
24319
24341
  start: {
24320
- line: 409,
24342
+ line: 416,
24321
24343
  column: 17
24322
24344
  },
24323
24345
  end: {
24324
- line: 409,
24346
+ line: 416,
24325
24347
  column: 75
24326
24348
  }
24327
24349
  },
24328
- "44": {
24350
+ "45": {
24329
24351
  start: {
24330
- line: 418,
24352
+ line: 425,
24331
24353
  column: 35
24332
24354
  },
24333
24355
  end: {
24334
- line: 434,
24356
+ line: 441,
24335
24357
  column: 1
24336
24358
  }
24337
24359
  },
24338
- "45": {
24360
+ "46": {
24339
24361
  start: {
24340
- line: 436,
24362
+ line: 443,
24341
24363
  column: 32
24342
24364
  },
24343
24365
  end: {
24344
- line: 441,
24366
+ line: 448,
24345
24367
  column: 1
24346
24368
  }
24369
+ },
24370
+ "47": {
24371
+ start: {
24372
+ line: 451,
24373
+ column: 60
24374
+ },
24375
+ end: {
24376
+ line: 469,
24377
+ column: 1
24378
+ }
24379
+ },
24380
+ "48": {
24381
+ start: {
24382
+ line: 471,
24383
+ column: 48
24384
+ },
24385
+ end: {
24386
+ line: 496,
24387
+ column: 2
24388
+ }
24389
+ },
24390
+ "49": {
24391
+ start: {
24392
+ line: 498,
24393
+ column: 42
24394
+ },
24395
+ end: {
24396
+ line: 522,
24397
+ column: 2
24398
+ }
24347
24399
  }
24348
24400
  },
24349
24401
  fnMap: {
@@ -24351,1329 +24403,1329 @@
24351
24403
  name: "(anonymous_0)",
24352
24404
  decl: {
24353
24405
  start: {
24354
- line: 56,
24406
+ line: 63,
24355
24407
  column: 16
24356
24408
  },
24357
24409
  end: {
24358
- line: 56,
24410
+ line: 63,
24359
24411
  column: 17
24360
24412
  }
24361
24413
  },
24362
24414
  loc: {
24363
24415
  start: {
24364
- line: 57,
24416
+ line: 64,
24365
24417
  column: 12
24366
24418
  },
24367
24419
  end: {
24368
- line: 58,
24420
+ line: 65,
24369
24421
  column: 55
24370
24422
  }
24371
24423
  },
24372
- line: 57
24424
+ line: 64
24373
24425
  },
24374
24426
  "1": {
24375
24427
  name: "(anonymous_1)",
24376
24428
  decl: {
24377
24429
  start: {
24378
- line: 62,
24430
+ line: 69,
24379
24431
  column: 17
24380
24432
  },
24381
24433
  end: {
24382
- line: 62,
24434
+ line: 69,
24383
24435
  column: 18
24384
24436
  }
24385
24437
  },
24386
24438
  loc: {
24387
24439
  start: {
24388
- line: 63,
24440
+ line: 70,
24389
24441
  column: 8
24390
24442
  },
24391
24443
  end: {
24392
- line: 63,
24444
+ line: 70,
24393
24445
  column: 79
24394
24446
  }
24395
24447
  },
24396
- line: 63
24448
+ line: 70
24397
24449
  },
24398
24450
  "2": {
24399
24451
  name: "(anonymous_2)",
24400
24452
  decl: {
24401
24453
  start: {
24402
- line: 80,
24454
+ line: 87,
24403
24455
  column: 13
24404
24456
  },
24405
24457
  end: {
24406
- line: 80,
24458
+ line: 87,
24407
24459
  column: 14
24408
24460
  }
24409
24461
  },
24410
24462
  loc: {
24411
24463
  start: {
24412
- line: 81,
24464
+ line: 88,
24413
24465
  column: 4
24414
24466
  },
24415
24467
  end: {
24416
- line: 81,
24468
+ line: 88,
24417
24469
  column: 75
24418
24470
  }
24419
24471
  },
24420
- line: 81
24472
+ line: 88
24421
24473
  },
24422
24474
  "3": {
24423
24475
  name: "(anonymous_3)",
24424
24476
  decl: {
24425
24477
  start: {
24426
- line: 103,
24478
+ line: 110,
24427
24479
  column: 10
24428
24480
  },
24429
24481
  end: {
24430
- line: 103,
24482
+ line: 110,
24431
24483
  column: 11
24432
24484
  }
24433
24485
  },
24434
24486
  loc: {
24435
24487
  start: {
24436
- line: 103,
24488
+ line: 110,
24437
24489
  column: 18
24438
24490
  },
24439
24491
  end: {
24440
- line: 103,
24492
+ line: 110,
24441
24493
  column: 31
24442
24494
  }
24443
24495
  },
24444
- line: 103
24496
+ line: 110
24445
24497
  },
24446
24498
  "4": {
24447
24499
  name: "(anonymous_4)",
24448
24500
  decl: {
24449
24501
  start: {
24450
- line: 109,
24502
+ line: 116,
24451
24503
  column: 14
24452
24504
  },
24453
24505
  end: {
24454
- line: 109,
24506
+ line: 116,
24455
24507
  column: 15
24456
24508
  }
24457
24509
  },
24458
24510
  loc: {
24459
24511
  start: {
24460
- line: 110,
24512
+ line: 117,
24461
24513
  column: 4
24462
24514
  },
24463
24515
  end: {
24464
- line: 125,
24516
+ line: 132,
24465
24517
  column: 71
24466
24518
  }
24467
24519
  },
24468
- line: 110
24520
+ line: 117
24469
24521
  },
24470
24522
  "5": {
24471
24523
  name: "(anonymous_5)",
24472
24524
  decl: {
24473
24525
  start: {
24474
- line: 134,
24526
+ line: 141,
24475
24527
  column: 13
24476
24528
  },
24477
24529
  end: {
24478
- line: 134,
24530
+ line: 141,
24479
24531
  column: 14
24480
24532
  }
24481
24533
  },
24482
24534
  loc: {
24483
24535
  start: {
24484
- line: 135,
24536
+ line: 142,
24485
24537
  column: 4
24486
24538
  },
24487
24539
  end: {
24488
- line: 146,
24540
+ line: 153,
24489
24541
  column: 5
24490
24542
  }
24491
24543
  },
24492
- line: 135
24544
+ line: 142
24493
24545
  },
24494
24546
  "6": {
24495
24547
  name: "(anonymous_6)",
24496
24548
  decl: {
24497
24549
  start: {
24498
- line: 140,
24550
+ line: 147,
24499
24551
  column: 22
24500
24552
  },
24501
24553
  end: {
24502
- line: 140,
24554
+ line: 147,
24503
24555
  column: 23
24504
24556
  }
24505
24557
  },
24506
24558
  loc: {
24507
24559
  start: {
24508
- line: 141,
24560
+ line: 148,
24509
24561
  column: 12
24510
24562
  },
24511
24563
  end: {
24512
- line: 141,
24564
+ line: 148,
24513
24565
  column: 64
24514
24566
  }
24515
24567
  },
24516
- line: 141
24568
+ line: 148
24517
24569
  },
24518
24570
  "7": {
24519
24571
  name: "(anonymous_7)",
24520
24572
  decl: {
24521
24573
  start: {
24522
- line: 155,
24574
+ line: 162,
24523
24575
  column: 11
24524
24576
  },
24525
24577
  end: {
24526
- line: 155,
24578
+ line: 162,
24527
24579
  column: 12
24528
24580
  }
24529
24581
  },
24530
24582
  loc: {
24531
24583
  start: {
24532
- line: 156,
24584
+ line: 163,
24533
24585
  column: 6
24534
24586
  },
24535
24587
  end: {
24536
- line: 157,
24588
+ line: 164,
24537
24589
  column: 48
24538
24590
  }
24539
24591
  },
24540
- line: 156
24592
+ line: 163
24541
24593
  },
24542
24594
  "8": {
24543
24595
  name: "(anonymous_8)",
24544
24596
  decl: {
24545
24597
  start: {
24546
- line: 163,
24598
+ line: 170,
24547
24599
  column: 12
24548
24600
  },
24549
24601
  end: {
24550
- line: 163,
24602
+ line: 170,
24551
24603
  column: 13
24552
24604
  }
24553
24605
  },
24554
24606
  loc: {
24555
24607
  start: {
24556
- line: 164,
24608
+ line: 171,
24557
24609
  column: 6
24558
24610
  },
24559
24611
  end: {
24560
- line: 164,
24612
+ line: 171,
24561
24613
  column: 64
24562
24614
  }
24563
24615
  },
24564
- line: 164
24616
+ line: 171
24565
24617
  },
24566
24618
  "9": {
24567
24619
  name: "(anonymous_9)",
24568
24620
  decl: {
24569
24621
  start: {
24570
- line: 175,
24622
+ line: 182,
24571
24623
  column: 19
24572
24624
  },
24573
24625
  end: {
24574
- line: 175,
24626
+ line: 182,
24575
24627
  column: 20
24576
24628
  }
24577
24629
  },
24578
24630
  loc: {
24579
24631
  start: {
24580
- line: 176,
24632
+ line: 183,
24581
24633
  column: 10
24582
24634
  },
24583
24635
  end: {
24584
- line: 185,
24636
+ line: 192,
24585
24637
  column: 11
24586
24638
  }
24587
24639
  },
24588
- line: 176
24640
+ line: 183
24589
24641
  },
24590
24642
  "10": {
24591
24643
  name: "(anonymous_10)",
24592
24644
  decl: {
24593
24645
  start: {
24594
- line: 181,
24646
+ line: 188,
24595
24647
  column: 22
24596
24648
  },
24597
24649
  end: {
24598
- line: 181,
24650
+ line: 188,
24599
24651
  column: 23
24600
24652
  }
24601
24653
  },
24602
24654
  loc: {
24603
24655
  start: {
24604
- line: 181,
24656
+ line: 188,
24605
24657
  column: 30
24606
24658
  },
24607
24659
  end: {
24608
- line: 181,
24660
+ line: 188,
24609
24661
  column: 59
24610
24662
  }
24611
24663
  },
24612
- line: 181
24664
+ line: 188
24613
24665
  },
24614
24666
  "11": {
24615
24667
  name: "(anonymous_11)",
24616
24668
  decl: {
24617
24669
  start: {
24618
- line: 198,
24670
+ line: 205,
24619
24671
  column: 14
24620
24672
  },
24621
24673
  end: {
24622
- line: 198,
24674
+ line: 205,
24623
24675
  column: 15
24624
24676
  }
24625
24677
  },
24626
24678
  loc: {
24627
24679
  start: {
24628
- line: 198,
24680
+ line: 205,
24629
24681
  column: 21
24630
24682
  },
24631
24683
  end: {
24632
- line: 198,
24684
+ line: 205,
24633
24685
  column: 49
24634
24686
  }
24635
24687
  },
24636
- line: 198
24688
+ line: 205
24637
24689
  },
24638
24690
  "12": {
24639
24691
  name: "(anonymous_12)",
24640
24692
  decl: {
24641
24693
  start: {
24642
- line: 227,
24694
+ line: 234,
24643
24695
  column: 12
24644
24696
  },
24645
24697
  end: {
24646
- line: 227,
24698
+ line: 234,
24647
24699
  column: 13
24648
24700
  }
24649
24701
  },
24650
24702
  loc: {
24651
24703
  start: {
24652
- line: 228,
24704
+ line: 235,
24653
24705
  column: 6
24654
24706
  },
24655
24707
  end: {
24656
- line: 228,
24708
+ line: 235,
24657
24709
  column: 64
24658
24710
  }
24659
24711
  },
24660
- line: 228
24712
+ line: 235
24661
24713
  },
24662
24714
  "13": {
24663
24715
  name: "(anonymous_13)",
24664
24716
  decl: {
24665
24717
  start: {
24666
- line: 239,
24718
+ line: 246,
24667
24719
  column: 19
24668
24720
  },
24669
24721
  end: {
24670
- line: 239,
24722
+ line: 246,
24671
24723
  column: 20
24672
24724
  }
24673
24725
  },
24674
24726
  loc: {
24675
24727
  start: {
24676
- line: 240,
24728
+ line: 247,
24677
24729
  column: 10
24678
24730
  },
24679
24731
  end: {
24680
- line: 242,
24732
+ line: 249,
24681
24733
  column: 46
24682
24734
  }
24683
24735
  },
24684
- line: 240
24736
+ line: 247
24685
24737
  },
24686
24738
  "14": {
24687
24739
  name: "(anonymous_14)",
24688
24740
  decl: {
24689
24741
  start: {
24690
- line: 262,
24742
+ line: 269,
24691
24743
  column: 14
24692
24744
  },
24693
24745
  end: {
24694
- line: 262,
24746
+ line: 269,
24695
24747
  column: 15
24696
24748
  }
24697
24749
  },
24698
24750
  loc: {
24699
24751
  start: {
24700
- line: 263,
24752
+ line: 270,
24701
24753
  column: 8
24702
24754
  },
24703
24755
  end: {
24704
- line: 263,
24756
+ line: 270,
24705
24757
  column: 66
24706
24758
  }
24707
24759
  },
24708
- line: 263
24760
+ line: 270
24709
24761
  },
24710
24762
  "15": {
24711
24763
  name: "(anonymous_15)",
24712
24764
  decl: {
24713
24765
  start: {
24714
- line: 266,
24766
+ line: 273,
24715
24767
  column: 14
24716
24768
  },
24717
24769
  end: {
24718
- line: 266,
24770
+ line: 273,
24719
24771
  column: 15
24720
24772
  }
24721
24773
  },
24722
24774
  loc: {
24723
24775
  start: {
24724
- line: 267,
24776
+ line: 274,
24725
24777
  column: 10
24726
24778
  },
24727
24779
  end: {
24728
- line: 270,
24780
+ line: 277,
24729
24781
  column: 12
24730
24782
  }
24731
24783
  },
24732
- line: 267
24784
+ line: 274
24733
24785
  },
24734
24786
  "16": {
24735
24787
  name: "(anonymous_16)",
24736
24788
  decl: {
24737
24789
  start: {
24738
- line: 271,
24790
+ line: 278,
24739
24791
  column: 20
24740
24792
  },
24741
24793
  end: {
24742
- line: 271,
24794
+ line: 278,
24743
24795
  column: 21
24744
24796
  }
24745
24797
  },
24746
24798
  loc: {
24747
24799
  start: {
24748
- line: 272,
24800
+ line: 279,
24749
24801
  column: 10
24750
24802
  },
24751
24803
  end: {
24752
- line: 282,
24804
+ line: 289,
24753
24805
  column: 11
24754
24806
  }
24755
24807
  },
24756
- line: 272
24808
+ line: 279
24757
24809
  },
24758
24810
  "17": {
24759
24811
  name: "(anonymous_17)",
24760
24812
  decl: {
24761
24813
  start: {
24762
- line: 276,
24814
+ line: 283,
24763
24815
  column: 22
24764
24816
  },
24765
24817
  end: {
24766
- line: 276,
24818
+ line: 283,
24767
24819
  column: 23
24768
24820
  }
24769
24821
  },
24770
24822
  loc: {
24771
24823
  start: {
24772
- line: 276,
24824
+ line: 283,
24773
24825
  column: 30
24774
24826
  },
24775
24827
  end: {
24776
- line: 276,
24828
+ line: 283,
24777
24829
  column: 64
24778
24830
  }
24779
24831
  },
24780
- line: 276
24832
+ line: 283
24781
24833
  },
24782
24834
  "18": {
24783
24835
  name: "(anonymous_18)",
24784
24836
  decl: {
24785
24837
  start: {
24786
- line: 285,
24838
+ line: 292,
24787
24839
  column: 16
24788
24840
  },
24789
24841
  end: {
24790
- line: 285,
24842
+ line: 292,
24791
24843
  column: 17
24792
24844
  }
24793
24845
  },
24794
24846
  loc: {
24795
24847
  start: {
24796
- line: 285,
24848
+ line: 292,
24797
24849
  column: 32
24798
24850
  },
24799
24851
  end: {
24800
- line: 285,
24852
+ line: 292,
24801
24853
  column: 66
24802
24854
  }
24803
24855
  },
24804
- line: 285
24856
+ line: 292
24805
24857
  },
24806
24858
  "19": {
24807
24859
  name: "(anonymous_19)",
24808
24860
  decl: {
24809
24861
  start: {
24810
- line: 296,
24862
+ line: 303,
24811
24863
  column: 10
24812
24864
  },
24813
24865
  end: {
24814
- line: 296,
24866
+ line: 303,
24815
24867
  column: 11
24816
24868
  }
24817
24869
  },
24818
24870
  loc: {
24819
24871
  start: {
24820
- line: 297,
24872
+ line: 304,
24821
24873
  column: 6
24822
24874
  },
24823
24875
  end: {
24824
- line: 300,
24876
+ line: 307,
24825
24877
  column: 8
24826
24878
  }
24827
24879
  },
24828
- line: 297
24880
+ line: 304
24829
24881
  },
24830
24882
  "20": {
24831
24883
  name: "(anonymous_20)",
24832
24884
  decl: {
24833
24885
  start: {
24834
- line: 303,
24886
+ line: 310,
24835
24887
  column: 12
24836
24888
  },
24837
24889
  end: {
24838
- line: 303,
24890
+ line: 310,
24839
24891
  column: 13
24840
24892
  }
24841
24893
  },
24842
24894
  loc: {
24843
24895
  start: {
24844
- line: 303,
24896
+ line: 310,
24845
24897
  column: 28
24846
24898
  },
24847
24899
  end: {
24848
- line: 303,
24900
+ line: 310,
24849
24901
  column: 62
24850
24902
  }
24851
24903
  },
24852
- line: 303
24904
+ line: 310
24853
24905
  },
24854
24906
  "21": {
24855
24907
  name: "(anonymous_21)",
24856
24908
  decl: {
24857
24909
  start: {
24858
- line: 305,
24910
+ line: 312,
24859
24911
  column: 15
24860
24912
  },
24861
24913
  end: {
24862
- line: 305,
24914
+ line: 312,
24863
24915
  column: 16
24864
24916
  }
24865
24917
  },
24866
24918
  loc: {
24867
24919
  start: {
24868
- line: 306,
24920
+ line: 313,
24869
24921
  column: 6
24870
24922
  },
24871
24923
  end: {
24872
- line: 314,
24924
+ line: 321,
24873
24925
  column: 7
24874
24926
  }
24875
24927
  },
24876
- line: 306
24928
+ line: 313
24877
24929
  },
24878
24930
  "22": {
24879
24931
  name: "(anonymous_22)",
24880
24932
  decl: {
24881
24933
  start: {
24882
- line: 310,
24934
+ line: 317,
24883
24935
  column: 18
24884
24936
  },
24885
24937
  end: {
24886
- line: 310,
24938
+ line: 317,
24887
24939
  column: 19
24888
24940
  }
24889
24941
  },
24890
24942
  loc: {
24891
24943
  start: {
24892
- line: 310,
24944
+ line: 317,
24893
24945
  column: 26
24894
24946
  },
24895
24947
  end: {
24896
- line: 310,
24948
+ line: 317,
24897
24949
  column: 60
24898
24950
  }
24899
24951
  },
24900
- line: 310
24952
+ line: 317
24901
24953
  },
24902
24954
  "23": {
24903
24955
  name: "(anonymous_23)",
24904
24956
  decl: {
24905
24957
  start: {
24906
- line: 328,
24958
+ line: 335,
24907
24959
  column: 14
24908
24960
  },
24909
24961
  end: {
24910
- line: 328,
24962
+ line: 335,
24911
24963
  column: 15
24912
24964
  }
24913
24965
  },
24914
24966
  loc: {
24915
24967
  start: {
24916
- line: 329,
24968
+ line: 336,
24917
24969
  column: 8
24918
24970
  },
24919
24971
  end: {
24920
- line: 329,
24972
+ line: 336,
24921
24973
  column: 66
24922
24974
  }
24923
24975
  },
24924
- line: 329
24976
+ line: 336
24925
24977
  },
24926
24978
  "24": {
24927
24979
  name: "(anonymous_24)",
24928
24980
  decl: {
24929
24981
  start: {
24930
- line: 332,
24982
+ line: 339,
24931
24983
  column: 20
24932
24984
  },
24933
24985
  end: {
24934
- line: 332,
24986
+ line: 339,
24935
24987
  column: 21
24936
24988
  }
24937
24989
  },
24938
24990
  loc: {
24939
24991
  start: {
24940
- line: 333,
24992
+ line: 340,
24941
24993
  column: 10
24942
24994
  },
24943
24995
  end: {
24944
- line: 363,
24996
+ line: 370,
24945
24997
  column: 11
24946
24998
  }
24947
24999
  },
24948
- line: 333
25000
+ line: 340
24949
25001
  },
24950
25002
  "25": {
24951
25003
  name: "(anonymous_25)",
24952
25004
  decl: {
24953
25005
  start: {
24954
- line: 382,
25006
+ line: 389,
24955
25007
  column: 17
24956
25008
  },
24957
25009
  end: {
24958
- line: 382,
25010
+ line: 389,
24959
25011
  column: 18
24960
25012
  }
24961
25013
  },
24962
25014
  loc: {
24963
25015
  start: {
24964
- line: 382,
25016
+ line: 389,
24965
25017
  column: 25
24966
25018
  },
24967
25019
  end: {
24968
- line: 382,
25020
+ line: 389,
24969
25021
  column: 42
24970
25022
  }
24971
25023
  },
24972
- line: 382
25024
+ line: 389
24973
25025
  },
24974
25026
  "26": {
24975
25027
  name: "(anonymous_26)",
24976
25028
  decl: {
24977
25029
  start: {
24978
- line: 389,
25030
+ line: 396,
24979
25031
  column: 12
24980
25032
  },
24981
25033
  end: {
24982
- line: 389,
25034
+ line: 396,
24983
25035
  column: 13
24984
25036
  }
24985
25037
  },
24986
25038
  loc: {
24987
25039
  start: {
24988
- line: 389,
25040
+ line: 396,
24989
25041
  column: 17
24990
25042
  },
24991
25043
  end: {
24992
- line: 389,
25044
+ line: 396,
24993
25045
  column: 75
24994
25046
  }
24995
25047
  },
24996
- line: 389
25048
+ line: 396
24997
25049
  },
24998
25050
  "27": {
24999
25051
  name: "(anonymous_27)",
25000
25052
  decl: {
25001
25053
  start: {
25002
- line: 409,
25054
+ line: 416,
25003
25055
  column: 12
25004
25056
  },
25005
25057
  end: {
25006
- line: 409,
25058
+ line: 416,
25007
25059
  column: 13
25008
25060
  }
25009
25061
  },
25010
25062
  loc: {
25011
25063
  start: {
25012
- line: 409,
25064
+ line: 416,
25013
25065
  column: 17
25014
25066
  },
25015
25067
  end: {
25016
- line: 409,
25068
+ line: 416,
25017
25069
  column: 75
25018
25070
  }
25019
25071
  },
25020
- line: 409
25072
+ line: 416
25021
25073
  }
25022
25074
  },
25023
25075
  branchMap: {
25024
25076
  "0": {
25025
25077
  loc: {
25026
25078
  start: {
25027
- line: 57,
25079
+ line: 64,
25028
25080
  column: 12
25029
25081
  },
25030
25082
  end: {
25031
- line: 58,
25083
+ line: 65,
25032
25084
  column: 55
25033
25085
  }
25034
25086
  },
25035
25087
  type: "binary-expr",
25036
25088
  locations: [{
25037
25089
  start: {
25038
- line: 57,
25090
+ line: 64,
25039
25091
  column: 12
25040
25092
  },
25041
25093
  end: {
25042
- line: 57,
25094
+ line: 64,
25043
25095
  column: 52
25044
25096
  }
25045
25097
  }, {
25046
25098
  start: {
25047
- line: 58,
25099
+ line: 65,
25048
25100
  column: 12
25049
25101
  },
25050
25102
  end: {
25051
- line: 58,
25103
+ line: 65,
25052
25104
  column: 55
25053
25105
  }
25054
25106
  }],
25055
- line: 57
25107
+ line: 64
25056
25108
  },
25057
25109
  "1": {
25058
25110
  loc: {
25059
25111
  start: {
25060
- line: 63,
25112
+ line: 70,
25061
25113
  column: 8
25062
25114
  },
25063
25115
  end: {
25064
- line: 63,
25116
+ line: 70,
25065
25117
  column: 79
25066
25118
  }
25067
25119
  },
25068
25120
  type: "binary-expr",
25069
25121
  locations: [{
25070
25122
  start: {
25071
- line: 63,
25123
+ line: 70,
25072
25124
  column: 8
25073
25125
  },
25074
25126
  end: {
25075
- line: 63,
25127
+ line: 70,
25076
25128
  column: 25
25077
25129
  }
25078
25130
  }, {
25079
25131
  start: {
25080
- line: 63,
25132
+ line: 70,
25081
25133
  column: 29
25082
25134
  },
25083
25135
  end: {
25084
- line: 63,
25136
+ line: 70,
25085
25137
  column: 79
25086
25138
  }
25087
25139
  }],
25088
- line: 63
25140
+ line: 70
25089
25141
  },
25090
25142
  "2": {
25091
25143
  loc: {
25092
25144
  start: {
25093
- line: 81,
25145
+ line: 88,
25094
25146
  column: 4
25095
25147
  },
25096
25148
  end: {
25097
- line: 81,
25149
+ line: 88,
25098
25150
  column: 75
25099
25151
  }
25100
25152
  },
25101
25153
  type: "binary-expr",
25102
25154
  locations: [{
25103
25155
  start: {
25104
- line: 81,
25156
+ line: 88,
25105
25157
  column: 4
25106
25158
  },
25107
25159
  end: {
25108
- line: 81,
25160
+ line: 88,
25109
25161
  column: 21
25110
25162
  }
25111
25163
  }, {
25112
25164
  start: {
25113
- line: 81,
25165
+ line: 88,
25114
25166
  column: 25
25115
25167
  },
25116
25168
  end: {
25117
- line: 81,
25169
+ line: 88,
25118
25170
  column: 75
25119
25171
  }
25120
25172
  }],
25121
- line: 81
25173
+ line: 88
25122
25174
  },
25123
25175
  "3": {
25124
25176
  loc: {
25125
25177
  start: {
25126
- line: 110,
25178
+ line: 117,
25127
25179
  column: 4
25128
25180
  },
25129
25181
  end: {
25130
- line: 125,
25182
+ line: 132,
25131
25183
  column: 71
25132
25184
  }
25133
25185
  },
25134
25186
  type: "binary-expr",
25135
25187
  locations: [{
25136
25188
  start: {
25137
- line: 110,
25189
+ line: 117,
25138
25190
  column: 4
25139
25191
  },
25140
25192
  end: {
25141
- line: 110,
25193
+ line: 117,
25142
25194
  column: 22
25143
25195
  }
25144
25196
  }, {
25145
25197
  start: {
25146
- line: 111,
25198
+ line: 118,
25147
25199
  column: 4
25148
25200
  },
25149
25201
  end: {
25150
- line: 124,
25202
+ line: 131,
25151
25203
  column: 5
25152
25204
  }
25153
25205
  }, {
25154
25206
  start: {
25155
- line: 125,
25207
+ line: 132,
25156
25208
  column: 4
25157
25209
  },
25158
25210
  end: {
25159
- line: 125,
25211
+ line: 132,
25160
25212
  column: 71
25161
25213
  }
25162
25214
  }],
25163
- line: 110
25215
+ line: 117
25164
25216
  },
25165
25217
  "4": {
25166
25218
  loc: {
25167
25219
  start: {
25168
- line: 135,
25220
+ line: 142,
25169
25221
  column: 4
25170
25222
  },
25171
25223
  end: {
25172
- line: 146,
25224
+ line: 153,
25173
25225
  column: 5
25174
25226
  }
25175
25227
  },
25176
25228
  type: "binary-expr",
25177
25229
  locations: [{
25178
25230
  start: {
25179
- line: 135,
25231
+ line: 142,
25180
25232
  column: 4
25181
25233
  },
25182
25234
  end: {
25183
- line: 135,
25235
+ line: 142,
25184
25236
  column: 21
25185
25237
  }
25186
25238
  }, {
25187
25239
  start: {
25188
- line: 136,
25240
+ line: 143,
25189
25241
  column: 4
25190
25242
  },
25191
25243
  end: {
25192
- line: 146,
25244
+ line: 153,
25193
25245
  column: 5
25194
25246
  }
25195
25247
  }],
25196
- line: 135
25248
+ line: 142
25197
25249
  },
25198
25250
  "5": {
25199
25251
  loc: {
25200
25252
  start: {
25201
- line: 141,
25253
+ line: 148,
25202
25254
  column: 12
25203
25255
  },
25204
25256
  end: {
25205
- line: 141,
25257
+ line: 148,
25206
25258
  column: 64
25207
25259
  }
25208
25260
  },
25209
25261
  type: "binary-expr",
25210
25262
  locations: [{
25211
25263
  start: {
25212
- line: 141,
25264
+ line: 148,
25213
25265
  column: 12
25214
25266
  },
25215
25267
  end: {
25216
- line: 141,
25268
+ line: 148,
25217
25269
  column: 30
25218
25270
  }
25219
25271
  }, {
25220
25272
  start: {
25221
- line: 141,
25273
+ line: 148,
25222
25274
  column: 34
25223
25275
  },
25224
25276
  end: {
25225
- line: 141,
25277
+ line: 148,
25226
25278
  column: 64
25227
25279
  }
25228
25280
  }],
25229
- line: 141
25281
+ line: 148
25230
25282
  },
25231
25283
  "6": {
25232
25284
  loc: {
25233
25285
  start: {
25234
- line: 156,
25286
+ line: 163,
25235
25287
  column: 6
25236
25288
  },
25237
25289
  end: {
25238
- line: 157,
25290
+ line: 164,
25239
25291
  column: 48
25240
25292
  }
25241
25293
  },
25242
25294
  type: "binary-expr",
25243
25295
  locations: [{
25244
25296
  start: {
25245
- line: 156,
25297
+ line: 163,
25246
25298
  column: 6
25247
25299
  },
25248
25300
  end: {
25249
- line: 156,
25301
+ line: 163,
25250
25302
  column: 48
25251
25303
  }
25252
25304
  }, {
25253
25305
  start: {
25254
- line: 157,
25306
+ line: 164,
25255
25307
  column: 6
25256
25308
  },
25257
25309
  end: {
25258
- line: 157,
25310
+ line: 164,
25259
25311
  column: 48
25260
25312
  }
25261
25313
  }],
25262
- line: 156
25314
+ line: 163
25263
25315
  },
25264
25316
  "7": {
25265
25317
  loc: {
25266
25318
  start: {
25267
- line: 164,
25319
+ line: 171,
25268
25320
  column: 6
25269
25321
  },
25270
25322
  end: {
25271
- line: 164,
25323
+ line: 171,
25272
25324
  column: 64
25273
25325
  }
25274
25326
  },
25275
25327
  type: "binary-expr",
25276
25328
  locations: [{
25277
25329
  start: {
25278
- line: 164,
25330
+ line: 171,
25279
25331
  column: 6
25280
25332
  },
25281
25333
  end: {
25282
- line: 164,
25334
+ line: 171,
25283
25335
  column: 25
25284
25336
  }
25285
25337
  }, {
25286
25338
  start: {
25287
- line: 164,
25339
+ line: 171,
25288
25340
  column: 29
25289
25341
  },
25290
25342
  end: {
25291
- line: 164,
25343
+ line: 171,
25292
25344
  column: 64
25293
25345
  }
25294
25346
  }],
25295
- line: 164
25347
+ line: 171
25296
25348
  },
25297
25349
  "8": {
25298
25350
  loc: {
25299
25351
  start: {
25300
- line: 176,
25352
+ line: 183,
25301
25353
  column: 10
25302
25354
  },
25303
25355
  end: {
25304
- line: 185,
25356
+ line: 192,
25305
25357
  column: 11
25306
25358
  }
25307
25359
  },
25308
25360
  type: "binary-expr",
25309
25361
  locations: [{
25310
25362
  start: {
25311
- line: 176,
25363
+ line: 183,
25312
25364
  column: 10
25313
25365
  },
25314
25366
  end: {
25315
- line: 176,
25367
+ line: 183,
25316
25368
  column: 27
25317
25369
  }
25318
25370
  }, {
25319
25371
  start: {
25320
- line: 177,
25372
+ line: 184,
25321
25373
  column: 10
25322
25374
  },
25323
25375
  end: {
25324
- line: 185,
25376
+ line: 192,
25325
25377
  column: 11
25326
25378
  }
25327
25379
  }],
25328
- line: 176
25380
+ line: 183
25329
25381
  },
25330
25382
  "9": {
25331
25383
  loc: {
25332
25384
  start: {
25333
- line: 198,
25385
+ line: 205,
25334
25386
  column: 21
25335
25387
  },
25336
25388
  end: {
25337
- line: 198,
25389
+ line: 205,
25338
25390
  column: 49
25339
25391
  }
25340
25392
  },
25341
25393
  type: "binary-expr",
25342
25394
  locations: [{
25343
25395
  start: {
25344
- line: 198,
25396
+ line: 205,
25345
25397
  column: 21
25346
25398
  },
25347
25399
  end: {
25348
- line: 198,
25400
+ line: 205,
25349
25401
  column: 34
25350
25402
  }
25351
25403
  }, {
25352
25404
  start: {
25353
- line: 198,
25405
+ line: 205,
25354
25406
  column: 38
25355
25407
  },
25356
25408
  end: {
25357
- line: 198,
25409
+ line: 205,
25358
25410
  column: 49
25359
25411
  }
25360
25412
  }],
25361
- line: 198
25413
+ line: 205
25362
25414
  },
25363
25415
  "10": {
25364
25416
  loc: {
25365
25417
  start: {
25366
- line: 228,
25418
+ line: 235,
25367
25419
  column: 6
25368
25420
  },
25369
25421
  end: {
25370
- line: 228,
25422
+ line: 235,
25371
25423
  column: 64
25372
25424
  }
25373
25425
  },
25374
25426
  type: "binary-expr",
25375
25427
  locations: [{
25376
25428
  start: {
25377
- line: 228,
25429
+ line: 235,
25378
25430
  column: 6
25379
25431
  },
25380
25432
  end: {
25381
- line: 228,
25433
+ line: 235,
25382
25434
  column: 25
25383
25435
  }
25384
25436
  }, {
25385
25437
  start: {
25386
- line: 228,
25438
+ line: 235,
25387
25439
  column: 29
25388
25440
  },
25389
25441
  end: {
25390
- line: 228,
25442
+ line: 235,
25391
25443
  column: 64
25392
25444
  }
25393
25445
  }],
25394
- line: 228
25446
+ line: 235
25395
25447
  },
25396
25448
  "11": {
25397
25449
  loc: {
25398
25450
  start: {
25399
- line: 240,
25451
+ line: 247,
25400
25452
  column: 10
25401
25453
  },
25402
25454
  end: {
25403
- line: 242,
25455
+ line: 249,
25404
25456
  column: 46
25405
25457
  }
25406
25458
  },
25407
25459
  type: "binary-expr",
25408
25460
  locations: [{
25409
25461
  start: {
25410
- line: 240,
25462
+ line: 247,
25411
25463
  column: 10
25412
25464
  },
25413
25465
  end: {
25414
- line: 240,
25466
+ line: 247,
25415
25467
  column: 27
25416
25468
  }
25417
25469
  }, {
25418
25470
  start: {
25419
- line: 241,
25471
+ line: 248,
25420
25472
  column: 10
25421
25473
  },
25422
25474
  end: {
25423
- line: 241,
25475
+ line: 248,
25424
25476
  column: 43
25425
25477
  }
25426
25478
  }, {
25427
25479
  start: {
25428
- line: 242,
25480
+ line: 249,
25429
25481
  column: 10
25430
25482
  },
25431
25483
  end: {
25432
- line: 242,
25484
+ line: 249,
25433
25485
  column: 46
25434
25486
  }
25435
25487
  }],
25436
- line: 240
25488
+ line: 247
25437
25489
  },
25438
25490
  "12": {
25439
25491
  loc: {
25440
25492
  start: {
25441
- line: 263,
25493
+ line: 270,
25442
25494
  column: 8
25443
25495
  },
25444
25496
  end: {
25445
- line: 263,
25497
+ line: 270,
25446
25498
  column: 66
25447
25499
  }
25448
25500
  },
25449
25501
  type: "binary-expr",
25450
25502
  locations: [{
25451
25503
  start: {
25452
- line: 263,
25504
+ line: 270,
25453
25505
  column: 8
25454
25506
  },
25455
25507
  end: {
25456
- line: 263,
25508
+ line: 270,
25457
25509
  column: 27
25458
25510
  }
25459
25511
  }, {
25460
25512
  start: {
25461
- line: 263,
25513
+ line: 270,
25462
25514
  column: 31
25463
25515
  },
25464
25516
  end: {
25465
- line: 263,
25517
+ line: 270,
25466
25518
  column: 66
25467
25519
  }
25468
25520
  }],
25469
- line: 263
25521
+ line: 270
25470
25522
  },
25471
25523
  "13": {
25472
25524
  loc: {
25473
25525
  start: {
25474
- line: 278,
25526
+ line: 285,
25475
25527
  column: 14
25476
25528
  },
25477
25529
  end: {
25478
- line: 280,
25530
+ line: 287,
25479
25531
  column: 25
25480
25532
  }
25481
25533
  },
25482
25534
  type: "cond-expr",
25483
25535
  locations: [{
25484
25536
  start: {
25485
- line: 279,
25537
+ line: 286,
25486
25538
  column: 18
25487
25539
  },
25488
25540
  end: {
25489
- line: 279,
25541
+ line: 286,
25490
25542
  column: 34
25491
25543
  }
25492
25544
  }, {
25493
25545
  start: {
25494
- line: 280,
25546
+ line: 287,
25495
25547
  column: 18
25496
25548
  },
25497
25549
  end: {
25498
- line: 280,
25550
+ line: 287,
25499
25551
  column: 25
25500
25552
  }
25501
25553
  }],
25502
- line: 278
25554
+ line: 285
25503
25555
  },
25504
25556
  "14": {
25505
25557
  loc: {
25506
25558
  start: {
25507
- line: 312,
25559
+ line: 319,
25508
25560
  column: 10
25509
25561
  },
25510
25562
  end: {
25511
- line: 312,
25563
+ line: 319,
25512
25564
  column: 71
25513
25565
  }
25514
25566
  },
25515
25567
  type: "cond-expr",
25516
25568
  locations: [{
25517
25569
  start: {
25518
- line: 312,
25570
+ line: 319,
25519
25571
  column: 49
25520
25572
  },
25521
25573
  end: {
25522
- line: 312,
25574
+ line: 319,
25523
25575
  column: 63
25524
25576
  }
25525
25577
  }, {
25526
25578
  start: {
25527
- line: 312,
25579
+ line: 319,
25528
25580
  column: 66
25529
25581
  },
25530
25582
  end: {
25531
- line: 312,
25583
+ line: 319,
25532
25584
  column: 71
25533
25585
  }
25534
25586
  }],
25535
- line: 312
25587
+ line: 319
25536
25588
  },
25537
25589
  "15": {
25538
25590
  loc: {
25539
25591
  start: {
25540
- line: 329,
25592
+ line: 336,
25541
25593
  column: 8
25542
25594
  },
25543
25595
  end: {
25544
- line: 329,
25596
+ line: 336,
25545
25597
  column: 66
25546
25598
  }
25547
25599
  },
25548
25600
  type: "binary-expr",
25549
25601
  locations: [{
25550
25602
  start: {
25551
- line: 329,
25603
+ line: 336,
25552
25604
  column: 8
25553
25605
  },
25554
25606
  end: {
25555
- line: 329,
25607
+ line: 336,
25556
25608
  column: 27
25557
25609
  }
25558
25610
  }, {
25559
25611
  start: {
25560
- line: 329,
25612
+ line: 336,
25561
25613
  column: 31
25562
25614
  },
25563
25615
  end: {
25564
- line: 329,
25616
+ line: 336,
25565
25617
  column: 66
25566
25618
  }
25567
25619
  }],
25568
- line: 329
25620
+ line: 336
25569
25621
  },
25570
25622
  "16": {
25571
25623
  loc: {
25572
25624
  start: {
25573
- line: 333,
25625
+ line: 340,
25574
25626
  column: 10
25575
25627
  },
25576
25628
  end: {
25577
- line: 363,
25629
+ line: 370,
25578
25630
  column: 11
25579
25631
  }
25580
25632
  },
25581
25633
  type: "binary-expr",
25582
25634
  locations: [{
25583
25635
  start: {
25584
- line: 333,
25636
+ line: 340,
25585
25637
  column: 10
25586
25638
  },
25587
25639
  end: {
25588
- line: 333,
25640
+ line: 340,
25589
25641
  column: 26
25590
25642
  }
25591
25643
  }, {
25592
25644
  start: {
25593
- line: 334,
25645
+ line: 341,
25594
25646
  column: 10
25595
25647
  },
25596
25648
  end: {
25597
- line: 343,
25649
+ line: 350,
25598
25650
  column: 11
25599
25651
  }
25600
25652
  }, {
25601
25653
  start: {
25602
- line: 344,
25654
+ line: 351,
25603
25655
  column: 10
25604
25656
  },
25605
25657
  end: {
25606
- line: 363,
25658
+ line: 370,
25607
25659
  column: 11
25608
25660
  }
25609
25661
  }],
25610
- line: 333
25662
+ line: 340
25611
25663
  },
25612
25664
  "17": {
25613
25665
  loc: {
25614
25666
  start: {
25615
- line: 389,
25667
+ line: 396,
25616
25668
  column: 17
25617
25669
  },
25618
25670
  end: {
25619
- line: 389,
25671
+ line: 396,
25620
25672
  column: 75
25621
25673
  }
25622
25674
  },
25623
25675
  type: "binary-expr",
25624
25676
  locations: [{
25625
25677
  start: {
25626
- line: 389,
25678
+ line: 396,
25627
25679
  column: 17
25628
25680
  },
25629
25681
  end: {
25630
- line: 389,
25682
+ line: 396,
25631
25683
  column: 31
25632
25684
  }
25633
25685
  }, {
25634
25686
  start: {
25635
- line: 389,
25687
+ line: 396,
25636
25688
  column: 35
25637
25689
  },
25638
25690
  end: {
25639
- line: 389,
25691
+ line: 396,
25640
25692
  column: 75
25641
25693
  }
25642
25694
  }],
25643
- line: 389
25695
+ line: 396
25644
25696
  },
25645
25697
  "18": {
25646
25698
  loc: {
25647
25699
  start: {
25648
- line: 409,
25700
+ line: 416,
25649
25701
  column: 17
25650
25702
  },
25651
25703
  end: {
25652
- line: 409,
25704
+ line: 416,
25653
25705
  column: 75
25654
25706
  }
25655
25707
  },
25656
25708
  type: "binary-expr",
25657
25709
  locations: [{
25658
25710
  start: {
25659
- line: 409,
25711
+ line: 416,
25660
25712
  column: 17
25661
25713
  },
25662
25714
  end: {
25663
- line: 409,
25715
+ line: 416,
25664
25716
  column: 31
25665
25717
  }
25666
25718
  }, {
25667
25719
  start: {
25668
- line: 409,
25720
+ line: 416,
25669
25721
  column: 35
25670
25722
  },
25671
25723
  end: {
25672
- line: 409,
25724
+ line: 416,
25673
25725
  column: 75
25674
25726
  }
25675
25727
  }],
25676
- line: 409
25728
+ line: 416
25677
25729
  }
25678
25730
  },
25679
25731
  s: {
@@ -25722,7 +25774,11 @@
25722
25774
  "42": 0,
25723
25775
  "43": 0,
25724
25776
  "44": 0,
25725
- "45": 0
25777
+ "45": 0,
25778
+ "46": 0,
25779
+ "47": 0,
25780
+ "48": 0,
25781
+ "49": 0
25726
25782
  },
25727
25783
  f: {
25728
25784
  "0": 0,
@@ -25776,7 +25832,7 @@
25776
25832
  "18": [0, 0]
25777
25833
  },
25778
25834
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
25779
- hash: "9ed215ca72a5b51e3679259e902d9181b46c2552"
25835
+ hash: "e2bf85c7382730e066d4b9430024a150863070e7"
25780
25836
  };
25781
25837
  var coverage = global[gcv] || (global[gcv] = {});
25782
25838
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -25792,7 +25848,8 @@
25792
25848
  return actualCoverage;
25793
25849
  }
25794
25850
  cov_2jszpfxbn3();
25795
- var NOT_NIL_BINARY_EXP_PATTERN = (cov_2jszpfxbn3().s[0]++, {
25851
+ var NEETO_COMMONS_UTILS_IMPORT_PATTERNS = (cov_2jszpfxbn3().s[0]++, ["neetocommons/utils", "@bigbinary/neeto-commons-frontend/utils"]);
25852
+ var NOT_NIL_BINARY_EXP_PATTERN = (cov_2jszpfxbn3().s[1]++, {
25796
25853
  type: TYPES.BINARY_EXPRESSION,
25797
25854
  operator: "!==",
25798
25855
  right: matchesAny([{
@@ -25803,7 +25860,7 @@
25803
25860
  name: "undefined"
25804
25861
  }])
25805
25862
  });
25806
- var NOT_EQUALS_DEEP_CALL_EXP_PATTERN = (cov_2jszpfxbn3().s[1]++, {
25863
+ var NOT_EQUALS_DEEP_CALL_EXP_PATTERN = (cov_2jszpfxbn3().s[2]++, {
25807
25864
  type: TYPES.CALL_EXPRESSION,
25808
25865
  callee: {
25809
25866
  type: TYPES.MEMBER_EXPRESSION,
@@ -25817,7 +25874,7 @@
25817
25874
  }
25818
25875
  }
25819
25876
  });
25820
- var ARRAY_LENGTH_PATTERN$1 = (cov_2jszpfxbn3().s[2]++, {
25877
+ var ARRAY_LENGTH_PATTERN$1 = (cov_2jszpfxbn3().s[3]++, {
25821
25878
  type: TYPES.MEMBER_EXPRESSION,
25822
25879
  property: {
25823
25880
  type: TYPES.IDENTIFIER,
@@ -25826,7 +25883,7 @@
25826
25883
  });
25827
25884
 
25828
25885
  // string.charAt(0).toUpperCase()
25829
- var CAPITALIZE_LEFT_PATTERN = (cov_2jszpfxbn3().s[3]++, {
25886
+ var CAPITALIZE_LEFT_PATTERN = (cov_2jszpfxbn3().s[4]++, {
25830
25887
  type: TYPES.CALL_EXPRESSION,
25831
25888
  callee: {
25832
25889
  type: TYPES.MEMBER_EXPRESSION,
@@ -25839,7 +25896,7 @@
25839
25896
  name: function name(_name, root) {
25840
25897
  var _root$right$callee, _root$right$callee$ob, _root$right$expressio, _root$right$expressio2, _root$right$expressio3;
25841
25898
  cov_2jszpfxbn3().f[0]++;
25842
- cov_2jszpfxbn3().s[4]++;
25899
+ cov_2jszpfxbn3().s[5]++;
25843
25900
  return (cov_2jszpfxbn3().b[0][0]++, _name === ((_root$right$callee = root.right.callee) === null || _root$right$callee === void 0 ? void 0 : (_root$right$callee$ob = _root$right$callee.object) === null || _root$right$callee$ob === void 0 ? void 0 : _root$right$callee$ob.name)) || (cov_2jszpfxbn3().b[0][1]++, (_root$right$expressio = root.right.expression) === null || _root$right$expressio === void 0 ? void 0 : (_root$right$expressio2 = _root$right$expressio.callee) === null || _root$right$expressio2 === void 0 ? void 0 : (_root$right$expressio3 = _root$right$expressio2.object) === null || _root$right$expressio3 === void 0 ? void 0 : _root$right$expressio3.name);
25844
25901
  }
25845
25902
  },
@@ -25850,7 +25907,7 @@
25850
25907
  },
25851
25908
  arguments: function _arguments(args) {
25852
25909
  cov_2jszpfxbn3().f[1]++;
25853
- cov_2jszpfxbn3().s[5]++;
25910
+ cov_2jszpfxbn3().s[6]++;
25854
25911
  return (cov_2jszpfxbn3().b[1][0]++, args.length === 1) && (cov_2jszpfxbn3().b[1][1]++, matches([{
25855
25912
  type: TYPES.LITERAL,
25856
25913
  value: 0
@@ -25865,7 +25922,7 @@
25865
25922
  });
25866
25923
 
25867
25924
  // string.slice(1)
25868
- var CAPITALIZE_RIGHT_PATTERN = (cov_2jszpfxbn3().s[6]++, {
25925
+ var CAPITALIZE_RIGHT_PATTERN = (cov_2jszpfxbn3().s[7]++, {
25869
25926
  type: TYPES.CALL_EXPRESSION,
25870
25927
  callee: {
25871
25928
  type: TYPES.MEMBER_EXPRESSION,
@@ -25879,14 +25936,14 @@
25879
25936
  },
25880
25937
  arguments: function _arguments(args) {
25881
25938
  cov_2jszpfxbn3().f[2]++;
25882
- cov_2jszpfxbn3().s[7]++;
25939
+ cov_2jszpfxbn3().s[8]++;
25883
25940
  return (cov_2jszpfxbn3().b[2][0]++, args.length === 1) && (cov_2jszpfxbn3().b[2][1]++, matches([{
25884
25941
  type: TYPES.LITERAL,
25885
25942
  value: 1
25886
25943
  }], args));
25887
25944
  }
25888
25945
  });
25889
- var OBJ_KEY_LENGTH_PATTERN$1 = (cov_2jszpfxbn3().s[8]++, {
25946
+ var OBJ_KEY_LENGTH_PATTERN$1 = (cov_2jszpfxbn3().s[9]++, {
25890
25947
  type: TYPES.MEMBER_EXPRESSION,
25891
25948
  object: {
25892
25949
  type: TYPES.CALL_EXPRESSION,
@@ -25907,7 +25964,7 @@
25907
25964
  name: "length"
25908
25965
  }
25909
25966
  });
25910
- var NOOP_PATTERN = (cov_2jszpfxbn3().s[9]++, {
25967
+ var NOOP_PATTERN = (cov_2jszpfxbn3().s[10]++, {
25911
25968
  generator: false,
25912
25969
  async: false,
25913
25970
  expression: false,
@@ -25915,7 +25972,7 @@
25915
25972
  type: TYPES.BLOCK_STATEMENT,
25916
25973
  body: function body(_body) {
25917
25974
  cov_2jszpfxbn3().f[3]++;
25918
- cov_2jszpfxbn3().s[10]++;
25975
+ cov_2jszpfxbn3().s[11]++;
25919
25976
  return ramda.isEmpty(_body);
25920
25977
  }
25921
25978
  },
@@ -25923,10 +25980,10 @@
25923
25980
  type: notEquals(TYPES.EXPORT_DEFAULT_DECLARATION)
25924
25981
  }
25925
25982
  });
25926
- var LABEL_AND_VALUE_PATTERN = (cov_2jszpfxbn3().s[11]++, {
25983
+ var LABEL_AND_VALUE_PATTERN = (cov_2jszpfxbn3().s[12]++, {
25927
25984
  properties: function properties(props) {
25928
25985
  cov_2jszpfxbn3().f[4]++;
25929
- cov_2jszpfxbn3().s[12]++;
25986
+ cov_2jszpfxbn3().s[13]++;
25930
25987
  return (cov_2jszpfxbn3().b[3][0]++, props.length === 2) && (cov_2jszpfxbn3().b[3][1]++, props.every(matches({
25931
25988
  type: TYPES.PROPERTY,
25932
25989
  computed: false,
@@ -25939,7 +25996,7 @@
25939
25996
  }))) && (cov_2jszpfxbn3().b[3][2]++, ramda.equals(["label", "value"], props.map(ramda.path(["key", "name"])).sort()));
25940
25997
  }
25941
25998
  });
25942
- var DYNAMIC_ARRAY_PATTERN = (cov_2jszpfxbn3().s[13]++, {
25999
+ var DYNAMIC_ARRAY_PATTERN = (cov_2jszpfxbn3().s[14]++, {
25943
26000
  callee: {
25944
26001
  type: TYPES.MEMBER_EXPRESSION,
25945
26002
  object: {
@@ -25953,13 +26010,13 @@
25953
26010
  },
25954
26011
  arguments: function _arguments(args) {
25955
26012
  cov_2jszpfxbn3().f[5]++;
25956
- cov_2jszpfxbn3().s[14]++;
26013
+ cov_2jszpfxbn3().s[15]++;
25957
26014
  return (cov_2jszpfxbn3().b[4][0]++, args.length === 2) && (cov_2jszpfxbn3().b[4][1]++, matches({
25958
26015
  0: {
25959
26016
  type: TYPES.OBJECT_EXPRESSION,
25960
26017
  properties: function properties(props) {
25961
26018
  cov_2jszpfxbn3().f[6]++;
25962
- cov_2jszpfxbn3().s[15]++;
26019
+ cov_2jszpfxbn3().s[16]++;
25963
26020
  return (cov_2jszpfxbn3().b[5][0]++, props.length === 1) && (cov_2jszpfxbn3().b[5][1]++, props[0].key.name === "length");
25964
26021
  }
25965
26022
  },
@@ -25969,7 +26026,7 @@
25969
26026
  }, args));
25970
26027
  }
25971
26028
  });
25972
- var NOT_NIL_PATTERNS = (cov_2jszpfxbn3().s[16]++, [
26029
+ var NOT_NIL_PATTERNS = (cov_2jszpfxbn3().s[17]++, [
25973
26030
  // x !== null && x !== undefined
25974
26031
  {
25975
26032
  type: TYPES.LOGICAL_EXPRESSION,
@@ -25978,7 +26035,7 @@
25978
26035
  right: function right(_right, root) {
25979
26036
  var _right$left, _root$left, _root$left$left;
25980
26037
  cov_2jszpfxbn3().f[7]++;
25981
- cov_2jszpfxbn3().s[17]++;
26038
+ cov_2jszpfxbn3().s[18]++;
25982
26039
  return (cov_2jszpfxbn3().b[6][0]++, matches(NOT_NIL_BINARY_EXP_PATTERN, _right)) && (cov_2jszpfxbn3().b[6][1]++, ((_right$left = _right.left) === null || _right$left === void 0 ? void 0 : _right$left.name) === ((_root$left = root.left) === null || _root$left === void 0 ? void 0 : (_root$left$left = _root$left.left) === null || _root$left$left === void 0 ? void 0 : _root$left$left.name));
25983
26040
  }
25984
26041
  },
@@ -25987,7 +26044,7 @@
25987
26044
  type: TYPES.ARROW_FUNCTION_EXPRESSION,
25988
26045
  params: function params(_params) {
25989
26046
  cov_2jszpfxbn3().f[8]++;
25990
- cov_2jszpfxbn3().s[18]++;
26047
+ cov_2jszpfxbn3().s[19]++;
25991
26048
  return (cov_2jszpfxbn3().b[7][0]++, _params.length === 1) && (cov_2jszpfxbn3().b[7][1]++, _params[0].type === TYPES.IDENTIFIER);
25992
26049
  },
25993
26050
  body: {
@@ -26002,13 +26059,13 @@
26002
26059
  },
26003
26060
  arguments: function _arguments(args, root) {
26004
26061
  cov_2jszpfxbn3().f[9]++;
26005
- cov_2jszpfxbn3().s[19]++;
26062
+ cov_2jszpfxbn3().s[20]++;
26006
26063
  return (cov_2jszpfxbn3().b[8][0]++, args.length === 1) && (cov_2jszpfxbn3().b[8][1]++, matches([{
26007
26064
  type: TYPES.IDENTIFIER,
26008
26065
  name: function name(_name2) {
26009
26066
  var _root$params$;
26010
26067
  cov_2jszpfxbn3().f[10]++;
26011
- cov_2jszpfxbn3().s[20]++;
26068
+ cov_2jszpfxbn3().s[21]++;
26012
26069
  return _name2 === ((_root$params$ = root.params[0]) === null || _root$params$ === void 0 ? void 0 : _root$params$.name);
26013
26070
  }
26014
26071
  }], args));
@@ -26016,7 +26073,7 @@
26016
26073
  }
26017
26074
  }
26018
26075
  }]);
26019
- var NOT_EMPTY_PATTERNS = (cov_2jszpfxbn3().s[21]++, {
26076
+ var NOT_EMPTY_PATTERNS = (cov_2jszpfxbn3().s[22]++, {
26020
26077
  /*
26021
26078
  array.length !== 0, array.length > 0, Object.keys(obj).length !== 0, Object.keys(obj).length > 0 ,
26022
26079
  if(array.length !== 0), while(Object.keys(obj).length > 0) etc
@@ -26025,7 +26082,7 @@
26025
26082
  type: TYPES.BINARY_EXPRESSION,
26026
26083
  operator: function operator(opr) {
26027
26084
  cov_2jszpfxbn3().f[11]++;
26028
- cov_2jszpfxbn3().s[22]++;
26085
+ cov_2jszpfxbn3().s[23]++;
26029
26086
  return (cov_2jszpfxbn3().b[9][0]++, opr === "!==") || (cov_2jszpfxbn3().b[9][1]++, opr === ">");
26030
26087
  },
26031
26088
  left: matchesAny([ARRAY_LENGTH_PATTERN$1, OBJ_KEY_LENGTH_PATTERN$1]),
@@ -26055,7 +26112,7 @@
26055
26112
  type: TYPES.ARROW_FUNCTION_EXPRESSION,
26056
26113
  params: function params(_params2) {
26057
26114
  cov_2jszpfxbn3().f[12]++;
26058
- cov_2jszpfxbn3().s[23]++;
26115
+ cov_2jszpfxbn3().s[24]++;
26059
26116
  return (cov_2jszpfxbn3().b[10][0]++, _params2.length === 1) && (cov_2jszpfxbn3().b[10][1]++, _params2[0].type === TYPES.IDENTIFIER);
26060
26117
  },
26061
26118
  body: {
@@ -26070,14 +26127,14 @@
26070
26127
  },
26071
26128
  arguments: function _arguments(args, root) {
26072
26129
  cov_2jszpfxbn3().f[13]++;
26073
- cov_2jszpfxbn3().s[24]++;
26130
+ cov_2jszpfxbn3().s[25]++;
26074
26131
  return (cov_2jszpfxbn3().b[11][0]++, args.length === 1) && (cov_2jszpfxbn3().b[11][1]++, args[0].type === TYPES.IDENTIFIER) && (cov_2jszpfxbn3().b[11][2]++, args[0].name === root.params[0].name);
26075
26132
  }
26076
26133
  }
26077
26134
  }
26078
26135
  }
26079
26136
  });
26080
- var REPLACE_BY_PATTERN = (cov_2jszpfxbn3().s[25]++, {
26137
+ var REPLACE_BY_PATTERN = (cov_2jszpfxbn3().s[26]++, {
26081
26138
  callee: {
26082
26139
  type: TYPES.MEMBER_EXPRESSION,
26083
26140
  property: {
@@ -26092,14 +26149,14 @@
26092
26149
  expression: true,
26093
26150
  params: function params(_params3) {
26094
26151
  cov_2jszpfxbn3().f[14]++;
26095
- cov_2jszpfxbn3().s[26]++;
26152
+ cov_2jszpfxbn3().s[27]++;
26096
26153
  return (cov_2jszpfxbn3().b[12][0]++, _params3.length === 1) && (cov_2jszpfxbn3().b[12][1]++, _params3[0].type === TYPES.IDENTIFIER);
26097
26154
  },
26098
26155
  body: {
26099
26156
  type: TYPES.CONDITIONAL_EXPRESSION,
26100
26157
  test: function test(_test, root) {
26101
26158
  cov_2jszpfxbn3().f[15]++;
26102
- cov_2jszpfxbn3().s[27]++;
26159
+ cov_2jszpfxbn3().s[28]++;
26103
26160
  return areAllChecksWithParams(_test, arrayFuncParam(root), {
26104
26161
  compare: "===",
26105
26162
  join: "&&"
@@ -26107,12 +26164,12 @@
26107
26164
  },
26108
26165
  consequent: function consequent(consq, root) {
26109
26166
  cov_2jszpfxbn3().f[16]++;
26110
- cov_2jszpfxbn3().s[28]++;
26167
+ cov_2jszpfxbn3().s[29]++;
26111
26168
  return ramda.not(ramda.any(patternExistsDeep({
26112
26169
  type: TYPES.IDENTIFIER,
26113
26170
  name: function name(_name3) {
26114
26171
  cov_2jszpfxbn3().f[17]++;
26115
- cov_2jszpfxbn3().s[29]++;
26172
+ cov_2jszpfxbn3().s[30]++;
26116
26173
  return _name3 === arrayFuncParam(root).name;
26117
26174
  }
26118
26175
  }), consq.type === TYPES.OBJECT_EXPRESSION ? (cov_2jszpfxbn3().b[13][0]++, consq.properties) : (cov_2jszpfxbn3().b[13][1]++, [consq])));
@@ -26121,18 +26178,18 @@
26121
26178
  type: TYPES.IDENTIFIER,
26122
26179
  name: function name(_name4, root) {
26123
26180
  cov_2jszpfxbn3().f[18]++;
26124
- cov_2jszpfxbn3().s[30]++;
26181
+ cov_2jszpfxbn3().s[31]++;
26125
26182
  return _name4 === arrayFuncParam(root).name;
26126
26183
  }
26127
26184
  }
26128
26185
  }
26129
26186
  }]
26130
26187
  });
26131
- var REPLACE_BY_NEGATED_PATTERN = (cov_2jszpfxbn3().s[31]++, ramda.assocPath(["arguments", 0, "body"], {
26188
+ var REPLACE_BY_NEGATED_PATTERN = (cov_2jszpfxbn3().s[32]++, ramda.assocPath(["arguments", 0, "body"], {
26132
26189
  type: TYPES.CONDITIONAL_EXPRESSION,
26133
26190
  test: function test(_test2, root) {
26134
26191
  cov_2jszpfxbn3().f[19]++;
26135
- cov_2jszpfxbn3().s[32]++;
26192
+ cov_2jszpfxbn3().s[33]++;
26136
26193
  return areAllChecksWithParams(_test2, arrayFuncParam(root), {
26137
26194
  compare: "!==",
26138
26195
  join: "||"
@@ -26142,24 +26199,24 @@
26142
26199
  type: TYPES.IDENTIFIER,
26143
26200
  name: function name(_name5, root) {
26144
26201
  cov_2jszpfxbn3().f[20]++;
26145
- cov_2jszpfxbn3().s[33]++;
26202
+ cov_2jszpfxbn3().s[34]++;
26146
26203
  return _name5 === arrayFuncParam(root).name;
26147
26204
  }
26148
26205
  },
26149
26206
  alternate: function alternate(alt, root) {
26150
26207
  cov_2jszpfxbn3().f[21]++;
26151
- cov_2jszpfxbn3().s[34]++;
26208
+ cov_2jszpfxbn3().s[35]++;
26152
26209
  return ramda.not(ramda.any(patternExistsDeep({
26153
26210
  type: TYPES.IDENTIFIER,
26154
26211
  name: function name(_name6) {
26155
26212
  cov_2jszpfxbn3().f[22]++;
26156
- cov_2jszpfxbn3().s[35]++;
26213
+ cov_2jszpfxbn3().s[36]++;
26157
26214
  return _name6 === arrayFuncParam(root).name;
26158
26215
  }
26159
26216
  }), alt.type === TYPES.OBJECT_EXPRESSION ? (cov_2jszpfxbn3().b[14][0]++, alt.properties) : (cov_2jszpfxbn3().b[14][1]++, [alt])));
26160
26217
  }
26161
26218
  }, REPLACE_BY_PATTERN));
26162
- var COPY_KEYS_PATTERN = (cov_2jszpfxbn3().s[36]++, {
26219
+ var COPY_KEYS_PATTERN = (cov_2jszpfxbn3().s[37]++, {
26163
26220
  type: TYPES.CALL_EXPRESSION,
26164
26221
  callee: {
26165
26222
  type: TYPES.MEMBER_EXPRESSION,
@@ -26172,14 +26229,14 @@
26172
26229
  type: TYPES.ARROW_FUNCTION_EXPRESSION,
26173
26230
  params: function params(_params4) {
26174
26231
  cov_2jszpfxbn3().f[23]++;
26175
- cov_2jszpfxbn3().s[37]++;
26232
+ cov_2jszpfxbn3().s[38]++;
26176
26233
  return (cov_2jszpfxbn3().b[15][0]++, _params4.length === 1) && (cov_2jszpfxbn3().b[15][1]++, _params4[0].type === TYPES.IDENTIFIER);
26177
26234
  },
26178
26235
  body: {
26179
26236
  type: TYPES.OBJECT_EXPRESSION,
26180
26237
  properties: function properties(props, root) {
26181
26238
  cov_2jszpfxbn3().f[24]++;
26182
- cov_2jszpfxbn3().s[38]++;
26239
+ cov_2jszpfxbn3().s[39]++;
26183
26240
  return (cov_2jszpfxbn3().b[16][0]++, props.length > 1) && (cov_2jszpfxbn3().b[16][1]++, matches({
26184
26241
  type: TYPES.SPREAD_ELEMENT,
26185
26242
  argument: {
@@ -26212,7 +26269,7 @@
26212
26269
  }
26213
26270
  }]
26214
26271
  });
26215
- var NOT_EQUALS_PATTERNS = (cov_2jszpfxbn3().s[39]++, {
26272
+ var NOT_EQUALS_PATTERNS = (cov_2jszpfxbn3().s[40]++, {
26216
26273
  // !Object.is(item1, item2)
26217
26274
  UNARY_EXP: {
26218
26275
  type: TYPES.UNARY_EXPRESSION,
@@ -26233,7 +26290,7 @@
26233
26290
  },
26234
26291
  arguments: function _arguments(args) {
26235
26292
  cov_2jszpfxbn3().f[25]++;
26236
- cov_2jszpfxbn3().s[40]++;
26293
+ cov_2jszpfxbn3().s[41]++;
26237
26294
  return args.length === 2;
26238
26295
  }
26239
26296
  }
@@ -26243,7 +26300,7 @@
26243
26300
  type: TYPES.ARROW_FUNCTION_EXPRESSION,
26244
26301
  params: function params(p) {
26245
26302
  cov_2jszpfxbn3().f[26]++;
26246
- cov_2jszpfxbn3().s[41]++;
26303
+ cov_2jszpfxbn3().s[42]++;
26247
26304
  return (cov_2jszpfxbn3().b[17][0]++, p.length === 1) && (cov_2jszpfxbn3().b[17][1]++, matches([{
26248
26305
  type: TYPES.IDENTIFIER
26249
26306
  }], p));
@@ -26254,7 +26311,7 @@
26254
26311
  }
26255
26312
  }
26256
26313
  });
26257
- var NOT_EQUALS_DEEP_PATTERNS = (cov_2jszpfxbn3().s[42]++, {
26314
+ var NOT_EQUALS_DEEP_PATTERNS = (cov_2jszpfxbn3().s[43]++, {
26258
26315
  BINARY_EXP: {
26259
26316
  // JSON.stringify(x) !== JSON.stringify(y)
26260
26317
  type: TYPES.BINARY_EXPRESSION,
@@ -26267,7 +26324,7 @@
26267
26324
  type: TYPES.ARROW_FUNCTION_EXPRESSION,
26268
26325
  params: function params(p) {
26269
26326
  cov_2jszpfxbn3().f[27]++;
26270
- cov_2jszpfxbn3().s[43]++;
26327
+ cov_2jszpfxbn3().s[44]++;
26271
26328
  return (cov_2jszpfxbn3().b[18][0]++, p.length === 1) && (cov_2jszpfxbn3().b[18][1]++, matches([{
26272
26329
  type: TYPES.IDENTIFIER
26273
26330
  }], p));
@@ -26279,7 +26336,7 @@
26279
26336
  }
26280
26337
  }
26281
26338
  });
26282
- var CAPITALIZE_PATTERNS = (cov_2jszpfxbn3().s[44]++, [
26339
+ var CAPITALIZE_PATTERNS = (cov_2jszpfxbn3().s[45]++, [
26283
26340
  // string.charAt(0).toUpperCase() + string.slice(1)
26284
26341
  {
26285
26342
  operator: "+",
@@ -26298,7 +26355,7 @@
26298
26355
  expression: CAPITALIZE_RIGHT_PATTERN
26299
26356
  }
26300
26357
  }]);
26301
- var COUNT_BY_PATTERN = (cov_2jszpfxbn3().s[45]++, {
26358
+ var COUNT_BY_PATTERN = (cov_2jszpfxbn3().s[46]++, {
26302
26359
  type: TYPES.MEMBER_EXPRESSION,
26303
26360
  computed: false,
26304
26361
  optional: false,
@@ -26308,6 +26365,93 @@
26308
26365
  }
26309
26366
  });
26310
26367
 
26368
+ // import { copyToClipboard } from "utils", import CopyToClipboard from "react-copy-to-clipboard"
26369
+ var COPY_TO_CLIPBOARD_BLACKLISTED_IMPORT_PATTERN = (cov_2jszpfxbn3().s[47]++, {
26370
+ type: TYPES.IMPORT_DECLARATION,
26371
+ specifiers: ramda.any(matchesAny([{
26372
+ type: TYPES.IMPORT_DEFAULT_SPECIFIER,
26373
+ local: {
26374
+ type: TYPES.IDENTIFIER,
26375
+ name: ramda.test(/copyToClipboard/i)
26376
+ }
26377
+ }, {
26378
+ type: TYPES.IMPORT_SPECIFIER,
26379
+ imported: {
26380
+ type: TYPES.IDENTIFIER,
26381
+ name: ramda.test(/copyToClipboard/i)
26382
+ }
26383
+ }])),
26384
+ source: {
26385
+ type: TYPES.LITERAL,
26386
+ value: ramda.complement(ramda.includes(ramda.__, NEETO_COMMONS_UTILS_IMPORT_PATTERNS))
26387
+ }
26388
+ });
26389
+ var CUSTOM_COPY_TO_CLIPBOARD_PATTERN = (cov_2jszpfxbn3().s[48]++, matchesAny([
26390
+ // const copyToClipboard = () => {}
26391
+ {
26392
+ type: TYPES.VARIABLE_DECLARATION,
26393
+ declarations: [{
26394
+ type: TYPES.VARIABLE_DECLARATOR,
26395
+ id: {
26396
+ type: TYPES.IDENTIFIER,
26397
+ name: ramda.test(/copyToClipboard/i)
26398
+ },
26399
+ init: {
26400
+ type: TYPES.ARROW_FUNCTION_EXPRESSION
26401
+ }
26402
+ }]
26403
+ },
26404
+ // function copyToClipboard() {}
26405
+ {
26406
+ type: TYPES.FUNCTION_DECLARATION,
26407
+ id: {
26408
+ type: TYPES.IDENTIFIER,
26409
+ name: ramda.test(/copyToClipboard/i)
26410
+ }
26411
+ }]));
26412
+ var CLIPBOARD_WEB_APIS_PATTERN = (cov_2jszpfxbn3().s[49]++, matchesAny([
26413
+ // navigator.clipboard.writeText(text);
26414
+ {
26415
+ type: TYPES.CALL_EXPRESSION,
26416
+ callee: {
26417
+ type: TYPES.MEMBER_EXPRESSION,
26418
+ object: {
26419
+ type: TYPES.MEMBER_EXPRESSION,
26420
+ object: {
26421
+ type: TYPES.IDENTIFIER,
26422
+ name: "navigator"
26423
+ },
26424
+ property: {
26425
+ type: TYPES.IDENTIFIER,
26426
+ name: "clipboard"
26427
+ }
26428
+ },
26429
+ property: {
26430
+ type: TYPES.IDENTIFIER,
26431
+ name: "writeText"
26432
+ }
26433
+ }
26434
+ },
26435
+ // document.execCommand("copy");
26436
+ {
26437
+ type: TYPES.CALL_EXPRESSION,
26438
+ callee: {
26439
+ type: TYPES.MEMBER_EXPRESSION,
26440
+ object: {
26441
+ type: TYPES.IDENTIFIER,
26442
+ name: "document"
26443
+ },
26444
+ property: {
26445
+ type: TYPES.IDENTIFIER,
26446
+ name: "execCommand"
26447
+ }
26448
+ },
26449
+ arguments: [{
26450
+ type: TYPES.LITERAL,
26451
+ value: "copy"
26452
+ }]
26453
+ }]));
26454
+
26311
26455
  function cov_23eeexf32e() {
26312
26456
  var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/neetocommons-tips/byFunctions.js";
26313
26457
  var hash = "a35d371aac4c0bff57bbdaa3de646f72bee8af67";
@@ -28560,6 +28704,347 @@
28560
28704
  }
28561
28705
  };
28562
28706
 
28707
+ function cov_1l6vo42d24() {
28708
+ var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/neetocommons-tips/copyToClipboard.js";
28709
+ var hash = "63980abce97b3b5f70638342df099ead94b65b98";
28710
+ var global = new Function("return this")();
28711
+ var gcv = "__coverage__";
28712
+ var coverageData = {
28713
+ path: "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/neetocommons-tips/copyToClipboard.js",
28714
+ statementMap: {
28715
+ "0": {
28716
+ start: {
28717
+ line: 12,
28718
+ column: 32
28719
+ },
28720
+ end: {
28721
+ line: 20,
28722
+ column: 1
28723
+ }
28724
+ },
28725
+ "1": {
28726
+ start: {
28727
+ line: 13,
28728
+ column: 20
28729
+ },
28730
+ end: {
28731
+ line: 13,
28732
+ column: 46
28733
+ }
28734
+ },
28735
+ "2": {
28736
+ start: {
28737
+ line: 15,
28738
+ column: 2
28739
+ },
28740
+ end: {
28741
+ line: 17,
28742
+ column: 3
28743
+ }
28744
+ },
28745
+ "3": {
28746
+ start: {
28747
+ line: 15,
28748
+ column: 15
28749
+ },
28750
+ end: {
28751
+ line: 15,
28752
+ column: 35
28753
+ }
28754
+ },
28755
+ "4": {
28756
+ start: {
28757
+ line: 16,
28758
+ column: 4
28759
+ },
28760
+ end: {
28761
+ line: 16,
28762
+ column: 77
28763
+ }
28764
+ },
28765
+ "5": {
28766
+ start: {
28767
+ line: 16,
28768
+ column: 65
28769
+ },
28770
+ end: {
28771
+ line: 16,
28772
+ column: 77
28773
+ }
28774
+ },
28775
+ "6": {
28776
+ start: {
28777
+ line: 19,
28778
+ column: 2
28779
+ },
28780
+ end: {
28781
+ line: 19,
28782
+ column: 15
28783
+ }
28784
+ },
28785
+ "7": {
28786
+ start: {
28787
+ line: 30,
28788
+ column: 4
28789
+ },
28790
+ end: {
28791
+ line: 40,
28792
+ column: 5
28793
+ }
28794
+ },
28795
+ "8": {
28796
+ start: {
28797
+ line: 36,
28798
+ column: 6
28799
+ },
28800
+ end: {
28801
+ line: 39,
28802
+ column: 9
28803
+ }
28804
+ }
28805
+ },
28806
+ fnMap: {
28807
+ "0": {
28808
+ name: "(anonymous_0)",
28809
+ decl: {
28810
+ start: {
28811
+ line: 12,
28812
+ column: 32
28813
+ },
28814
+ end: {
28815
+ line: 12,
28816
+ column: 33
28817
+ }
28818
+ },
28819
+ loc: {
28820
+ start: {
28821
+ line: 12,
28822
+ column: 51
28823
+ },
28824
+ end: {
28825
+ line: 20,
28826
+ column: 1
28827
+ }
28828
+ },
28829
+ line: 12
28830
+ },
28831
+ "1": {
28832
+ name: "(anonymous_1)",
28833
+ decl: {
28834
+ start: {
28835
+ line: 29,
28836
+ column: 9
28837
+ },
28838
+ end: {
28839
+ line: 29,
28840
+ column: 10
28841
+ }
28842
+ },
28843
+ loc: {
28844
+ start: {
28845
+ line: 29,
28846
+ column: 28
28847
+ },
28848
+ end: {
28849
+ line: 41,
28850
+ column: 3
28851
+ }
28852
+ },
28853
+ line: 29
28854
+ }
28855
+ },
28856
+ branchMap: {
28857
+ "0": {
28858
+ loc: {
28859
+ start: {
28860
+ line: 16,
28861
+ column: 4
28862
+ },
28863
+ end: {
28864
+ line: 16,
28865
+ column: 77
28866
+ }
28867
+ },
28868
+ type: "if",
28869
+ locations: [{
28870
+ start: {
28871
+ line: 16,
28872
+ column: 4
28873
+ },
28874
+ end: {
28875
+ line: 16,
28876
+ column: 77
28877
+ }
28878
+ }, {
28879
+ start: {
28880
+ line: undefined,
28881
+ column: undefined
28882
+ },
28883
+ end: {
28884
+ line: undefined,
28885
+ column: undefined
28886
+ }
28887
+ }],
28888
+ line: 16
28889
+ },
28890
+ "1": {
28891
+ loc: {
28892
+ start: {
28893
+ line: 30,
28894
+ column: 4
28895
+ },
28896
+ end: {
28897
+ line: 40,
28898
+ column: 5
28899
+ }
28900
+ },
28901
+ type: "if",
28902
+ locations: [{
28903
+ start: {
28904
+ line: 30,
28905
+ column: 4
28906
+ },
28907
+ end: {
28908
+ line: 40,
28909
+ column: 5
28910
+ }
28911
+ }, {
28912
+ start: {
28913
+ line: undefined,
28914
+ column: undefined
28915
+ },
28916
+ end: {
28917
+ line: undefined,
28918
+ column: undefined
28919
+ }
28920
+ }],
28921
+ line: 30
28922
+ },
28923
+ "2": {
28924
+ loc: {
28925
+ start: {
28926
+ line: 31,
28927
+ column: 6
28928
+ },
28929
+ end: {
28930
+ line: 34,
28931
+ column: 48
28932
+ }
28933
+ },
28934
+ type: "binary-expr",
28935
+ locations: [{
28936
+ start: {
28937
+ line: 31,
28938
+ column: 6
28939
+ },
28940
+ end: {
28941
+ line: 31,
28942
+ column: 65
28943
+ }
28944
+ }, {
28945
+ start: {
28946
+ line: 32,
28947
+ column: 6
28948
+ },
28949
+ end: {
28950
+ line: 32,
28951
+ column: 53
28952
+ }
28953
+ }, {
28954
+ start: {
28955
+ line: 33,
28956
+ column: 7
28957
+ },
28958
+ end: {
28959
+ line: 33,
28960
+ column: 48
28961
+ }
28962
+ }, {
28963
+ start: {
28964
+ line: 34,
28965
+ column: 8
28966
+ },
28967
+ end: {
28968
+ line: 34,
28969
+ column: 47
28970
+ }
28971
+ }],
28972
+ line: 31
28973
+ }
28974
+ },
28975
+ s: {
28976
+ "0": 0,
28977
+ "1": 0,
28978
+ "2": 0,
28979
+ "3": 0,
28980
+ "4": 0,
28981
+ "5": 0,
28982
+ "6": 0,
28983
+ "7": 0,
28984
+ "8": 0
28985
+ },
28986
+ f: {
28987
+ "0": 0,
28988
+ "1": 0
28989
+ },
28990
+ b: {
28991
+ "0": [0, 0],
28992
+ "1": [0, 0],
28993
+ "2": [0, 0, 0, 0]
28994
+ },
28995
+ _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
28996
+ hash: "63980abce97b3b5f70638342df099ead94b65b98"
28997
+ };
28998
+ var coverage = global[gcv] || (global[gcv] = {});
28999
+ if (!coverage[path] || coverage[path].hash !== hash) {
29000
+ coverage[path] = coverageData;
29001
+ }
29002
+ var actualCoverage = coverage[path];
29003
+ {
29004
+ // @ts-ignore
29005
+ cov_1l6vo42d24 = function () {
29006
+ return actualCoverage;
29007
+ };
29008
+ }
29009
+ return actualCoverage;
29010
+ }
29011
+ cov_1l6vo42d24();
29012
+ cov_1l6vo42d24().s[0]++;
29013
+ var isInsideCopyToClipboard = function isInsideCopyToClipboard(node, context) {
29014
+ cov_1l6vo42d24().f[0]++;
29015
+ var ancestors = (cov_1l6vo42d24().s[1]++, context.getAncestors(node));
29016
+ cov_1l6vo42d24().s[2]++;
29017
+ for (var i = (cov_1l6vo42d24().s[3]++, ancestors.length - 1); i > 0; i--) {
29018
+ cov_1l6vo42d24().s[4]++;
29019
+ if (matches(CUSTOM_COPY_TO_CLIPBOARD_PATTERN, ancestors[i])) {
29020
+ cov_1l6vo42d24().b[0][0]++;
29021
+ cov_1l6vo42d24().s[5]++;
29022
+ return true;
29023
+ } else {
29024
+ cov_1l6vo42d24().b[0][1]++;
29025
+ }
29026
+ }
29027
+ cov_1l6vo42d24().s[6]++;
29028
+ return false;
29029
+ };
29030
+ var copyToClipboard = {
29031
+ operateOn: [TYPES.IMPORT_DECLARATION, TYPES.VARIABLE_DECLARATION, TYPES.FUNCTION_DECLARATION, TYPES.CALL_EXPRESSION],
29032
+ check: function check(context, node) {
29033
+ cov_1l6vo42d24().f[1]++;
29034
+ cov_1l6vo42d24().s[7]++;
29035
+ if ((cov_1l6vo42d24().b[2][0]++, matches(COPY_TO_CLIPBOARD_BLACKLISTED_IMPORT_PATTERN, node)) || (cov_1l6vo42d24().b[2][1]++, matches(CUSTOM_COPY_TO_CLIPBOARD_PATTERN, node)) || (cov_1l6vo42d24().b[2][2]++, matches(CLIPBOARD_WEB_APIS_PATTERN, node)) && (cov_1l6vo42d24().b[2][3]++, !isInsideCopyToClipboard(node, context))) {
29036
+ cov_1l6vo42d24().b[1][0]++;
29037
+ cov_1l6vo42d24().s[8]++;
29038
+ context.report({
29039
+ node: node,
29040
+ message: USE_COPY_TO_CLIPBOARD_FROM_NEETO_COMMONS
29041
+ });
29042
+ } else {
29043
+ cov_1l6vo42d24().b[1][1]++;
29044
+ }
29045
+ }
29046
+ };
29047
+
28563
29048
  function cov_18flzv7qip() {
28564
29049
  var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/neetocommons-tips/dynamicArray.js";
28565
29050
  var hash = "14617dd1a7238aac041a9c37eefe46216e1e9e5e";
@@ -31926,7 +32411,7 @@
31926
32411
 
31927
32412
  function cov_1ae82ht1vx() {
31928
32413
  var path = "/home/runner/work/eslint-plugin-neeto/eslint-plugin-neeto/src/lib/rules/neetocommons-tips/index.js";
31929
- var hash = "e232867039f053482ac9ade5b380814638db2cd5";
32414
+ var hash = "e2b431535cb2b5891b816a96acad7482fb07be2e";
31930
32415
  var global = new Function("return this")();
31931
32416
  var gcv = "__coverage__";
31932
32417
  var coverageData = {
@@ -31934,101 +32419,101 @@
31934
32419
  statementMap: {
31935
32420
  "0": {
31936
32421
  start: {
31937
- line: 33,
32422
+ line: 34,
31938
32423
  column: 26
31939
32424
  },
31940
32425
  end: {
31941
- line: 57,
32426
+ line: 59,
31942
32427
  column: 13
31943
32428
  }
31944
32429
  },
31945
32430
  "1": {
31946
32431
  start: {
31947
- line: 53,
32432
+ line: 55,
31948
32433
  column: 8
31949
32434
  },
31950
32435
  end: {
31951
- line: 53,
32436
+ line: 55,
31952
32437
  column: 52
31953
32438
  }
31954
32439
  },
31955
32440
  "2": {
31956
32441
  start: {
31957
- line: 53,
32442
+ line: 55,
31958
32443
  column: 42
31959
32444
  },
31960
32445
  end: {
31961
- line: 53,
32446
+ line: 55,
31962
32447
  column: 52
31963
32448
  }
31964
32449
  },
31965
32450
  "3": {
31966
32451
  start: {
31967
- line: 55,
32452
+ line: 57,
31968
32453
  column: 8
31969
32454
  },
31970
32455
  end: {
31971
- line: 55,
32456
+ line: 57,
31972
32457
  column: 79
31973
32458
  }
31974
32459
  },
31975
32460
  "4": {
31976
32461
  start: {
31977
- line: 55,
32462
+ line: 57,
31978
32463
  column: 46
31979
32464
  },
31980
32465
  end: {
31981
- line: 55,
32466
+ line: 57,
31982
32467
  column: 76
31983
32468
  }
31984
32469
  },
31985
32470
  "5": {
31986
32471
  start: {
31987
- line: 58,
32472
+ line: 60,
31988
32473
  column: 23
31989
32474
  },
31990
32475
  end: {
31991
- line: 58,
32476
+ line: 60,
31992
32477
  column: 64
31993
32478
  }
31994
32479
  },
31995
32480
  "6": {
31996
32481
  start: {
31997
- line: 60,
32482
+ line: 62,
31998
32483
  column: 4
31999
32484
  },
32000
32485
  end: {
32001
- line: 65,
32486
+ line: 67,
32002
32487
  column: 6
32003
32488
  }
32004
32489
  },
32005
32490
  "7": {
32006
32491
  start: {
32007
- line: 61,
32492
+ line: 63,
32008
32493
  column: 59
32009
32494
  },
32010
32495
  end: {
32011
- line: 64,
32496
+ line: 66,
32012
32497
  column: 7
32013
32498
  }
32014
32499
  },
32015
32500
  "8": {
32016
32501
  start: {
32017
- line: 63,
32502
+ line: 65,
32018
32503
  column: 16
32019
32504
  },
32020
32505
  end: {
32021
- line: 63,
32506
+ line: 65,
32022
32507
  column: 65
32023
32508
  }
32024
32509
  },
32025
32510
  "9": {
32026
32511
  start: {
32027
- line: 63,
32512
+ line: 65,
32028
32513
  column: 41
32029
32514
  },
32030
32515
  end: {
32031
- line: 63,
32516
+ line: 65,
32032
32517
  column: 64
32033
32518
  }
32034
32519
  }
@@ -32038,167 +32523,167 @@
32038
32523
  name: "(anonymous_0)",
32039
32524
  decl: {
32040
32525
  start: {
32041
- line: 32,
32526
+ line: 33,
32042
32527
  column: 10
32043
32528
  },
32044
32529
  end: {
32045
- line: 32,
32530
+ line: 33,
32046
32531
  column: 11
32047
32532
  }
32048
32533
  },
32049
32534
  loc: {
32050
32535
  start: {
32051
- line: 32,
32536
+ line: 33,
32052
32537
  column: 21
32053
32538
  },
32054
32539
  end: {
32055
- line: 66,
32540
+ line: 68,
32056
32541
  column: 3
32057
32542
  }
32058
32543
  },
32059
- line: 32
32544
+ line: 33
32060
32545
  },
32061
32546
  "1": {
32062
32547
  name: "(anonymous_1)",
32063
32548
  decl: {
32064
32549
  start: {
32065
- line: 52,
32550
+ line: 54,
32066
32551
  column: 11
32067
32552
  },
32068
32553
  end: {
32069
- line: 52,
32554
+ line: 54,
32070
32555
  column: 12
32071
32556
  }
32072
32557
  },
32073
32558
  loc: {
32074
32559
  start: {
32075
- line: 52,
32560
+ line: 54,
32076
32561
  column: 17
32077
32562
  },
32078
32563
  end: {
32079
- line: 56,
32564
+ line: 58,
32080
32565
  column: 7
32081
32566
  }
32082
32567
  },
32083
- line: 52
32568
+ line: 54
32084
32569
  },
32085
32570
  "2": {
32086
32571
  name: "(anonymous_2)",
32087
32572
  decl: {
32088
32573
  start: {
32089
- line: 55,
32574
+ line: 57,
32090
32575
  column: 32
32091
32576
  },
32092
32577
  end: {
32093
- line: 55,
32578
+ line: 57,
32094
32579
  column: 33
32095
32580
  }
32096
32581
  },
32097
32582
  loc: {
32098
32583
  start: {
32099
- line: 55,
32584
+ line: 57,
32100
32585
  column: 46
32101
32586
  },
32102
32587
  end: {
32103
- line: 55,
32588
+ line: 57,
32104
32589
  column: 76
32105
32590
  }
32106
32591
  },
32107
- line: 55
32592
+ line: 57
32108
32593
  },
32109
32594
  "3": {
32110
32595
  name: "(anonymous_3)",
32111
32596
  decl: {
32112
32597
  start: {
32113
- line: 61,
32598
+ line: 63,
32114
32599
  column: 30
32115
32600
  },
32116
32601
  end: {
32117
- line: 61,
32602
+ line: 63,
32118
32603
  column: 31
32119
32604
  }
32120
32605
  },
32121
32606
  loc: {
32122
32607
  start: {
32123
- line: 61,
32608
+ line: 63,
32124
32609
  column: 59
32125
32610
  },
32126
32611
  end: {
32127
- line: 64,
32612
+ line: 66,
32128
32613
  column: 7
32129
32614
  }
32130
32615
  },
32131
- line: 61
32616
+ line: 63
32132
32617
  },
32133
32618
  "4": {
32134
32619
  name: "(anonymous_4)",
32135
32620
  decl: {
32136
32621
  start: {
32137
- line: 63,
32622
+ line: 65,
32138
32623
  column: 8
32139
32624
  },
32140
32625
  end: {
32141
- line: 63,
32626
+ line: 65,
32142
32627
  column: 9
32143
32628
  }
32144
32629
  },
32145
32630
  loc: {
32146
32631
  start: {
32147
- line: 63,
32632
+ line: 65,
32148
32633
  column: 16
32149
32634
  },
32150
32635
  end: {
32151
- line: 63,
32636
+ line: 65,
32152
32637
  column: 65
32153
32638
  }
32154
32639
  },
32155
- line: 63
32640
+ line: 65
32156
32641
  },
32157
32642
  "5": {
32158
32643
  name: "(anonymous_5)",
32159
32644
  decl: {
32160
32645
  start: {
32161
- line: 63,
32646
+ line: 65,
32162
32647
  column: 35
32163
32648
  },
32164
32649
  end: {
32165
- line: 63,
32650
+ line: 65,
32166
32651
  column: 36
32167
32652
  }
32168
32653
  },
32169
32654
  loc: {
32170
32655
  start: {
32171
- line: 63,
32656
+ line: 65,
32172
32657
  column: 41
32173
32658
  },
32174
32659
  end: {
32175
- line: 63,
32660
+ line: 65,
32176
32661
  column: 64
32177
32662
  }
32178
32663
  },
32179
- line: 63
32664
+ line: 65
32180
32665
  }
32181
32666
  },
32182
32667
  branchMap: {
32183
32668
  "0": {
32184
32669
  loc: {
32185
32670
  start: {
32186
- line: 53,
32671
+ line: 55,
32187
32672
  column: 8
32188
32673
  },
32189
32674
  end: {
32190
- line: 53,
32675
+ line: 55,
32191
32676
  column: 52
32192
32677
  }
32193
32678
  },
32194
32679
  type: "if",
32195
32680
  locations: [{
32196
32681
  start: {
32197
- line: 53,
32682
+ line: 55,
32198
32683
  column: 8
32199
32684
  },
32200
32685
  end: {
32201
- line: 53,
32686
+ line: 55,
32202
32687
  column: 52
32203
32688
  }
32204
32689
  }, {
@@ -32211,7 +32696,7 @@
32211
32696
  column: undefined
32212
32697
  }
32213
32698
  }],
32214
- line: 53
32699
+ line: 55
32215
32700
  }
32216
32701
  },
32217
32702
  s: {
@@ -32238,7 +32723,7 @@
32238
32723
  "0": [0, 0]
32239
32724
  },
32240
32725
  _coverageSchema: "1a1c01bbd47fc00a2c39e90264f33305004495a9",
32241
- hash: "e232867039f053482ac9ade5b380814638db2cd5"
32726
+ hash: "e2b431535cb2b5891b816a96acad7482fb07be2e"
32242
32727
  };
32243
32728
  var coverage = global[gcv] || (global[gcv] = {});
32244
32729
  if (!coverage[path] || coverage[path].hash !== hash) {
@@ -32264,7 +32749,7 @@
32264
32749
  },
32265
32750
  create: function create(context) {
32266
32751
  cov_1ae82ht1vx().f[0]++;
32267
- var operationsArr = (cov_1ae82ht1vx().s[0]++, [noop, toLabelAndValue, findBy, removeBy, existsBy, filterBy, findIndexBy, findLastBy, findLastIndexBy, replaceBy, copyKeys, dynamicArray, capitalize, isNotNil, isNotEqualDeep, isNot, isNotEmpty].map(function (op) {
32752
+ var operationsArr = (cov_1ae82ht1vx().s[0]++, [noop, toLabelAndValue, findBy, removeBy, existsBy, filterBy, findIndexBy, findLastBy, findLastIndexBy, replaceBy, copyKeys, dynamicArray, capitalize, isNotNil, isNotEqualDeep, isNot, isNotEmpty, copyToClipboard].map(function (op) {
32268
32753
  cov_1ae82ht1vx().f[1]++;
32269
32754
  cov_1ae82ht1vx().s[1]++;
32270
32755
  if (!Array.isArray(op.operateOn)) {
@@ -53204,4 +53689,3 @@
53204
53689
  return index;
53205
53690
 
53206
53691
  }));
53207
- //# sourceMappingURL=index.js.map