@arcblock/forge-proto
Advanced tools
Comparing version 0.14.0 to 0.14.3
const fs = require('fs'); | ||
const path = require('path'); | ||
const decamelize = require('decamelize'); | ||
const { get } = require('lodash'); | ||
@@ -12,3 +11,7 @@ const debug = require('debug')(`${require('./package.json').name}`); | ||
const responseTypePattern = /^Response/i; | ||
const lowerUnder = x => decamelize(x).toLowerCase(); | ||
const lowerUnder = x => | ||
x | ||
.split(/(?=[A-Z])/) | ||
.join('_') | ||
.toLowerCase(); | ||
@@ -15,0 +18,0 @@ // extract spec |
{ | ||
"name": "@arcblock/forge-proto", | ||
"description": "Static modules generated from forge-sdk protobuf files", | ||
"version": "0.14.0", | ||
"version": "0.14.3", | ||
"author": "wangshijun <shijun@arcblock.io> (https://www.arcblock.io)", | ||
@@ -55,6 +55,5 @@ "engines": { | ||
"dependencies": { | ||
"debug": "^4.1.1", | ||
"decamelize": "^2.0.0" | ||
"debug": "^4.1.1" | ||
}, | ||
"gitHead": "af4f916f672f8e289396978ce5a0ed6783c05257" | ||
"gitHead": "6f1b372879894a6a68f08c53116faa4c527e4110" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1
48830
1710648
- Removeddecamelize@^2.0.0
- Removeddecamelize@2.0.0(transitive)
- Removedxregexp@4.0.0(transitive)