@symbo.ls/utils
Advanced tools
Comparing version 2.11.363 to 2.11.365
{ | ||
"name": "@symbo.ls/utils", | ||
"version": "2.11.363", | ||
"version": "2.11.365", | ||
"author": "symbo.ls", | ||
"files": [ | ||
"src", | ||
"dist" | ||
], | ||
"main": "src/index.js", | ||
"author": "symbo.ls", | ||
"type": "module", | ||
"module": "src/index.js", | ||
"unpkg": "dist/iife/index.js", | ||
"jsdelivr": "dist/iife/index.js", | ||
"exports": "./dist/cjs/index.js", | ||
"source": "src/index.js", | ||
"publishConfig": {}, | ||
"scripts": { | ||
"copy:package:cjs": "cp ../../build/package-cjs.json dist/cjs/package.json", | ||
"build:esm": "npx esbuild ./src/*.js ./src/**/*.js --target=es2017 --format=esm --outdir=dist/esm", | ||
"build:cjs": "npx esbuild ./src/*.js ./src/**/*.js --target=node16 --format=cjs --outdir=dist/cjs --bundle", | ||
"build:iife": "npx esbuild ./src/index.js --target=es2017 --format=iife --outdir=dist/iife --bundle --minify", | ||
"build": "yarn build:cjs", | ||
"prepublish": "rimraf -I dist && yarn build && yarn copy:package:cjs" | ||
}, | ||
"license": "ISC", | ||
@@ -10,3 +29,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "f2a8741b502ff7a1866136788f559da7865a26f0" | ||
"gitHead": "27ab0a87d9a8ccf8eb50512b96b3015e15610910" | ||
} |
@@ -22,2 +22,6 @@ 'use strict' | ||
export const removeChars = str => { | ||
return str.replace(/[^a-zA-Z0-9_]/g, '') | ||
} | ||
export const toCamelCase = str => { | ||
@@ -24,0 +28,0 @@ return str.replace(/(?:^\w|[A-Z]|\b\w)/g, function (word, index) { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
167973
19
4540
Yes
1