fix: wtr-lab (#1942)

* Fix (wtrlab): Novel parsing

* Fix (wtrlab): Stop latest repeating

* Fix (wtrlab): Fix browse covers

* Fix (wtrlab): Fix search repeating

* Fix (wtrlab): Fix chapter parsing

* Version bump

* Remove comment

* Fix (wtrlab): Initial web usage

* Fix (wtrlab): Basic decryption

* Fix (wtrlab): Compact code

* Fix (wtrlab): Compact decryption code

* Fix (wtrlab): Fetch decryption key and decrypt chapter

* Fix (wtrlab): Translate chapters

* Fix (wtrlab): Prevent bugging ai translations

* Fix (wtrlab): Prevent errors with dictionary substitution

* Fix (wtrlab): Show error on device

* Fix (wtrlab): Convert to noble for app; ADD LIBRARY NOBLE

* Fix (wtrlab): Better search, better latest, search filters

Co-authored-by: oussama <mrissaoussama@gmail.com>

* feat: Fallback rawId/slug, pass errors

* fix: Better key finding

* fix: Use TextEncoder + bump

* fix: Match lib paths

---------

Co-authored-by: oussama <mrissaoussama@gmail.com>
This commit is contained in:
Rojikku
2026-03-11 22:25:34 -04:00
committed by GitHub
parent b68a513353
commit ccab7422d4
5 changed files with 1596 additions and 92 deletions
+18
View File
@@ -11,6 +11,7 @@
"dependencies": { "dependencies": {
"@fontsource/geist-mono": "^5.2.7", "@fontsource/geist-mono": "^5.2.7",
"@fontsource/geist-sans": "^5.2.5", "@fontsource/geist-sans": "^5.2.5",
"@noble/ciphers": "^2.1.1",
"@radix-ui/react-checkbox": "^1.3.3", "@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.5", "@radix-ui/react-dialog": "^1.1.5",
"@radix-ui/react-label": "^2.1.7", "@radix-ui/react-label": "^2.1.7",
@@ -1257,6 +1258,18 @@
} }
} }
}, },
"node_modules/@noble/ciphers": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.1.1.tgz",
"integrity": "sha512-bysYuiVfhxNJuldNXlFEitTVdNnYUc+XNJZd7Qm2a5j1vZHgY+fazadNFWFaMK/2vye0JVlxV3gHmC0WDfAOQw==",
"license": "MIT",
"engines": {
"node": ">= 20.19.0"
},
"funding": {
"url": "https://paulmillr.com/funding/"
}
},
"node_modules/@nodelib/fs.scandir": { "node_modules/@nodelib/fs.scandir": {
"version": "2.1.5", "version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -9885,6 +9898,11 @@
"react-is": "^18.3.1" "react-is": "^18.3.1"
} }
}, },
"@noble/ciphers": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/@noble/ciphers/-/ciphers-2.1.1.tgz",
"integrity": "sha512-bysYuiVfhxNJuldNXlFEitTVdNnYUc+XNJZd7Qm2a5j1vZHgY+fazadNFWFaMK/2vye0JVlxV3gHmC0WDfAOQw=="
},
"@nodelib/fs.scandir": { "@nodelib/fs.scandir": {
"version": "2.1.5", "version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
+1
View File
@@ -30,6 +30,7 @@
"dependencies": { "dependencies": {
"@fontsource/geist-mono": "^5.2.7", "@fontsource/geist-mono": "^5.2.7",
"@fontsource/geist-sans": "^5.2.5", "@fontsource/geist-sans": "^5.2.5",
"@noble/ciphers": "^2.1.1",
"@radix-ui/react-checkbox": "^1.3.3", "@radix-ui/react-checkbox": "^1.3.3",
"@radix-ui/react-dialog": "^1.1.5", "@radix-ui/react-dialog": "^1.1.5",
"@radix-ui/react-label": "^2.1.7", "@radix-ui/react-label": "^2.1.7",
+1571 -92
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -0,0 +1 @@
export { gcm } from '@noble/ciphers/aes.js';
+5
View File
@@ -0,0 +1,5 @@
/**
* Backward compatibility for 3.0.0 - Re-exports from new location
* TODO: Remove in 4.0.0
*/
export { gcm } from '../lib/aes';