chore: update npm package
This commit is contained in:
1450
dist/jop.user.js
vendored
1450
dist/jop.user.js
vendored
File diff suppressed because it is too large
Load Diff
@@ -12,9 +12,9 @@
|
||||
"preact": "10.15.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@preact/preset-vite": "^2.5.0",
|
||||
"typescript": "^5.1.3",
|
||||
"vite": "^4.3.9",
|
||||
"vite-plugin-monkey": "^3.2.2"
|
||||
"@preact/preset-vite": "^2.6.0",
|
||||
"typescript": "^5.2.2",
|
||||
"vite": "^4.5.0",
|
||||
"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";
|
||||
|
||||
const App = memo(function ({ libItem, CODE }: { libItem: LibItem; CODE: string }) {
|
||||
const defDis = [
|
||||
// 默认不显示
|
||||
const DEF_DIS = [
|
||||
...["AvJoy", "baihuse", "GGJAV", "AV01", "18sex", "highporn"],
|
||||
...["JavBus", "JavDB", "JAVLib", "MISSAV_"],
|
||||
];
|
||||
// 默认不显示
|
||||
const [disables, setDisables] = useState(GM_getValue<SiteItem["name"][]>("disable", defDis));
|
||||
const [disables, setDisables] = useState(GM_getValue<SiteItem["name"][]>("disable", DEF_DIS));
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -5,5 +5,5 @@
|
||||
"moduleResolution": "Node",
|
||||
"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