mirror of
https://github.com/AllanWang/Frost-for-Facebook.git
synced 2024-09-19 23:21:34 +02:00
Update web package depss
This commit is contained in:
parent
749c00cfde
commit
af9f57f0b9
71
app-compose/src/web/package-lock.json
generated
71
app-compose/src/web/package-lock.json
generated
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "webextension",
|
||||
"name": "web",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
@ -7,10 +7,8 @@
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": {
|
||||
"@types/firefox-webext-browser": "^111.0.1",
|
||||
"compile": "0.0.2",
|
||||
"run": "^1.4.0",
|
||||
"sass": "^1.62.1",
|
||||
"typescript": "^5.0.4"
|
||||
"sass": "^1.63.4",
|
||||
"typescript": "^5.1.3"
|
||||
}
|
||||
},
|
||||
"node_modules/@types/firefox-webext-browser": {
|
||||
@ -30,11 +28,6 @@
|
||||
"node": ">= 8"
|
||||
}
|
||||
},
|
||||
"node_modules/balanced-match": {
|
||||
"version": "1.0.2",
|
||||
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
|
||||
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="
|
||||
},
|
||||
"node_modules/binary-extensions": {
|
||||
"version": "2.2.0",
|
||||
"resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.2.0.tgz",
|
||||
@ -43,14 +36,6 @@
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/brace-expansion": {
|
||||
"version": "2.0.1",
|
||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
||||
"dependencies": {
|
||||
"balanced-match": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/braces": {
|
||||
"version": "3.0.2",
|
||||
"resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz",
|
||||
@ -88,14 +73,6 @@
|
||||
"fsevents": "~2.3.2"
|
||||
}
|
||||
},
|
||||
"node_modules/compile": {
|
||||
"version": "0.0.2",
|
||||
"resolved": "https://registry.npmjs.org/compile/-/compile-0.0.2.tgz",
|
||||
"integrity": "sha512-q5Ql5vqorGj+Z5RIH4hhjbjTYu9ToomfRjPWjEybJ3eT8dE6cnnmkrxZvsEMiMS55Y9pxRP9AVHUhQyen1A7Yg==",
|
||||
"engines": {
|
||||
"node": "0.x"
|
||||
}
|
||||
},
|
||||
"node_modules/fill-range": {
|
||||
"version": "7.0.1",
|
||||
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz",
|
||||
@ -174,20 +151,6 @@
|
||||
"node": ">=0.12.0"
|
||||
}
|
||||
},
|
||||
"node_modules/minimatch": {
|
||||
"version": "9.0.0",
|
||||
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.0.tgz",
|
||||
"integrity": "sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==",
|
||||
"dependencies": {
|
||||
"brace-expansion": "^2.0.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=16 || 14 >=14.17"
|
||||
},
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/isaacs"
|
||||
}
|
||||
},
|
||||
"node_modules/normalize-path": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",
|
||||
@ -218,24 +181,10 @@
|
||||
"node": ">=8.10.0"
|
||||
}
|
||||
},
|
||||
"node_modules/run": {
|
||||
"version": "1.4.0",
|
||||
"resolved": "https://registry.npmjs.org/run/-/run-1.4.0.tgz",
|
||||
"integrity": "sha512-962oBW07IjQ9SizyMHdoteVbDKt/e2nEsnTRZ0WjK/zs+jfQQICqH0qj0D5lqZNuy0JkbzfA6IOqw0Sk7C3DlQ==",
|
||||
"dependencies": {
|
||||
"minimatch": "*"
|
||||
},
|
||||
"bin": {
|
||||
"runjs": "cli.js"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=v0.9.0"
|
||||
}
|
||||
},
|
||||
"node_modules/sass": {
|
||||
"version": "1.62.1",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.62.1.tgz",
|
||||
"integrity": "sha512-NHpxIzN29MXvWiuswfc1W3I0N8SXBd8UR26WntmDlRYf0bSADnwnOjsyMZ3lMezSlArD33Vs3YFhp7dWvL770A==",
|
||||
"version": "1.63.4",
|
||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.63.4.tgz",
|
||||
"integrity": "sha512-Sx/+weUmK+oiIlI+9sdD0wZHsqpbgQg8wSwSnGBjwb5GwqFhYNwwnI+UWZtLjKvKyFlKkatRK235qQ3mokyPoQ==",
|
||||
"dependencies": {
|
||||
"chokidar": ">=3.0.0 <4.0.0",
|
||||
"immutable": "^4.0.0",
|
||||
@ -268,15 +217,15 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.0.4",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz",
|
||||
"integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==",
|
||||
"version": "5.1.3",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.3.tgz",
|
||||
"integrity": "sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==",
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
"tsserver": "bin/tsserver"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=12.20"
|
||||
"node": ">=14.17"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -9,9 +9,7 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/firefox-webext-browser": "^111.0.1",
|
||||
"compile": "0.0.2",
|
||||
"run": "^1.4.0",
|
||||
"sass": "^1.62.1",
|
||||
"typescript": "^5.0.4"
|
||||
"sass": "^1.63.4",
|
||||
"typescript": "^5.1.3"
|
||||
}
|
||||
}
|
||||
|
@ -1,8 +1,12 @@
|
||||
async function readCookies() {
|
||||
async function updateCookies(changeInfo: browser.cookies._OnChangedChangeInfo) {
|
||||
|
||||
const application = "frostBackgroundChannel"
|
||||
|
||||
browser.runtime.sendNativeMessage(application, "start cookie fetch")
|
||||
browser.runtime.sendNativeMessage(application, changeInfo)
|
||||
|
||||
return
|
||||
|
||||
browser.runtime.sendNativeMessage(application, 'start cookie fetch for')
|
||||
|
||||
// Testing with domains or urls didn't work
|
||||
const cookies = await browser.cookies.getAll({});
|
||||
@ -10,5 +14,4 @@ async function readCookies() {
|
||||
browser.runtime.sendNativeMessage(application, cookies)
|
||||
}
|
||||
|
||||
// todo change to better listener
|
||||
browser.tabs.onActivated.addListener(readCookies);
|
||||
browser.cookies.onChanged.addListener(updateCookies);
|
Loading…
Reference in New Issue
Block a user