@forter/directives
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -6,2 +6,13 @@ # Change Log | ||
## [3.2.1](https://github.com/forter/web-components/compare/@forter/directives@3.2.0...@forter/directives@3.2.1) (2024-04-09) | ||
### Bug Fixes | ||
* **directives:** fix the dashcase option in the formatkey func ([c7e38b6](https://github.com/forter/web-components/commit/c7e38b6)) | ||
# [3.2.0](https://github.com/forter/web-components/compare/@forter/directives@3.1.0...@forter/directives@3.2.0) (2024-04-08) | ||
@@ -8,0 +19,0 @@ |
{ | ||
"name": "@forter/directives", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "lit-html directives for Forter Components", | ||
@@ -47,3 +47,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "7049f183972f99c52ba51d11e03838441e7a59b5" | ||
"gitHead": "2f5fd40d5a19468e93799243fc571951ffe2f2aa" | ||
} |
@@ -33,3 +33,3 @@ import { get } from '../get'; | ||
case FORMATS.DASHCASE: | ||
return _.snakeCase(key); | ||
return key.replace(/ /g, '_'); | ||
@@ -36,0 +36,0 @@ case FORMATS.CAPITALIZE: |
@@ -35,3 +35,3 @@ import { get } from '../get/get.js'; | ||
case FORMATS.DASHCASE: | ||
return _.snakeCase(key); | ||
return key.replace(/ /g, '_'); | ||
@@ -38,0 +38,0 @@ case FORMATS.CAPITALIZE: |
Sorry, the diff of this file is not supported yet
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
63295