@lls/offline 24.36.0 → 24.37.0-0808d0b6
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/lib/assets/offline-worker.js +2 -2
- package/lib/index.js +2 -2
- package/package.json +5 -5
package/lib/index.js
CHANGED
|
@@ -3,11 +3,11 @@ import { useCallback, useEffect, useState } from "react";
|
|
|
3
3
|
|
|
4
4
|
// src/utils/error.ts
|
|
5
5
|
var tryCatch = (fn) => {
|
|
6
|
-
return (resolve
|
|
6
|
+
return (resolve) => {
|
|
7
7
|
try {
|
|
8
8
|
return fn().then(resolve);
|
|
9
9
|
} catch (e) {
|
|
10
|
-
|
|
10
|
+
console.error(e);
|
|
11
11
|
}
|
|
12
12
|
};
|
|
13
13
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lls/offline",
|
|
3
|
-
"version": "24.
|
|
3
|
+
"version": "24.37.0-0808d0b6",
|
|
4
4
|
"description": "offline",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
@@ -42,25 +42,25 @@
|
|
|
42
42
|
"@types/react": "18.3.12",
|
|
43
43
|
"@types/react-dom": "18.3.1",
|
|
44
44
|
"@vitejs/plugin-react": "5.1.1",
|
|
45
|
-
"esbuild": "0.27.
|
|
45
|
+
"esbuild": "0.27.2",
|
|
46
46
|
"happy-dom": "15.11.1",
|
|
47
47
|
"lodash": "4.17.21",
|
|
48
48
|
"nock": "14.0.10",
|
|
49
49
|
"react": "18.3.1",
|
|
50
50
|
"react-dom": "18.3.1",
|
|
51
51
|
"redux": "5.0.1",
|
|
52
|
-
"typescript": "5.
|
|
52
|
+
"typescript": "5.9.3",
|
|
53
53
|
"vite": "npm:rolldown-vite@7.2.10",
|
|
54
54
|
"vite-tsconfig-paths": "5.1.4",
|
|
55
55
|
"zod": "3.25.50",
|
|
56
|
-
"@lls/vitescripts": "24.
|
|
56
|
+
"@lls/vitescripts": "24.37.0-0808d0b6"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
59
|
"redux-persist": "6.0.0"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"start": "pnpm ladle serve",
|
|
63
|
-
"dts": "pnpm
|
|
63
|
+
"dts": "pnpm tsgo --project tsconfig.production.json",
|
|
64
64
|
"build": "NODE_ENV=production node build.js",
|
|
65
65
|
"deploy-ladle": "PUBLISH=1 pnpm ladle build",
|
|
66
66
|
"deploy-ladle-pr": "pnpm ladle build && s5cmd sync --delete --acl public-read --destination-region eu-west-1 'dist/*' s3://build.lelivrescolaire.fr/storybook/viewer-pr-$PR_NUMBER/",
|