From 8dce9fe049fd5d97ea10774225adfc999fb4cf2e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 9 Jun 2016 21:17:15 -0400 Subject: [PATCH] updared libraries and fixed lint issues --- src/Vault/package.json | 40 +++++++++---------- .../wwwroot/app/services/cipherService.js | 2 +- .../wwwroot/app/services/importService.js | 2 +- src/Vault/wwwroot/app/settings.js | 4 +- src/Vault/wwwroot/index.html | 6 +-- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/Vault/package.json b/src/Vault/package.json index 9e67f3592e..ef788345f9 100644 --- a/src/Vault/package.json +++ b/src/Vault/package.json @@ -3,41 +3,41 @@ "version": "0.0.1", "devDependencies": { "connect": "3.4.1", - "lodash": "4.2.1", - "gulp": "3.9.0", + "lodash": "4.13.1", + "gulp": "3.9.1", "gulp-concat": "2.6.0", "gulp-cssmin": "0.1.7", - "gulp-less": "3.0.5", + "gulp-less": "3.1.0", "gulp-rename": "1.2.2", - "gulp-uglify": "1.5.1", + "gulp-uglify": "1.5.3", "gulp-gh-pages": "0.5.4", "gulp-preprocess": "2.0.0", - "gulp-ng-annotate": "1.1.0", - "gulp-ng-config": "1.2.1", - "jshint": "2.9.1", - "gulp-jshint": "2.0.0", - "rimraf": "2.5.1", - "run-sequence": "1.1.5", + "gulp-ng-annotate": "2.0.0", + "gulp-ng-config": "1.3.1", + "jshint": "2.9.2", + "gulp-jshint": "2.0.1", + "rimraf": "2.5.2", + "run-sequence": "1.2.1", "merge-stream": "1.0.0", - "jquery": "2.2.0", - "font-awesome": "4.5.0", + "jquery": "2.2.4", + "font-awesome": "4.6.3", "bootstrap": "3.3.6", "sjcl": "1.0.3", - "angular": "1.5.0", - "angular-resource": "1.5.0", + "angular": "1.5.6", + "angular-resource": "1.5.6", "angular-bootstrap-npm": "0.14.3", - "angular-ui-router": "0.2.17", + "angular-ui-router": "0.3.1", "angular-jwt": "0.0.9", - "angular-cookies": "1.5.0", - "admin-lte": "2.3.2", + "angular-cookies": "1.5.6", + "admin-lte": "2.3.3", "angular-md5": "0.1.10", "angular-toastr": "1.7.0", "angular-bootstrap-show-errors": "2.3.0", - "angular-messages": "1.5.0", + "angular-messages": "1.5.6", "ngstorage": "0.3.10", "papaparse": "4.1.2", "toastr": "2.1.2", - "clipboard": "1.5.8", - "ngclipboard": "1.1.0" + "clipboard": "1.5.12", + "ngclipboard": "1.1.1" } } diff --git a/src/Vault/wwwroot/app/services/cipherService.js b/src/Vault/wwwroot/app/services/cipherService.js index b159569292..78aa75db63 100644 --- a/src/Vault/wwwroot/app/services/cipherService.js +++ b/src/Vault/wwwroot/app/services/cipherService.js @@ -78,7 +78,7 @@ angular id: unencryptedSite.id, 'type': 1, folderId: unencryptedSite.folderId === '' ? null : unencryptedSite.folderId, - favorite: unencryptedSite.favorite != null ? unencryptedSite.favorite : false, + favorite: unencryptedSite.favorite !== null ? unencryptedSite.favorite : false, uri: cryptoService.encrypt(unencryptedSite.uri, key), name: cryptoService.encrypt(unencryptedSite.name, key), username: !unencryptedSite.username || unencryptedSite.username === '' ? null : cryptoService.encrypt(unencryptedSite.username, key), diff --git a/src/Vault/wwwroot/app/services/importService.js b/src/Vault/wwwroot/app/services/importService.js index a3e6e30a8d..6c3e70feb8 100644 --- a/src/Vault/wwwroot/app/services/importService.js +++ b/src/Vault/wwwroot/app/services/importService.js @@ -47,7 +47,7 @@ } sites.push({ - favorite: value.favorite != null ? value.favorite : false, + favorite: value.favorite !== null ? value.favorite : false, uri: value.uri, username: value.username && value.username !== '' ? value.username : null, password: value.password, diff --git a/src/Vault/wwwroot/app/settings.js b/src/Vault/wwwroot/app/settings.js index 3e15adc046..c515701daa 100644 --- a/src/Vault/wwwroot/app/settings.js +++ b/src/Vault/wwwroot/app/settings.js @@ -1,2 +1,2 @@ -angular.module('bit') -.constant('appSettings', {"rememberdEmailCookieName":"bit.rememberedEmail","version":"0.0.1","environment":"Development","apiUri":"http://localhost:4000"}); +angular.module("bit") +.constant("appSettings", {"rememberdEmailCookieName":"bit.rememberedEmail","version":"0.0.1","environment":"Development","apiUri":"http://localhost:4000"}); diff --git a/src/Vault/wwwroot/index.html b/src/Vault/wwwroot/index.html index 9189a1facb..7b30bf939d 100644 --- a/src/Vault/wwwroot/index.html +++ b/src/Vault/wwwroot/index.html @@ -12,7 +12,7 @@ - + @@ -29,13 +29,13 @@