• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MrSwitch / dare / #72

06 Jun 2026 07:58PM UTC coverage: 69.143% (-30.9%) from 100.0%
#72

push

web-flow
feat(import-engine): move engines out to their own import path, BREAKING CHANGE (#454)

* feat(postgres): move postgres out to it's own endpoint, BREAKING CHANGE

* style(prettier): fix

* style(ts): fix

* test: fixes

* docs: update README

* docs: update README

* fix(import): migrate LIKE keyword to configurable prop

* feat(import): define mysql5.7 (incl 5.6) legacy import paths, #455

* fix(import): test using wrong dependency

* feat: pluggable json formatter

* fix: issue

* chore: address comments

* fix: issue

* fix: address comments

* fix: address comments, tidy ts

* feat(import): abstract json perfix, operator and formatting

* chore: tidy

* fix(import): abstract DML changes

* feat(import): abstract applyAliasesOnUpdate

* feat(import): abstract sql_fulltext_wildcard

* feat(import): abstract sql_fulltext_wildcard

* feat(import): abstract fulltext sign operators

* chore(postgres): migrate to postgres16 for future proofing

* docs(README): add info about engine specific import paths

* Update README.md

* docs(README): update

* fix: address comments

* fix: prettier

339 of 499 branches covered (67.94%)

Branch coverage included in aggregate %.

487 of 516 new or added lines in 6 files covered. (94.38%)

1497 existing lines in 23 files now uncovered.

3439 of 4965 relevant lines covered (69.26%)

4.28 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

16.0
/src/utils/JSONparse.js
1
// Prevent a bad format from killing the service, instead return undefined
9✔
2
export default value => {
9✔
UNCOV
3
        try {
×
UNCOV
4
                // Ensure Buffers are converted..
×
UNCOV
5
                if (Buffer.isBuffer(value)) {
×
UNCOV
6
                        value = value.toString();
×
UNCOV
7
                }
×
UNCOV
8

×
UNCOV
9
                // TODO: @legacy versions do not use JSON_ARRAY and so we pass the version here...
×
UNCOV
10
                if (typeof value !== 'string') {
×
UNCOV
11
                        return value;
×
UNCOV
12
                }
×
UNCOV
13

×
UNCOV
14
                return JSON.parse(
×
UNCOV
15
                        value
×
UNCOV
16
                                .replace(/\t/g, '\\t')
×
UNCOV
17
                                .replace(/\n/g, '\\n')
×
UNCOV
18
                                .replace(/\r/g, '\\r')
×
UNCOV
19
                                .replace(/\f/g, '\\f')
×
UNCOV
20
                );
×
UNCOV
21
        } catch {
×
UNCOV
22
                // Continue
×
UNCOV
23
        }
×
24
};
9✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc