Skip to content

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

Use tslib in client

Chocobozzz27da4884ed0e
diff --git a/client/package.json b/client/package.json
index 474763d359..93c4cef37a 100644
--- a/client/package.json
+++ b/client/package.json
@@ -116,6 +116,7 @@
"stream-browserify": "^3.0.0",
"stream-http": "^3.0.0",
"terser-webpack-plugin": "^3.0.0",
+ "tslib": "^2.0.0",
"tslint": "^6.1.0",
"tslint-angular": "^3.0.2",
"tslint-config-standard": "^9.0.0",
@@ -137,7 +138,6 @@
"@ngx-i18nsupport/tooling": "^8.0.3",
"junk": "^3.1.0",
"punycode": "^2.1.1",
- "simple-get": "^3.1.0",
- "tslib": "^1.10.0"
+ "simple-get": "^3.1.0"
}
}
diff --git a/client/tsconfig.json b/client/tsconfig.json
index ce83a4f11c..752f5b35f6 100644
--- a/client/tsconfig.json
+++ b/client/tsconfig.json
@@ -13,6 +13,7 @@
"noImplicitThis": true,
"suppressImplicitAnyIndexErrors":true,
"alwaysStrict": true,
+ "importHelpers": true,
"strictBindCallApply": true,
"target": "es2015",
"typeRoots": [
diff --git a/client/yarn.lock b/client/yarn.lock
index 170d21c63b..dba4c91b90 100644
--- a/client/yarn.lock
+++ b/client/yarn.lock
@@ -11184,6 +11184,11 @@ tslib@^1.10.0, tslib@^1.7.1, tslib@^1.8.1, tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.2.tgz#9c79d83272c9a7aaf166f73915c9667ecdde3cc9"
integrity sha512-tTSkux6IGPnUGUd1XAZHcpu85MOkIl5zX49pO+jfsie3eP0B6pyhOlLXm3cAC6T7s+euSDDUUV+Acop5WmtkVg==
+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==
+
tslint-angular@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/tslint-angular/-/tslint-angular-3.0.2.tgz#6f7480cc34f26fcc03df18d7ec3d5ce364b65064"