Skip to content

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

Use tslib in server

Chocobozzze0ef8dab287c
diff --git a/package.json b/package.json
index b94c7f7abe..f23462d46d 100644
--- a/package.json
+++ b/package.json
@@ -140,6 +140,7 @@
"socket.io": "^2.2.0",
"srt-to-vtt": "^1.1.2",
"tsconfig-paths": "^3.9.0",
+ "tslib": "^2.0.0",
"useragent": "^2.3.0",
"uuid": "^7.0.1",
"validator": "^13.0.0",
diff --git a/tsconfig.json b/tsconfig.json
index 058da4f78d..da09d0d859 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -6,6 +6,7 @@
"sourceMap": false,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
+ "importHelpers": true,
"removeComments": true,
"outDir": "./dist",
"lib": [
diff --git a/yarn.lock b/yarn.lock
index 7add257616..633a7d32a2 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -7086,6 +7086,11 @@ tslib@^1.8.1, tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.1.tgz#eb15d128827fbee2841549e171f45ed338ac7e35"
integrity sha512-aZW88SY8kQbU7gpV19lN24LtXh/yD4ZZg6qieAJDDg+YBsJcSmLGK9QpnUjAKVG/xefmvJGd1WUmfpT/g6AJGA==
+tslib@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.0.tgz#18d13fc2dce04051e20f074cc8387fd8089ce4f3"
+ integrity sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g==
+
tsutils@^3.17.1:
version "3.17.1"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"