@symbo.ls/cli 2.31.26 → 2.31.27

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/bin/fs.js +3 -3
  2. package/package.json +5 -5
package/bin/fs.js CHANGED
@@ -9,7 +9,7 @@ import { createPatch } from 'diff'
9
9
  const { removeChars, toCamelCase, toTitleCase } =
10
10
  smblsUtils.default || smblsUtils
11
11
  const {
12
- deepDestringify,
12
+ deepDestringifyFunctions,
13
13
  objectToString,
14
14
  joinArrays,
15
15
  isString,
@@ -180,7 +180,7 @@ export async function createFs(
180
180
  if (isString(value)) {
181
181
  stringifiedContent = `${validKey} = ${value}`
182
182
  } else {
183
- const content = deepDestringify(value)
183
+ const content = deepDestringifyFunctions(value)
184
184
  // console.log('ON DEEPDESTR:')
185
185
  // console.log(content.components.Configuration)
186
186
  stringifiedContent = `${validKey} = ${objectToString(content)};`
@@ -203,7 +203,7 @@ export { ${removeChars(toTitleCase(itemKey))} as '${itemKey}' }`
203
203
  }
204
204
 
205
205
  if (isString(data)) data = { default: data }
206
- const content = deepDestringify(data)
206
+ const content = deepDestringifyFunctions(data)
207
207
  const stringifiedContent = `export default ${objectToString(content)};`
208
208
 
209
209
  await fs.promises.writeFile(filePath, stringifiedContent, 'utf8')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbo.ls/cli",
3
- "version": "2.31.26",
3
+ "version": "2.31.27",
4
4
  "description": "Fetch your Symbols configuration",
5
5
  "main": "bin/fetch.js",
6
6
  "author": "Symbols",
@@ -15,9 +15,9 @@
15
15
  "vpatch": "npm version patch && npm publish"
16
16
  },
17
17
  "dependencies": {
18
- "@symbo.ls/fetch": "^2.31.26",
19
- "@symbo.ls/init": "^2.31.26",
20
- "@symbo.ls/socket": "^2.31.26",
18
+ "@symbo.ls/fetch": "^2.31.27",
19
+ "@symbo.ls/init": "^2.31.27",
20
+ "@symbo.ls/socket": "^2.31.27",
21
21
  "chalk": "^5.4.1",
22
22
  "commander": "^13.1.0",
23
23
  "diff": "^5.2.0",
@@ -26,5 +26,5 @@
26
26
  "node-fetch": "^3.3.2",
27
27
  "v8-compile-cache": "^2.4.0"
28
28
  },
29
- "gitHead": "126577d65a218af7e2f66b0a3f9691942ee8b9d2"
29
+ "gitHead": "0edcd5aae5c16b6a53a7e9b6512bb2562e8eb8a1"
30
30
  }