@ngx-grpc/protoc-gen-ng
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -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 @@ |
"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 + ","; }); |
{ | ||
"name": "@ngx-grpc/protoc-gen-ng", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "smnbbrv", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
898401
27344
0