@budibase/server 1.0.46-alpha.7 → 1.0.48
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.
- package/builder/assets/{index.dd9e386f.css → index.39e01193.css} +1 -1
- package/builder/assets/{index.af9e71d8.js → index.e083dcaf.js} +221 -223
- package/builder/assets/{vendor.3bd2f661.js → vendor.f9faf6ab.js} +12 -12
- package/builder/index.html +3 -3
- package/coverage/clover.xml +1637 -1793
- package/coverage/coverage-final.json +94 -98
- package/coverage/lcov-report/api/controllers/analytics.js.html +1 -1
- package/coverage/lcov-report/api/controllers/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/controllers/application.js.html +126 -210
- package/coverage/lcov-report/api/controllers/auth.js.html +1 -1
- package/coverage/lcov-report/api/controllers/automation.js.html +21 -21
- package/coverage/lcov-report/api/controllers/backup.js.html +1 -1
- package/coverage/lcov-report/api/controllers/cloud.js.html +1 -1
- package/coverage/lcov-report/api/controllers/component.js.html +4 -4
- package/coverage/lcov-report/api/controllers/datasource.js.html +36 -72
- package/coverage/lcov-report/api/controllers/dev.js.html +1 -1
- package/coverage/lcov-report/{migrations/usageQuotas/syncRows.js.html → api/controllers/hosting.js.html} +44 -41
- package/coverage/lcov-report/api/controllers/index.html +42 -27
- package/coverage/lcov-report/api/controllers/integration.js.html +1 -1
- package/coverage/lcov-report/api/controllers/layout.js.html +6 -6
- package/coverage/lcov-report/api/controllers/metadata.js.html +1 -1
- package/coverage/lcov-report/api/controllers/permission.js.html +15 -15
- package/coverage/lcov-report/api/controllers/query/index.html +1 -1
- package/coverage/lcov-report/api/controllers/query/index.js.html +19 -19
- package/coverage/lcov-report/api/controllers/query/validation.js.html +6 -6
- package/coverage/lcov-report/api/controllers/role.js.html +9 -9
- package/coverage/lcov-report/api/controllers/routing.js.html +1 -1
- package/coverage/lcov-report/api/controllers/row/external.js.html +16 -16
- package/coverage/lcov-report/api/controllers/row/index.html +15 -15
- package/coverage/lcov-report/api/controllers/row/index.js.html +26 -26
- package/coverage/lcov-report/api/controllers/row/internal.js.html +44 -44
- package/coverage/lcov-report/api/controllers/row/internalSearch.js.html +8 -8
- package/coverage/lcov-report/api/controllers/row/utils.js.html +57 -39
- package/coverage/lcov-report/api/controllers/screen.js.html +7 -7
- package/coverage/lcov-report/api/controllers/script.js.html +4 -4
- package/coverage/lcov-report/api/controllers/table/external.js.html +12 -12
- package/coverage/lcov-report/api/controllers/table/index.html +32 -32
- package/coverage/lcov-report/api/controllers/table/index.js.html +39 -57
- package/coverage/lcov-report/api/controllers/table/internal.js.html +34 -40
- package/coverage/lcov-report/api/controllers/table/utils.js.html +122 -83
- package/coverage/lcov-report/api/controllers/templates.js.html +1 -1
- package/coverage/lcov-report/api/controllers/user.js.html +20 -20
- package/coverage/lcov-report/api/controllers/view/exporters.js.html +4 -4
- package/coverage/lcov-report/api/controllers/view/index.html +1 -1
- package/coverage/lcov-report/api/controllers/view/index.js.html +14 -14
- package/coverage/lcov-report/api/controllers/view/utils.js.html +11 -11
- package/coverage/lcov-report/api/controllers/view/viewBuilder.js.html +7 -7
- package/coverage/lcov-report/api/controllers/webhook.js.html +15 -15
- package/coverage/lcov-report/api/index.html +1 -1
- package/coverage/lcov-report/api/index.js.html +10 -10
- package/coverage/lcov-report/api/routes/analytics.js.html +1 -1
- package/coverage/lcov-report/api/routes/apikeys.js.html +1 -1
- package/coverage/lcov-report/api/routes/application.js.html +1 -1
- package/coverage/lcov-report/api/routes/auth.js.html +1 -1
- package/coverage/lcov-report/api/routes/automation.js.html +1 -1
- package/coverage/lcov-report/api/routes/backup.js.html +1 -1
- package/coverage/lcov-report/api/routes/cloud.js.html +1 -1
- package/coverage/lcov-report/api/routes/component.js.html +1 -1
- package/coverage/lcov-report/api/routes/datasource.js.html +1 -1
- package/coverage/lcov-report/api/routes/deploy.js.html +1 -1
- package/coverage/lcov-report/api/routes/dev.js.html +1 -1
- package/coverage/lcov-report/{migrations/usageQuotas/syncApps.js.html → api/routes/hosting.js.html} +27 -42
- package/coverage/lcov-report/api/routes/index.html +22 -7
- package/coverage/lcov-report/api/routes/index.js.html +10 -4
- package/coverage/lcov-report/api/routes/integration.js.html +1 -1
- package/coverage/lcov-report/api/routes/layout.js.html +1 -1
- package/coverage/lcov-report/api/routes/metadata.js.html +1 -1
- package/coverage/lcov-report/api/routes/permission.js.html +1 -1
- package/coverage/lcov-report/api/routes/query.js.html +1 -1
- package/coverage/lcov-report/api/routes/role.js.html +1 -1
- package/coverage/lcov-report/api/routes/routing.js.html +1 -1
- package/coverage/lcov-report/api/routes/row.js.html +1 -1
- package/coverage/lcov-report/api/routes/screen.js.html +1 -1
- package/coverage/lcov-report/api/routes/script.js.html +1 -1
- package/coverage/lcov-report/api/routes/static.js.html +2 -17
- package/coverage/lcov-report/api/routes/table.js.html +1 -1
- package/coverage/lcov-report/api/routes/templates.js.html +1 -1
- package/coverage/lcov-report/api/routes/user.js.html +1 -1
- package/coverage/lcov-report/api/routes/view.js.html +1 -1
- package/coverage/lcov-report/api/routes/webhook.js.html +1 -1
- package/coverage/lcov-report/automations/actions.js.html +24 -24
- package/coverage/lcov-report/automations/automationUtils.js.html +5 -5
- package/coverage/lcov-report/automations/bullboard.js.html +16 -16
- package/coverage/lcov-report/automations/index.html +1 -1
- package/coverage/lcov-report/automations/index.js.html +1 -1
- package/coverage/lcov-report/automations/steps/bash.js.html +6 -6
- package/coverage/lcov-report/automations/steps/createRow.js.html +19 -13
- package/coverage/lcov-report/automations/steps/delay.js.html +4 -4
- package/coverage/lcov-report/automations/steps/deleteRow.js.html +20 -11
- package/coverage/lcov-report/automations/steps/discord.js.html +7 -7
- package/coverage/lcov-report/automations/steps/executeQuery.js.html +6 -6
- package/coverage/lcov-report/automations/steps/executeScript.js.html +6 -6
- package/coverage/lcov-report/automations/steps/filter.js.html +7 -7
- package/coverage/lcov-report/automations/steps/index.html +13 -13
- package/coverage/lcov-report/automations/steps/integromat.js.html +5 -5
- package/coverage/lcov-report/automations/steps/outgoingWebhook.js.html +8 -8
- package/coverage/lcov-report/automations/steps/queryRows.js.html +10 -10
- package/coverage/lcov-report/automations/steps/sendSmtpEmail.js.html +5 -5
- package/coverage/lcov-report/automations/steps/serverLog.js.html +3 -3
- package/coverage/lcov-report/automations/steps/slack.js.html +5 -5
- package/coverage/lcov-report/automations/steps/updateRow.js.html +6 -6
- package/coverage/lcov-report/automations/steps/utils.js.html +3 -3
- package/coverage/lcov-report/automations/steps/zapier.js.html +5 -5
- package/coverage/lcov-report/automations/triggerInfo/app.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/cron.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/index.html +1 -1
- package/coverage/lcov-report/automations/triggerInfo/index.js.html +8 -8
- package/coverage/lcov-report/automations/triggerInfo/rowDeleted.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/rowSaved.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/rowUpdated.js.html +2 -2
- package/coverage/lcov-report/automations/triggerInfo/webhook.js.html +2 -2
- package/coverage/lcov-report/automations/triggers.js.html +18 -18
- package/coverage/lcov-report/automations/utils.js.html +32 -32
- package/coverage/lcov-report/constants/index.html +11 -11
- package/coverage/lcov-report/constants/index.js.html +37 -40
- package/coverage/lcov-report/constants/layouts.js.html +5 -5
- package/coverage/lcov-report/constants/screens.js.html +4 -4
- package/coverage/lcov-report/db/client.js.html +18 -18
- package/coverage/lcov-report/db/inMemoryView.js.html +7 -7
- package/coverage/lcov-report/db/index.html +15 -15
- package/coverage/lcov-report/db/index.js.html +3 -3
- package/coverage/lcov-report/db/linkedRows/LinkController.js.html +18 -18
- package/coverage/lcov-report/db/linkedRows/index.html +1 -1
- package/coverage/lcov-report/db/linkedRows/index.js.html +31 -31
- package/coverage/lcov-report/db/linkedRows/linkUtils.js.html +15 -15
- package/coverage/lcov-report/db/newid.js.html +4 -4
- package/coverage/lcov-report/db/utils.js.html +85 -85
- package/coverage/lcov-report/events/AutomationEmitter.js.html +1 -1
- package/coverage/lcov-report/events/index.html +1 -1
- package/coverage/lcov-report/events/index.js.html +5 -5
- package/coverage/lcov-report/events/utils.js.html +3 -3
- package/coverage/lcov-report/index.html +86 -116
- package/coverage/lcov-report/integrations/tests/TestConfiguration.js.html +1 -1
- package/coverage/lcov-report/integrations/tests/index.html +1 -1
- package/coverage/lcov-report/middleware/appInfo.js.html +1 -1
- package/coverage/lcov-report/middleware/authorized.js.html +11 -11
- package/coverage/lcov-report/middleware/builder.js.html +8 -8
- package/coverage/lcov-report/middleware/currentapp.js.html +29 -29
- package/coverage/lcov-report/middleware/index.html +20 -20
- package/coverage/lcov-report/middleware/joi-validator.js.html +3 -3
- package/coverage/lcov-report/middleware/resourceId.js.html +1 -1
- package/coverage/lcov-report/middleware/selfhost.js.html +1 -1
- package/coverage/lcov-report/middleware/usageQuota.js.html +41 -275
- package/coverage/lcov-report/middleware/utils.js.html +2 -2
- package/coverage/lcov-report/threads/automation.js.html +1 -1
- package/coverage/lcov-report/threads/index.html +15 -15
- package/coverage/lcov-report/threads/index.js.html +10 -10
- package/coverage/lcov-report/threads/query.js.html +8 -23
- package/coverage/lcov-report/threads/utils.js.html +14 -14
- package/coverage/lcov-report/utilities/bcrypt.js.html +1 -1
- package/coverage/lcov-report/utilities/budibaseDir.js.html +7 -7
- package/coverage/lcov-report/utilities/centralPath.js.html +4 -4
- package/coverage/lcov-report/utilities/csvParser.js.html +6 -6
- package/coverage/lcov-report/utilities/global.js.html +26 -26
- package/coverage/lcov-report/utilities/index.html +19 -19
- package/coverage/lcov-report/utilities/index.js.html +25 -25
- package/coverage/lcov-report/utilities/queue/inMemoryQueue.js.html +8 -8
- package/coverage/lcov-report/utilities/queue/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.html +1 -1
- package/coverage/lcov-report/utilities/routing/index.js.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.html +1 -1
- package/coverage/lcov-report/utilities/rowProcessor/index.js.html +53 -53
- package/coverage/lcov-report/utilities/rowProcessor/utils.js.html +10 -10
- package/coverage/lcov-report/utilities/scriptRunner.js.html +5 -5
- package/coverage/lcov-report/utilities/security.js.html +8 -8
- package/coverage/lcov-report/utilities/statusCodes.js.html +1 -1
- package/coverage/lcov-report/utilities/users.js.html +5 -5
- package/coverage/lcov-report/utilities/workerRequests.js.html +108 -39
- package/coverage/lcov.info +2332 -2599
- package/dist/api/controllers/application.js +20 -49
- package/dist/api/controllers/datasource.js +0 -11
- package/dist/api/controllers/hosting.js +30 -0
- package/dist/api/controllers/row/ExternalRequest.js +2 -1
- package/dist/api/controllers/row/utils.js +8 -6
- package/dist/api/controllers/static/index.js +10 -59
- package/dist/api/controllers/table/index.js +4 -10
- package/dist/api/controllers/table/internal.js +0 -2
- package/dist/api/controllers/table/utils.js +17 -11
- package/dist/api/routes/hosting.js +11 -0
- package/dist/api/routes/index.js +2 -0
- package/dist/api/routes/static.js +1 -2
- package/dist/automations/steps/createRow.js +4 -2
- package/dist/automations/steps/deleteRow.js +4 -1
- package/dist/constants/index.js +5 -8
- package/dist/definitions/datasource.js +0 -1
- package/dist/environment.js +0 -1
- package/dist/integrations/base/sql.js +6 -13
- package/dist/integrations/index.js +0 -3
- package/dist/integrations/utils.js +9 -56
- package/dist/middleware/usageQuota.js +13 -82
- package/dist/package.json +5 -8
- package/dist/tests/utilities/TestConfiguration.js +1 -3
- package/dist/threads/query.js +0 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utilities/{usageQuota/index.js → usageQuota.js} +31 -44
- package/dist/utilities/workerRequests.js +20 -0
- package/nodemon.json +1 -1
- package/package.json +6 -9
- package/src/api/controllers/application.js +24 -52
- package/src/api/controllers/datasource.js +0 -12
- package/src/api/controllers/hosting.js +22 -0
- package/src/api/controllers/row/ExternalRequest.ts +1 -1
- package/src/api/controllers/row/utils.js +12 -6
- package/src/api/controllers/static/index.js +10 -63
- package/src/api/controllers/table/index.js +9 -15
- package/src/api/controllers/table/internal.js +0 -2
- package/src/api/controllers/table/utils.js +24 -11
- package/src/api/routes/hosting.js +13 -0
- package/src/api/routes/index.js +2 -0
- package/src/api/routes/static.js +0 -5
- package/src/api/routes/tests/application.spec.js +2 -2
- package/src/api/routes/tests/hosting.spec.js +36 -0
- package/src/automations/steps/createRow.js +4 -2
- package/src/automations/steps/deleteRow.js +4 -1
- package/src/constants/index.js +8 -9
- package/src/definitions/datasource.ts +0 -3
- package/src/environment.js +0 -1
- package/src/integrations/base/sql.ts +7 -14
- package/src/integrations/index.ts +0 -3
- package/src/integrations/tests/sql.spec.js +0 -16
- package/src/integrations/utils.ts +11 -70
- package/src/middleware/tests/usageQuota.spec.js +24 -18
- package/src/middleware/usageQuota.js +15 -93
- package/src/tests/utilities/TestConfiguration.js +1 -3
- package/src/threads/query.js +0 -5
- package/src/utilities/usageQuota.js +73 -0
- package/src/utilities/workerRequests.js +23 -0
- package/coverage/lcov-report/migrations/usageQuotas/index.html +0 -141
- package/coverage/lcov-report/migrations/usageQuotas/index.js.html +0 -152
- package/coverage/lcov-report/utilities/usageQuota/index.html +0 -141
- package/coverage/lcov-report/utilities/usageQuota/index.js.html +0 -356
- package/coverage/lcov-report/utilities/usageQuota/rows.js.html +0 -302
- package/coverage/lcov-report/utilities/usageQuota/usageQuoteReset.js.html +0 -134
- package/dist/integrations/googlesheets.js +0 -340
- package/dist/migrations/usageQuotas/index.js +0 -24
- package/dist/migrations/usageQuotas/syncApps.js +0 -26
- package/dist/migrations/usageQuotas/syncRows.js +0 -29
- package/dist/utilities/usageQuota/rows.js +0 -77
- package/dist/utilities/usageQuota/usageQuoteReset.js +0 -16
- package/src/api/routes/tests/static.spec.js +0 -98
- package/src/integrations/googlesheets.ts +0 -353
- package/src/migrations/tests/usageQuotas/index.spec.js +0 -27
- package/src/migrations/tests/usageQuotas/syncApps.spec.js +0 -37
- package/src/migrations/tests/usageQuotas/syncRows.spec.js +0 -43
- package/src/migrations/usageQuotas/index.js +0 -24
- package/src/migrations/usageQuotas/syncApps.js +0 -18
- package/src/migrations/usageQuotas/syncRows.js +0 -21
- package/src/utilities/tests/usageQuota/usageQuota.spec.js +0 -72
- package/src/utilities/usageQuota/index.js +0 -92
- package/src/utilities/usageQuota/rows.js +0 -74
- package/src/utilities/usageQuota/usageQuoteReset.js +0 -18
|
@@ -23,30 +23,30 @@
|
|
|
23
23
|
<div class='clearfix'>
|
|
24
24
|
|
|
25
25
|
<div class='fl pad1y space-right2'>
|
|
26
|
-
<span class="strong">
|
|
26
|
+
<span class="strong">64.13% </span>
|
|
27
27
|
<span class="quiet">Statements</span>
|
|
28
|
-
<span class='fraction'>
|
|
28
|
+
<span class='fraction'>118/184</span>
|
|
29
29
|
</div>
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
<div class='fl pad1y space-right2'>
|
|
33
|
-
<span class="strong">
|
|
33
|
+
<span class="strong">41.41% </span>
|
|
34
34
|
<span class="quiet">Branches</span>
|
|
35
|
-
<span class='fraction'>41/
|
|
35
|
+
<span class='fraction'>41/99</span>
|
|
36
36
|
</div>
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
<div class='fl pad1y space-right2'>
|
|
40
|
-
<span class="strong">
|
|
40
|
+
<span class="strong">60.71% </span>
|
|
41
41
|
<span class="quiet">Functions</span>
|
|
42
|
-
<span class='fraction'>17/
|
|
42
|
+
<span class='fraction'>17/28</span>
|
|
43
43
|
</div>
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
<div class='fl pad1y space-right2'>
|
|
47
|
-
<span class="strong">
|
|
47
|
+
<span class="strong">64.64% </span>
|
|
48
48
|
<span class="quiet">Lines</span>
|
|
49
|
-
<span class='fraction'>
|
|
49
|
+
<span class='fraction'>117/181</span>
|
|
50
50
|
</div>
|
|
51
51
|
|
|
52
52
|
|
|
@@ -425,37 +425,52 @@
|
|
|
425
425
|
<a name='L366'></a><a href='#L366'>366</a>
|
|
426
426
|
<a name='L367'></a><a href='#L367'>367</a>
|
|
427
427
|
<a name='L368'></a><a href='#L368'>368</a>
|
|
428
|
-
<a name='L369'></a><a href='#L369'>369</a
|
|
429
|
-
<
|
|
428
|
+
<a name='L369'></a><a href='#L369'>369</a>
|
|
429
|
+
<a name='L370'></a><a href='#L370'>370</a>
|
|
430
|
+
<a name='L371'></a><a href='#L371'>371</a>
|
|
431
|
+
<a name='L372'></a><a href='#L372'>372</a>
|
|
432
|
+
<a name='L373'></a><a href='#L373'>373</a>
|
|
433
|
+
<a name='L374'></a><a href='#L374'>374</a>
|
|
434
|
+
<a name='L375'></a><a href='#L375'>375</a>
|
|
435
|
+
<a name='L376'></a><a href='#L376'>376</a>
|
|
436
|
+
<a name='L377'></a><a href='#L377'>377</a>
|
|
437
|
+
<a name='L378'></a><a href='#L378'>378</a>
|
|
438
|
+
<a name='L379'></a><a href='#L379'>379</a>
|
|
439
|
+
<a name='L380'></a><a href='#L380'>380</a>
|
|
440
|
+
<a name='L381'></a><a href='#L381'>381</a>
|
|
441
|
+
<a name='L382'></a><a href='#L382'>382</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">34x</span>
|
|
442
|
+
<span class="cline-any cline-yes">34x</span>
|
|
430
443
|
<span class="cline-any cline-neutral"> </span>
|
|
431
444
|
<span class="cline-any cline-neutral"> </span>
|
|
432
445
|
<span class="cline-any cline-neutral"> </span>
|
|
433
446
|
<span class="cline-any cline-neutral"> </span>
|
|
434
|
-
<span class="cline-any cline-yes">
|
|
435
|
-
<span class="cline-any cline-yes">
|
|
436
|
-
<span class="cline-any cline-yes">
|
|
437
|
-
<span class="cline-any cline-yes">
|
|
438
|
-
<span class="cline-any cline-yes">37x</span>
|
|
447
|
+
<span class="cline-any cline-yes">34x</span>
|
|
448
|
+
<span class="cline-any cline-yes">34x</span>
|
|
449
|
+
<span class="cline-any cline-yes">34x</span>
|
|
450
|
+
<span class="cline-any cline-yes">34x</span>
|
|
439
451
|
<span class="cline-any cline-neutral"> </span>
|
|
440
452
|
<span class="cline-any cline-neutral"> </span>
|
|
441
453
|
<span class="cline-any cline-neutral"> </span>
|
|
442
454
|
<span class="cline-any cline-neutral"> </span>
|
|
443
|
-
<span class="cline-any cline-yes">
|
|
444
|
-
<span class="cline-any cline-yes">37x</span>
|
|
445
|
-
<span class="cline-any cline-yes">37x</span>
|
|
446
|
-
<span class="cline-any cline-yes">37x</span>
|
|
455
|
+
<span class="cline-any cline-yes">34x</span>
|
|
447
456
|
<span class="cline-any cline-neutral"> </span>
|
|
448
|
-
<span class="cline-any cline-
|
|
449
|
-
<span class="cline-any cline-
|
|
450
|
-
<span class="cline-any cline-yes">
|
|
451
|
-
<span class="cline-any cline-yes">
|
|
452
|
-
<span class="cline-any cline-yes">
|
|
457
|
+
<span class="cline-any cline-neutral"> </span>
|
|
458
|
+
<span class="cline-any cline-neutral"> </span>
|
|
459
|
+
<span class="cline-any cline-yes">34x</span>
|
|
460
|
+
<span class="cline-any cline-yes">34x</span>
|
|
461
|
+
<span class="cline-any cline-yes">34x</span>
|
|
462
|
+
<span class="cline-any cline-neutral"> </span>
|
|
463
|
+
<span class="cline-any cline-yes">34x</span>
|
|
464
|
+
<span class="cline-any cline-yes">99x</span>
|
|
465
|
+
<span class="cline-any cline-yes">99x</span>
|
|
466
|
+
<span class="cline-any cline-yes">99x</span>
|
|
467
|
+
<span class="cline-any cline-yes">99x</span>
|
|
453
468
|
<span class="cline-any cline-yes">4x</span>
|
|
454
469
|
<span class="cline-any cline-yes">11x</span>
|
|
455
470
|
<span class="cline-any cline-neutral"> </span>
|
|
456
471
|
<span class="cline-any cline-neutral"> </span>
|
|
457
472
|
<span class="cline-any cline-neutral"> </span>
|
|
458
|
-
<span class="cline-any cline-yes">
|
|
473
|
+
<span class="cline-any cline-yes">99x</span>
|
|
459
474
|
<span class="cline-any cline-neutral"> </span>
|
|
460
475
|
<span class="cline-any cline-yes">1x</span>
|
|
461
476
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -476,11 +491,11 @@
|
|
|
476
491
|
<span class="cline-any cline-yes">1x</span>
|
|
477
492
|
<span class="cline-any cline-yes">1x</span>
|
|
478
493
|
<span class="cline-any cline-neutral"> </span>
|
|
479
|
-
<span class="cline-any cline-yes">
|
|
494
|
+
<span class="cline-any cline-yes">99x</span>
|
|
480
495
|
<span class="cline-any cline-neutral"> </span>
|
|
481
496
|
<span class="cline-any cline-neutral"> </span>
|
|
482
497
|
<span class="cline-any cline-neutral"> </span>
|
|
483
|
-
<span class="cline-any cline-yes">
|
|
498
|
+
<span class="cline-any cline-yes">34x</span>
|
|
484
499
|
<span class="cline-any cline-yes">4x</span>
|
|
485
500
|
<span class="cline-any cline-no"> </span>
|
|
486
501
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -500,9 +515,9 @@
|
|
|
500
515
|
<span class="cline-any cline-yes">4x</span>
|
|
501
516
|
<span class="cline-any cline-neutral"> </span>
|
|
502
517
|
<span class="cline-any cline-neutral"> </span>
|
|
503
|
-
<span class="cline-any cline-yes">
|
|
504
|
-
<span class="cline-any cline-yes">
|
|
505
|
-
<span class="cline-any cline-yes">
|
|
518
|
+
<span class="cline-any cline-yes">34x</span>
|
|
519
|
+
<span class="cline-any cline-yes">100x</span>
|
|
520
|
+
<span class="cline-any cline-yes">99x</span>
|
|
506
521
|
<span class="cline-any cline-neutral"> </span>
|
|
507
522
|
<span class="cline-any cline-neutral"> </span>
|
|
508
523
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -541,19 +556,15 @@
|
|
|
541
556
|
<span class="cline-any cline-neutral"> </span>
|
|
542
557
|
<span class="cline-any cline-neutral"> </span>
|
|
543
558
|
<span class="cline-any cline-yes">1x</span>
|
|
544
|
-
<span class="cline-any cline-neutral"> </span>
|
|
545
|
-
<span class="cline-any cline-neutral"> </span>
|
|
546
|
-
<span class="cline-any cline-yes">1x</span>
|
|
547
|
-
<span class="cline-any cline-yes">1x</span>
|
|
548
559
|
<span class="cline-any cline-yes">1x</span>
|
|
549
560
|
<span class="cline-any cline-yes">1x</span>
|
|
550
561
|
<span class="cline-any cline-yes">1x</span>
|
|
551
562
|
<span class="cline-any cline-neutral"> </span>
|
|
552
563
|
<span class="cline-any cline-neutral"> </span>
|
|
553
|
-
<span class="cline-any cline-yes">
|
|
554
|
-
<span class="cline-any cline-yes">
|
|
564
|
+
<span class="cline-any cline-yes">34x</span>
|
|
565
|
+
<span class="cline-any cline-yes">99x</span>
|
|
555
566
|
<span class="cline-any cline-neutral"> </span>
|
|
556
|
-
<span class="cline-any cline-yes">
|
|
567
|
+
<span class="cline-any cline-yes">99x</span>
|
|
557
568
|
<span class="cline-any cline-yes">2x</span>
|
|
558
569
|
<span class="cline-any cline-yes">2x</span>
|
|
559
570
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -591,12 +602,12 @@
|
|
|
591
602
|
<span class="cline-any cline-neutral"> </span>
|
|
592
603
|
<span class="cline-any cline-neutral"> </span>
|
|
593
604
|
<span class="cline-any cline-neutral"> </span>
|
|
594
|
-
<span class="cline-any cline-yes">
|
|
605
|
+
<span class="cline-any cline-yes">99x</span>
|
|
595
606
|
<span class="cline-any cline-neutral"> </span>
|
|
596
607
|
<span class="cline-any cline-neutral"> </span>
|
|
597
|
-
<span class="cline-any cline-yes">
|
|
608
|
+
<span class="cline-any cline-yes">34x</span>
|
|
598
609
|
<span class="cline-any cline-neutral"> </span>
|
|
599
|
-
<span class="cline-any cline-yes">
|
|
610
|
+
<span class="cline-any cline-yes">99x</span>
|
|
600
611
|
<span class="cline-any cline-yes">1x</span>
|
|
601
612
|
<span class="cline-any cline-neutral"> </span>
|
|
602
613
|
<span class="cline-any cline-yes">5x</span>
|
|
@@ -604,60 +615,60 @@
|
|
|
604
615
|
<span class="cline-any cline-neutral"> </span>
|
|
605
616
|
<span class="cline-any cline-neutral"> </span>
|
|
606
617
|
<span class="cline-any cline-neutral"> </span>
|
|
607
|
-
<span class="cline-any cline-yes">
|
|
618
|
+
<span class="cline-any cline-yes">99x</span>
|
|
608
619
|
<span class="cline-any cline-neutral"> </span>
|
|
609
620
|
<span class="cline-any cline-neutral"> </span>
|
|
610
621
|
<span class="cline-any cline-neutral"> </span>
|
|
611
622
|
<span class="cline-any cline-neutral"> </span>
|
|
612
|
-
<span class="cline-any cline-yes">
|
|
613
|
-
<span class="cline-any cline-yes">
|
|
614
|
-
<span class="cline-any cline-yes">
|
|
615
|
-
<span class="cline-any cline-yes">
|
|
623
|
+
<span class="cline-any cline-yes">99x</span>
|
|
624
|
+
<span class="cline-any cline-yes">99x</span>
|
|
625
|
+
<span class="cline-any cline-yes">99x</span>
|
|
626
|
+
<span class="cline-any cline-yes">99x</span>
|
|
616
627
|
<span class="cline-any cline-neutral"> </span>
|
|
617
|
-
<span class="cline-any cline-yes">
|
|
618
|
-
<span class="cline-any cline-yes">
|
|
628
|
+
<span class="cline-any cline-yes">99x</span>
|
|
629
|
+
<span class="cline-any cline-yes">99x</span>
|
|
619
630
|
<span class="cline-any cline-neutral"> </span>
|
|
620
|
-
<span class="cline-any cline-yes">
|
|
631
|
+
<span class="cline-any cline-yes">99x</span>
|
|
621
632
|
<span class="cline-any cline-neutral"> </span>
|
|
622
633
|
<span class="cline-any cline-neutral"> </span>
|
|
623
634
|
<span class="cline-any cline-neutral"> </span>
|
|
624
635
|
<span class="cline-any cline-neutral"> </span>
|
|
625
|
-
<span class="cline-any cline-yes">
|
|
636
|
+
<span class="cline-any cline-yes">99x</span>
|
|
626
637
|
<span class="cline-any cline-yes">4x</span>
|
|
627
638
|
<span class="cline-any cline-neutral"> </span>
|
|
628
|
-
<span class="cline-any cline-yes">
|
|
629
|
-
<span class="cline-any cline-yes">
|
|
639
|
+
<span class="cline-any cline-yes">99x</span>
|
|
640
|
+
<span class="cline-any cline-yes">99x</span>
|
|
630
641
|
<span class="cline-any cline-neutral"> </span>
|
|
631
642
|
<span class="cline-any cline-neutral"> </span>
|
|
632
643
|
<span class="cline-any cline-neutral"> </span>
|
|
633
644
|
<span class="cline-any cline-neutral"> </span>
|
|
634
|
-
<span class="cline-any cline-yes">
|
|
645
|
+
<span class="cline-any cline-yes">99x</span>
|
|
635
646
|
<span class="cline-any cline-neutral"> </span>
|
|
636
647
|
<span class="cline-any cline-neutral"> </span>
|
|
637
648
|
<span class="cline-any cline-neutral"> </span>
|
|
638
649
|
<span class="cline-any cline-neutral"> </span>
|
|
639
|
-
<span class="cline-any cline-yes">
|
|
640
|
-
<span class="cline-any cline-yes">
|
|
650
|
+
<span class="cline-any cline-yes">99x</span>
|
|
651
|
+
<span class="cline-any cline-yes">99x</span>
|
|
641
652
|
<span class="cline-any cline-neutral"> </span>
|
|
642
653
|
<span class="cline-any cline-neutral"> </span>
|
|
643
654
|
<span class="cline-any cline-neutral"> </span>
|
|
644
655
|
<span class="cline-any cline-neutral"> </span>
|
|
645
|
-
<span class="cline-any cline-yes">
|
|
646
|
-
<span class="cline-any cline-yes">
|
|
656
|
+
<span class="cline-any cline-yes">99x</span>
|
|
657
|
+
<span class="cline-any cline-yes">99x</span>
|
|
647
658
|
<span class="cline-any cline-neutral"> </span>
|
|
648
659
|
<span class="cline-any cline-neutral"> </span>
|
|
649
660
|
<span class="cline-any cline-neutral"> </span>
|
|
650
661
|
<span class="cline-any cline-neutral"> </span>
|
|
651
662
|
<span class="cline-any cline-neutral"> </span>
|
|
652
|
-
<span class="cline-any cline-yes">
|
|
663
|
+
<span class="cline-any cline-yes">99x</span>
|
|
653
664
|
<span class="cline-any cline-neutral"> </span>
|
|
654
665
|
<span class="cline-any cline-neutral"> </span>
|
|
655
666
|
<span class="cline-any cline-neutral"> </span>
|
|
656
|
-
<span class="cline-any cline-yes">
|
|
667
|
+
<span class="cline-any cline-yes">99x</span>
|
|
657
668
|
<span class="cline-any cline-neutral"> </span>
|
|
658
669
|
<span class="cline-any cline-neutral"> </span>
|
|
659
670
|
<span class="cline-any cline-neutral"> </span>
|
|
660
|
-
<span class="cline-any cline-yes">
|
|
671
|
+
<span class="cline-any cline-yes">34x</span>
|
|
661
672
|
<span class="cline-any cline-no"> </span>
|
|
662
673
|
<span class="cline-any cline-no"> </span>
|
|
663
674
|
<span class="cline-any cline-no"> </span>
|
|
@@ -666,24 +677,22 @@
|
|
|
666
677
|
<span class="cline-any cline-no"> </span>
|
|
667
678
|
<span class="cline-any cline-neutral"> </span>
|
|
668
679
|
<span class="cline-any cline-neutral"> </span>
|
|
669
|
-
<span class="cline-any cline-yes">
|
|
680
|
+
<span class="cline-any cline-yes">34x</span>
|
|
670
681
|
<span class="cline-any cline-no"> </span>
|
|
671
682
|
<span class="cline-any cline-no"> </span>
|
|
672
683
|
<span class="cline-any cline-neutral"> </span>
|
|
673
684
|
<span class="cline-any cline-neutral"> </span>
|
|
674
|
-
<span class="cline-any cline-yes">
|
|
685
|
+
<span class="cline-any cline-yes">34x</span>
|
|
675
686
|
<span class="cline-any cline-yes">30x</span>
|
|
676
687
|
<span class="cline-any cline-yes">30x</span>
|
|
677
688
|
<span class="cline-any cline-no"> </span>
|
|
678
689
|
<span class="cline-any cline-no"> </span>
|
|
679
|
-
<span class="cline-any cline-no"> </span>
|
|
680
|
-
<span class="cline-any cline-no"> </span>
|
|
681
690
|
<span class="cline-any cline-neutral"> </span>
|
|
682
691
|
<span class="cline-any cline-yes">30x</span>
|
|
683
692
|
<span class="cline-any cline-neutral"> </span>
|
|
684
693
|
<span class="cline-any cline-neutral"> </span>
|
|
685
694
|
<span class="cline-any cline-neutral"> </span>
|
|
686
|
-
<span class="cline-any cline-yes">
|
|
695
|
+
<span class="cline-any cline-yes">34x</span>
|
|
687
696
|
<span class="cline-any cline-yes">1x</span>
|
|
688
697
|
<span class="cline-any cline-yes">1x</span>
|
|
689
698
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -755,15 +764,15 @@
|
|
|
755
764
|
<span class="cline-any cline-neutral"> </span>
|
|
756
765
|
<span class="cline-any cline-neutral"> </span>
|
|
757
766
|
<span class="cline-any cline-neutral"> </span>
|
|
758
|
-
<span class="cline-any cline-yes">
|
|
767
|
+
<span class="cline-any cline-yes">34x</span>
|
|
759
768
|
<span class="cline-any cline-no"> </span>
|
|
760
769
|
<span class="cline-any cline-neutral"> </span>
|
|
761
770
|
<span class="cline-any cline-neutral"> </span>
|
|
762
|
-
<span class="cline-any cline-yes">
|
|
771
|
+
<span class="cline-any cline-yes">34x</span>
|
|
763
772
|
<span class="cline-any cline-no"> </span>
|
|
764
773
|
<span class="cline-any cline-neutral"> </span>
|
|
765
774
|
<span class="cline-any cline-neutral"> </span>
|
|
766
|
-
<span class="cline-any cline-yes">
|
|
775
|
+
<span class="cline-any cline-yes">34x</span>
|
|
767
776
|
<span class="cline-any cline-no"> </span>
|
|
768
777
|
<span class="cline-any cline-neutral"> </span>
|
|
769
778
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -775,9 +784,26 @@
|
|
|
775
784
|
<span class="cline-any cline-no"> </span>
|
|
776
785
|
<span class="cline-any cline-neutral"> </span>
|
|
777
786
|
<span class="cline-any cline-neutral"> </span>
|
|
778
|
-
<span class="cline-any cline-yes">
|
|
779
|
-
<span class="cline-any cline-
|
|
780
|
-
<span class="cline-any cline-
|
|
787
|
+
<span class="cline-any cline-yes">34x</span>
|
|
788
|
+
<span class="cline-any cline-no"> </span>
|
|
789
|
+
<span class="cline-any cline-neutral"> </span>
|
|
790
|
+
<span class="cline-any cline-neutral"> </span>
|
|
791
|
+
<span class="cline-any cline-neutral"> </span>
|
|
792
|
+
<span class="cline-any cline-no"> </span>
|
|
793
|
+
<span class="cline-any cline-neutral"> </span>
|
|
794
|
+
<span class="cline-any cline-no"> </span>
|
|
795
|
+
<span class="cline-any cline-no"> </span>
|
|
796
|
+
<span class="cline-any cline-no"> </span>
|
|
797
|
+
<span class="cline-any cline-no"> </span>
|
|
798
|
+
<span class="cline-any cline-no"> </span>
|
|
799
|
+
<span class="cline-any cline-neutral"> </span>
|
|
800
|
+
<span class="cline-any cline-neutral"> </span>
|
|
801
|
+
<span class="cline-any cline-no"> </span>
|
|
802
|
+
<span class="cline-any cline-neutral"> </span>
|
|
803
|
+
<span class="cline-any cline-neutral"> </span>
|
|
804
|
+
<span class="cline-any cline-yes">34x</span>
|
|
805
|
+
<span class="cline-any cline-yes">99x</span>
|
|
806
|
+
<span class="cline-any cline-yes">95x</span>
|
|
781
807
|
<span class="cline-any cline-neutral"> </span>
|
|
782
808
|
<span class="cline-any cline-yes">4x</span>
|
|
783
809
|
<span class="cline-any cline-yes">11x</span>
|
|
@@ -792,7 +818,7 @@
|
|
|
792
818
|
<span class="cline-any cline-yes">4x</span>
|
|
793
819
|
<span class="cline-any cline-neutral"> </span>
|
|
794
820
|
<span class="cline-any cline-neutral"> </span>
|
|
795
|
-
<span class="cline-any cline-yes">
|
|
821
|
+
<span class="cline-any cline-yes">34x</span>
|
|
796
822
|
<span class="cline-any cline-neutral"> </span></td><td class="text"><pre class="prettyprint lang-js">const CouchDB = require("../../../db")
|
|
797
823
|
const csvParser = require("../../../utilities/csvParser")
|
|
798
824
|
const {
|
|
@@ -803,15 +829,17 @@ const {
|
|
|
803
829
|
const { isEqual } = require("lodash/fp")
|
|
804
830
|
const { AutoFieldSubTypes, FieldTypes } = require("../../../constants")
|
|
805
831
|
const { inputProcessing } = require("../../../utilities/rowProcessor")
|
|
806
|
-
const {
|
|
832
|
+
const {
|
|
833
|
+
USERS_TABLE_SCHEMA,
|
|
834
|
+
SwitchableTypes,
|
|
835
|
+
CanSwitchTypes,
|
|
836
|
+
} = require("../../../constants")
|
|
807
837
|
const {
|
|
808
838
|
isExternalTable,
|
|
809
839
|
breakExternalTableId,
|
|
810
|
-
isSQL,
|
|
811
840
|
} = require("../../../integrations/utils")
|
|
812
841
|
const { getViews, saveView } = require("../view/utils")
|
|
813
842
|
const viewTemplate = require("../view/viewBuilder")
|
|
814
|
-
const usageQuota = require("../../../utilities/usageQuota")
|
|
815
843
|
|
|
816
844
|
exports.checkForColumnUpdates = async (db, oldTable, updatedTable) => {
|
|
817
845
|
let updatedRows = []
|
|
@@ -908,11 +936,7 @@ exports.handleDataImport = async (appId, user, table, dataImport) => {
|
|
|
908
936
|
finalData.push(row)
|
|
909
937
|
}
|
|
910
938
|
|
|
911
|
-
await usageQuota.update(usageQuota.Properties.ROW, finalData.length, {
|
|
912
|
-
dryRun: true,
|
|
913
|
-
})
|
|
914
939
|
await db.bulkDocs(finalData)
|
|
915
|
-
await usageQuota.update(usageQuota.Properties.ROW, finalData.length)
|
|
916
940
|
let response = await db.put(table)
|
|
917
941
|
table._rev = response._rev
|
|
918
942
|
return table
|
|
@@ -1043,9 +1067,7 @@ exports.getTable = async (appId, tableId) => {
|
|
|
1043
1067
|
const db = new CouchDB(appId)
|
|
1044
1068
|
<span class="missing-if-branch" title="if path not taken" >I</span>if (isExternalTable(tableId)) {
|
|
1045
1069
|
let { datasourceId, tableName } = <span class="cstat-no" title="statement not covered" >breakExternalTableId(tableId)</span>
|
|
1046
|
-
|
|
1047
|
-
const table = <span class="cstat-no" title="statement not covered" >await exports.getExternalTable(appId, datasourceId, tableName)</span>
|
|
1048
|
-
<span class="cstat-no" title="statement not covered" > return { ...table, sql: isSQL(datasource) }</span>
|
|
1070
|
+
<span class="cstat-no" title="statement not covered" > return exports.getExternalTable(appId, datasourceId, tableName)</span>
|
|
1049
1071
|
} else {
|
|
1050
1072
|
return db.get(tableId)
|
|
1051
1073
|
}
|
|
@@ -1143,6 +1165,23 @@ exports.foreignKeyStructure = <span class="fstat-no" title="function not covered
|
|
|
1143
1165
|
<span class="cstat-no" title="statement not covered" > return structure</span>
|
|
1144
1166
|
}
|
|
1145
1167
|
|
|
1168
|
+
exports.areSwitchableTypes = <span class="fstat-no" title="function not covered" >(t</span>ype1, type2) => {
|
|
1169
|
+
<span class="cstat-no" title="statement not covered" > if (</span>
|
|
1170
|
+
SwitchableTypes.indexOf(type1) === -1 &&
|
|
1171
|
+
SwitchableTypes.indexOf(type2) === -1
|
|
1172
|
+
) {
|
|
1173
|
+
<span class="cstat-no" title="statement not covered" > return false</span>
|
|
1174
|
+
}
|
|
1175
|
+
<span class="cstat-no" title="statement not covered" > for (let option of CanSwitchTypes) {</span>
|
|
1176
|
+
const index1 = <span class="cstat-no" title="statement not covered" >option.indexOf(type1),</span>
|
|
1177
|
+
index2 = <span class="cstat-no" title="statement not covered" >option.indexOf(type2)</span>
|
|
1178
|
+
<span class="cstat-no" title="statement not covered" > if (index1 !== -1 && index2 !== -1 && index1 !== index2) {</span>
|
|
1179
|
+
<span class="cstat-no" title="statement not covered" > return true</span>
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
<span class="cstat-no" title="statement not covered" > return false</span>
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1146
1185
|
exports.hasTypeChanged = (table, oldTable) => {
|
|
1147
1186
|
if (!oldTable) {
|
|
1148
1187
|
return false
|
|
@@ -1153,7 +1192,7 @@ exports.hasTypeChanged = (table, oldTable) => {
|
|
|
1153
1192
|
continue
|
|
1154
1193
|
}
|
|
1155
1194
|
const newType = table.schema[key].type
|
|
1156
|
-
<span class="missing-if-branch" title="if path not taken" >I</span>if (oldType !== newType && <span class="branch-1 cbranch-no" title="branch not covered"
|
|
1195
|
+
<span class="missing-if-branch" title="if path not taken" >I</span>if (oldType !== newType && <span class="branch-1 cbranch-no" title="branch not covered" >!exports.areSwitchableTypes(oldType, newType))</span> {
|
|
1157
1196
|
<span class="cstat-no" title="statement not covered" > return true</span>
|
|
1158
1197
|
}
|
|
1159
1198
|
}
|
|
@@ -1168,7 +1207,7 @@ exports.TableSaveFunctions = TableSaveFunctions
|
|
|
1168
1207
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
1169
1208
|
Code coverage generated by
|
|
1170
1209
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
1171
|
-
at
|
|
1210
|
+
at Mon Jan 31 2022 13:42:59 GMT+0000 (Coordinated Universal Time)
|
|
1172
1211
|
</div>
|
|
1173
1212
|
</div>
|
|
1174
1213
|
<script src="../../../prettify.js"></script>
|
|
@@ -181,7 +181,7 @@ exports.downloadTemplate = async function (ctx) {
|
|
|
181
181
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
182
182
|
Code coverage generated by
|
|
183
183
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
184
|
-
at
|
|
184
|
+
at Mon Jan 31 2022 13:42:59 GMT+0000 (Coordinated Universal Time)
|
|
185
185
|
</div>
|
|
186
186
|
</div>
|
|
187
187
|
<script src="../../prettify.js"></script>
|
|
@@ -290,23 +290,23 @@
|
|
|
290
290
|
<a name='L231'></a><a href='#L231'>231</a>
|
|
291
291
|
<a name='L232'></a><a href='#L232'>232</a>
|
|
292
292
|
<a name='L233'></a><a href='#L233'>233</a>
|
|
293
|
-
<a name='L234'></a><a href='#L234'>234</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
293
|
+
<a name='L234'></a><a href='#L234'>234</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">34x</span>
|
|
294
294
|
<span class="cline-any cline-neutral"> </span>
|
|
295
295
|
<span class="cline-any cline-neutral"> </span>
|
|
296
296
|
<span class="cline-any cline-neutral"> </span>
|
|
297
297
|
<span class="cline-any cline-neutral"> </span>
|
|
298
|
-
<span class="cline-any cline-yes">
|
|
299
|
-
<span class="cline-any cline-yes">
|
|
300
|
-
<span class="cline-any cline-yes">
|
|
301
|
-
<span class="cline-any cline-yes">
|
|
302
|
-
<span class="cline-any cline-yes">
|
|
303
|
-
<span class="cline-any cline-yes">
|
|
298
|
+
<span class="cline-any cline-yes">34x</span>
|
|
299
|
+
<span class="cline-any cline-yes">34x</span>
|
|
300
|
+
<span class="cline-any cline-yes">34x</span>
|
|
301
|
+
<span class="cline-any cline-yes">34x</span>
|
|
302
|
+
<span class="cline-any cline-yes">34x</span>
|
|
303
|
+
<span class="cline-any cline-yes">34x</span>
|
|
304
304
|
<span class="cline-any cline-neutral"> </span>
|
|
305
305
|
<span class="cline-any cline-neutral"> </span>
|
|
306
306
|
<span class="cline-any cline-neutral"> </span>
|
|
307
|
-
<span class="cline-any cline-yes">
|
|
308
|
-
<span class="cline-any cline-yes">
|
|
309
|
-
<span class="cline-any cline-yes">
|
|
307
|
+
<span class="cline-any cline-yes">34x</span>
|
|
308
|
+
<span class="cline-any cline-yes">34x</span>
|
|
309
|
+
<span class="cline-any cline-yes">34x</span>
|
|
310
310
|
<span class="cline-any cline-neutral"> </span>
|
|
311
311
|
<span class="cline-any cline-neutral"> </span>
|
|
312
312
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
<span class="cline-any cline-no"> </span>
|
|
347
347
|
<span class="cline-any cline-neutral"> </span>
|
|
348
348
|
<span class="cline-any cline-neutral"> </span>
|
|
349
|
-
<span class="cline-any cline-yes">
|
|
349
|
+
<span class="cline-any cline-yes">34x</span>
|
|
350
350
|
<span class="cline-any cline-neutral"> </span>
|
|
351
351
|
<span class="cline-any cline-no"> </span>
|
|
352
352
|
<span class="cline-any cline-no"> </span>
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
<span class="cline-any cline-no"> </span>
|
|
364
364
|
<span class="cline-any cline-neutral"> </span>
|
|
365
365
|
<span class="cline-any cline-neutral"> </span>
|
|
366
|
-
<span class="cline-any cline-yes">
|
|
366
|
+
<span class="cline-any cline-yes">34x</span>
|
|
367
367
|
<span class="cline-any cline-no"> </span>
|
|
368
368
|
<span class="cline-any cline-neutral"> </span>
|
|
369
369
|
<span class="cline-any cline-no"> </span>
|
|
@@ -434,7 +434,7 @@
|
|
|
434
434
|
<span class="cline-any cline-neutral"> </span>
|
|
435
435
|
<span class="cline-any cline-neutral"> </span>
|
|
436
436
|
<span class="cline-any cline-neutral"> </span>
|
|
437
|
-
<span class="cline-any cline-yes">
|
|
437
|
+
<span class="cline-any cline-yes">34x</span>
|
|
438
438
|
<span class="cline-any cline-yes">2x</span>
|
|
439
439
|
<span class="cline-any cline-yes">2x</span>
|
|
440
440
|
<span class="cline-any cline-yes">2x</span>
|
|
@@ -454,7 +454,7 @@
|
|
|
454
454
|
<span class="cline-any cline-yes">2x</span>
|
|
455
455
|
<span class="cline-any cline-neutral"> </span>
|
|
456
456
|
<span class="cline-any cline-neutral"> </span>
|
|
457
|
-
<span class="cline-any cline-yes">
|
|
457
|
+
<span class="cline-any cline-yes">34x</span>
|
|
458
458
|
<span class="cline-any cline-neutral"> </span>
|
|
459
459
|
<span class="cline-any cline-no"> </span>
|
|
460
460
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
<span class="cline-any cline-no"> </span>
|
|
463
463
|
<span class="cline-any cline-neutral"> </span>
|
|
464
464
|
<span class="cline-any cline-neutral"> </span>
|
|
465
|
-
<span class="cline-any cline-yes">
|
|
465
|
+
<span class="cline-any cline-yes">34x</span>
|
|
466
466
|
<span class="cline-any cline-yes">1x</span>
|
|
467
467
|
<span class="cline-any cline-yes">1x</span>
|
|
468
468
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -475,7 +475,7 @@
|
|
|
475
475
|
<span class="cline-any cline-yes">1x</span>
|
|
476
476
|
<span class="cline-any cline-neutral"> </span>
|
|
477
477
|
<span class="cline-any cline-neutral"> </span>
|
|
478
|
-
<span class="cline-any cline-yes">
|
|
478
|
+
<span class="cline-any cline-yes">34x</span>
|
|
479
479
|
<span class="cline-any cline-yes">1x</span>
|
|
480
480
|
<span class="cline-any cline-yes">1x</span>
|
|
481
481
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -488,11 +488,11 @@
|
|
|
488
488
|
<span class="cline-any cline-neutral"> </span>
|
|
489
489
|
<span class="cline-any cline-neutral"> </span>
|
|
490
490
|
<span class="cline-any cline-neutral"> </span>
|
|
491
|
-
<span class="cline-any cline-yes">
|
|
491
|
+
<span class="cline-any cline-yes">34x</span>
|
|
492
492
|
<span class="cline-any cline-yes">1x</span>
|
|
493
493
|
<span class="cline-any cline-neutral"> </span>
|
|
494
494
|
<span class="cline-any cline-neutral"> </span>
|
|
495
|
-
<span class="cline-any cline-yes">
|
|
495
|
+
<span class="cline-any cline-yes">34x</span>
|
|
496
496
|
<span class="cline-any cline-no"> </span>
|
|
497
497
|
<span class="cline-any cline-no"> </span>
|
|
498
498
|
<span class="cline-any cline-no"> </span>
|
|
@@ -511,7 +511,7 @@
|
|
|
511
511
|
<span class="cline-any cline-no"> </span>
|
|
512
512
|
<span class="cline-any cline-neutral"> </span>
|
|
513
513
|
<span class="cline-any cline-neutral"> </span>
|
|
514
|
-
<span class="cline-any cline-yes">
|
|
514
|
+
<span class="cline-any cline-yes">34x</span>
|
|
515
515
|
<span class="cline-any cline-no"> </span>
|
|
516
516
|
<span class="cline-any cline-no"> </span>
|
|
517
517
|
<span class="cline-any cline-no"> </span>
|
|
@@ -763,7 +763,7 @@ exports.getFlags = <span class="fstat-no" title="function not covered" >as</span
|
|
|
763
763
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
764
764
|
Code coverage generated by
|
|
765
765
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
766
|
-
at
|
|
766
|
+
at Mon Jan 31 2022 13:42:59 GMT+0000 (Coordinated Universal Time)
|
|
767
767
|
</div>
|
|
768
768
|
</div>
|
|
769
769
|
<script src="../../prettify.js"></script>
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<a name='L21'></a><a href='#L21'>21</a>
|
|
81
81
|
<a name='L22'></a><a href='#L22'>22</a>
|
|
82
82
|
<a name='L23'></a><a href='#L23'>23</a>
|
|
83
|
-
<a name='L24'></a><a href='#L24'>24</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">
|
|
83
|
+
<a name='L24'></a><a href='#L24'>24</a></td><td class="line-coverage quiet"><span class="cline-any cline-yes">33x</span>
|
|
84
84
|
<span class="cline-any cline-yes">2x</span>
|
|
85
85
|
<span class="cline-any cline-neutral"> </span>
|
|
86
86
|
<span class="cline-any cline-yes">1x</span>
|
|
@@ -95,11 +95,11 @@
|
|
|
95
95
|
<span class="cline-any cline-yes">1x</span>
|
|
96
96
|
<span class="cline-any cline-neutral"> </span>
|
|
97
97
|
<span class="cline-any cline-neutral"> </span>
|
|
98
|
-
<span class="cline-any cline-yes">
|
|
98
|
+
<span class="cline-any cline-yes">33x</span>
|
|
99
99
|
<span class="cline-any cline-yes">1x</span>
|
|
100
100
|
<span class="cline-any cline-neutral"> </span>
|
|
101
101
|
<span class="cline-any cline-neutral"> </span>
|
|
102
|
-
<span class="cline-any cline-yes">
|
|
102
|
+
<span class="cline-any cline-yes">33x</span>
|
|
103
103
|
<span class="cline-any cline-neutral"> </span>
|
|
104
104
|
<span class="cline-any cline-neutral"> </span>
|
|
105
105
|
<span class="cline-any cline-neutral"> </span>
|
|
@@ -133,7 +133,7 @@ exports.ExportFormats = {
|
|
|
133
133
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
134
134
|
Code coverage generated by
|
|
135
135
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
136
|
-
at
|
|
136
|
+
at Mon Jan 31 2022 13:42:59 GMT+0000 (Coordinated Universal Time)
|
|
137
137
|
</div>
|
|
138
138
|
</div>
|
|
139
139
|
<script src="../../../prettify.js"></script>
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
<div class='footer quiet pad2 space-top1 center small'>
|
|
141
141
|
Code coverage generated by
|
|
142
142
|
<a href="https://istanbul.js.org/" target="_blank">istanbul</a>
|
|
143
|
-
at
|
|
143
|
+
at Mon Jan 31 2022 13:42:59 GMT+0000 (Coordinated Universal Time)
|
|
144
144
|
</div>
|
|
145
145
|
</div>
|
|
146
146
|
<script src="../../../prettify.js"></script>
|