Upgrade client dependencies

This commit is contained in:
Chocobozzz 2018-07-31 19:47:14 +02:00
parent fb9e6cb075
commit e80687c458
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 400 additions and 468 deletions

View File

@ -29,20 +29,20 @@
"simple-get": "^2.8.1" "simple-get": "^2.8.1"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.6.1", "@angular-devkit/build-angular": "^0.7.1",
"@angular/animations": "~6.0.2", "@angular/animations": "~6.1.0",
"@angular/cli": "6.0.8", "@angular/cli": "~6.1.0",
"@angular/common": "~6.0.2", "@angular/common": "~6.1.0",
"@angular/compiler": "~6.0.2", "@angular/compiler": "~6.1.0",
"@angular/compiler-cli": "~6.0.2", "@angular/compiler-cli": "~6.1.0",
"@angular/core": "~6.0.2", "@angular/core": "~6.1.0",
"@angular/forms": "~6.0.2", "@angular/forms": "~6.1.0",
"@angular/http": "~6.0.2", "@angular/http": "~6.1.0",
"@angular/language-service": "^6.0.1", "@angular/language-service": "~6.1.0",
"@angular/platform-browser": "~6.0.2", "@angular/platform-browser": "~6.1.0",
"@angular/platform-browser-dynamic": "~6.0.2", "@angular/platform-browser-dynamic": "~6.1.0",
"@angular/router": "~6.0.2", "@angular/router": "~6.1.0",
"@angular/service-worker": "^6.0.1", "@angular/service-worker": "~6.1.0",
"@angularclass/hmr": "^2.1.3", "@angularclass/hmr": "^2.1.3",
"@ngx-loading-bar/core": "^2.0.0", "@ngx-loading-bar/core": "^2.0.0",
"@ngx-loading-bar/http-client": "^2.0.0", "@ngx-loading-bar/http-client": "^2.0.0",
@ -85,7 +85,7 @@
"lodash-es": "^4.17.4", "lodash-es": "^4.17.4",
"markdown-it": "^8.4.0", "markdown-it": "^8.4.0",
"ngx-bootstrap": "3.0.1", "ngx-bootstrap": "3.0.1",
"ngx-chips": "1.9.2", "ngx-chips": "1.9.3",
"ngx-clipboard": "11.1.1", "ngx-clipboard": "11.1.1",
"ngx-pipes": "^2.1.7", "ngx-pipes": "^2.1.7",
"ngx-qrcode2": "^0.0.9", "ngx-qrcode2": "^0.0.9",
@ -106,9 +106,9 @@
"stream-http": "^2.8.3", "stream-http": "^2.8.3",
"tslint": "^5.7.0", "tslint": "^5.7.0",
"tslint-config-standard": "^7.0.0", "tslint-config-standard": "^7.0.0",
"typescript": "2.7", "typescript": "2.9",
"uglifyjs-webpack-plugin": "^1.1.2", "uglifyjs-webpack-plugin": "^1.1.2",
"video.js": "7.2.0", "video.js": "7.2",
"videojs-contextmenu": "^2.0.0", "videojs-contextmenu": "^2.0.0",
"videojs-contextmenu-ui": "^4.0.0", "videojs-contextmenu-ui": "^4.0.0",
"videojs-dock": "^2.0.2", "videojs-dock": "^2.0.2",

View File

@ -48,7 +48,7 @@ try {
const instance = new MemoryStorage() const instance = new MemoryStorage()
peertubeLocalStorage = new Proxy(instance, { peertubeLocalStorage = new Proxy(instance, {
set: function (obj, prop, value) { set: function (obj, prop: string | number, value) {
if (MemoryStorage.prototype.hasOwnProperty(prop)) { if (MemoryStorage.prototype.hasOwnProperty(prop)) {
instance[prop] = value instance[prop] = value
} else { } else {
@ -56,7 +56,7 @@ try {
} }
return true return true
}, },
get: function (target, name) { get: function (target, name: string | number) {
if (MemoryStorage.prototype.hasOwnProperty(name)) { if (MemoryStorage.prototype.hasOwnProperty(name)) {
return instance[name] return instance[name]
} }

File diff suppressed because it is too large Load Diff