expo-image-manipulator 13.1.2 → 13.1.4

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 (44) hide show
  1. package/CHANGELOG.md +8 -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.4/expo.modules.imagemanipulator-13.1.4.aar +0 -0
  6. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.aar.md5 +1 -0
  7. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.aar.sha1 +1 -0
  8. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.aar.sha256 +1 -0
  9. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.aar.sha512 +1 -0
  10. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.module → 13.1.4/expo.modules.imagemanipulator-13.1.4.module} +17 -17
  11. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.module.md5 +1 -0
  12. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.module.sha1 +1 -0
  13. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.module.sha256 +1 -0
  14. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.module.sha512 +1 -0
  15. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2.pom → 13.1.4/expo.modules.imagemanipulator-13.1.4.pom} +1 -1
  16. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.pom.md5 +1 -0
  17. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.pom.sha1 +1 -0
  18. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.pom.sha256 +1 -0
  19. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.4/expo.modules.imagemanipulator-13.1.4.pom.sha512 +1 -0
  20. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml +4 -4
  21. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.md5 +1 -1
  22. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha1 +1 -1
  23. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha256 +1 -1
  24. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/maven-metadata.xml.sha512 +1 -1
  25. package/package.json +3 -3
  26. package/src/web/actions/CropAction.web.ts +2 -1
  27. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.aar +0 -0
  28. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.aar.md5 +0 -1
  29. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.aar.sha1 +0 -1
  30. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.aar.sha256 +0 -1
  31. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.aar.sha512 +0 -1
  32. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.module.md5 +0 -1
  33. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.module.sha1 +0 -1
  34. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.module.sha256 +0 -1
  35. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.module.sha512 +0 -1
  36. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.pom.md5 +0 -1
  37. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.pom.sha1 +0 -1
  38. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.pom.sha256 +0 -1
  39. package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/13.1.2/expo.modules.imagemanipulator-13.1.2.pom.sha512 +0 -1
  40. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar → 13.1.4/expo.modules.imagemanipulator-13.1.4-sources.jar} +0 -0
  41. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar.md5 → 13.1.4/expo.modules.imagemanipulator-13.1.4-sources.jar.md5} +0 -0
  42. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar.sha1 → 13.1.4/expo.modules.imagemanipulator-13.1.4-sources.jar.sha1} +0 -0
  43. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar.sha256 → 13.1.4/expo.modules.imagemanipulator-13.1.4-sources.jar.sha256} +0 -0
  44. /package/local-maven-repo/host/exp/exponent/expo.modules.imagemanipulator/{13.1.2/expo.modules.imagemanipulator-13.1.2-sources.jar.sha512 → 13.1.4/expo.modules.imagemanipulator-13.1.4-sources.jar.sha512} +0 -0
package/CHANGELOG.md CHANGED
@@ -10,6 +10,14 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 13.1.4 — 2025-04-25
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 13.1.3 — 2025-04-14
18
+
19
+ _This version does not introduce any user-facing changes._
20
+
13
21
  ## 13.1.2 — 2025-04-11
14
22
 
15
23
  _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.4'
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.4"
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.4",
12
12
  "repository": "local-maven-repo"
13
13
  }
14
14
  }
@@ -0,0 +1 @@
1
+ d89bc4ca8a27b1ef34bbe9b828365f8b9ee105bc9c288dc50dbc13c5decdc3e3
@@ -0,0 +1 @@
1
+ 75a5bb9e3a3edaf2250acd9ae86f23d421c7f99acce9cee0044f028c6b2f18c11b9a56a89f680f96e37e493ccb88e2ceb574811e528f92b8652f802840920cd7
@@ -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.4",
7
7
  "attributes": {
8
8
  "org.gradle.status": "release"
9
9
  }
@@ -33,13 +33,13 @@
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",
38
- "size": 74492,
39
- "sha512": "f48095530d13480cc0f0bd99e52e7e1d0d83038048f89a355189ebae20ddf319911f0d9e9e03bcae3272c12fbf1d16d6f0f623e21d735a03fae74706a19b3429",
40
- "sha256": "8f57c66f41adbc2c6cd366745b9542cff595e0a1aec21e2df9f762b00be46612",
41
- "sha1": "af071b0fbb181e1d4def8111941c738eb0329263",
42
- "md5": "c3cbed5c92d681b86a76d4a894a119ad"
36
+ "name": "expo.modules.imagemanipulator-13.1.4.aar",
37
+ "url": "expo.modules.imagemanipulator-13.1.4.aar",
38
+ "size": 74485,
39
+ "sha512": "75a5bb9e3a3edaf2250acd9ae86f23d421c7f99acce9cee0044f028c6b2f18c11b9a56a89f680f96e37e493ccb88e2ceb574811e528f92b8652f802840920cd7",
40
+ "sha256": "d89bc4ca8a27b1ef34bbe9b828365f8b9ee105bc9c288dc50dbc13c5decdc3e3",
41
+ "sha1": "af2eaf94f3f3347569bb73e6195ab76e0607e5fc",
42
+ "md5": "cfb7ce8cffa4293a4be28eed18f097d4"
43
43
  }
44
44
  ]
45
45
  },
@@ -69,13 +69,13 @@
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",
74
- "size": 74492,
75
- "sha512": "f48095530d13480cc0f0bd99e52e7e1d0d83038048f89a355189ebae20ddf319911f0d9e9e03bcae3272c12fbf1d16d6f0f623e21d735a03fae74706a19b3429",
76
- "sha256": "8f57c66f41adbc2c6cd366745b9542cff595e0a1aec21e2df9f762b00be46612",
77
- "sha1": "af071b0fbb181e1d4def8111941c738eb0329263",
78
- "md5": "c3cbed5c92d681b86a76d4a894a119ad"
72
+ "name": "expo.modules.imagemanipulator-13.1.4.aar",
73
+ "url": "expo.modules.imagemanipulator-13.1.4.aar",
74
+ "size": 74485,
75
+ "sha512": "75a5bb9e3a3edaf2250acd9ae86f23d421c7f99acce9cee0044f028c6b2f18c11b9a56a89f680f96e37e493ccb88e2ceb574811e528f92b8652f802840920cd7",
76
+ "sha256": "d89bc4ca8a27b1ef34bbe9b828365f8b9ee105bc9c288dc50dbc13c5decdc3e3",
77
+ "sha1": "af2eaf94f3f3347569bb73e6195ab76e0607e5fc",
78
+ "md5": "cfb7ce8cffa4293a4be28eed18f097d4"
79
79
  }
80
80
  ]
81
81
  },
@@ -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.4-sources.jar",
93
+ "url": "expo.modules.imagemanipulator-13.1.4-sources.jar",
94
94
  "size": 8159,
95
95
  "sha512": "08af6c95ebf4df88f09274f2dc172df230d57b8f3ca2d1774d44584282b25d9d93ba57a78a2cdfef9232145c67aa8765b8df86f6c79852ba8c1b6b3eb3c21350",
96
96
  "sha256": "83452b235a0ea4b9ed9dc693de4fdda6a7940c15c27b9033fb0e398e00b56a7b",
@@ -0,0 +1 @@
1
+ fec8d59d6708cee75fa416fcd85a498ae5cfb81536a460c72df02edcba6627bf
@@ -0,0 +1 @@
1
+ 2c496e950677e54753b375d0679625ed8d3c8fb8e9c89a8a4f33810b48cec9d833cee0e5d3f0e8efbc5821da78a9fc4eba6e46d84c8050b0d932414a017596d5
@@ -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.4</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
+ 76bda23e556b882266c103e83a4a06dcf1c5c078368172eba6cc20a57e5b8b16
@@ -0,0 +1 @@
1
+ 248085c80be328a619072847a4a25c4deb2a582f68c1d330927833550e2ce6cd2a32117078df7a9d26ffc033dce0b8dcf66750a4921535743f0aa760a6fa6a36
@@ -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.4</latest>
7
+ <release>13.1.4</release>
8
8
  <versions>
9
- <version>13.1.2</version>
9
+ <version>13.1.4</version>
10
10
  </versions>
11
- <lastUpdated>20250411190920</lastUpdated>
11
+ <lastUpdated>20250425210750</lastUpdated>
12
12
  </versioning>
13
13
  </metadata>
@@ -1 +1 @@
1
- b7e2943f6092aef1edb9491acd85cfc1
1
+ 7c470f22853d9bc24c3331ee27769904
@@ -1 +1 @@
1
- ef25ced4fd699924695036c71992726f8c0d2e4f
1
+ b17b10126d8df49cd5c94cbf2ed6d0e5a1d56e7b
@@ -1 +1 @@
1
- a5ce6951de10735719cc792e86ce5fccffc1fe515a39664bc4e3c5602eb86af6
1
+ 4d2d539d39a285575526d4c0281a2d5edebf25a175f0f2d586d71b9798956635
@@ -1 +1 @@
1
- fb4ce72b05a016c1425d3e1aeb7de5e3cbe3d376a17ffbb824ceaf170bd7fef2bc7b509f63f0e20f356008dbb5b1f4b99f7f334a149e2a61455924958aea6879
1
+ db6ceb03a89402962ce55de0ec03939cb601c0079daf0653c5770d4c1b419a8fd05e0b38e551a28089a5f89c6f452bef281b33801e563d1ad678d8dfaef90258
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.4",
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.5"
38
38
  },
39
39
  "peerDependencies": {
40
40
  "expo": "*"
41
41
  },
42
- "gitHead": "dd2c7150fd75c56505aa6d3f805c14e255649c5d"
42
+ "gitHead": "3cd208465df78e385ca9380531bbbfe33ca68e81"
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
- 8f57c66f41adbc2c6cd366745b9542cff595e0a1aec21e2df9f762b00be46612
@@ -1 +0,0 @@
1
- f48095530d13480cc0f0bd99e52e7e1d0d83038048f89a355189ebae20ddf319911f0d9e9e03bcae3272c12fbf1d16d6f0f623e21d735a03fae74706a19b3429
@@ -1 +0,0 @@
1
- f2f66bc187b2b258b00e8b0e887c6ec31708ea8ec2a6c7b87e29b082fcd3eecc
@@ -1 +0,0 @@
1
- b6bffe4f1aa53fe7b714e70ab645b15894ea423bb77d87ef6dd6068d153b0ccdc5300153c4e25f6af7996656d4b1659d6383ab640a41c38561ba724ad4e9842f
@@ -1 +0,0 @@
1
- 2800f1eaf81ceec941e594ac198d981739e9d9eaa87732ecde66d52b5e08efeb
@@ -1 +0,0 @@
1
- 2d074381767547a165518620a588e430e58ae47272086a0636972707eea7c650118642b2af87d55fc363afedb12f62dd2155c09951f5e4a83ef3bb21e0738bc4