@lls/offline 24.32.0-e515de2b → 24.33.0-3e3c1cd5

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.
@@ -247,9 +247,6 @@ async function decryptData(encryptedData, key2, iv2) {
247
247
  return decryptedData;
248
248
  }
249
249
  var BOOKS = {};
250
- var zipNameInMedias = (zipName) => {
251
- return /^(pages|book)/.test(zipName);
252
- };
253
250
  var readZipEntry = async ({
254
251
  bookId,
255
252
  entryName,
@@ -263,8 +260,8 @@ var readZipEntry = async ({
263
260
  let overridenName = entryName;
264
261
  if (manifest && !entryName.includes("gqls/")) {
265
262
  const zipName = entryName.replace("medias/", "");
266
- if (zipNameInMedias(zipName)) {
267
- const originalName = manifest.medias[zipName];
263
+ const originalName = manifest.medias[zipName];
264
+ if (originalName) {
268
265
  overridenName = `medias/${originalName}`;
269
266
  } else {
270
267
  if (entryName !== "manifest.json") {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lls/offline",
3
- "version": "24.32.0-e515de2b",
3
+ "version": "24.33.0-3e3c1cd5",
4
4
  "description": "offline",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.js",
@@ -41,8 +41,7 @@
41
41
  "@testing-library/react": "16.3.0",
42
42
  "@types/react": "18.3.12",
43
43
  "@types/react-dom": "18.3.1",
44
- "@vitejs/plugin-react": "4.5.1",
45
- "@vitejs/plugin-react-swc": "3.10.1",
44
+ "@vitejs/plugin-react": "5.1.1",
46
45
  "esbuild": "0.24.0",
47
46
  "happy-dom": "15.11.0",
48
47
  "lodash": "4.17.21",
@@ -51,10 +50,10 @@
51
50
  "react-dom": "18.3.1",
52
51
  "redux": "5.0.1",
53
52
  "typescript": "5.8.3",
54
- "vite": "7.1.11",
53
+ "vite": "npm:rolldown-vite@7.2.7",
55
54
  "vite-tsconfig-paths": "5.1.4",
56
55
  "zod": "3.25.50",
57
- "@lls/vitescripts": "24.32.0-e515de2b"
56
+ "@lls/vitescripts": "24.33.0-3e3c1cd5"
58
57
  },
59
58
  "dependencies": {
60
59
  "redux-persist": "6.0.0"