@platformatic/client
Advanced tools
Comparing version 1.6.1 to 1.7.0
@@ -25,3 +25,10 @@ 'use strict' | ||
} | ||
operationId = method.toLowerCase() + stringToUpdate.split(/[/-]+/).map(capitalize).join('') | ||
operationId = | ||
method.toLowerCase() + | ||
stringToUpdate | ||
.split(/[/-]+/) | ||
.map((token) => { | ||
const sanitized = token.replace(/[^a-zA-z0-9]/, '') | ||
return capitalize(sanitized) | ||
}).join('') | ||
} else { | ||
@@ -28,0 +35,0 @@ let count = 0 |
{ | ||
"name": "@platformatic/client", | ||
"version": "1.6.1", | ||
"version": "1.7.0", | ||
"description": "A client for all platformatic backends", | ||
@@ -27,3 +27,3 @@ "main": "index.js", | ||
"typescript": "^5.2.2", | ||
"@platformatic/telemetry": "1.6.1" | ||
"@platformatic/telemetry": "1.7.0" | ||
}, | ||
@@ -30,0 +30,0 @@ "dependencies": { |
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
30601
504