@smithy/util-config-provider
Advanced tools
Comparing version 2.0.0 to 2.1.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.booleanSelector = exports.SelectorType = void 0; | ||
var SelectorType; | ||
(function (SelectorType) { | ||
SelectorType["ENV"] = "env"; | ||
SelectorType["CONFIG"] = "shared config entry"; | ||
})(SelectorType = exports.SelectorType || (exports.SelectorType = {})); | ||
exports.booleanSelector = void 0; | ||
const booleanSelector = (obj, key, type) => { | ||
@@ -10,0 +5,0 @@ if (!(key in obj)) |
@@ -5,1 +5,3 @@ "use strict"; | ||
tslib_1.__exportStar(require("./booleanSelector"), exports); | ||
tslib_1.__exportStar(require("./numberSelector"), exports); | ||
tslib_1.__exportStar(require("./types"), exports); |
@@ -1,6 +0,1 @@ | ||
export var SelectorType; | ||
(function (SelectorType) { | ||
SelectorType["ENV"] = "env"; | ||
SelectorType["CONFIG"] = "shared config entry"; | ||
})(SelectorType || (SelectorType = {})); | ||
export const booleanSelector = (obj, key, type) => { | ||
@@ -7,0 +2,0 @@ if (!(key in obj)) |
export * from "./booleanSelector"; | ||
export * from "./numberSelector"; | ||
export * from "./types"; |
@@ -1,5 +0,2 @@ | ||
export declare enum SelectorType { | ||
ENV = "env", | ||
CONFIG = "shared config entry" | ||
} | ||
import { SelectorType } from "./types"; | ||
/** | ||
@@ -6,0 +3,0 @@ * Returns boolean value true/false for string value "true"/"false", |
export * from "./booleanSelector"; | ||
export * from "./numberSelector"; | ||
export * from "./types"; |
@@ -1,5 +0,2 @@ | ||
export declare enum SelectorType { | ||
ENV = "env", | ||
CONFIG = "shared config entry" | ||
} | ||
import { SelectorType } from "./types"; | ||
/** | ||
@@ -6,0 +3,0 @@ * Returns boolean value true/false for string value "true"/"false", |
export * from "./booleanSelector"; | ||
export * from "./numberSelector"; | ||
export * from "./types"; |
{ | ||
"name": "@smithy/util-config-provider", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Utilities package for configuration providers", | ||
"scripts": { | ||
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
"build:es": "tsc -p tsconfig.es.json", | ||
"build:types": "tsc -p tsconfig.types.json", | ||
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json", | ||
"build:es": "yarn g:tsc -p tsconfig.es.json", | ||
"build:types": "yarn g:tsc -p tsconfig.types.json", | ||
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", | ||
"stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", | ||
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", | ||
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0", | ||
"lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", | ||
"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", | ||
"test": "jest --passWithNoTests" | ||
"test": "yarn g:jest --passWithNoTests" | ||
}, | ||
@@ -34,6 +34,4 @@ "author": { | ||
"downlevel-dts": "0.10.1", | ||
"jest": "28.1.1", | ||
"rimraf": "3.0.2", | ||
"typedoc": "0.23.23", | ||
"typescript": "~4.9.5" | ||
"typedoc": "0.23.23" | ||
}, | ||
@@ -40,0 +38,0 @@ "engines": { |
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
17993
6
19
118