@muze-nl/simplystore 0.6.6 → 0.6.7
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 +3 -3
- package/scripts/convert.mjs +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@muze-nl/simplystore",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.7",
|
|
4
4
|
"main": "src/server.mjs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"bugs": "https://github.com/simplyedit/simplystore/issues",
|
|
17
17
|
"homepage": "https://github.com/simplyedit/simplystore#readme",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@muze-nl/jsontag": "^0.9.
|
|
20
|
-
"@muze-nl/od-jsontag": "^0.1.
|
|
19
|
+
"@muze-nl/jsontag": "^0.9.6",
|
|
20
|
+
"@muze-nl/od-jsontag": "^0.1.4",
|
|
21
21
|
"codemirror": "^6.0.1",
|
|
22
22
|
"express": "^4.18.1",
|
|
23
23
|
"jaqt": "^0.6.2",
|
package/scripts/convert.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import JSONTag from '@muze-nl/jsontag'
|
|
2
|
-
import
|
|
2
|
+
import serialize, { stringify } from '@muze-nl/od-jsontag/src/serialize.mjs'
|
|
3
3
|
import fs from 'node:fs'
|
|
4
4
|
|
|
5
5
|
if (process.argv.length<=3) {
|
|
@@ -18,7 +18,7 @@ let input = fs.readFileSync(inputFile, 'utf-8')
|
|
|
18
18
|
let data = JSONTag.parse(input)
|
|
19
19
|
|
|
20
20
|
// write resultset to output
|
|
21
|
-
let strData =
|
|
21
|
+
let strData = stringify(serialize(data))
|
|
22
22
|
|
|
23
23
|
fs.writeFileSync(outputFile, strData)
|
|
24
24
|
|