1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-11-24 08:42:24 +02:00

package update

This commit is contained in:
Patrik J. Braun 2018-01-15 19:37:18 -05:00
parent add9947653
commit 63b300c40a
4 changed files with 31 additions and 34 deletions

View File

@ -16,7 +16,6 @@ export class PublicRouter {
let selectedLocale = req['locale'];
if (req.cookies && req.cookies[CookieNames.lang]) {
if (Config.Client.languages.indexOf(req.cookies[CookieNames.lang]) !== -1) {
console.log(selectedLocale);
selectedLocale = req.cookies[CookieNames.lang];
}
}

View File

@ -19,8 +19,6 @@ export class LanguageComponent {
if (Cookie.get(CookieNames.lang) != null) {
this.current = Cookie.get(CookieNames.lang);
}
console.log(this.current);
}
}

View File

@ -33,38 +33,38 @@
"ejs": "2.5.7",
"express": "4.16.2",
"jimp": "0.2.28",
"locale": "^0.1.0",
"locale": "0.1.0",
"mysql": "2.15.0",
"reflect-metadata": "0.1.10",
"sqlite3": "3.1.13",
"ts-exif-parser": "0.1.23",
"ts-node-iptc": "1.0.9",
"typeconfig": "1.0.5",
"typeconfig": "1.0.6",
"typeorm": "0.1.8",
"winston": "2.4.0"
},
"devDependencies": {
"@agm/core": "^1.0.0-beta.2",
"@angular/animations": "^5.1.2",
"@angular/cli": "1.6.2",
"@angular/common": "~5.1.2",
"@angular/compiler": "~5.1.2",
"@angular/compiler-cli": "^5.1.2",
"@angular/core": "~5.1.2",
"@angular/forms": "~5.1.2",
"@angular/http": "~5.1.2",
"@angular/language-service": "^5.1.2",
"@angular/platform-browser": "~5.1.2",
"@angular/platform-browser-dynamic": "~5.1.2",
"@angular/router": "~5.1.2",
"@angular/animations": "^5.2.0",
"@angular/cli": "1.6.4",
"@angular/common": "~5.2.0",
"@angular/compiler": "~5.2.0",
"@angular/compiler-cli": "^5.2.0",
"@angular/core": "~5.2.0",
"@angular/forms": "~5.2.0",
"@angular/http": "~5.2.0",
"@angular/language-service": "^5.2.0",
"@angular/platform-browser": "~5.2.0",
"@angular/platform-browser-dynamic": "~5.2.0",
"@angular/router": "~5.2.0",
"@types/bcryptjs": "^2.4.1",
"@types/chai": "^4.0.10",
"@types/chai": "^4.1.0",
"@types/cookie-session": "^2.0.34",
"@types/express": "^4.11.0",
"@types/gm": "^1.17.33",
"@types/jasmine": "^2.8.2",
"@types/jasmine": "^2.8.4",
"@types/jimp": "^0.2.28",
"@types/node": "^8.5.2",
"@types/node": "^9.3.0",
"@types/sharp": "^0.17.6",
"@types/winston": "^2.3.7",
"bootstrap": "^3.3.7",
@ -74,44 +74,44 @@
"ejs-loader": "^0.3.0",
"gulp": "^3.9.1",
"gulp-json-modify": "^1.0.2",
"gulp-typescript": "^3.2.3",
"gulp-zip": "^4.0.0",
"gulp-typescript": "^4.0.0-alpha.1",
"gulp-zip": "^4.1.0",
"hammerjs": "^2.0.8",
"intl": "^1.2.5",
"jasmine-core": "^2.8.0",
"jasmine-spec-reporter": "~4.2.1",
"jw-bootstrap-switch-ng2": "1.0.8",
"jw-bootstrap-switch-ng2": "1.0.10",
"karma": "^2.0.0",
"karma-cli": "^1.0.1",
"karma-coverage-istanbul-reporter": "^1.3.1",
"karma-coverage-istanbul-reporter": "^1.3.3",
"karma-jasmine": "^1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"karma-phantomjs-launcher": "^1.0.4",
"karma-remap-istanbul": "^0.6.0",
"karma-systemjs": "^0.16.0",
"merge2": "^1.2.0",
"mocha": "^4.0.1",
"merge2": "^1.2.1",
"mocha": "^4.1.0",
"ng2-cookies": "^1.0.12",
"ng2-slim-loading-bar": "^4.0.0",
"ng2-toastr": "^4.1.2",
"ngx-bootstrap": "^2.0.0-rc.0",
"ngx-clipboard": "^9.0.0",
"ngx-clipboard": "^9.1.2",
"phantomjs-prebuilt": "^2.1.16",
"protractor": "^5.2.2",
"remap-istanbul": "^0.9.5",
"remap-istanbul": "^0.10.0",
"rimraf": "^2.6.2",
"run-sequence": "^2.2.0",
"run-sequence": "^2.2.1",
"rxjs": "^5.5.6",
"ts-helpers": "^1.1.2",
"ts-node": "~4.1.0",
"tslint": "^5.8.0",
"tslint": "^5.9.1",
"typescript": "^2.6.2",
"zone.js": "^0.8.18"
"zone.js": "^0.8.20"
},
"optionalDependencies": {
"bcrypt": "^1.0.3",
"gm": "^1.23.0",
"sharp": "^0.18.4"
"gm": "^1.23.1",
"sharp": "^0.19.0"
},
"engines": {
"node": ">= 6.9"