firefly-compiler 0.4.14 → 0.4.15
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/core/Json.ff +1 -1
- package/guide/Main.ff +3 -0
- package/output/js/ff/core/Json.mjs +2 -2
- package/package.json +1 -1
- package/vscode/package.json +1 -1
package/core/Json.ff
CHANGED
package/guide/Main.ff
ADDED
|
@@ -313,7 +313,7 @@ throw new Error('Function internalCompare is missing on this target in async con
|
|
|
313
313
|
|
|
314
314
|
export function Json_write(self_, indentation_ = ff_core_Option.None()) {
|
|
315
315
|
|
|
316
|
-
return JSON.stringify(self_, null,
|
|
316
|
+
return JSON.stringify(self_, null, indentation_.value_);
|
|
317
317
|
|
|
318
318
|
}
|
|
319
319
|
|
|
@@ -451,7 +451,7 @@ export function Json_isObject(self_) {
|
|
|
451
451
|
|
|
452
452
|
export function Json_isNull(self_) {
|
|
453
453
|
|
|
454
|
-
return
|
|
454
|
+
return self_ === null;
|
|
455
455
|
|
|
456
456
|
}
|
|
457
457
|
|
package/package.json
CHANGED