@symbo.ls/utils 2.6.14 → 2.7.12

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.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@symbo.ls/utils",
3
- "version": "2.6.14",
3
+ "version": "2.7.12",
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": "71f6ffd54f705825b69aed2beb344c9c99baa96f"
11
11
  }
package/src/codify.js CHANGED
@@ -29,7 +29,7 @@ const component = {
29
29
  iframe: `<iframe
30
30
  title="${key}"
31
31
  style="border: 0; resize: both; padding: 0 10px 10px 0"
32
- src="http://${window.location.host}/scene/${key}/fullscreen/smbls.symbo.ls"
32
+ src="://${key}/fullscreen/smbls.symbo.ls"
33
33
  referrerpolicy="no-referrer-when-downgrade"
34
34
  ></iframe>`,
35
35
 
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
+ }