mirror of
https://github.com/CompeyDev/fxtwitter-docker.git
synced 2025-04-04 18:10:56 +01:00
Merge branch 'main' into chore/isovel-update-deployment-guide
This commit is contained in:
commit
a7afd2e643
4 changed files with 46 additions and 64 deletions
101
package-lock.json
generated
101
package-lock.json
generated
|
@ -10,13 +10,13 @@
|
|||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"itty-router": "^4.0.23",
|
||||
"toucan-js": "^3.3.0"
|
||||
"toucan-js": "^3.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/workers-types": "^4.20231025.0",
|
||||
"@microsoft/eslint-formatter-sarif": "^3.0.0",
|
||||
"@sentry/esbuild-plugin": "^2.9.0",
|
||||
"@sentry/integrations": "^7.75.1",
|
||||
"@sentry/integrations": "^7.76.0",
|
||||
"@types/jest": "^29.5.6",
|
||||
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
||||
"@typescript-eslint/parser": "^6.9.0",
|
||||
|
@ -2120,14 +2120,13 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@sentry/integrations": {
|
||||
"version": "7.75.1",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.75.1.tgz",
|
||||
"integrity": "sha512-qSCyTNX3DiL1aYRmdq10LRhPLfh1KJYKhbmGszC1PII4mt9FbLVmC8fSXiDbhgiuSUKKrDE+J2lC//w688lvHw==",
|
||||
"dev": true,
|
||||
"version": "7.76.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.76.0.tgz",
|
||||
"integrity": "sha512-4ea0PNZrGN9wKuE/8bBCRrxxw4Cq5T710y8rhdKHAlSUpbLqr/atRF53h8qH3Fi+ec0m38PB+MivKem9zUwlwA==",
|
||||
"dependencies": {
|
||||
"@sentry/core": "7.75.1",
|
||||
"@sentry/types": "7.75.1",
|
||||
"@sentry/utils": "7.75.1",
|
||||
"@sentry/core": "7.76.0",
|
||||
"@sentry/types": "7.76.0",
|
||||
"@sentry/utils": "7.76.0",
|
||||
"localforage": "^1.8.1"
|
||||
},
|
||||
"engines": {
|
||||
|
@ -2135,34 +2134,31 @@
|
|||
}
|
||||
},
|
||||
"node_modules/@sentry/integrations/node_modules/@sentry/core": {
|
||||
"version": "7.75.1",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.75.1.tgz",
|
||||
"integrity": "sha512-Kw4KyKBxbxbh8OKO0S11Tm0gWP+6AaXXYrsq3hp8H338l/wOmIzyckmCbUrc/XJeoRqaFLJbdcCrcUEDZUvsVQ==",
|
||||
"dev": true,
|
||||
"version": "7.76.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.76.0.tgz",
|
||||
"integrity": "sha512-M+ptkCTeCNf6fn7p2MmEb1Wd9/JXUWxIT/0QEc+t11DNR4FYy1ZP2O9Zb3Zp2XacO7ORrlL3Yc+VIfl5JTgjfw==",
|
||||
"dependencies": {
|
||||
"@sentry/types": "7.75.1",
|
||||
"@sentry/utils": "7.75.1"
|
||||
"@sentry/types": "7.76.0",
|
||||
"@sentry/utils": "7.76.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/integrations/node_modules/@sentry/types": {
|
||||
"version": "7.75.1",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.75.1.tgz",
|
||||
"integrity": "sha512-km+ygqgMDaFfTrbQwdhrptFqx0Oq15jZABqIoIpbaOCkCAMm+tyCqrFS8dTfaq5wpCktqWOy2qU/DOpppO99Cg==",
|
||||
"dev": true,
|
||||
"version": "7.76.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.76.0.tgz",
|
||||
"integrity": "sha512-vj6z+EAbVrKAXmJPxSv/clpwS9QjPqzkraMFk2hIdE/kii8s8kwnkBwTSpIrNc8GnzV3qYC4r3qD+BXDxAGPaw==",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/@sentry/integrations/node_modules/@sentry/utils": {
|
||||
"version": "7.75.1",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.75.1.tgz",
|
||||
"integrity": "sha512-QzW2eRjY20epD//9/tQ0FTNwdAL6XZi+LyJNUQIeK3NMnc5NgHrgpxId87gmFq8cNx47utH1Blub8RuMbKqiwQ==",
|
||||
"dev": true,
|
||||
"version": "7.76.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.76.0.tgz",
|
||||
"integrity": "sha512-40jFD+yfQaKpFYINghdhovzec4IEpB7aAuyH/GtE7E0gLpcqnC72r55krEIVILfqIR2Mlr5OKUzyeoCyWAU/yw==",
|
||||
"dependencies": {
|
||||
"@sentry/types": "7.75.1"
|
||||
"@sentry/types": "7.76.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
|
@ -6892,58 +6888,42 @@
|
|||
}
|
||||
},
|
||||
"node_modules/toucan-js": {
|
||||
"version": "3.3.0",
|
||||
"resolved": "https://registry.npmjs.org/toucan-js/-/toucan-js-3.3.0.tgz",
|
||||
"integrity": "sha512-G3RZpX0SiLXq62UkQQyKuZKkB6yKrnp73Y97lh+cBt/fQLoj9YXJJ5IZ8YZ1Dq5nxGpSale+xpuGfUd4QLKcXA==",
|
||||
"version": "3.3.1",
|
||||
"resolved": "https://registry.npmjs.org/toucan-js/-/toucan-js-3.3.1.tgz",
|
||||
"integrity": "sha512-9BpkHb/Pzsrtl1ItNq9OEQPnuUHwzce0nV2uG+DYFiQ4fPyiA6mKTBcDwQzcvNkfSER038U+8TzvdkCev+Maww==",
|
||||
"dependencies": {
|
||||
"@sentry/core": "7.70.0",
|
||||
"@sentry/integrations": "7.70.0",
|
||||
"@sentry/types": "7.70.0",
|
||||
"@sentry/utils": "7.70.0"
|
||||
"@sentry/core": "7.76.0",
|
||||
"@sentry/integrations": "7.76.0",
|
||||
"@sentry/types": "7.76.0",
|
||||
"@sentry/utils": "7.76.0"
|
||||
}
|
||||
},
|
||||
"node_modules/toucan-js/node_modules/@sentry/core": {
|
||||
"version": "7.70.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.70.0.tgz",
|
||||
"integrity": "sha512-voUsGVM+jwRp99AQYFnRvr7sVd2tUhIMj1L6F42LtD3vp7t5ZnKp3NpXagtFW2vWzXESfyJUBhM0qI/bFvn7ZA==",
|
||||
"version": "7.76.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/core/-/core-7.76.0.tgz",
|
||||
"integrity": "sha512-M+ptkCTeCNf6fn7p2MmEb1Wd9/JXUWxIT/0QEc+t11DNR4FYy1ZP2O9Zb3Zp2XacO7ORrlL3Yc+VIfl5JTgjfw==",
|
||||
"dependencies": {
|
||||
"@sentry/types": "7.70.0",
|
||||
"@sentry/utils": "7.70.0",
|
||||
"tslib": "^2.4.1 || ^1.9.3"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/toucan-js/node_modules/@sentry/integrations": {
|
||||
"version": "7.70.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/integrations/-/integrations-7.70.0.tgz",
|
||||
"integrity": "sha512-ffIEuiElROzl4IpYX0O7vtPaadXVycPtyjq86YTHjd2TUFcYuQTPBm5UjEVE0/sSNNCdfWYxNThU/fVyq93l1g==",
|
||||
"dependencies": {
|
||||
"@sentry/types": "7.70.0",
|
||||
"@sentry/utils": "7.70.0",
|
||||
"localforage": "^1.8.1",
|
||||
"tslib": "^2.4.1 || ^1.9.3"
|
||||
"@sentry/types": "7.76.0",
|
||||
"@sentry/utils": "7.76.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/toucan-js/node_modules/@sentry/types": {
|
||||
"version": "7.70.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.70.0.tgz",
|
||||
"integrity": "sha512-rY4DqpiDBtXSk4MDNBH3dwWqfPbNBI/9GA7Y5WJSIcObBtfBKp0fzYliHJZD0pgM7d4DPFrDn42K9Iiumgymkw==",
|
||||
"version": "7.76.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/types/-/types-7.76.0.tgz",
|
||||
"integrity": "sha512-vj6z+EAbVrKAXmJPxSv/clpwS9QjPqzkraMFk2hIdE/kii8s8kwnkBwTSpIrNc8GnzV3qYC4r3qD+BXDxAGPaw==",
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/toucan-js/node_modules/@sentry/utils": {
|
||||
"version": "7.70.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.70.0.tgz",
|
||||
"integrity": "sha512-0cChMH0lsGp+5I3D4wOHWwjFN19HVrGUs7iWTLTO5St3EaVbdeLbI1vFXHxMxvopbwgpeZafbreHw/loIdZKpw==",
|
||||
"version": "7.76.0",
|
||||
"resolved": "https://registry.npmjs.org/@sentry/utils/-/utils-7.76.0.tgz",
|
||||
"integrity": "sha512-40jFD+yfQaKpFYINghdhovzec4IEpB7aAuyH/GtE7E0gLpcqnC72r55krEIVILfqIR2Mlr5OKUzyeoCyWAU/yw==",
|
||||
"dependencies": {
|
||||
"@sentry/types": "7.70.0",
|
||||
"tslib": "^2.4.1 || ^1.9.3"
|
||||
"@sentry/types": "7.76.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
|
@ -7042,7 +7022,8 @@
|
|||
"node_modules/tslib": {
|
||||
"version": "2.6.2",
|
||||
"resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz",
|
||||
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
|
||||
"integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/type-check": {
|
||||
"version": "0.4.0",
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
"@cloudflare/workers-types": "^4.20231025.0",
|
||||
"@microsoft/eslint-formatter-sarif": "^3.0.0",
|
||||
"@sentry/esbuild-plugin": "^2.9.0",
|
||||
"@sentry/integrations": "^7.75.1",
|
||||
"@sentry/integrations": "^7.76.0",
|
||||
"@types/jest": "^29.5.6",
|
||||
"@typescript-eslint/eslint-plugin": "^6.9.0",
|
||||
"@typescript-eslint/parser": "^6.9.0",
|
||||
|
@ -39,6 +39,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"itty-router": "^4.0.23",
|
||||
"toucan-js": "^3.3.0"
|
||||
"toucan-js": "^3.3.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -63,7 +63,8 @@ export const handleStatus = async (
|
|||
isTelegram /*&& !tweet.possibly_sensitive*/ &&
|
||||
!flags?.direct &&
|
||||
!flags?.api &&
|
||||
(tweet.media?.mosaic ||
|
||||
(tweet.media?.photos?.[0] || // Force instant view for photos for now https://bugs.telegram.org/c/33679
|
||||
tweet.media?.mosaic ||
|
||||
tweet.is_note_tweet ||
|
||||
tweet.quote ||
|
||||
tweet.translation ||
|
||||
|
|
|
@ -13,7 +13,7 @@ const Experiments: { [key in Experiment]: ExperimentConfig } = {
|
|||
[Experiment.ELONGATOR_BY_DEFAULT]: {
|
||||
name: 'Elongator by default',
|
||||
description: 'Enable Elongator by default (guest token lockout bypass)',
|
||||
percentage: 0.75
|
||||
percentage: 0.6
|
||||
},
|
||||
[Experiment.ELONGATOR_PROFILE_API]: {
|
||||
name: 'Elongator profile API',
|
||||
|
|
Loading…
Add table
Reference in a new issue