Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

beeftools

Package Overview
Dependencies
Maintainers
0
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

beeftools - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

5

dist/beeftools.es.js

@@ -33,3 +33,4 @@ function arrayDedupe(...arrays) {

function capitalize(word = "") {
return `${word.charAt(0).toUpperCase()}${word.slice(1).toLocaleLowerCase()}`;
const trimmed = word.trim();
return `${trimmed.charAt(0).toUpperCase()}${trimmed.slice(1).toLocaleLowerCase()}`;
}

@@ -40,3 +41,3 @@ function escapeStringRegexp(value = "") {

function kebabToPascal(value = "") {
return value.split("-").map(capitalize).join("");
return value.trim().split("-").map(capitalize).join("");
}

@@ -43,0 +44,0 @@ function splitRetain(value = "", match = "") {

@@ -37,3 +37,4 @@ (function(global, factory) {

function capitalize(word = "") {
return `${word.charAt(0).toUpperCase()}${word.slice(1).toLocaleLowerCase()}`;
const trimmed = word.trim();
return `${trimmed.charAt(0).toUpperCase()}${trimmed.slice(1).toLocaleLowerCase()}`;
}

@@ -44,3 +45,3 @@ function escapeStringRegexp(value = "") {

function kebabToPascal(value = "") {
return value.split("-").map(capitalize).join("");
return value.trim().split("-").map(capitalize).join("");
}

@@ -47,0 +48,0 @@ function splitRetain(value = "", match = "") {

26

package.json
{
"name": "beeftools",
"version": "0.1.5",
"version": "0.1.6",
"description": "Common front-end utilities and types",

@@ -41,4 +41,4 @@ "author": "Curtis Dulmage",

"engines": {
"node": ">=20.13.0",
"npm": ">=10.5.0"
"node": ">=22.4.0",
"npm": ">=10.8.0"
},

@@ -61,16 +61,16 @@ "scripts": {

"devDependencies": {
"@changesets/cli": "^2.27.5",
"@vitest/coverage-v8": "^1.6.0",
"@vitest/ui": "^1.6.0",
"@changesets/cli": "^2.27.7",
"@vitest/coverage-v8": "^2.0.4",
"@vitest/ui": "^2.0.4",
"eslint": "^8.57.0",
"eslint-config-love": "^53.0.0",
"eslint-config-love": "^59.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"globals": "^15.6.0",
"prettier": "^3.3.2",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.8.0",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"vite": "^5.3.4",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.6.0"
"vitest": "^2.0.4"
}
}
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