Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@metarhia/config

Package Overview
Dependencies
Maintainers
5
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@metarhia/config - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

types/config.d.ts

9

CHANGELOG.md

@@ -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

3

config.js

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc