@arcships/light-ocr 0.5.6 → 0.5.7
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 +8 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -269,6 +269,13 @@ Expected failures reject with `OcrError` and a stable `code`, including
|
|
|
269
269
|
`invalid_argument`, `invalid_image`, `resource_limit_exceeded`,
|
|
270
270
|
`package_load_failed`, and `inference_failed`.
|
|
271
271
|
|
|
272
|
+
macOS packagers may re-sign the native binaries with their own Developer ID
|
|
273
|
+
(or ad-hoc) identity, for example while notarizing a distributed app. The
|
|
274
|
+
loader accepts a re-signed Mach-O on macOS when its code signature verifies
|
|
275
|
+
and its signing identity matches the host application (same TeamIdentifier,
|
|
276
|
+
or both ad-hoc signed); other platforms and unsigned mutations keep the
|
|
277
|
+
strict size + SHA-256 gate and keep failing with `package_load_failed`.
|
|
278
|
+
|
|
272
279
|
For environment reports:
|
|
273
280
|
|
|
274
281
|
```bash
|
|
@@ -288,6 +295,7 @@ console.log(modelProfile);
|
|
|
288
295
|
|
|
289
296
|
- [Project overview](https://github.com/arcships/light-ocr)
|
|
290
297
|
- [Node.js and CLI reference](https://github.com/arcships/light-ocr/blob/main/bindings/node/README.md)
|
|
298
|
+
- [macOS re-signing 0.5.7 release notes](https://github.com/arcships/light-ocr/blob/main/docs/releases/npm-0.5.7.en.md)
|
|
291
299
|
- [PDF 0.5.6 release notes](https://github.com/arcships/light-ocr/blob/main/docs/releases/npm-0.5.6.en.md)
|
|
292
300
|
- [Agent Skill](https://github.com/arcships/light-ocr/blob/main/.agents/skills/local-ocr/SKILL.md)
|
|
293
301
|
- [Changelog](https://github.com/arcships/light-ocr/blob/main/CHANGELOG.md)
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@arcships/light-ocr-model-ppocrv6-small": "0.3.4",
|
|
10
|
-
"@arcships/light-ocr-runtime": "0.1.
|
|
10
|
+
"@arcships/light-ocr-runtime": "0.1.7"
|
|
11
11
|
},
|
|
12
12
|
"description": "Offline image and PDF OCR for Node.js — the stable PP-OCRv6 Small tier",
|
|
13
13
|
"engines": {
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
},
|
|
43
43
|
"type": "commonjs",
|
|
44
44
|
"types": "./src/index.d.ts",
|
|
45
|
-
"version": "0.5.
|
|
45
|
+
"version": "0.5.7"
|
|
46
46
|
}
|