@metarhia/config
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -5,2 +5,8 @@ # Changelog | ||
## [2.1.1][] - 2021-04-12 | ||
- Update dependencies, fix vulnerabilities | ||
- Add typing for Config class | ||
- Remove names argument from configuration factory | ||
## [2.1.0][] - 2021-02-11 | ||
@@ -33,3 +39,4 @@ | ||
[unreleased]: https://github.com/metarhia/config/compare/v2.1.0...HEAD | ||
[unreleased]: https://github.com/metarhia/config/compare/v2.1.1...HEAD | ||
[2.1.1]: https://github.com/metarhia/config/compare/v2.1.0...v2.1.1 | ||
[2.1.0]: https://github.com/metarhia/config/compare/v2.0.0...v2.1.0 | ||
@@ -36,0 +43,0 @@ [2.0.0]: https://github.com/metarhia/config/compare/v1.x...v2.0.0 |
@@ -47,5 +47,4 @@ 'use strict'; | ||
const readConfig = (dirPath, options, names) => | ||
new Config(dirPath, options, names); | ||
const readConfig = (dirPath, options) => new Config(dirPath, options); | ||
module.exports = { Config, readConfig }; |
{ | ||
"name": "@metarhia/config", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"author": "Timur Shemsedinov <timur.shemsedinov@gmail.com>", | ||
@@ -33,8 +33,12 @@ "description": "Metarhia Configuration Loader", | ||
"main": "config.js", | ||
"types": "types/config.d.ts", | ||
"readmeFilename": "README.md", | ||
"files": [], | ||
"files": [ | ||
"types/" | ||
], | ||
"scripts": { | ||
"lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\"", | ||
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \".*rc\" \"**/*.yml\"", | ||
"test": "npm run -s lint && metatests test" | ||
"lint": "eslint . && prettier -c \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.yml\" \"**/*.ts\"", | ||
"fmt": "prettier --write \"**/*.js\" \"**/*.json\" \"**/*.md\" \"**/*.yml\" \"**/*.ts\"", | ||
"types": "tsc -p types/tsconfig.json", | ||
"test": "npm run -s lint && npm run types && metatests test" | ||
}, | ||
@@ -49,10 +53,12 @@ "engines": { | ||
"@metarhia/common": "^2.2.0", | ||
"eslint": "^7.19.0", | ||
"eslint": "^7.24.0", | ||
"@types/node": "^14.14.31", | ||
"eslint-config-metarhia": "^7.0.1", | ||
"eslint-config-prettier": "^7.2.0", | ||
"eslint-config-prettier": "^8.1.0", | ||
"eslint-plugin-import": "^2.22.1", | ||
"eslint-plugin-prettier": "^3.3.1", | ||
"metatests": "^0.7.2", | ||
"prettier": "^2.2.1" | ||
"prettier": "^2.2.1", | ||
"typescript": "^4.2.3" | ||
} | ||
} |
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
8922
7
75
10