diff --git a/packages/client/package.json b/packages/client/package.json index 5ff4539d..46c60955 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "client", - "version": "1.0.0", + "version": "1.0.1", "description": "The client lib for the Referee UX", "author": "Justin Field ", "homepage": "https://example.com/dashboard/", diff --git a/packages/client/src/services/DocsService.ts b/packages/client/src/services/DocsService.ts index df1c9045..4b60afd8 100644 --- a/packages/client/src/services/DocsService.ts +++ b/packages/client/src/services/DocsService.ts @@ -56,7 +56,7 @@ export default class DocsService { if (docsStore.tableOfContents == null) { try { const response = await axios.get(`${process.env.PUBLIC_URL}/docs/table-of-contents.yaml`); - const tocData: any = yaml.safeLoad(response.data); + const tocData: any = yaml.load(response.data); const validationResults = validateToc(tocData); // TODO wire up error component rather than crash entire site. diff --git a/packages/server/package.json b/packages/server/package.json index 644af4cc..62ccf8e8 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "server", - "version": "1.0.0", + "version": "1.0.1", "description": "The backend for the Referee UI", "author": "Justin Field ", "homepage": "",