@qvac/ocr-ggml 0.27.1 → 0.27.2
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/README.md +26 -0
- package/fit.d.ts +23 -0
- package/fit.js +31 -0
- package/index.d.ts +2 -0
- package/index.js +7 -20
- package/lib/backends-dir.d.ts +1 -0
- package/lib/backends-dir.js +16 -0
- package/package.json +6 -4
- package/prebuilds/android-arm64/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/darwin-arm64/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/darwin-arm64/qvac__ocr-ggml.bare.exports +5 -4
- package/prebuilds/darwin-x64/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/darwin-x64/qvac__ocr-ggml.bare.exports +68 -27
- package/prebuilds/ios-arm64/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/ios-arm64/qvac__ocr-ggml.bare.exports +6 -5
- package/prebuilds/ios-arm64-simulator/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/ios-arm64-simulator/qvac__ocr-ggml.bare.exports +6 -5
- package/prebuilds/ios-x64-simulator/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/ios-x64-simulator/qvac__ocr-ggml.bare.exports +68 -13
- package/prebuilds/linux-arm64/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/linux-x64/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/win32-x64/qvac__ocr-ggml.bare +0 -0
- package/prebuilds/win32-x64/qvac__ocr-ggml.bare.exports +0 -0
- package/test/integration/fit.test.js +108 -0
- package/test/mobile/integration.auto.cjs +5 -0
- package/test/mobile/test-groups.json +2 -0
|
@@ -101,6 +101,11 @@ async function runErrorHandlingTest (options = {}) { // eslint-disable-line no-u
|
|
|
101
101
|
return runIntegrationModule('../integration/error-handling.test.js', options)
|
|
102
102
|
}
|
|
103
103
|
|
|
104
|
+
async function runFitTest (options = {}) { // eslint-disable-line no-unused-vars -- called dynamically by the mobile test runner via string lookup
|
|
105
|
+
if (typeof __shouldRunTest === 'function' && !__shouldRunTest('runFitTest')) return __FILTERED
|
|
106
|
+
return runIntegrationModule('../integration/fit.test.js', options)
|
|
107
|
+
}
|
|
108
|
+
|
|
104
109
|
async function runFullCoverageTest (options = {}) { // eslint-disable-line no-unused-vars -- called dynamically by the mobile test runner via string lookup
|
|
105
110
|
if (typeof __shouldRunTest === 'function' && !__shouldRunTest('runFullCoverageTest')) return __FILTERED
|
|
106
111
|
return runIntegrationModule('../integration/full-coverage.test.js', options)
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"runDoctrModelsTest",
|
|
13
13
|
"runDoctrParamValidationTest",
|
|
14
14
|
"runErrorHandlingTest",
|
|
15
|
+
"runFitTest",
|
|
15
16
|
"runFullCoverageTest",
|
|
16
17
|
"runFullOcrSuiteTest"
|
|
17
18
|
],
|
|
@@ -48,6 +49,7 @@
|
|
|
48
49
|
"runDoctrModelsTest",
|
|
49
50
|
"runDoctrParamValidationTest",
|
|
50
51
|
"runErrorHandlingTest",
|
|
52
|
+
"runFitTest",
|
|
51
53
|
"runFullCoverageTest",
|
|
52
54
|
"runFullOcrSuiteTest"
|
|
53
55
|
],
|