New simple implementation for YAML serialization

Tiny in size so we don't need to fetch the 80KB yaml package for simple
YAML serializaiton needs in various pages. It's also 8x faster than
yaml package so that's a big plus for debug logging.
This commit is contained in:
Zaid Abdulla committed 2021-01-21 13:03:52 -08:00
1 parent 134ca46dde
commit cc89fd92d7
8 files changed
+1096 -21

No files matched your search

+3 -3
View File
@@ -33,8 +33,7 @@
"later": "^1.2.0",
"mongodb": "^3.6.2",
"parsimmon": "^1.16.0",
"seedrandom": "^3.0.5",
"yaml": "^1.10.0"
"seedrandom": "^3.0.5"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0",
@@ -72,7 +71,8 @@
"svgo": "^1.3.2",
"ts-node": "^9.0.0",
"typescript": "^4.0.5",
"webpack": "^5.2.0"
"webpack": "^5.2.0",
"yaml": "^1.10.0"
},
"engines": {
"node": ">=12.13.0"