Comparing version 0.9.0 to 0.10.0
@@ -88,3 +88,3 @@ | ||
exports.toUpperUnderscoreCase = function(str) { | ||
return String(str).replace(/([A-Z])/g, '_$1').toUpperCase() | ||
return String(str).replace(/([a-z])([A-Z])/g, '$1_$2').toUpperCase() | ||
} | ||
@@ -91,0 +91,0 @@ |
{ | ||
"name": "pbnj", | ||
"version": "0.9.0", | ||
"version": "0.10.0", | ||
"keywords": ["protocol", "buffer", "proto", "protobuf", "parser", "codegen"], | ||
@@ -5,0 +5,0 @@ "description": "JavaScript protocol buffer schema parser and template based code generator", |
105731