expo-image-manipulator 13.1.2 → 13.1.3

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.
Files changed (39) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/android/build.gradle +2 -2
  3. package/build/web/actions/CropAction.web.d.ts.map +1 -1
  4. package/expo-module.config.json +1 -1
  5. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.module → 13.1.3/expo.modules.imagemanipulator-13.1.3.module} +7 -7
  6. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.3/expo.modules.imagemanipulator-13.1.3.module.md5 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.3/expo.modules.imagemanipulator-13.1.3.module.sha1 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.3/expo.modules.imagemanipulator-13.1.3.module.sha256 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.3/expo.modules.imagemanipulator-13.1.3.module.sha512 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.pom → 13.1.3/expo.modules.imagemanipulator-13.1.3.pom} +1 -1
  11. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.3/expo.modules.imagemanipulator-13.1.3.pom.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.3/expo.modules.imagemanipulator-13.1.3.pom.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.3/expo.modules.imagemanipulator-13.1.3.pom.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.3/expo.modules.imagemanipulator-13.1.3.pom.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml +4 -4
  16. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.md5 +1 -1
  17. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha1 +1 -1
  18. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha256 +1 -1
  19. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha512 +1 -1
  20. package/package.json +3 -3
  21. package/src/web/actions/CropAction.web.ts +2 -1
  22. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.module.md5 +0 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.module.sha1 +0 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.module.sha256 +0 -1
  25. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.module.sha512 +0 -1
  26. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.pom.md5 +0 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.pom.sha1 +0 -1
  28. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.pom.sha256 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.pom.sha512 +0 -1
  30. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar → 13.1.3/expo.modules.imagemanipulator-13.1.3-sources.jar} +0 -0
  31. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar.md5 → 13.1.3/expo.modules.imagemanipulator-13.1.3-sources.jar.md5} +0 -0
  32. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar.sha1 → 13.1.3/expo.modules.imagemanipulator-13.1.3-sources.jar.sha1} +0 -0
  33. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar.sha256 → 13.1.3/expo.modules.imagemanipulator-13.1.3-sources.jar.sha256} +0 -0
  34. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar.sha512 → 13.1.3/expo.modules.imagemanipulator-13.1.3-sources.jar.sha512} +0 -0
  35. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.aar → 13.1.3/expo.modules.imagemanipulator-13.1.3.aar} +0 -0
  36. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.aar.md5 → 13.1.3/expo.modules.imagemanipulator-13.1.3.aar.md5} +0 -0
  37. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.aar.sha1 → 13.1.3/expo.modules.imagemanipulator-13.1.3.aar.sha1} +0 -0
  38. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.aar.sha256 → 13.1.3/expo.modules.imagemanipulator-13.1.3.aar.sha256} +0 -0
  39. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.aar.sha512 → 13.1.3/expo.modules.imagemanipulator-13.1.3.aar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 13.1.3 — 2025-04-14
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 13.1.2 — 2025-04-11
14
18
 
15
19
  _This version does not introduce any user-facing changes._
@@ -4,13 +4,13 @@ plugins {
4
4
  }
5
5
 
6
6
  group = 'host.exp.exponent'
7
- version = '13.1.2'
7
+ version = '13.1.3'
8
8
 
9
9
  android {
10
10
  namespace "expo.modules.imagemanipulator"
11
11
  defaultConfig {
12
12
  versionCode 23
13
- versionName "13.1.2"
13
+ versionName "13.1.3"
14
14
  }
15
15
  }
16
16
 
@@ -1 +1 @@
1
- {"version":3,"file":"CropAction.web.d.ts","sourceRoot":"","sources":["../../../src/web/actions/CropAction.web.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;yBAG1C,QAAQ,iBAAiB,EAAE,SAAS,UAAU,CAAC,MAAM,CAAC;AAAtE,wBA6BE"}
1
+ {"version":3,"file":"CropAction.web.d.ts","sourceRoot":"","sources":["../../../src/web/actions/CropAction.web.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;yBAK1C,QAAQ,iBAAiB,EAAE,SAAS,UAAU,CAAC,MAAM,CAAC;AAAtE,wBA4BE"}
@@ -8,7 +8,7 @@
8
8
  "publication": {
9
9
  "groupId": "host.exp.exponent",
10
10
  "artifactId": "expo.modules.imagemanipulator",
11
- "version": "13.1.2",
11
+ "version": "13.1.3",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -3,7 +3,7 @@
3
3
  "component": {
4
4
  "group": "host.exp.exponent",
5
5
  "module": "expo.modules.imagemanipulator",
6
- "version": "13.1.2",
6
+ "version": "13.1.3",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -33,8 +33,8 @@
33
33
  ],
34
34
  "files": [
35
35
  {
36
- "name": "expo.modules.imagemanipulator-13.1.2.aar",
37
- "url": "expo.modules.imagemanipulator-13.1.2.aar",
36
+ "name": "expo.modules.imagemanipulator-13.1.3.aar",
37
+ "url": "expo.modules.imagemanipulator-13.1.3.aar",
38
38
  "size": 74492,
39
39
  "sha512": "f48095530d13480cc0f0bd99e52e7e1d0d83038048f89a355189ebae20ddf319911f0d9e9e03bcae3272c12fbf1d16d6f0f623e21d735a03fae74706a19b3429",
40
40
  "sha256": "8f57c66f41adbc2c6cd366745b9542cff595e0a1aec21e2df9f762b00be46612",
@@ -69,8 +69,8 @@
69
69
  ],
70
70
  "files": [
71
71
  {
72
- "name": "expo.modules.imagemanipulator-13.1.2.aar",
73
- "url": "expo.modules.imagemanipulator-13.1.2.aar",
72
+ "name": "expo.modules.imagemanipulator-13.1.3.aar",
73
+ "url": "expo.modules.imagemanipulator-13.1.3.aar",
74
74
  "size": 74492,
75
75
  "sha512": "f48095530d13480cc0f0bd99e52e7e1d0d83038048f89a355189ebae20ddf319911f0d9e9e03bcae3272c12fbf1d16d6f0f623e21d735a03fae74706a19b3429",
76
76
  "sha256": "8f57c66f41adbc2c6cd366745b9542cff595e0a1aec21e2df9f762b00be46612",
@@ -89,8 +89,8 @@
89
89
  },
90
90
  "files": [
91
91
  {
92
- "name": "expo.modules.imagemanipulator-13.1.2-sources.jar",
93
- "url": "expo.modules.imagemanipulator-13.1.2-sources.jar",
92
+ "name": "expo.modules.imagemanipulator-13.1.3-sources.jar",
93
+ "url": "expo.modules.imagemanipulator-13.1.3-sources.jar",
94
94
  "size": 8159,
95
95
  "sha512": "08af6c95ebf4df88f09274f2dc172df230d57b8f3ca2d1774d44584282b25d9d93ba57a78a2cdfef9232145c67aa8765b8df86f6c79852ba8c1b6b3eb3c21350",
96
96
  "sha256": "83452b235a0ea4b9ed9dc693de4fdda6a7940c15c27b9033fb0e398e00b56a7b",
@@ -0,0 +1 @@
1
+ 084bb8604f84b309bca9b70c393a06a34d328ec8a0d33e410d51f82afbb54fcc
@@ -0,0 +1 @@
1
+ bcf9bfe43f284e2e38ab5d241721d6a1267d014d51558cc4ba5125f563f4cd299aa549889b4dfc5685a4cd6f4b51a5b5c55cb08078bf1dce871317d4d66a4f5d
@@ -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.2</version>
12
+ <version>13.1.3</version>
13
13
  <packaging>aar</packaging>
14
14
  <name>expo.modules.imagemanipulator</name>
15
15
  <url>https://github.com/expo/expo</url>
@@ -0,0 +1 @@
1
+ ce82c5ae7dbb9609b874b486612d5a2608697e79f5c46a8b4074e927fa9fa4ef
@@ -0,0 +1 @@
1
+ 944255a6c76e3cf32d5977d5537579e017e22709460112e3645326c9bcbf45c6e026cd77da62d567a2b64af2f8e1ebedd884902b555a9fe89e9aba43bc436c13
@@ -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.2</latest>
7
- <release>13.1.2</release>
6
+ <latest>13.1.3</latest>
7
+ <release>13.1.3</release>
8
8
  <versions>
9
- <version>13.1.2</version>
9
+ <version>13.1.3</version>
10
10
  </versions>
11
- <lastUpdated>20250411190920</lastUpdated>
11
+ <lastUpdated>20250414184114</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- b7e2943f6092aef1edb9491acd85cfc1
1
+ d2ec9cf96170dfe8071e2e90c3555cf1
@@ -1 +1 @@
1
- ef25ced4fd699924695036c71992726f8c0d2e4f
1
+ a6c0e1326abffc58d1179ba0a97ac9d1e233245c
@@ -1 +1 @@
1
- a5ce6951de10735719cc792e86ce5fccffc1fe515a39664bc4e3c5602eb86af6
1
+ 894b1c7d06d1c1f3dffbb3d773670692b00d3e891dc11b3d95f208070f48f580
@@ -1 +1 @@
1
- fb4ce72b05a016c1425d3e1aeb7de5e3cbe3d376a17ffbb824ceaf170bd7fef2bc7b509f63f0e20f356008dbb5b1f4b99f7f334a149e2a61455924958aea6879
1
+ 9b4e6c5aa5a54d73505028d18df5ceea1e04398904aad23bd2162ecaacb7ac46996fd18053f2bbfc28fcdc9e613ae8e29ed1e1bb808772b68c6790d000efb938
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-image-manipulator",
3
- "version": "13.1.2",
3
+ "version": "13.1.3",
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",
@@ -34,10 +34,10 @@
34
34
  "expo-image-loader": "~5.1.0"
35
35
  },
36
36
  "devDependencies": {
37
- "expo-module-scripts": "^4.1.1"
37
+ "expo-module-scripts": "^4.1.2"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "expo": "*"
41
41
  },
42
- "gitHead": "dd2c7150fd75c56505aa6d3f805c14e255649c5d"
42
+ "gitHead": "335e9312f5caf634097354a230f0d4bbbfb9b0ba"
43
43
  }
@@ -3,10 +3,11 @@ import { CodedError } from 'expo-modules-core';
3
3
  import { ActionCrop } from '../../ImageManipulator.types';
4
4
  import { getContext } from '../utils.web';
5
5
 
6
+ const clamp = (value: number, max: number): number => Math.max(0, Math.min(max, value));
7
+
6
8
  export default (canvas: HTMLCanvasElement, options: ActionCrop['crop']) => {
7
9
  // ensure values are defined.
8
10
  let { originX = 0, originY = 0, width = 0, height = 0 } = options;
9
- const clamp = (value, max) => Math.max(0, Math.min(max, value));
10
11
  // lock within bounds.
11
12
  width = clamp(width, canvas.width);
12
13
  height = clamp(height, canvas.height);
@@ -1 +0,0 @@
1
- f2f66bc187b2b258b00e8b0e887c6ec31708ea8ec2a6c7b87e29b082fcd3eecc
@@ -1 +0,0 @@
1
- b6bffe4f1aa53fe7b714e70ab645b15894ea423bb77d87ef6dd6068d153b0ccdc5300153c4e25f6af7996656d4b1659d6383ab640a41c38561ba724ad4e9842f
@@ -1 +0,0 @@
1
- 2800f1eaf81ceec941e594ac198d981739e9d9eaa87732ecde66d52b5e08efeb
@@ -1 +0,0 @@
1
- 2d074381767547a165518620a588e430e58ae47272086a0636972707eea7c650118642b2af87d55fc363afedb12f62dd2155c09951f5e4a83ef3bb21e0738bc4