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

@ngx-grpc/protoc-gen-ng

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngx-grpc/protoc-gen-ng - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [0.3.2](https://github.com/ngx-grpc/protoc-gen-ng/compare/v0.3.1...v0.3.2) (2019-12-13)
### Bug Fixes
* always transform enum values to camel case ([f52144a](https://github.com/ngx-grpc/protoc-gen-ng/commit/f52144a8f426dede9133e24714634484618a822a))
## [0.3.1](https://github.com/ngx-grpc/protoc-gen-ng/compare/v0.3.0...v0.3.1) (2019-12-13)

@@ -2,0 +9,0 @@

5

dist/proto/enum.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var utils_1 = require("../utils");
var Enum = /** @class */ (function () {

@@ -12,4 +13,4 @@ function Enum(value) {

function processName(name) {
var escaped = ['default', 'var', 'let', 'const', 'function', 'class'].includes(name) ? 'PB_' + name : name;
return escaped;
var escaped = ['default', 'var', 'let', 'const', 'function', 'class'].includes(name) ? 'pb_' + name : name;
return utils_1.camelize(escaped);
}

@@ -16,0 +17,0 @@ var values = this.valueList.map(function (v) { return processName(v.name) + " = " + v.number + ","; });

2

package.json
{
"name": "@ngx-grpc/protoc-gen-ng",
"version": "0.3.1",
"version": "0.3.2",
"author": "smnbbrv",

@@ -5,0 +5,0 @@ "license": "MIT",

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