Comparing version 3.0.0-alpha.6 to 3.0.0-alpha.7
@@ -5,2 +5,7 @@ # Changelog | ||
## [3.0.0-alpha.7][] - 2023-01-31 | ||
- Support relative path in `.applications` file | ||
- Update dependencies to fix secutity issues | ||
## [3.0.0-alpha.6][] - 2022-12-24 | ||
@@ -305,3 +310,5 @@ | ||
[unreleased]: https://github.com/metarhia/impress/compare/v3.0.0-alpha.5...HEAD | ||
[unreleased]: https://github.com/metarhia/impress/compare/v3.0.0-alpha.7...HEAD | ||
[3.0.0-alpha.7]: https://github.com/metarhia/impress/compare/v3.0.0-alpha.6...v3.0.0-alpha.7 | ||
[3.0.0-alpha.6]: https://github.com/metarhia/impress/compare/v3.0.0-alpha.5...v3.0.0-alpha.6 | ||
[3.0.0-alpha.5]: https://github.com/metarhia/impress/compare/v3.0.0-alpha.4...v3.0.0-alpha.5 | ||
@@ -308,0 +315,0 @@ [3.0.0-alpha.4]: https://github.com/metarhia/impress/compare/v3.0.0-alpha.3...v3.0.0-alpha.4 |
@@ -158,8 +158,9 @@ 'use strict'; | ||
const loadApplications = async () => { | ||
const list = await fsp | ||
const applications = await fsp | ||
.readFile('.applications', 'utf8') | ||
.then((data) => data.split(/[\r\n\s]+/).filter((s) => s.length !== 0)) | ||
.catch(() => [PATH]); | ||
for (const path of list) { | ||
await loadApplication(path); | ||
for (const location of applications) { | ||
const dir = path.join(PATH, location); | ||
await loadApplication(dir); | ||
} | ||
@@ -166,0 +167,0 @@ }; |
{ | ||
"name": "impress", | ||
"version": "3.0.0-alpha.6", | ||
"version": "3.0.0-alpha.7", | ||
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>", | ||
@@ -78,13 +78,13 @@ "description": "Enterprise application server for Node.js", | ||
"devDependencies": { | ||
"@types/node": "^18.11.17", | ||
"@types/ws": "^8.5.3", | ||
"eslint": "^8.30.0", | ||
"@types/node": "^18.11.18", | ||
"@types/ws": "^8.5.4", | ||
"eslint": "^8.33.0", | ||
"eslint-config-metarhia": "^8.1.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-config-prettier": "^8.6.0", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"metatests": "^0.8.2", | ||
"prettier": "^2.8.1", | ||
"typescript": "^4.9.4" | ||
"prettier": "^2.8.3", | ||
"typescript": "^4.9.5" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
73810
1654