heic-to 1.1.5 → 1.1.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/README.md CHANGED
@@ -8,6 +8,7 @@ Currently, heic-to is using [libheif 1.19.5](https://github.com/strukturag/libhe
8
8
 
9
9
  | Release | libheif |
10
10
  | -------- | -------- |
11
+ | 1.1.6 | 1.19.5 |
11
12
  | 1.1.5 | 1.19.5 |
12
13
  | 1.1.4 | 1.19.4 |
13
14
  | 1.1.3 | 1.19.3 |
@@ -51,6 +52,21 @@ const png = await heicTo({
51
52
  })
52
53
  ```
53
54
 
55
+ #### Cotent Security Policy
56
+
57
+ When meets CSP issue like this:
58
+
59
+ ```
60
+ Uncaught (in promise) EvalError: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive
61
+ ```
62
+
63
+ Fix it by using `csp/heic-to`
64
+
65
+ ```diff
66
+ - import { heicTo } from "heic-to"
67
+ + import { heicTo } from "csp/heic-to"
68
+ ```
69
+
54
70
  ### Development guide
55
71
 
56
72
  #### How to fast test your changes on local?