expo-image-manipulator 13.0.7-canary-20250305-0af9ad2 → 13.0.7-canary-20250320-7a205d3

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 CHANGED
@@ -15,6 +15,7 @@
15
15
 
16
16
  - [Android] Started using expo modules gradle plugin. ([#34176](https://github.com/expo/expo/pull/34176) by [@lukmccall](https://github.com/lukmccall))
17
17
  - [apple] Migrate remaining `expo-module.config.json` to unified platform syntax. ([#34445](https://github.com/expo/expo/pull/34445) by [@reichhartd](https://github.com/reichhartd))
18
+ - [iOS] Fix warnings which will become errors in Swift 6. ([#35288](https://github.com/expo/expo/pull/35288) by [@behenate](https://github.com/behenate))
18
19
 
19
20
  ## 13.0.6 - 2025-01-10
20
21
 
@@ -3,79 +3,79 @@
3
3
  import CoreGraphics
4
4
  import ExpoModulesCore
5
5
 
6
- internal class ImageContextLostException: Exception {
6
+ internal final class ImageContextLostException: Exception {
7
7
  override var reason: String {
8
8
  "Image context has been lost"
9
9
  }
10
10
  }
11
11
 
12
- internal class ImageDrawingFailedException: Exception {
12
+ internal final class ImageDrawingFailedException: Exception {
13
13
  override var reason: String {
14
14
  "Drawing the new image failed"
15
15
  }
16
16
  }
17
17
 
18
- internal class ImageNotFoundException: Exception {
18
+ internal final class ImageNotFoundException: Exception {
19
19
  override var reason: String {
20
20
  "Image cannot be found"
21
21
  }
22
22
  }
23
23
 
24
- internal class ImageColorSpaceNotFoundException: Exception {
24
+ internal final class ImageColorSpaceNotFoundException: Exception {
25
25
  override var reason: String {
26
26
  "The image does not specify any color space"
27
27
  }
28
28
  }
29
29
 
30
- internal class ImageInvalidCropException: Exception {
30
+ internal final class ImageInvalidCropException: Exception {
31
31
  override var reason: String {
32
32
  "Invalid crop options has been passed. Please make sure the requested crop rectangle is inside source image"
33
33
  }
34
34
  }
35
35
 
36
- internal class ImageCropFailedException: GenericException<CGRect> {
36
+ internal final class ImageCropFailedException: GenericException<CGRect> {
37
37
  override var reason: String {
38
38
  "Cropping the image to rectangle (x: \(param.origin.x), y: \(param.origin.y), width: \(param.width), height: \(param.height)) has failed"
39
39
  }
40
40
  }
41
41
 
42
- internal class NoImageInContextException: Exception {
42
+ internal final class NoImageInContextException: Exception {
43
43
  override var reason: String {
44
44
  "Could not read the image from the drawing context"
45
45
  }
46
46
  }
47
47
 
48
- internal class ImageLoaderNotFoundException: Exception {
48
+ internal final class ImageLoaderNotFoundException: Exception {
49
49
  override var reason: String {
50
50
  "ImageLoader module not found, make sure 'expo-image-loader' is linked correctly"
51
51
  }
52
52
  }
53
53
 
54
- internal class FileSystemNotFoundException: Exception {
54
+ internal final class FileSystemNotFoundException: Exception {
55
55
  override var reason: String {
56
56
  "FileSystem module not found, make sure 'expo-file-system' is linked correctly"
57
57
  }
58
58
  }
59
59
 
60
- internal class FileSystemReadPermissionException: GenericException<String> {
60
+ internal final class FileSystemReadPermissionException: GenericException<String> {
61
61
  override var reason: String {
62
62
  "File '\(param)' is not readable"
63
63
  }
64
64
  }
65
65
 
66
- internal class ImageLoadingFailedException: GenericException<String> {
66
+ internal final class ImageLoadingFailedException: GenericException<String> {
67
67
  override var reason: String {
68
68
  "Could not load the image: \(param)"
69
69
  }
70
70
  }
71
71
 
72
- internal class CorruptedImageDataException: Exception {
72
+ internal final class CorruptedImageDataException: Exception {
73
73
  override var reason: String {
74
74
  "Cannot create image data for given image format"
75
75
  }
76
76
  }
77
77
 
78
- internal class ImageWriteFailedException: GenericException<String> {
78
+ internal final class ImageWriteFailedException: GenericException<String> {
79
79
  override var reason: String {
80
80
  "Writing image data to the file has failed: \(param)"
81
81
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-image-manipulator",
3
- "version": "13.0.7-canary-20250305-0af9ad2",
3
+ "version": "13.0.7-canary-20250320-7a205d3",
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": "5.0.1-canary-20250305-0af9ad2"
34
+ "expo-image-loader": "5.0.1-canary-20250320-7a205d3"
35
35
  },
36
36
  "devDependencies": {
37
- "expo-module-scripts": "4.0.5-canary-20250305-0af9ad2"
37
+ "expo-module-scripts": "4.0.5-canary-20250320-7a205d3"
38
38
  },
39
39
  "peerDependencies": {
40
- "expo": "53.0.0-canary-20250305-0af9ad2"
41
- },
42
- "gitHead": "0af9ad2afd326af47eae076f81a89105a026312d"
40
+ "expo": "53.0.0-canary-20250320-7a205d3"
41
+ }
43
42
  }