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

ts-proto

Package Overview
Dependencies
Maintainers
1
Versions
356
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-proto - npm Package Compare versions

Comparing version 1.176.1 to 1.176.2

7

build/case.js

@@ -28,3 +28,8 @@ "use strict";

function camelToSnake(s) {
return (0, case_anything_1.snakeCase)(s).toUpperCase();
return (s
// any number or little-char -> big char
.replace(/[a-z0-9]([A-Z])/g, (m) => m[0] + "_" + m[1])
// any multiple big char -> next word
.replace(/[A-Z]([A-Z][a-z])/g, (m) => m[0] + "_" + m.substring(1))
.toUpperCase());
}

@@ -31,0 +36,0 @@ exports.camelToSnake = camelToSnake;

2

package.json
{
"name": "ts-proto",
"version": "1.176.1",
"version": "1.176.2",
"description": "",

@@ -5,0 +5,0 @@ "main": "build/plugin.js",

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