expo-image-manipulator 13.1.6 → 13.1.8-canary-20250611-f0afe80
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/CHANGELOG.md +6 -0
- package/android/build.gradle +2 -2
- package/build/web/ImageManipulatorContext.web.d.ts +4 -2
- package/build/web/ImageManipulatorContext.web.d.ts.map +1 -1
- package/expo-module.config.json +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.6/expo.modules.imagemanipulator-13.1.6.module → 13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.module} +19 -19
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.module.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.module.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.module.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.module.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.6/expo.modules.imagemanipulator-13.1.6.pom → 13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.pom} +2 -2
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.pom.md5 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.pom.sha1 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.pom.sha256 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.pom.sha512 +1 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml +4 -4
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha512 +1 -1
- package/package.json +5 -6
- package/src/web/ImageManipulatorContext.web.ts +13 -3
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.aar +0 -0
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.aar.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.aar.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.aar.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.aar.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.module.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.module.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.module.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.module.sha512 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.pom.md5 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.pom.sha1 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.pom.sha256 +0 -1
- package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.6/expo.modules.imagemanipulator-13.1.6.pom.sha512 +0 -1
- /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.6/expo.modules.imagemanipulator-13.1.6-sources.jar → 13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80-sources.jar} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.6/expo.modules.imagemanipulator-13.1.6-sources.jar.md5 → 13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80-sources.jar.md5} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.6/expo.modules.imagemanipulator-13.1.6-sources.jar.sha1 → 13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80-sources.jar.sha1} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.6/expo.modules.imagemanipulator-13.1.6-sources.jar.sha256 → 13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80-sources.jar.sha256} +0 -0
- /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.6/expo.modules.imagemanipulator-13.1.6-sources.jar.sha512 → 13.1.8-canary-20250611-f0afe80/expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80-sources.jar.sha512} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -10,6 +10,12 @@
|
|
|
10
10
|
|
|
11
11
|
### 💡 Others
|
|
12
12
|
|
|
13
|
+
## 13.1.7 — 2025-05-08
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Fix `ReferenceError` during export for web. ([#36703](https://github.com/expo/expo/pull/36703) by [@aleqsio](https://github.com/aleqsio))
|
|
18
|
+
|
|
13
19
|
## 13.1.6 — 2025-05-06
|
|
14
20
|
|
|
15
21
|
_This version does not introduce any user-facing changes._
|
package/android/build.gradle
CHANGED
|
@@ -4,13 +4,13 @@ plugins {
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
group = 'host.exp.exponent'
|
|
7
|
-
version = '13.1.
|
|
7
|
+
version = '13.1.8-canary-20250611-f0afe80'
|
|
8
8
|
|
|
9
9
|
android {
|
|
10
10
|
namespace "expo.modules.imagemanipulator"
|
|
11
11
|
defaultConfig {
|
|
12
12
|
versionCode 23
|
|
13
|
-
versionName "13.1.
|
|
13
|
+
versionName "13.1.8-canary-20250611-f0afe80"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { SharedObject } from 'expo';
|
|
2
|
-
import ImageManipulatorImageRef from './ImageManipulatorImageRef.web';
|
|
3
2
|
import { ActionCrop, ActionExtent, FlipType } from '../ImageManipulator.types';
|
|
3
|
+
import ImageManipulatorImageRef from './ImageManipulatorImageRef.web';
|
|
4
4
|
type ContextLoader = () => HTMLCanvasElement | Promise<HTMLCanvasElement>;
|
|
5
5
|
export default class ImageManipulatorContext extends SharedObject {
|
|
6
6
|
private loader;
|
|
7
|
-
private
|
|
7
|
+
private _currentTask;
|
|
8
|
+
get currentTask(): Promise<HTMLCanvasElement>;
|
|
9
|
+
set currentTask(task: Promise<HTMLCanvasElement>);
|
|
8
10
|
constructor(loader?: ContextLoader);
|
|
9
11
|
resize(size: {
|
|
10
12
|
width: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImageManipulatorContext.web.d.ts","sourceRoot":"","sources":["../../src/web/ImageManipulatorContext.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,
|
|
1
|
+
{"version":3,"file":"ImageManipulatorContext.web.d.ts","sourceRoot":"","sources":["../../src/web/ImageManipulatorContext.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,wBAAwB,MAAM,gCAAgC,CAAC;AAGtE,KAAK,aAAa,GAAG,MAAM,iBAAiB,GAAG,OAAO,CAAC,iBAAiB,CAAC,CAAC;AAE1E,MAAM,CAAC,OAAO,OAAO,uBAAwB,SAAQ,YAAY;IAC/D,OAAO,CAAC,MAAM,CAAgB;IAE9B,OAAO,CAAC,YAAY,CAAyC;IAC7D,IAAI,WAAW,+BAMd;IACD,IAAI,WAAW,CAAC,IAAI,4BAAA,EAEnB;gBAEW,MAAM,CAAC,EAAE,aAAa;IAKlC,MAAM,CAAC,IAAI,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,uBAAuB;IAIxE,MAAM,CAAC,OAAO,EAAE,MAAM,GAAG,uBAAuB;IAIhD,IAAI,CAAC,QAAQ,EAAE,QAAQ,GAAG,uBAAuB;IAIjD,IAAI,CAAC,IAAI,EAAE,UAAU,CAAC,MAAM,CAAC,GAAG,uBAAuB;IAIvD,MAAM,CAAC,OAAO,EAAE,YAAY,CAAC,QAAQ,CAAC,GAAG,uBAAuB;IAIhE,KAAK,IAAI,uBAAuB;IAK1B,WAAW,IAAI,OAAO,CAAC,wBAAwB,CAAC;IA4BtD,OAAO,CAAC,OAAO;CAQhB"}
|
package/expo-module.config.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
9ee8c18af33a312550aca439d06aefd5
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c338fa28d2b9f5f40f248b624454ad5588dea346
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
3e4d6c70e7e85ff3d9b44a3ac9512c4227f119e9ecbab4719a48bc024e60d3d9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0d30b2d7c1ecc398001c6f2548f49b1a0d2893828ad62313cc3356825f886bcb2d23a5ac0f88481064d07ef8ea0ba682872e384e157975a43606ae14f74beee5
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "host.exp.exponent",
|
|
5
5
|
"module": "expo.modules.imagemanipulator",
|
|
6
|
-
"version": "13.1.
|
|
6
|
+
"version": "13.1.8-canary-20250611-f0afe80",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
10
10
|
},
|
|
11
11
|
"createdBy": {
|
|
12
12
|
"gradle": {
|
|
13
|
-
"version": "8.
|
|
13
|
+
"version": "8.14"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"variants": [
|
|
@@ -33,13 +33,13 @@
|
|
|
33
33
|
],
|
|
34
34
|
"files": [
|
|
35
35
|
{
|
|
36
|
-
"name": "expo.modules.imagemanipulator-13.1.
|
|
37
|
-
"url": "expo.modules.imagemanipulator-13.1.
|
|
38
|
-
"size":
|
|
39
|
-
"sha512": "
|
|
40
|
-
"sha256": "
|
|
41
|
-
"sha1": "
|
|
42
|
-
"md5": "
|
|
36
|
+
"name": "expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar",
|
|
37
|
+
"url": "expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar",
|
|
38
|
+
"size": 74823,
|
|
39
|
+
"sha512": "0d30b2d7c1ecc398001c6f2548f49b1a0d2893828ad62313cc3356825f886bcb2d23a5ac0f88481064d07ef8ea0ba682872e384e157975a43606ae14f74beee5",
|
|
40
|
+
"sha256": "3e4d6c70e7e85ff3d9b44a3ac9512c4227f119e9ecbab4719a48bc024e60d3d9",
|
|
41
|
+
"sha1": "c338fa28d2b9f5f40f248b624454ad5588dea346",
|
|
42
|
+
"md5": "9ee8c18af33a312550aca439d06aefd5"
|
|
43
43
|
}
|
|
44
44
|
]
|
|
45
45
|
},
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"group": "org.jetbrains.kotlin",
|
|
57
57
|
"module": "kotlin-stdlib-jdk7",
|
|
58
58
|
"version": {
|
|
59
|
-
"requires": "2.
|
|
59
|
+
"requires": "2.1.20"
|
|
60
60
|
}
|
|
61
61
|
},
|
|
62
62
|
{
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
],
|
|
70
70
|
"files": [
|
|
71
71
|
{
|
|
72
|
-
"name": "expo.modules.imagemanipulator-13.1.
|
|
73
|
-
"url": "expo.modules.imagemanipulator-13.1.
|
|
74
|
-
"size":
|
|
75
|
-
"sha512": "
|
|
76
|
-
"sha256": "
|
|
77
|
-
"sha1": "
|
|
78
|
-
"md5": "
|
|
72
|
+
"name": "expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar",
|
|
73
|
+
"url": "expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80.aar",
|
|
74
|
+
"size": 74823,
|
|
75
|
+
"sha512": "0d30b2d7c1ecc398001c6f2548f49b1a0d2893828ad62313cc3356825f886bcb2d23a5ac0f88481064d07ef8ea0ba682872e384e157975a43606ae14f74beee5",
|
|
76
|
+
"sha256": "3e4d6c70e7e85ff3d9b44a3ac9512c4227f119e9ecbab4719a48bc024e60d3d9",
|
|
77
|
+
"sha1": "c338fa28d2b9f5f40f248b624454ad5588dea346",
|
|
78
|
+
"md5": "9ee8c18af33a312550aca439d06aefd5"
|
|
79
79
|
}
|
|
80
80
|
]
|
|
81
81
|
},
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
},
|
|
90
90
|
"files": [
|
|
91
91
|
{
|
|
92
|
-
"name": "expo.modules.imagemanipulator-13.1.
|
|
93
|
-
"url": "expo.modules.imagemanipulator-13.1.
|
|
92
|
+
"name": "expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80-sources.jar",
|
|
93
|
+
"url": "expo.modules.imagemanipulator-13.1.8-canary-20250611-f0afe80-sources.jar",
|
|
94
94
|
"size": 8159,
|
|
95
95
|
"sha512": "08af6c95ebf4df88f09274f2dc172df230d57b8f3ca2d1774d44584282b25d9d93ba57a78a2cdfef9232145c67aa8765b8df86f6c79852ba8c1b6b3eb3c21350",
|
|
96
96
|
"sha256": "83452b235a0ea4b9ed9dc693de4fdda6a7940c15c27b9033fb0e398e00b56a7b",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7101244c48ffab772eedcfd432dea0df
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
693e6613da83bd4f10b7f686b9c25c5d93db02c9
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c0368b7e586241d7af0b8a062d1286fc864fed59c86aaa2a109f11f23ea9aba6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2b911725e7dfe44cf8afb2b4cc46f7c1e4f948ef4186d215baa6c116d288e6bfd0c8ab74089c1c36aacf212b1c18d91c06a9e0ed0acc0337989a160782084d34
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>host.exp.exponent</groupId>
|
|
11
11
|
<artifactId>expo.modules.imagemanipulator</artifactId>
|
|
12
|
-
<version>13.1.
|
|
12
|
+
<version>13.1.8-canary-20250611-f0afe80</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.imagemanipulator</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
<dependency>
|
|
35
35
|
<groupId>org.jetbrains.kotlin</groupId>
|
|
36
36
|
<artifactId>kotlin-stdlib-jdk7</artifactId>
|
|
37
|
-
<version>2.
|
|
37
|
+
<version>2.1.20</version>
|
|
38
38
|
<scope>runtime</scope>
|
|
39
39
|
</dependency>
|
|
40
40
|
</dependencies>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
5949a861eb02524f58de3b1e2080fcde
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
84d35e0a273e7ea173fd6fd881711100869e0929
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
580a72411a21432eab7bb870fca3b9e5820cf9997dc979210e6a9cb2142f0fb2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2a72474d4fc2d2df484cda3aab7522b9683e81263a6c3359c614f29dd42ef293b981640ceaac15d4161a47d39398d10e3891b82dc572c699ae0803de855a9ce6
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>host.exp.exponent</groupId>
|
|
4
4
|
<artifactId>expo.modules.imagemanipulator</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>13.1.
|
|
7
|
-
<release>13.1.
|
|
6
|
+
<latest>13.1.8-canary-20250611-f0afe80</latest>
|
|
7
|
+
<release>13.1.8-canary-20250611-f0afe80</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>13.1.
|
|
9
|
+
<version>13.1.8-canary-20250611-f0afe80</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20250611221449</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.md5
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
e2dabbcd19f5bdf7a055945a8fc119ad
|
package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha1
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
9accc4199ce42fdd15bd1eb11767d28411d8db90
|
package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha256
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
50d1b79a8b321d304b8f113c4f9515d5d5dc43198d0a5447cc17a8c81e67d15c
|
package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha512
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
394abad5d9e50b3ad146e57f467177a9a5eaab2b0b46c1aca549bdbc43c0656908c163a1745bfc9507d87cb566cd69de31e4263c89c89803032e402953b6ffa9
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expo-image-manipulator",
|
|
3
|
-
"version": "13.1.
|
|
3
|
+
"version": "13.1.8-canary-20250611-f0afe80",
|
|
4
4
|
"description": "Provides functions that let you manipulation images on the local file system, eg: resize, crop.",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -31,13 +31,12 @@
|
|
|
31
31
|
"license": "MIT",
|
|
32
32
|
"homepage": "https://docs.expo.dev/versions/latest/sdk/imagemanipulator/",
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"expo-image-loader": "
|
|
34
|
+
"expo-image-loader": "5.1.1-canary-20250611-f0afe80"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"expo-module-scripts": "
|
|
37
|
+
"expo-module-scripts": "4.1.8-canary-20250611-f0afe80"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"expo": "
|
|
41
|
-
}
|
|
42
|
-
"gitHead": "907224d194d100adb3dff522d4d7be91ee43be51"
|
|
40
|
+
"expo": "54.0.0-canary-20250611-f0afe80"
|
|
41
|
+
}
|
|
43
42
|
}
|
|
@@ -1,19 +1,29 @@
|
|
|
1
1
|
import { SharedObject } from 'expo';
|
|
2
2
|
|
|
3
|
-
import ImageManipulatorImageRef from './ImageManipulatorImageRef.web';
|
|
4
3
|
import { ActionCrop, ActionExtent, FlipType } from '../ImageManipulator.types';
|
|
4
|
+
import ImageManipulatorImageRef from './ImageManipulatorImageRef.web';
|
|
5
5
|
import { crop, extent, flip, resize, rotate } from './actions/index.web';
|
|
6
6
|
|
|
7
7
|
type ContextLoader = () => HTMLCanvasElement | Promise<HTMLCanvasElement>;
|
|
8
8
|
|
|
9
9
|
export default class ImageManipulatorContext extends SharedObject {
|
|
10
10
|
private loader: ContextLoader;
|
|
11
|
-
|
|
11
|
+
|
|
12
|
+
private _currentTask: Promise<HTMLCanvasElement> | undefined;
|
|
13
|
+
get currentTask() {
|
|
14
|
+
if (this._currentTask) {
|
|
15
|
+
return this._currentTask;
|
|
16
|
+
}
|
|
17
|
+
this._currentTask = new Promise((resolve) => resolve(this.loader()));
|
|
18
|
+
return this._currentTask;
|
|
19
|
+
}
|
|
20
|
+
set currentTask(task) {
|
|
21
|
+
this._currentTask = task;
|
|
22
|
+
}
|
|
12
23
|
|
|
13
24
|
constructor(loader?: ContextLoader) {
|
|
14
25
|
super();
|
|
15
26
|
this.loader = loader ?? (() => document.createElement('canvas'));
|
|
16
|
-
this.currentTask = new Promise((resolve) => resolve(this.loader()));
|
|
17
27
|
}
|
|
18
28
|
|
|
19
29
|
resize(size: { width: number; height: number }): ImageManipulatorContext {
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cfb7ce8cffa4293a4be28eed18f097d4
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
af2eaf94f3f3347569bb73e6195ab76e0607e5fc
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
d89bc4ca8a27b1ef34bbe9b828365f8b9ee105bc9c288dc50dbc13c5decdc3e3
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
75a5bb9e3a3edaf2250acd9ae86f23d421c7f99acce9cee0044f028c6b2f18c11b9a56a89f680f96e37e493ccb88e2ceb574811e528f92b8652f802840920cd7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
40023743ca6a08727a0a382edee5f4cb
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
09bd88ff4db8522bb356af24c8e9dd5ecdcf7a61
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0de7dfcbdf49f4537f2aefdf41b7d044cf7af76622d99e360a2c6ed4a0102c95
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
6f388a6f3df3c34b1e4c96703b28960c6dee39b984b9524ff0f77a91256b04086e15bd64351a05e87e122abc7cec8f9829f984c3fb900f9de5670fb22b0ddf23
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
478a76f9eab5a71471ec88820dd099f5
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
a9ba74eca903089b0326bcb6da644faa7804690e
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
65de37f7dc9b976a25e8f3e1ce82d68cc35e568f2f414f704adae2039ff898c7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
5a7035dedccfdac5097f67e50c56fc579ed50cfdb70fbb7e2c84df018deb73058b43a6b8d08431d0093fc6da2d4ae9cd11c2a93fdd82f34065530b7659425687
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|