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

@lbu/stdlib

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lbu/stdlib - npm Package Compare versions

Comparing version 0.0.16 to 0.0.17

1

index.js

@@ -9,2 +9,3 @@ export { uuid } from "./src/datatypes.js";

unFlatten,
camelToSnakeCase,
} from "./src/lodash.js";

@@ -11,0 +12,0 @@ export {

8

package.json
{
"name": "@lbu/stdlib",
"version": "0.0.16",
"version": "0.0.17",
"description": "All kinds of utility functions",

@@ -16,6 +16,6 @@ "main": "./index.js",

"dependencies": {
"@lbu/insight": "^0.0.16",
"@lbu/insight": "^0.0.17",
"dotenv": "8.2.0",
"lodash.merge": "4.6.2",
"uuid": "7.0.3"
"uuid": "8.0.0"
},

@@ -36,3 +36,3 @@ "author": {

},
"gitHead": "12be5e9f611d1c9dd2eb606a326dbf2f2c2f13cb"
"gitHead": "7377e57349804d308fc981644334f6c07a33669c"
}

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

import uuidPkg from "uuid";
import { v4 } from "uuid";

@@ -8,2 +8,2 @@ /**

*/
export const uuid = uuidPkg.v4;
export const uuid = v4;

@@ -86,1 +86,8 @@ import lodashMerge from "lodash.merge";

}
export function camelToSnakeCase(input) {
return input
.replace(/(.)([A-Z][a-z]+)/, "$1_$2")
.replace(/([a-z0-9])([A-Z])/, "$1_$2")
.toLowerCase();
}
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