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

@x-oasis/capitalize

Package Overview
Dependencies
Maintainers
3
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@x-oasis/capitalize - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

4

dist/src/index.d.ts

@@ -1,2 +0,2 @@

declare const _default: (str: string) => string;
export default _default;
declare const capitalize: (str: string) => string;
export default capitalize;

@@ -1,1 +0,2 @@

export default (str) => str.charAt(0).toUpperCase() + str.slice(1);
const capitalize = (str) => str.charAt(0).toUpperCase() + str.slice(1);
export default capitalize;
{
"name": "@x-oasis/capitalize",
"version": "0.0.2",
"version": "0.0.3",
"description": "capitalize function",

@@ -16,5 +16,5 @@ "main": "index.ts",

"clean": "rimraf ./dist",
"test": "jest --verbose",
"test": "vitest",
"compile": "tsc -p tsconfig.build.json"
}
}

@@ -1,2 +0,4 @@

export default (str: string) =>
str.charAt(0).toUpperCase() + str.slice(1);
const capitalize = (str: string) =>
str.charAt(0).toUpperCase() + str.slice(1);
export default capitalize

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