Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix deprecation

Chocobozzz081009835db4
diff --git a/package.json b/package.json
index 7b4c09766f..0c96ae1767 100644
--- a/package.json
+++ b/package.json
@@ -246,7 +246,6 @@
"concurrently": "^9.2.1",
"depcheck": "^1.4.7",
"eslint-plugin-eslint-comments": "^3.2.0",
- "fast-xml-parser": "^5.8.0",
"i18next-cli": "^1.58.0",
"jszip": "^3.10.1",
"maildev": "^2.2.1",
diff --git a/packages/tests/package.json b/packages/tests/package.json
index 0ffca3dff7..e932a52b02 100644
--- a/packages/tests/package.json
+++ b/packages/tests/package.json
@@ -8,6 +8,8 @@
"@peertube/peertube-transcription-devtools": "workspace:*",
"@types/superagent": "^8.1.9",
"@types/supertest": "^6.0.3",
+ "fast-xml-parser": "^5.9.0",
+ "fast-xml-validator": "^1.1.1",
"supertest": "^7.2.2"
},
"scripts": {
diff --git a/packages/tests/src/feeds/feeds.ts b/packages/tests/src/feeds/feeds.ts
index 33425f6a8e..ea43bacdb8 100644
--- a/packages/tests/src/feeds/feeds.ts
+++ b/packages/tests/src/feeds/feeds.ts
@@ -20,7 +20,8 @@ import { expectStartWith, testImageSize } from '@tests/shared/checks.js'
import * as chai from 'chai'
import chaiJSONSChema from 'chai-json-schema'
import chaiXML from 'chai-xml'
-import { XMLParser, XMLValidator } from 'fast-xml-parser'
+import { XMLParser } from 'fast-xml-parser'
+import { SyntaxValidator as XMLValidator } from 'fast-xml-validator'
chai.use(chaiXML)
chai.use(chaiJSONSChema)
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index f6c6972257..967776e350 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -492,9 +492,6 @@ importers:
eslint-plugin-eslint-comments:
specifier: ^3.2.0
- fast-xml-parser:
- specifier: ^5.8.0
- version: 5.8.0
i18next-cli:
specifier: ^1.58.0
@@ -903,6 +900,12 @@ importers:
'@types/supertest':
specifier: ^6.0.3
version: 6.0.3
+ fast-xml-parser:
+ specifier: ^5.9.0
+ version: 5.9.0
+ fast-xml-validator:
+ specifier: ^1.1.1
+ version: 1.1.1
supertest:
specifier: ^7.2.2
version: 7.2.2
@@ -1048,6 +1051,7 @@ packages:
'@angular/[email protected]':
resolution: {integrity: sha512-CpyK3XxcjuYj8cl/eaKZYxrIpVOG7Ci49YSPIzyY5bzxMv7znOoRuPnEMV/EENfiQ12IraWCBh9dd7g37PBjOw==}
engines: {node: ^20.19.0 || ^22.12.0 || >=24.0.0}
+ deprecated: '@angular/animations is deprecated. Use `animate.enter` and `animate.leave` instead. For more information see: https://v22.angular.dev/guide/animations.'
peerDependencies:
'@angular/core': 21.2.11
@@ -1376,10 +1380,6 @@ packages:
resolution: {integrity: sha512-CGOfOJqWjg2qW/Mb6zNsDm+u5vFQ8DxXfbM09z69p5Z6+mE1ikP2jUXw+j42Pf1XTYED2Rni5f95npYeuwMDQA==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-qsaF+9Qcm2Qv8SRIMMscAvG4O3lJ0F1GuMo5HR/Bp02LopNgnZBC/EkbevHFeGs4ls/oPz9v+Bsmzbkbe+0dUw==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==}
engines: {node: '>=6.9.0'}
@@ -1464,10 +1464,6 @@ packages:
resolution: {integrity: sha512-Nq8OhGWiZIZGV6hLHoyAKLLcJihP/xFeBMGJoUrxTX2psI8dCifzLhZISFb+VWS3wFMRDmCGw5R+dOySCqPLhw==}
engines: {node: '>=6.9.0'}
- '@babel/[email protected]':
- resolution: {integrity: sha512-YA6Ma2KsCdGb+WC6UpBVFJGXL58MDA6oyONbjyF/+5sBgxY/dwkhLogbMT2GXXyU84/IhRw/2D1Os1B/giz+BQ==}
- engines: {node: '>=6.9.0'}
-
resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==}
engines: {node: '>=6.9.0'}
@@ -2969,6 +2965,9 @@ packages:
'@nodable/[email protected]':
resolution: {integrity: sha512-nyT7T3nbMyBI/lvr6L5TyWbFJAI9FTgVRakNoBqCD+PmID8DzFrrNdLLtHMwMszOtqZa8PAOV24ZqDnQrhQINA==}
+ '@nodable/[email protected]':
+ resolution: {integrity: sha512-9uGyhaQavEUMC8AIddIjau4NsnsXhou+j5sBAGojCM1oxmQpVKTWR/9JxABD6UAv12vpIms55fPZKFQEhG6uBg==}
+
'@node-oauth/[email protected]':
resolution: {integrity: sha512-DwSbLtdC8zC5B5gTJkFzJj5s9vr9SGzOgQvV9nH7tUVuMSScg0EswAczhjIapOmH3Y8AyP7C4Jv7b8+QJObWZA==}
@@ -5029,6 +5028,9 @@ packages:
resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}
engines: {node: '>= 8'}
+ resolution: {integrity: sha512-xjR9/zBVnUOP6ztMIIgShjsxui80nQUQH+5xJnvrYLs+90bF25/KJqaAi8mk+B4RDtX1Nspi6fmp4YTEts8SfA==}
+
resolution: {integrity: sha512-klpgFSWLW1ZEs8svjfb7g4qWY0YS5imI82dTg+QahUvJ8YqAY0P10Uk8tTyh9ZGuYEZEMaeJYCF5BFuX552hsw==}
@@ -6186,6 +6188,9 @@ packages:
resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==}
engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16}
+ resolution: {integrity: sha512-BhnTxmkOhDXS5V6yQFxTYItZa9Fk4gKKQNNDNXWLNolnsIdP/7wuyL0vlrfNqjgKbH8hsq+QFlFL6tpHvRNiAw==}
+
resolution: {integrity: sha512-lgdERlL3u0aUdHocoouzT10d9I89VVhk0qNRmll7mXdGfJT1/wqZ2ZLA4oJAjeACPY5fT1wsbq2AT+GkuInsow==}
@@ -6845,6 +6850,13 @@ packages:
resolution: {integrity: sha512-6bIM7fsJxeo3uXv7OncQYsBAMPJ7V16Slahl/6M98C/i2q+vB1+4a0MtrvYwDFEUrwDSbAmeLDRXsOBwrL7yAg==}
hasBin: true
+ resolution: {integrity: sha512-duBuXbyIhEeNO4GjFuVqr0nF047oNwr18aum+zJyqo0MUG/n7Afgs3Qv3D6VN3ONedUKxiuFlPiMGIa0Z11chA==}
+ hasBin: true
+
+ resolution: {integrity: sha512-mNDDFp+Fz212Q3ckFewWCfFTaDG0HMkg21RauFXVJUkSjfYzkAof/8YhcPfabp04OHewbFyjQ4yCvxuAAvbCLg==}
+
resolution: {integrity: sha512-DCoYgNagM2Bt1VIpXpdGnRx4LzqJeYG0oh6Nf/7cWo6elTXkFGMw9CrRCYYUIapYNrozYMoyDRflx9mgT3Awyw==}
@@ -7831,6 +7843,9 @@ packages:
resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==}
engines: {node: '>=18'}
+ resolution: {integrity: sha512-CLK2+VdgERgD96EYm5lUQssZYlRg2tkZnbsxZoacmSiRxiFJ4Nk4SzjCl+Ur+v3kXIY9dTIdb3IH22y1mZ56LA==}
+
resolution: {integrity: sha512-K5pXYOm9wqY1RgjpL3YTkF39tni1XajUIkawTLUo9EZEVUFga5gSQJF8nNS7ZwJQ02y+1YCNYcMh+HIf1ZqE+w==}
engines: {node: '>= 0.4'}
@@ -10724,6 +10739,9 @@ packages:
resolution: {integrity: sha512-ums3KNd42PGyx5xaoVTO1mjU1bH3NpY4vsrVlnv9PNGqQj8wd7rJ6nEypLrJ7z5vxK5RP0yMLo6J/Gsm62DI5Q==}
+ resolution: {integrity: sha512-sHrVyWWdq28RbhjuJdZsA1SnGRJV6NiXbk6AXBxDOsgAcA+lmpUZCYjOdLBxkXMwis6RRe7dlZt4VlIWFVzkmg==}
+
resolution: {integrity: sha512-5UuAHmBLXYPCl22xWJrFuGmIhBKQzxISPVz6E7nmTmTcAOpUzlbjKJsRrCE4vADmMQ0dzeCnlWn9XufnAGf76Q==}
@@ -12642,14 +12660,14 @@ snapshots:
dependencies:
'@babel/code-frame': 7.29.7
- '@babel/generator': 7.29.1
+ '@babel/generator': 7.29.7
'@babel/helper-compilation-targets': 7.28.6
'@babel/helper-module-transforms': 7.28.6(@babel/[email protected])
'@babel/helpers': 7.29.2
'@babel/parser': 7.29.7
- '@babel/template': 7.28.6
+ '@babel/template': 7.29.7
'@babel/traverse': 7.29.7
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
'@jridgewell/remapping': 2.3.5
convert-source-map: 2.0.0
debug: 4.4.3([email protected])
@@ -12659,14 +12677,6 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@babel/[email protected]':
- dependencies:
- '@babel/parser': 7.29.7
- '@babel/types': 7.29.0
- '@jridgewell/gen-mapping': 0.3.13
- '@jridgewell/trace-mapping': 0.3.31
- jsesc: 3.1.0
-
dependencies:
'@babel/parser': 7.29.7
@@ -12701,7 +12711,7 @@ snapshots:
dependencies:
'@babel/traverse': 7.29.7
- '@babel/types': 7.29.0
+ '@babel/types': 7.29.7
transitivePeerDependencies:
- supports-color
@@ -12734,8 +12744,8 @@ snapshots:
dependencies:
- '@babel/template': 7.28.6
- '@babel/types': 7.29.0
+ '@babel/template': 7.29.7
+ '@babel/types': 7.29.7
dependencies:
@@ -12749,12 +12759,6 @@ snapshots:
'@babel/[email protected]': {}
- '@babel/[email protected]':
- dependencies:
- '@babel/code-frame': 7.29.7
- '@babel/parser': 7.29.7
- '@babel/types': 7.29.0
-
dependencies:
'@babel/code-frame': 7.29.7
@@ -13874,6 +13878,8 @@ snapshots:
'@nodable/[email protected]': {}
+ '@nodable/[email protected]': {}
+
'@node-oauth/[email protected]': {}
'@node-oauth/[email protected]':
@@ -16168,6 +16174,8 @@ snapshots:
normalize-path: 3.0.0
picomatch: 2.3.2
+
@@ -17563,6 +17571,10 @@ snapshots:
+ dependencies:
+ fast-xml-parser: 5.9.0
+
@@ -18569,6 +18581,20 @@ snapshots:
strnum: 2.3.0
xml-naming: 0.1.0
+ dependencies:
+ '@nodable/entities': 2.2.0
+ fast-xml-builder: 1.2.0
+ is-unsafe: 1.0.1
+ path-expression-matcher: 1.5.0
+ strnum: 2.4.0
+ xml-naming: 0.1.0
+
+ dependencies:
+ detailed-xml-validator: 2.1.0
+ xml-naming: 0.1.0
+
optional: true
@@ -19669,6 +19695,8 @@ snapshots:
+
@@ -23142,6 +23170,10 @@ snapshots:
+ dependencies:
+ anynum: 1.0.0
+