expo-updates 57.0.19 → 57.0.20

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
@@ -10,6 +10,10 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 57.0.20 — 2026-09-01
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
13
17
  ## 57.0.19 — 2026-08-28
14
18
 
15
19
  ### 🐛 Bug fixes
@@ -42,7 +42,7 @@ expoModule {
42
42
  }
43
43
 
44
44
  group = 'host.exp.exponent'
45
- version = '57.0.19'
45
+ version = '57.0.20'
46
46
 
47
47
  // Utility method to derive boolean values from the environment or from Java properties,
48
48
  // and return them as strings to be used in BuildConfig fields
@@ -94,7 +94,7 @@ android {
94
94
  namespace "expo.modules.updates"
95
95
  defaultConfig {
96
96
  versionCode 31
97
- versionName '57.0.19'
97
+ versionName '57.0.20'
98
98
  consumerProguardFiles("proguard-rules.pro")
99
99
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
100
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-updates",
3
- "version": "57.0.19",
3
+ "version": "57.0.20",
4
4
  "description": "Fetches and manages remotely-hosted assets and updates to your app's JS bundle.",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "arg": "^4.1.0",
35
35
  "chalk": "^4.1.2",
36
36
  "debug": "^4.3.4",
37
- "expo-eas-client": "~57.0.2",
37
+ "expo-eas-client": "~57.0.3",
38
38
  "expo-manifests": "~57.0.1",
39
39
  "expo-structured-headers": "~57.0.0",
40
40
  "expo-updates-interface": "~57.0.1",
@@ -61,8 +61,8 @@
61
61
  "ts-node": "^10.9.2",
62
62
  "xstate": "^4.37.2",
63
63
  "@expo/metro-config": "57.0.12",
64
- "expo-dev-client": "57.0.16",
65
- "expo": "57.0.18",
64
+ "expo-dev-client": "57.0.17",
65
+ "expo": "57.0.19",
66
66
  "expo-module-scripts": "56.0.3"
67
67
  },
68
68
  "peerDependencies": {
@@ -82,7 +82,7 @@
82
82
  "./scripts/with-node.sh"
83
83
  ]
84
84
  },
85
- "gitHead": "c3739f09b6a7620729ce7e305e88a2ec8bc79c3c",
85
+ "gitHead": "b76ecf192c5325793bcea31dd9bb8efd91f9ad7f",
86
86
  "scripts": {
87
87
  "build": "expo-module build",
88
88
  "clean": "expo-module clean",
@@ -45,12 +45,14 @@ async function createManifestForBuildAsync(platform, projectRoot, destinationDir
45
45
  if (!asset.fileHashes) {
46
46
  throw new Error('The hashAssetFiles Metro plugin is not configured. You need to add a metro.config.js to your project that configures Metro to use this plugin. See https://github.com/expo/expo/blob/main/packages/expo-updates/README.md#metroconfigjs for an example.');
47
47
  }
48
- (0, filterPlatformAssetScales_1.filterPlatformAssetScales)(platform, asset.scales).forEach(function (scale, index) {
48
+ (0, filterPlatformAssetScales_1.filterPlatformAssetScales)(platform, asset.scales).forEach(function (scale) {
49
49
  const baseAssetInfoForManifest = {
50
50
  name: asset.name,
51
51
  type: asset.type,
52
52
  scale,
53
- packagerHash: asset.fileHashes[index],
53
+ // `fileHashes` is parallel to the unfiltered `asset.scales`, so it must be indexed by the
54
+ // scale's position there rather than by its position in the filtered list.
55
+ packagerHash: asset.fileHashes[asset.scales.indexOf(scale)],
54
56
  subdirectory: asset.httpServerLocation,
55
57
  };
56
58
  if (platform === 'ios') {