quicktype-core 23.3.9 → 23.3.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,5 +22,8 @@ function javaNameStyle(startWithUpper, upperUnderscore, original, acronymsStyle
22
22
  ? Strings_1.firstUpperWordStyle
23
23
  : Strings_1.allLowerWordStyle, upperUnderscore ? Strings_1.allUpperWordStyle : Strings_1.firstUpperWordStyle, upperUnderscore || startWithUpper
24
24
  ? Strings_1.allUpperWordStyle
25
- : Strings_1.allLowerWordStyle, acronymsStyle, upperUnderscore ? "_" : "", isStartCharacter);
25
+ : Strings_1.allLowerWordStyle,
26
+ // For UPPER_UNDERSCORE style (Java enum constants), always use allUpperWordStyle for acronyms
27
+ // to maintain consistency with the naming convention (e.g., XXX_SPA_XXX)
28
+ upperUnderscore ? Strings_1.allUpperWordStyle : acronymsStyle, upperUnderscore ? "_" : "", isStartCharacter);
26
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.3.9",
3
+ "version": "23.3.10",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",