You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@codex-team/config-loader

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codex-team/config-loader - npm Package Compare versions

Comparing version

to
0.0.1-alpha.2

README.md

2

dist/cjs/loadConfig.d.ts

@@ -7,2 +7,2 @@ /**

*/
export default function loadConfig<Config>(...paths: Array<string>): Config;
export default function <Config>(...paths: Array<string>): Config;

@@ -51,3 +51,3 @@ "use strict";

*/
function loadConfig(...paths) {
function default_1(...paths) {
const files = [];

@@ -63,2 +63,2 @@ const config = {};

}
exports.default = loadConfig;
exports.default = default_1;

@@ -7,2 +7,2 @@ /**

*/
export default function loadConfig<Config>(...paths: Array<string>): Config;
export default function <Config>(...paths: Array<string>): Config;

@@ -23,3 +23,3 @@ import * as yaml from 'js-yaml';

*/
export default function loadConfig(...paths) {
export default function (...paths) {
const files = [];

@@ -26,0 +26,0 @@ const config = {};

{
"name": "@codex-team/config-loader",
"version": "0.0.1-alpha.1",
"version": "0.0.1-alpha.2",
"description": "Config loader for Cloud Native applications",

@@ -19,6 +19,11 @@ "main": "./dist/cjs/index.js",

"scripts": {
"lint": "eslint ./src",
"build:esm": "tsc -p tsconfig.json",
"build:cjs": "tsc -p tsconfig-cjs.json && ../../override-package-json-cjs.sh",
"build:cjs": "tsc -p tsconfig-cjs.json && ./override-package-json-cjs.sh",
"build": "yarn build:esm && yarn build:cjs"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"bugs": {

@@ -29,2 +34,3 @@ "url": "https://github.com/codex-team/config-loader/issues"

"dependencies": {
"eslint-plugin-n": "^15.2.5",
"js-yaml": "^4.1.0",

@@ -38,9 +44,8 @@ "lodash.isarray": "^4.0.0",

"@types/lodash.merge": "^4.6.7",
"@types/node": "^18.0.0"
"@types/node": "^18.0.0",
"eslint": "^8.23.1",
"eslint-config-codex": "^1.7.0",
"typescript": "4.8.3"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"gitHead": "34e5fcde4f9b5161bfe4c16f1f83ef9b23fd2e94"
"packageManager": "yarn@3.2.3"
}