@kesha-antonov/react-native-background-downloader 3.2.3 → 3.2.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.
@@ -70,6 +70,8 @@ public class OnProgress implements Callable<OnProgressState> {
70
70
  }
71
71
  } catch (Exception e) {
72
72
  stopLoopWithFail();
73
+ // if reached maximum memory while downloading, the downloader broadcast can not receive event normally
74
+ downloader.broadcast(downloadId);
73
75
  throw e;
74
76
  }
75
77
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kesha-antonov/react-native-background-downloader",
3
- "version": "3.2.3",
3
+ "version": "3.2.4",
4
4
  "description": "A library for React-Native to help you download large files on iOS and Android both in the foreground and most importantly in the background.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -58,37 +58,37 @@
58
58
  ]
59
59
  },
60
60
  "devDependencies": {
61
- "@babel/core": "^7.24.0",
62
- "@babel/eslint-parser": "^7.23.10",
63
- "@babel/preset-env": "^7.24.0",
64
- "@babel/preset-typescript": "^7.23.3",
65
- "@babel/runtime": "^7.24.0",
66
- "@react-native/babel-preset": "^0.74.0",
67
- "@react-native/eslint-config": "^0.74.0",
68
- "@typescript-eslint/eslint-plugin": "^7.2.0",
69
- "@typescript-eslint/parser": "^7.2.0",
61
+ "@babel/core": "^7.26.0",
62
+ "@babel/eslint-parser": "^7.25.9",
63
+ "@babel/preset-env": "^7.26.0",
64
+ "@babel/preset-typescript": "^7.26.0",
65
+ "@babel/runtime": "^7.26.0",
66
+ "@react-native/babel-preset": "^0.76.5",
67
+ "@react-native/eslint-config": "^0.76.5",
68
+ "@typescript-eslint/eslint-plugin": "^8.19.1",
69
+ "@typescript-eslint/parser": "^8.19.1",
70
70
  "babel-jest": "^29.7.0",
71
71
  "eslint": "^8.57.0",
72
72
  "eslint-config-standard": "^17.1.0",
73
73
  "eslint-config-standard-jsx": "^11.0.0",
74
- "eslint-plugin-import": "^2.29.1",
75
- "eslint-plugin-jest": "^27.9.0",
76
- "eslint-plugin-n": "^16.6.2",
74
+ "eslint-plugin-import": "^2.31.0",
75
+ "eslint-plugin-jest": "^28.10.0",
76
+ "eslint-plugin-n": "^17.15.1",
77
77
  "eslint-plugin-node": "^11.1.0",
78
- "eslint-plugin-promise": "^6.1.1",
79
- "eslint-plugin-react": "^7.34.0",
80
- "eslint-plugin-react-hooks": "^4.6.0",
78
+ "eslint-plugin-promise": "^7.2.1",
79
+ "eslint-plugin-react": "^7.37.3",
80
+ "eslint-plugin-react-hooks": "^5.1.0",
81
81
  "eslint-plugin-standard": "^5.0.0",
82
- "immer": "^10.0.4",
82
+ "immer": "^10.1.1",
83
83
  "jest": "^29.7.0",
84
84
  "lint-staged": ">=15",
85
85
  "metro-react-native-babel-preset": "^0.77.0",
86
86
  "react": "18.2.0",
87
87
  "react-native": "0.73.6",
88
88
  "react-native-fs": "^2.20.0",
89
- "react-native-vector-icons": "^10.0.3",
90
- "react-test-renderer": "18.2.0",
91
- "typescript": "5.4.2"
89
+ "react-native-vector-icons": "^10.2.0",
90
+ "react-test-renderer": "19.0.0",
91
+ "typescript": "5.7.3"
92
92
  },
93
93
  "peerDependencies": {
94
94
  "react-native": ">=0.57.0"