Merge pull request #505 from unitagain/fix/issue-413-sharp-node22-compatibility

fix(extension): resolve sharp module error on Node.js 22 (fixes #413)
This commit is contained in:
Rohan Verma 2025-11-27 01:07:42 -08:00 committed by GitHub
commit fe178d66a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1157 additions and 886 deletions

View file

@ -4,6 +4,15 @@
"version": "0.0.8", "version": "0.0.8",
"description": "Extension to collect Browsing History for SurfSense.", "description": "Extension to collect Browsing History for SurfSense.",
"author": "https://github.com/MODSetter", "author": "https://github.com/MODSetter",
"engines": {
"node": ">=18.0.0 <23.0.0",
"pnpm": ">=8.0.0"
},
"pnpm": {
"overrides": {
"sharp": "^0.33.5"
}
},
"scripts": { "scripts": {
"dev": "plasmo dev", "dev": "plasmo dev",
"build": "plasmo build", "build": "plasmo build",
@ -24,13 +33,14 @@
"dom-to-semantic-markdown": "^1.2.11", "dom-to-semantic-markdown": "^1.2.11",
"linkedom": "0.1.34", "linkedom": "0.1.34",
"lucide-react": "^0.454.0", "lucide-react": "^0.454.0",
"plasmo": "0.89.4", "plasmo": "0.90.5",
"postcss-loader": "^8.1.1", "postcss-loader": "^8.1.1",
"radix-ui": "^1.0.1", "radix-ui": "^1.0.1",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0", "react-dom": "18.2.0",
"react-hooks-global-state": "^2.1.0", "react-hooks-global-state": "^2.1.0",
"react-router-dom": "^6.26.1", "react-router-dom": "^6.26.1",
"sharp": "^0.33.5",
"tailwind-merge": "^2.5.4", "tailwind-merge": "^2.5.4",
"tailwindcss-animate": "^1.0.7" "tailwindcss-animate": "^1.0.7"
}, },

File diff suppressed because it is too large Load diff