New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@clipboard-health/config

Package Overview
Dependencies
Maintainers
0
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@clipboard-health/config - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

16

package.json
{
"name": "@clipboard-health/config",
"description": "Type-safe static configuration management: a pure function to resolve, validate against a Zod schema, and freeze configuration values.",
"version": "0.8.0",
"version": "0.8.1",
"bugs": "https://github.com/ClipboardHealth/core-utils/issues",
"dependencies": {
"@clipboard-health/util-ts": "2.12.0",
"@clipboard-health/util-ts": "2.12.1",
"decamelize": "5.0.1",

@@ -16,3 +17,7 @@ "dotenv": "16.4.5",

},
"keywords": [],
"keywords": [
"config",
"typescript",
"zod"
],
"license": "MIT",

@@ -23,2 +28,7 @@ "main": "./src/index.js",

},
"repository": {
"directory": "packages/config",
"type": "git",
"url": "git+https://github.com/ClipboardHealth/core-utils.git"
},
"scripts": {

@@ -25,0 +35,0 @@ "embed": "embedme README.md"

3

src/lib/types.d.ts

@@ -22,3 +22,3 @@ import { type z } from "zod";

};
type ConfigValueForType<T, EnvironmentT extends readonly string[]> = T extends unknown[] ? ConfigValue<T, EnvironmentT> : T extends Date ? ConfigValue<Date, EnvironmentT> : T extends bigint ? ConfigValue<bigint, EnvironmentT> : T extends z.EnumValues ? ConfigValue<T, EnvironmentT> : T extends Record<string, unknown> ? ConfigValueMap<T, EnvironmentT> : ConfigValue<T, EnvironmentT>;
export type ConfigValueForType<T, EnvironmentT extends readonly string[]> = T extends unknown[] ? ConfigValue<T, EnvironmentT> : T extends Date ? ConfigValue<Date, EnvironmentT> : T extends bigint ? ConfigValue<bigint, EnvironmentT> : T extends z.EnumValues ? ConfigValue<T, EnvironmentT> : T extends Record<string, unknown> ? ConfigValueMap<T, EnvironmentT> : ConfigValue<T, EnvironmentT>;
/**

@@ -45,2 +45,1 @@ * Parameters for creating a configuration instance.

}
export {};
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