Switch to a smaller/faster TOML parser.

This commit is contained in:
Caleb 2017-09-29 21:01:08 -06:00
parent 8e989727d8
commit b80c417429
3 changed files with 5 additions and 5 deletions

View File

@ -157,7 +157,7 @@
"slate-edit-table": "^0.10.1",
"slate-soft-break": "^0.3.0",
"slug": "^0.9.1",
"toml": "^2.3.3",
"toml-j0.4": "^1.1.1",
"unified": "^6.1.4",
"unist-builder": "^1.0.2",
"unist-util-visit-parents": "^1.1.1",

View File

@ -1,5 +1,5 @@
import matter from 'gray-matter';
import tomlEng from 'toml';
import tomlEng from 'toml-j0.4';
import YAML from './yaml';
const parsers = {

View File

@ -8576,9 +8576,9 @@ to-fast-properties@^1.0.3:
version "1.0.3"
resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47"
toml@^2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/toml/-/toml-2.3.3.tgz#8d683d729577cb286231dfc7a8affe58d31728fb"
toml-j0.4@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/toml-j0.4/-/toml-j0.4-1.1.1.tgz#eb0c70348609a0263bb1d6e4a3dd191dcca60866"
topbar@^0.1.3:
version "0.1.3"