Bump npm dependencies
parent
8a1f38f2f1
commit
a5592252c7
|
@ -7,8 +7,8 @@ export default function ($: JQueryStatic, url: string, data: Object, fn: any,
|
||||||
.done(function (data: any) {
|
.done(function (data: any) {
|
||||||
resolve(data);
|
resolve(data);
|
||||||
})
|
})
|
||||||
.fail(function (err: Error) {
|
.fail(function (xhr: JQueryXHR, textStatus: string) {
|
||||||
reject(err);
|
reject(textStatus);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
|
@ -13,8 +13,8 @@ export default function (window: Window, $: JQueryStatic,
|
||||||
const notifier = new Notifier(".notification", $);
|
const notifier = new Notifier(".notification", $);
|
||||||
|
|
||||||
function onFormSubmitted() {
|
function onFormSubmitted() {
|
||||||
const username: string = $(UISelectors.USERNAME_FIELD_ID).val();
|
const username: string = $(UISelectors.USERNAME_FIELD_ID).val() as string;
|
||||||
const password: string = $(UISelectors.PASSWORD_FIELD_ID).val();
|
const password: string = $(UISelectors.PASSWORD_FIELD_ID).val() as string;
|
||||||
$(UISelectors.PASSWORD_FIELD_ID).val("");
|
$(UISelectors.PASSWORD_FIELD_ID).val("");
|
||||||
|
|
||||||
const redirectUrl = QueryParametersRetriever.get(Constants.REDIRECT_QUERY_PARAM);
|
const redirectUrl = QueryParametersRetriever.get(Constants.REDIRECT_QUERY_PARAM);
|
||||||
|
|
|
@ -28,8 +28,8 @@ export default function (window: Window, $: JQueryStatic) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onFormSubmitted() {
|
function onFormSubmitted() {
|
||||||
const password1 = $("#password1").val();
|
const password1 = $("#password1").val() as string;
|
||||||
const password2 = $("#password2").val();
|
const password2 = $("#password2").val() as string;
|
||||||
|
|
||||||
if (!password1 || !password2) {
|
if (!password1 || !password2) {
|
||||||
notifier.warning(UserMessages.MISSING_PASSWORD);
|
notifier.warning(UserMessages.MISSING_PASSWORD);
|
||||||
|
|
|
@ -29,7 +29,7 @@ export default function (window: Window, $: JQueryStatic) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function onFormSubmitted() {
|
function onFormSubmitted() {
|
||||||
const username = $("#username").val();
|
const username = $("#username").val() as string;
|
||||||
|
|
||||||
if (!username) {
|
if (!username) {
|
||||||
notifier.warning(UserMessages.MISSING_USERNAME);
|
notifier.warning(UserMessages.MISSING_USERNAME);
|
||||||
|
|
|
@ -40,7 +40,7 @@ export default function (window: Window, $: JQueryStatic, u2fApi: U2fApi.U2fApi)
|
||||||
}
|
}
|
||||||
|
|
||||||
function onTOTPFormSubmitted(): boolean {
|
function onTOTPFormSubmitted(): boolean {
|
||||||
const token = $(ClientConstants.TOTP_TOKEN_SELECTOR).val();
|
const token = $(ClientConstants.TOTP_TOKEN_SELECTOR).val() as string;
|
||||||
TOTPValidator.validate(token, $)
|
TOTPValidator.validate(token, $)
|
||||||
.then(onSecondFactorTotpSuccess)
|
.then(onSecondFactorTotpSuccess)
|
||||||
.catch(onSecondFactorTotpFailure);
|
.catch(onSecondFactorTotpFailure);
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
62
package.json
62
package.json
|
@ -23,7 +23,7 @@
|
||||||
"title": "Authelia API documentation"
|
"title": "Authelia API documentation"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"ajv": "^5.2.3",
|
"ajv": "^6.3.0",
|
||||||
"bluebird": "^3.5.0",
|
"bluebird": "^3.5.0",
|
||||||
"body-parser": "^1.15.2",
|
"body-parser": "^1.15.2",
|
||||||
"connect-redis": "^3.3.0",
|
"connect-redis": "^3.3.0",
|
||||||
|
@ -32,10 +32,12 @@
|
||||||
"express": "^4.14.0",
|
"express": "^4.14.0",
|
||||||
"express-request-id": "^1.4.0",
|
"express-request-id": "^1.4.0",
|
||||||
"express-session": "^1.14.2",
|
"express-session": "^1.14.2",
|
||||||
"ldapjs": "^1.0.1",
|
"ldapjs": "^1.0.2",
|
||||||
"mongodb": "^2.2.30",
|
"mongodb": "^3.0.4",
|
||||||
"nedb": "^1.8.0",
|
"nedb": "^1.8.0",
|
||||||
"nodemailer": "^4.0.1",
|
"nodemailer": "^4.0.1",
|
||||||
|
"nodemailer-direct-transport": "^3.3.2",
|
||||||
|
"nodemailer-smtp-transport": "^2.7.4",
|
||||||
"object-path": "^0.11.3",
|
"object-path": "^0.11.3",
|
||||||
"pug": "^2.0.0-rc.2",
|
"pug": "^2.0.0-rc.2",
|
||||||
"randomstring": "^1.1.5",
|
"randomstring": "^1.1.5",
|
||||||
|
@ -43,43 +45,45 @@
|
||||||
"speakeasy": "^2.0.0",
|
"speakeasy": "^2.0.0",
|
||||||
"u2f": "^0.1.2",
|
"u2f": "^0.1.2",
|
||||||
"winston": "^2.3.1",
|
"winston": "^2.3.1",
|
||||||
"yamljs": "^0.2.8"
|
"yamljs": "^0.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bluebird": "^3.5.4",
|
"@types/bluebird": "^3.5.4",
|
||||||
"@types/body-parser": "^1.16.3",
|
"@types/body-parser": "^1.16.3",
|
||||||
"@types/bootstrap": "^3.3.36",
|
"@types/bootstrap": "^4.0.1",
|
||||||
"@types/connect-redis": "0.0.6",
|
"@types/connect-redis": "0.0.7",
|
||||||
"@types/cors": "^2.8.1",
|
"@types/cors": "^2.8.1",
|
||||||
"@types/cucumber": "^2.0.1",
|
"@types/cucumber": "^2.3.1",
|
||||||
"@types/ejs": "^2.3.33",
|
"@types/ejs": "^2.3.33",
|
||||||
"@types/express": "^4.0.35",
|
"@types/express": "^4.0.35",
|
||||||
"@types/express-session": "0.0.32",
|
"@types/express-session": "1.15.8",
|
||||||
"@types/jquery": "^2.0.45",
|
"@types/jquery": "^3.3.1",
|
||||||
"@types/jsdom": "^2.0.30",
|
"@types/jsdom": "^11.0.4",
|
||||||
"@types/ldapjs": "^1.0.0",
|
"@types/ldapjs": "^1.0.2",
|
||||||
"@types/mocha": "^2.2.41",
|
"@types/mocha": "^5.0.0",
|
||||||
"@types/mockdate": "^2.0.0",
|
"@types/mockdate": "^2.0.0",
|
||||||
"@types/mongodb": "^2.2.7",
|
"@types/mongodb": "^3.0.9",
|
||||||
"@types/nedb": "^1.8.3",
|
"@types/nedb": "^1.8.3",
|
||||||
"@types/nodemailer": "^3.1.3",
|
"@types/nodemailer": "^4.6.0",
|
||||||
|
"@types/nodemailer-direct-transport": "^1.0.31",
|
||||||
|
"@types/nodemailer-smtp-transport": "^2.7.4",
|
||||||
"@types/object-path": "^0.9.28",
|
"@types/object-path": "^0.9.28",
|
||||||
"@types/proxyquire": "^1.3.27",
|
"@types/proxyquire": "^1.3.27",
|
||||||
"@types/query-string": "^4.3.1",
|
"@types/query-string": "^5.1.0",
|
||||||
"@types/randomstring": "^1.1.5",
|
"@types/randomstring": "^1.1.5",
|
||||||
"@types/redis": "^2.6.0",
|
"@types/redis": "^2.6.0",
|
||||||
"@types/request": "^2.0.5",
|
"@types/request": "^2.0.5",
|
||||||
"@types/request-promise": "^4.1.38",
|
"@types/request-promise": "^4.1.38",
|
||||||
"@types/selenium-webdriver": "^3.0.4",
|
"@types/selenium-webdriver": "^3.0.4",
|
||||||
"@types/sinon": "^2.3.7",
|
"@types/sinon": "^4.3.0",
|
||||||
"@types/tmp": "0.0.33",
|
"@types/tmp": "0.0.33",
|
||||||
"@types/winston": "^2.3.2",
|
"@types/winston": "^2.3.2",
|
||||||
"@types/yamljs": "^0.2.30",
|
"@types/yamljs": "^0.2.30",
|
||||||
"apidoc": "^0.17.6",
|
"apidoc": "^0.17.6",
|
||||||
"bootstrap": "^3.3.7",
|
"bootstrap": "^4.0.0",
|
||||||
"browserify": "^14.3.0",
|
"browserify": "^16.1.1",
|
||||||
"chromedriver": "^2.31.0",
|
"chromedriver": "^2.31.0",
|
||||||
"cucumber": "^2.3.1",
|
"cucumber": "^4.0.0",
|
||||||
"grunt": "^1.0.1",
|
"grunt": "^1.0.1",
|
||||||
"grunt-browserify": "^5.0.0",
|
"grunt-browserify": "^5.0.0",
|
||||||
"grunt-contrib-concat": "^1.0.1",
|
"grunt-contrib-concat": "^1.0.1",
|
||||||
|
@ -87,28 +91,28 @@
|
||||||
"grunt-contrib-cssmin": "^2.2.0",
|
"grunt-contrib-cssmin": "^2.2.0",
|
||||||
"grunt-contrib-watch": "^1.0.0",
|
"grunt-contrib-watch": "^1.0.0",
|
||||||
"grunt-env": "^0.4.4",
|
"grunt-env": "^0.4.4",
|
||||||
"grunt-run": "^0.6.0",
|
"grunt-run": "^0.8.0",
|
||||||
"istanbul": "^0.4.5",
|
"istanbul": "^0.4.5",
|
||||||
"jquery": "^3.2.1",
|
"jquery": "^3.2.1",
|
||||||
"js-logger": "^1.3.0",
|
"js-logger": "^1.3.0",
|
||||||
"jsdom": "^11.0.0",
|
"jsdom": "^11.0.0",
|
||||||
"mocha": "^3.4.2",
|
"mocha": "^5.0.5",
|
||||||
"mockdate": "^2.0.1",
|
"mockdate": "^2.0.1",
|
||||||
"nyc": "^10.3.2",
|
"nyc": "^11.6.0",
|
||||||
"power-assert": "^1.4.4",
|
"power-assert": "^1.4.4",
|
||||||
"proxyquire": "^1.8.0",
|
"proxyquire": "^2.0.1",
|
||||||
"query-string": "^4.3.4",
|
"query-string": "^6.0.0",
|
||||||
"readable-stream": "^2.3.3",
|
"readable-stream": "^2.3.3",
|
||||||
"request": "^2.83.0",
|
"request": "^2.83.0",
|
||||||
"request-promise": "^4.2.2",
|
"request-promise": "^4.2.2",
|
||||||
"selenium-webdriver": "^3.5.0",
|
"selenium-webdriver": "^4.0.0-alpha.1",
|
||||||
"should": "^11.1.1",
|
"should": "^13.2.1",
|
||||||
"sinon": "^4.0.2",
|
"sinon": "^4.0.2",
|
||||||
"tmp": "0.0.31",
|
"tmp": "0.0.33",
|
||||||
"ts-node": "^3.3.0",
|
"ts-node": "^5.0.1",
|
||||||
"tslint": "^5.2.0",
|
"tslint": "^5.2.0",
|
||||||
"typescript": "^2.3.2",
|
"typescript": "^2.3.2",
|
||||||
"typescript-json-schema": "^0.17.0",
|
"typescript-json-schema": "^0.21.0",
|
||||||
"uglify-es": "^3.0.15"
|
"uglify-es": "^3.0.15"
|
||||||
},
|
},
|
||||||
"nyc": {
|
"nyc": {
|
||||||
|
|
Loading…
Reference in New Issue