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.2.1 to 0.3.0

2

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.2.1",
"version": "0.3.0",
"dependencies": {

@@ -6,0 +6,0 @@ "decamelize": "5.0.1",

@@ -61,5 +61,3 @@ # @clipboard-health/config <!-- omit from toc -->

* Note that `z.coerce.boolean()` coerces any truthy value to `true`. To restrict to `"true" |
* "false"`, use the
* {@link https://github.com/ClipboardHealth/core-utils/blob/main/packages/contract-core/src/lib/schemas/booleanString.ts
* `booleanString` schema} from `@clipboard-health/contract-core`.
* "false"`, use the `booleanString` schema from `@clipboard-health/contract-core`.
* 2. The resulting configuration is deeply frozen and will throw a runtime error if you attempt to

@@ -66,0 +64,0 @@ * modify it. The actual return type is `ReadonlyDeep<SchemaT>`, but the library returns a

@@ -26,5 +26,3 @@ import { type ConfigParams } from "./types";

* Note that `z.coerce.boolean()` coerces any truthy value to `true`. To restrict to `"true" |
* "false"`, use the
* {@link https://github.com/ClipboardHealth/core-utils/blob/main/packages/contract-core/src/lib/schemas/booleanString.ts
* `booleanString` schema} from `@clipboard-health/contract-core`.
* "false"`, use the `booleanString` schema from `@clipboard-health/contract-core`.
* 2. The resulting configuration is deeply frozen and will throw a runtime error if you attempt to

@@ -31,0 +29,0 @@ * modify it. The actual return type is `ReadonlyDeep<SchemaT>`, but the library returns a

@@ -34,5 +34,3 @@ "use strict";

* Note that `z.coerce.boolean()` coerces any truthy value to `true`. To restrict to `"true" |
* "false"`, use the
* {@link https://github.com/ClipboardHealth/core-utils/blob/main/packages/contract-core/src/lib/schemas/booleanString.ts
* `booleanString` schema} from `@clipboard-health/contract-core`.
* "false"`, use the `booleanString` schema from `@clipboard-health/contract-core`.
* 2. The resulting configuration is deeply frozen and will throw a runtime error if you attempt to

@@ -39,0 +37,0 @@ * modify it. The actual return type is `ReadonlyDeep<SchemaT>`, but the library returns a

Sorry, the diff of this file is not supported yet

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