Socket
Socket
Sign inDemoInstall

case-anything

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

case-anything - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

2

dist/index.es.js

@@ -16,2 +16,4 @@ // Latin-1 Supplement

for (const match of matches) {
if (typeof match.index !== 'number')
continue;
const word = match[0];

@@ -18,0 +20,0 @@ result.parts.push(word);

@@ -22,2 +22,4 @@ (function (global, factory) {

for (const match of matches) {
if (typeof match.index !== 'number')
continue;
const word = match[0];

@@ -24,0 +26,0 @@ result.parts.push(word);

31

package.json
{
"name": "case-anything",
"version": "2.1.2",
"version": "2.1.3",
"type": "module",
"sideEffects": false,

@@ -25,4 +26,3 @@ "description": "camelCase, kebab-case, PascalCase... a simple integration with nano package size. (SMALL footprint!)",

"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"test": "ava",
"test--only": "ava --match='*only:*'",
"test": "vitest run --reporter=verbose",
"rollup": "rollup -c build.js",

@@ -33,15 +33,13 @@ "build": "rm -rf ./dist && npm run lint && npm run rollup && npm run test",

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.9.0",
"@typescript-eslint/parser": "^5.9.0",
"ava": "^4.0.0",
"eslint": "^8.6.0",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"eslint": "^8.7.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-tree-shaking": "^1.9.2",
"eslint-plugin-tree-shaking": "^1.10.0",
"np": "^7.6.0",
"prettier": "^2.5.1",
"rollup": "^2.63.0",
"rollup": "^2.64.0",
"rollup-plugin-typescript2": "^0.31.1",
"ts-node": "^10.4.0",
"tsconfig-paths": "^3.12.0",
"typescript": "^4.5.4"
"typescript": "^4.5.4",
"vitest": "^0.1.24"
},

@@ -81,11 +79,2 @@ "repository": {

"homepage": "https://github.com/mesqueeb/case-anything#readme",
"ava": {
"extensions": [
"ts"
],
"require": [
"tsconfig-paths/register",
"ts-node/register"
]
},
"np": {

@@ -92,0 +81,0 @@ "yarn": false,

@@ -13,4 +13,2 @@ # Case anything 🐫

> Used by famous Mac app [Popclip](https://pilotmoon.com/popclip).
## Motivation

@@ -20,11 +18,25 @@

Some features I focused on:
<table>
<tr>
<td>
<p>Some features I focused on:</p>
<li>small footprint (it's <a href="#package-size">12+ times smaller</a> than the next popular case changing package!!)</li>
<li>tree-shakable — only import what you need</li>
<li>awesome JSDocs popup documentation on hover</li>
<li>fully typed with TypeScript</li>
<li>complete coverage with unit testing</li>
<li>0 dependencies</li>
</td>
<td>
<p>Case anything is used in...</p>
<li>Famous Mac app <a href="https://pilotmoon.com/popclip">Popclip 💊</a></li>
<li>State Management Library <a href="https://github.com/cycraft/magnetar">Magnetar 🌟</a></li>
<li>Vue Form Generator <a href="https://github.com/cycraft/blitzar">Blitzar ⚡️</a></li>
<li><a href="https://github.com/apideck-libraries/portman">Lottie-player ∫</a></li>
<li>OpenAPI CLI <a href="https://github.com/apideck-libraries/portman">Portman 👨🏽‍🚀</a></li>
<li>and <a href="https://github.com/mesqueeb/case-anything/network/dependents">100s more</a>...</li>
</td>
</tr>
</table>
- small footprint (it's [12+ times smaller](#package-size) than the next popular case changing package!!)
- tree-shakable — only import what you need
- awesome JSDocs popup documentation on hover
- fully typed with TypeScript
- complete coverage with unit testing
- 0 dependencies
## Usage

@@ -31,0 +43,0 @@

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