@contentauth/c2pa-web 0.14.5 → 0.14.6
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/dist/{c2pa-CJjzMta6.js → c2pa-BK_gbEns.js} +68 -68
- package/dist/c2pa_worker.js +1 -1
- package/dist/index.js +1 -1
- package/dist/inline.js +4 -4
- package/dist/lib/worker/sanitizeManifestStore.d.ts +6 -0
- package/dist/lib/worker/sanitizeManifestStore.d.ts.map +1 -1
- package/dist/resources/c2pa_bg.wasm +0 -0
- package/package.json +2 -2
|
@@ -17,6 +17,12 @@
|
|
|
17
17
|
* copies own properties, so it would disappear in transit. We detect this by
|
|
18
18
|
* checking whether the prototype was changed, and restore the manifest as an
|
|
19
19
|
* own property before the value leaves the worker.
|
|
20
|
+
*
|
|
21
|
+
* The recovered value's key is always the literal string "__proto__" -
|
|
22
|
+
* that's the only key whose bracket assignment triggers [[SetPrototypeOf]] -
|
|
23
|
+
* regardless of which manifest is active. It must be restored under that
|
|
24
|
+
* key rather than `store.active_manifest`, otherwise a poisoned manifest
|
|
25
|
+
* that isn't the active one would overwrite the genuine active manifest.
|
|
20
26
|
*/
|
|
21
27
|
export declare function sanitizeManifestStore(store: any): any;
|
|
22
28
|
//# sourceMappingURL=sanitizeManifestStore.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sanitizeManifestStore.d.ts","sourceRoot":"","sources":["../../../src/lib/worker/sanitizeManifestStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH
|
|
1
|
+
{"version":3,"file":"sanitizeManifestStore.d.ts","sourceRoot":"","sources":["../../../src/lib/worker/sanitizeManifestStore.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,GAAG,GAAG,GAAG,CAerD"}
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentauth/c2pa-web",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"highgain": "^0.1.0",
|
|
35
35
|
"@contentauth/c2pa-types": "0.7.4",
|
|
36
36
|
"@contentauth/c2pa-utilities": "0.2.2",
|
|
37
|
-
"@contentauth/c2pa-wasm": "0.11.
|
|
37
|
+
"@contentauth/c2pa-wasm": "0.11.6"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@playwright/test": "^1.60.0",
|