fx 30.0.0 → 30.0.1
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/index.js +2 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -108,6 +108,7 @@ async function transform(json, code) {
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
const fn = eval(`(function () {
|
|
111
|
+
const x = this
|
|
111
112
|
return ${code}
|
|
112
113
|
})`).call(json)
|
|
113
114
|
|
|
@@ -525,7 +526,7 @@ function stringify(value, isPretty = false) {
|
|
|
525
526
|
string: isPretty ? '\x1b[32m' : '',
|
|
526
527
|
number: isPretty ? '\x1b[36m' : '',
|
|
527
528
|
boolean: isPretty ? '\x1b[35m' : '',
|
|
528
|
-
null: isPretty ? '\x1b[
|
|
529
|
+
null: isPretty ? '\x1b[38;5;243m' : '',
|
|
529
530
|
reset: isPretty ? '\x1b[0m' : '',
|
|
530
531
|
}
|
|
531
532
|
|