@symbo.ls/utils 2.6.14 → 2.6.19

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/index.js +2 -3
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@symbo.ls/utils",
3
- "version": "2.6.14",
3
+ "version": "2.6.19",
4
4
  "main": "src/index.js",
5
5
  "author": "symbo.ls",
6
6
  "license": "ISC",
7
7
  "dependencies": {
8
8
  "@domql/utils": "latest"
9
9
  },
10
- "gitHead": "366fb9878348671e8ad0653ebd7347cf37b43bb2"
10
+ "gitHead": "a8084c6c657bf107b430d1a567cd05c1288eb76c"
11
11
  }
package/src/index.js CHANGED
@@ -31,8 +31,7 @@ export const toDashCase = val => val
31
31
  .replace(/[A-Z]/g, (match, offset) => (offset > 0 ? '-' : '') + match.toLowerCase())
32
32
  .replace('.', '-')
33
33
 
34
-
35
34
  export const toDescriptionCase = str => {
36
- const result = str.replace(/([A-Z])/g, " $1")
35
+ const result = str.replace(/([A-Z])/g, ' $1')
37
36
  return result.charAt(0).toUpperCase() + result.slice(1)
38
- }
37
+ }