chore: update npm package
This commit is contained in:
882
dist/jop.user.js
vendored
882
dist/jop.user.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -12,9 +12,9 @@
|
|||||||
"preact": "10.15.1"
|
"preact": "10.15.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@preact/preset-vite": "^2.5.0",
|
"@preact/preset-vite": "^2.6.0",
|
||||||
"typescript": "^5.1.3",
|
"typescript": "^5.2.2",
|
||||||
"vite": "^4.3.9",
|
"vite": "^4.5.0",
|
||||||
"vite-plugin-monkey": "^3.2.2"
|
"vite-plugin-monkey": "^3.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
726
pnpm-lock.yaml
generated
726
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -6,12 +6,12 @@ import { SiteItem, siteList } from "@/utils/siteList";
|
|||||||
import type { LibItem } from "@/utils/libSites";
|
import type { LibItem } from "@/utils/libSites";
|
||||||
|
|
||||||
const App = memo(function ({ libItem, CODE }: { libItem: LibItem; CODE: string }) {
|
const App = memo(function ({ libItem, CODE }: { libItem: LibItem; CODE: string }) {
|
||||||
const defDis = [
|
// 默认不显示
|
||||||
|
const DEF_DIS = [
|
||||||
...["AvJoy", "baihuse", "GGJAV", "AV01", "18sex", "highporn"],
|
...["AvJoy", "baihuse", "GGJAV", "AV01", "18sex", "highporn"],
|
||||||
...["JavBus", "JavDB", "JAVLib", "MISSAV_"],
|
...["JavBus", "JavDB", "JAVLib", "MISSAV_"],
|
||||||
];
|
];
|
||||||
// 默认不显示
|
const [disables, setDisables] = useState(GM_getValue<SiteItem["name"][]>("disable", DEF_DIS));
|
||||||
const [disables, setDisables] = useState(GM_getValue<SiteItem["name"][]>("disable", defDis));
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
|
|||||||
@@ -5,5 +5,5 @@
|
|||||||
"moduleResolution": "Node",
|
"moduleResolution": "Node",
|
||||||
"allowSyntheticDefaultImports": true
|
"allowSyntheticDefaultImports": true
|
||||||
},
|
},
|
||||||
"include": ["vite.config.ts", "src/utils/siteList.ts", "src/utils/libSites.ts"]
|
"include": ["vite.config.ts"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user