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

string-ts

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-ts - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

2

dist/index.d.ts

@@ -220,3 +220,3 @@ /**

*/
type CamelCase<T extends string> = PascalCase<T> extends `${infer first}${infer rest}` ? `${Lowercase<first>}${rest}` : T;
type CamelCase<T extends string> = T extends unknown ? PascalCase<T> extends `${infer first}${infer rest}` ? `${Lowercase<first>}${rest}` : T : never;
/**

@@ -223,0 +223,0 @@ * A strongly typed version of `toCamelCase` that works in both runtime and type level.

{
"name": "string-ts",
"version": "0.5.0",
"version": "0.5.1",
"description": "Strongly-typed string functions.",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

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