Commit 76fcdf02 authored by Jarek Ostrowski's avatar Jarek Ostrowski

Update packages and remove console logs

parent 23dddba3
Pipeline #59278599 passed with stage
in 4 minutes and 20 seconds
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -13,66 +13,66 @@ ...@@ -13,66 +13,66 @@
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular-devkit/core": "^0.4.2", "@angular-devkit/core": "^0.4.9",
"@angular/animations": "^5.0.0", "@angular/animations": "^5.2.11",
"@angular/cdk": "^5.0.3", "@angular/cdk": "^5.0.3",
"@angular/cli": "1.6.1", "@angular/cli": "1.6.1",
"@angular/common": "^5.0.0", "@angular/common": "^5.2.11",
"@angular/compiler": "^5.0.0", "@angular/compiler": "^5.2.11",
"@angular/compiler-cli": "^5.0.0", "@angular/compiler-cli": "^5.2.11",
"@angular/core": "^5.0.0", "@angular/core": "^5.2.11",
"@angular/forms": "^5.2.6", "@angular/forms": "^5.2.11",
"@angular/http": "^5.0.0", "@angular/http": "^5.2.11",
"@angular/platform-browser": "^5.0.0", "@angular/platform-browser": "^5.2.11",
"@angular/platform-browser-dynamic": "^5.0.0", "@angular/platform-browser-dynamic": "^5.2.11",
"@angular/router": "^5.0.0", "@angular/router": "^5.2.11",
"@covalent/text-editor": "^1.0.0", "@covalent/text-editor": "^1.0.0",
"@sendgrid/mail": "^6.2.1", "@sendgrid/mail": "^6.3.1",
"body-parser": "^1.18.2", "body-parser": "^1.19.0",
"cloudinary": "^1.10.0", "cloudinary": "^1.14.0",
"core-js": "^2.4.1", "core-js": "^2.6.5",
"crypto": "^1.0.1", "crypto": "^1.0.1",
"dotenv": "^7.0.0", "dotenv": "^7.0.0",
"express": "^4.16.2", "express": "^4.16.4",
"express-fileupload": "^0.4.0", "express-fileupload": "^0.4.0",
"express-robots": "^0.1.6", "express-robots": "^0.1.6",
"express-session": "^1.15.6", "express-session": "^1.16.1",
"google-auth-library": "^0.12.0", "google-auth-library": "^0.12.0",
"googleapis": "^26.0.1", "googleapis": "^26.0.1",
"heroku-ssl-redirect": "0.0.4", "heroku-ssl-redirect": "0.0.4",
"mongoose": "^5.0.7", "mongoose": "^5.5.5",
"morgan": "^1.9.0", "morgan": "^1.9.1",
"multer": "^1.3.0", "multer": "^1.4.1",
"mv": "^2.1.1", "mv": "^2.1.1",
"ng-pell": "^0.7.4", "ng-pell": "^0.7.4",
"ng-quill": "^3.5.2", "ng-quill": "^3.8.0",
"ngclipboard": "^2.0.0", "ngclipboard": "^2.0.0",
"ngx-bootstrap": "^2.0.2", "ngx-bootstrap": "^2.0.5",
"ngx-editor": "^3.3.0-rc.10", "ngx-editor": "^3.3.0",
"ngx-quill": "^2.1.1", "ngx-quill": "^2.2.0",
"nodemon": "^1.15.1", "nodemon": "^1.19.0",
"passport": "^0.4.0", "passport": "^0.4.0",
"passport-google-oauth": "^1.0.0", "passport-google-oauth": "^1.0.0",
"pell": "^0.7.0", "pell": "^0.7.0",
"prerender-node": "^3.1.1", "prerender-node": "^3.2.4",
"rxjs": "^5.5.2", "rxjs": "^5.5.12",
"twitter": "^1.7.1", "twitter": "^1.7.1",
"typescript": "~2.4.2", "typescript": "~2.4.2",
"zone.js": "^0.8.14" "zone.js": "^0.8.29"
}, },
"devDependencies": { "devDependencies": {
"@angular/language-service": "^5.0.0", "@angular/language-service": "^5.2.11",
"@types/jasmine": "~2.5.53", "@types/jasmine": "~2.5.53",
"@types/jasminewd2": "~2.0.2", "@types/jasminewd2": "^2.0.6",
"@types/node": "~6.0.60", "@types/node": "^6.0.118",
"codelyzer": "^4.0.1", "codelyzer": "^4.5.0",
"jasmine-core": "~2.6.2", "jasmine-core": "~2.6.2",
"jasmine-spec-reporter": "~4.1.0", "jasmine-spec-reporter": "~4.1.0",
"karma": "~1.7.0", "karma": "~1.7.0",
"karma-chrome-launcher": "~2.1.1", "karma-chrome-launcher": "~2.1.1",
"karma-cli": "~1.0.1", "karma-cli": "~1.0.1",
"karma-coverage-istanbul-reporter": "^1.2.1", "karma-coverage-istanbul-reporter": "^1.4.3",
"karma-jasmine": "~1.1.0", "karma-jasmine": "^1.1.2",
"karma-jasmine-html-reporter": "^0.2.2", "karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.1.2", "protractor": "~5.1.2",
"ts-node": "~3.2.0", "ts-node": "~3.2.0",
......
...@@ -570,8 +570,6 @@ app.post('/reviews', (req, res) => { ...@@ -570,8 +570,6 @@ app.post('/reviews', (req, res) => {
app.post('/reply', (req, res) => { app.post('/reply', (req, res) => {
console.log(req.body)
var todaysDate = new Date() var todaysDate = new Date()
var date = todaysDate.getDate() var date = todaysDate.getDate()
......
...@@ -126,7 +126,6 @@ export class BetaComponent implements OnInit { ...@@ -126,7 +126,6 @@ export class BetaComponent implements OnInit {
if (this.reviewValue.length > 0) { if (this.reviewValue.length > 0) {
this.feedbackValue = true; this.feedbackValue = true;
this.feedbackRows = 6 this.feedbackRows = 6
console.log(event.target.value)
} else { } else {
this.feedbackValue = false; this.feedbackValue = false;
this.feedbackRows = 1 this.feedbackRows = 1
...@@ -140,7 +139,6 @@ export class BetaComponent implements OnInit { ...@@ -140,7 +139,6 @@ export class BetaComponent implements OnInit {
clickReq.subscribe(); clickReq.subscribe();
} else { } else {
this.beta.linkClicks = 1; this.beta.linkClicks = 1;
console.log(beta)
const clickReq = this.http.put(('/api/submissions/' + beta._id), beta) const clickReq = this.http.put(('/api/submissions/' + beta._id), beta)
clickReq.subscribe(); clickReq.subscribe();
} }
...@@ -173,7 +171,6 @@ export class BetaComponent implements OnInit { ...@@ -173,7 +171,6 @@ export class BetaComponent implements OnInit {
} }
submitReply(reply, review) { submitReply(reply, review) {
console.log(reply)
var replyObj = { var replyObj = {
repliedBy: this.usersService.user._id, repliedBy: this.usersService.user._id,
reviewId: review, reviewId: review,
......
...@@ -108,7 +108,6 @@ export class BetasComponent implements OnInit { ...@@ -108,7 +108,6 @@ export class BetasComponent implements OnInit {
this.resetBetas() this.resetBetas()
} }
if (this.categoriesSelected.length || this.filtersSelected.length) { if (this.categoriesSelected.length || this.filtersSelected.length) {
console.log(this.categoriesSelected, this.filtersSelected)
// go through all betas for each category, append to filteredBetas // // go through all betas for each category, append to filteredBetas //
for (var i = 0; i < this.categoriesSelected.length; i++) { for (var i = 0; i < this.categoriesSelected.length; i++) {
for (var j = 0; j < this.betas.length; j++) { for (var j = 0; j < this.betas.length; j++) {
...@@ -133,7 +132,6 @@ export class BetasComponent implements OnInit { ...@@ -133,7 +132,6 @@ export class BetasComponent implements OnInit {
// } // }
// } // }
} }
console.log(this.filteredBetas)
} }
categoriesSelected = [] categoriesSelected = []
...@@ -172,7 +170,6 @@ export class BetasComponent implements OnInit { ...@@ -172,7 +170,6 @@ export class BetasComponent implements OnInit {
} }
} }
this.filterBetas() this.filterBetas()
console.log(this.filtersSelected)
// if (filter.name !== "All") { // if (filter.name !== "All") {
// filter.selected = !filter.selected // filter.selected = !filter.selected
// this.filters[0].selected = false; // this.filters[0].selected = false;
......
...@@ -27,7 +27,6 @@ export class PostsComponent implements OnInit { ...@@ -27,7 +27,6 @@ export class PostsComponent implements OnInit {
ngOnInit() { ngOnInit() {
this.route.parent.params.subscribe(params => { this.route.parent.params.subscribe(params => {
this.id = params.id this.id = params.id
console.log(params.id)
this.http.get('/api/users/' + this.id).subscribe(res => { this.http.get('/api/users/' + this.id).subscribe(res => {
this.profile = res this.profile = res
this.betas = this.profile.submissions this.betas = this.profile.submissions
......
...@@ -27,7 +27,6 @@ export class ReviewsComponent implements OnInit { ...@@ -27,7 +27,6 @@ export class ReviewsComponent implements OnInit {
ngOnInit() { ngOnInit() {
this.route.parent.params.subscribe(params => { this.route.parent.params.subscribe(params => {
this.id = params.id this.id = params.id
console.log(params.id)
this.http.get('/api/users/' + this.id).subscribe(res => { this.http.get('/api/users/' + this.id).subscribe(res => {
this.profile = res this.profile = res
this.reviews = this.profile.reviews this.reviews = this.profile.reviews
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment