authelia/package.json
Clément Michaud 6438a5e48f
Fix ECONNRESET when LDAP queries fail. (#261)
This commit should fix #225.

In order to avoid stalling LDAP connections, Authelia creates new
sessions for each set of queries bound to one authentication, i.e.,
one session for authentication, emails retrieval and groups
retrieval.
Before this commit, a failing query was preventing the session to
be closed (unbind was not called). Now, unbind is always called
whatever the outcome of the query.

I took the opportunity of this commit to refactor LDAP client in
order to prepare the work on users database stored in a file.
(#233)
2018-08-25 19:22:48 +02:00

146 lines
3.8 KiB
JSON

{
"name": "authelia",
"version": "3.8.2",
"description": "2FA Single Sign-On server for nginx using LDAP, TOTP and U2F",
"bin": {
"authelia": "./dist/server/src/index.js"
},
"scripts": {
"test": "./node_modules/.bin/grunt test-unit",
"cover": "NODE_ENV=test nyc npm t",
"serve": "node dist/server/index.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/clems4ever/authelia"
},
"author": "Clement Michaud <clement.michaud34@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/clems4ever/authelia/issues"
},
"apidoc": {
"title": "Authelia API documentation"
},
"dependencies": {
"ajv": "^6.3.0",
"bluebird": "^3.5.0",
"body-parser": "^1.15.2",
"connect-redis": "^3.3.0",
"crypt3": "^1.0.0",
"ejs": "^2.5.5",
"express": "^4.14.0",
"express-request-id": "^1.4.0",
"express-session": "^1.14.2",
"helmet": "^3.12.0",
"ldapjs": "^1.0.2",
"mongodb": "^3.0.5",
"nedb": "^1.8.0",
"nodemailer": "^4.0.1",
"nodemailer-direct-transport": "^3.3.2",
"nodemailer-smtp-transport": "^2.7.4",
"object-path": "^0.11.3",
"pug": "^2.0.0-rc.2",
"randomstring": "^1.1.5",
"redis": "^2.8.0",
"speakeasy": "^2.0.0",
"u2f": "^0.1.2",
"winston": "^2.3.1",
"yamljs": "^0.3.0"
},
"devDependencies": {
"@types/bluebird": "^3.5.4",
"@types/body-parser": "^1.16.3",
"@types/bootstrap": "^4.0.1",
"@types/connect-redis": "0.0.7",
"@types/cors": "^2.8.1",
"@types/cucumber": "^4.0.1",
"@types/ejs": "^2.3.33",
"@types/express": "^4.0.35",
"@types/express-session": "1.15.8",
"@types/helmet": "0.0.37",
"@types/jquery": "^3.3.1",
"@types/jsdom": "^11.0.4",
"@types/ldapjs": "^1.0.3",
"@types/mocha": "^5.0.0",
"@types/mockdate": "^2.0.0",
"@types/mongodb": "^3.0.9",
"@types/nedb": "^1.8.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/proxyquire": "^1.3.27",
"@types/query-string": "^5.1.0",
"@types/randomstring": "^1.1.5",
"@types/redis": "^2.6.0",
"@types/request": "^2.0.5",
"@types/request-promise": "^4.1.38",
"@types/selenium-webdriver": "^3.0.4",
"@types/sinon": "^4.3.0",
"@types/speakeasy": "^2.0.2",
"@types/tmp": "0.0.33",
"@types/winston": "^2.3.2",
"@types/yamljs": "^0.2.30",
"apidoc": "^0.17.6",
"bootstrap": "^4.0.0",
"browserify": "^16.1.1",
"chromedriver": "^2.37.0",
"cucumber": "^4.0.0",
"grunt": "^1.0.1",
"grunt-browserify": "^5.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-cssmin": "^2.2.0",
"grunt-contrib-watch": "^1.0.0",
"grunt-env": "^0.4.4",
"grunt-run": "^0.8.0",
"istanbul": "^0.4.5",
"jquery": "^3.2.1",
"js-logger": "^1.3.0",
"jsdom": "^11.0.0",
"mocha": "^5.0.5",
"mockdate": "^2.0.1",
"nyc": "^11.6.0",
"power-assert": "^1.4.4",
"proxyquire": "^2.0.1",
"query-string": "^6.0.0",
"readable-stream": "^2.3.3",
"request": "^2.83.0",
"request-promise": "^4.2.2",
"selenium-webdriver": "^4.0.0-alpha.1",
"should": "^13.2.1",
"sinon": "^5.0.7",
"tmp": "0.0.33",
"ts-node": "^6.0.1",
"tslint": "^5.2.0",
"typescript": "^2.3.2",
"typescript-json-schema": "^0.23.0",
"uglify-es": "^3.0.15"
},
"nyc": {
"include": [
"src/*.ts",
"src/**/*.ts"
],
"exclude": [
"doc",
"src/types",
"dist",
"test",
"src/**/*.d.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"json",
"html"
],
"all": true
}
}