Skip to content

Commit

Permalink
deps: update to wombat 3.8.2 (#204)
Browse files Browse the repository at this point in the history
rules: add instagram rules to match latest facebook rules
bump to 2.19.9
  • Loading branch information
ikreymer committed Sep 18, 2024
1 parent ad059dd commit a493601
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 16 deletions.
8 changes: 4 additions & 4 deletions dist/sw.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wombat.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/wombatWorkers.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "@webrecorder/wabac",
"version": "2.19.8",
"version": "2.19.9",
"main": "index.js",
"type": "module",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@peculiar/asn1-ecc": "^2.3.4",
"@peculiar/asn1-schema": "^2.3.3",
"@peculiar/x509": "^1.9.2",
"@webrecorder/wombat": "^3.8.0",
"@webrecorder/wombat": "^3.8.2",
"acorn": "^8.10.0",
"auto-js-ipfs": "^2.1.1",
"base64-js": "^1.5.1",
Expand Down
7 changes: 4 additions & 3 deletions src/rewrite/dsruleset.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,14 @@ export const DEFAULT_RULES = [
]
},
{
contains: ["instagram.com/"],
contains: ["instagram.com/", "fbcdn.net/"],
rxRules: [
[/"is_dash_eligible":(?:true|1)/, ruleReplace("\"is_dash_eligible\":false")],
[/"debugNoBatching\s?":(?:false|0)/, ruleReplace("\"debugNoBatching\":true")]
[/"debugNoBatching\s?":(?:false|0)/, ruleReplace("\"debugNoBatching\":true")],
[/"bulkRouteFetchBatchSize\s?":(?:[^{},]+)/, ruleReplace("\"bulkRouteFetchBatchSize\":1")],
[/"maxBatchSize\s?":(?:[^{},]+)/, ruleReplace("\"maxBatchSize\":1")]
]
},

{
contains: ["api.twitter.com/2/", "twitter.com/i/api/2/", "twitter.com/i/api/graphql/",
"api.x.com/2/", "x.com/i/api/2/", "x.com/i/api/graphql/"],
Expand Down
24 changes: 19 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -410,12 +410,12 @@
resolved "https://registry.yarnpkg.com/@webpack-cli/serve/-/serve-1.5.2.tgz#ea584b637ff63c5a477f6f21604b5a205b72c9ec"
integrity sha512-vgJ5OLWadI8aKjDlOH3rb+dYyPd2GTZuQC/Tihjct6F9GpXGZINo3Y/IVuZVTM1eDQB+/AOsjPUWH/WySDaXvw==

"@webrecorder/wombat@^3.8.0":
version "3.8.0"
resolved "https://registry.yarnpkg.com/@webrecorder/wombat/-/wombat-3.8.0.tgz#63ed3df199f11223b23c9ce66202590b8511ae2a"
integrity sha512-MpzNu9+ClCHjOER9XCrsEIsJk15L6qGO+PxeBPiOtaFJmNUiz0auMT5AQwiPqJgKEAniZTlPx1O4kNCVJu9f2Q==
"@webrecorder/wombat@^3.8.2":
version "3.8.2"
resolved "https://registry.yarnpkg.com/@webrecorder/wombat/-/wombat-3.8.2.tgz#e46e18719834d633175eec52ce753a4dc4e48e27"
integrity sha512-uUZr9V4UYpVOpM64Tm27ND/hMjDbT37+/qyNaNV6loqDuVzBVQh5w7SfTEy0Bbjj1MYyNZP244mOtWtotTpUEA==
dependencies:
warcio "^2.3.0"
warcio "^2.3.1"

"@xtuc/ieee754@^1.2.0":
version "1.2.0"
Expand Down Expand Up @@ -2842,6 +2842,20 @@ warcio@^2.3.0:
uuid-random "^1.3.2"
yargs "^17.6.2"

warcio@^2.3.1:
version "2.3.1"
resolved "https://registry.yarnpkg.com/warcio/-/warcio-2.3.1.tgz#8ac9de897de1a556161168f2a3938b60929908ca"
integrity sha512-PjcWqzXfs6HdWfHi1V/i8MoMmV5M0Csg3rOa2mqCJ1dmCJXswVfQ0VXbEVumwavNIW2oFFj6LJoCHHeL4Ls/zw==
dependencies:
"@types/pako" "^1.0.7"
"@types/stream-buffers" "^3.0.7"
base32-encode "^2.0.0"
hash-wasm "^4.9.0"
pako "^1.0.11"
tempy "^3.1.0"
uuid-random "^1.3.2"
yargs "^17.6.2"

watchpack@^2.4.0:
version "2.4.0"
resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d"
Expand Down

0 comments on commit a493601

Please sign in to comment.