From 75f08b125b7cd34849d5dbfe2316f596b1e0fbb6 Mon Sep 17 00:00:00 2001 From: Sergey Sergeev Date: Mon, 20 Nov 2023 22:32:35 -0800 Subject: [PATCH 1/2] export DependencyFinder --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 60b61da1..24e19e4f 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,8 @@ "./dist/src/TemplateProcessor.js": "./dist/src/TemplateProcessor.js", "./dist/src/CliCore.js": "./dist/src/CliCore.js", "./dist/src/StatedREPL.js": "./dist/src/StatedREPL.js", - "./dist/src/TestUtils.js": "./dist/src/TestUtils.js" + "./dist/src/TestUtils.js": "./dist/src/TestUtils.js", + "./dist/src/DependencyFinder.js": "./dist/src/DependencyFinder.js" }, "scripts": { "clean": "rm -rf dist", From 83107385ed1955784a84801615b97d1fd2cb35f9 Mon Sep 17 00:00:00 2001 From: Sergey Sergeev Date: Tue, 21 Nov 2023 12:58:42 -0800 Subject: [PATCH 2/2] export JsonPointer --- package.json | 3 ++- src/test/TemplateProcessor.test.js | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 24e19e4f..6fe51a05 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "./dist/src/CliCore.js": "./dist/src/CliCore.js", "./dist/src/StatedREPL.js": "./dist/src/StatedREPL.js", "./dist/src/TestUtils.js": "./dist/src/TestUtils.js", - "./dist/src/DependencyFinder.js": "./dist/src/DependencyFinder.js" + "./dist/src/DependencyFinder.js": "./dist/src/DependencyFinder.js", + "./dist/src/JsonPointer.js": "./dist/src/JsonPointer.js" }, "scripts": { "clean": "rm -rf dist", diff --git a/src/test/TemplateProcessor.test.js b/src/test/TemplateProcessor.test.js index 3162053b..bb72d3d2 100644 --- a/src/test/TemplateProcessor.test.js +++ b/src/test/TemplateProcessor.test.js @@ -1622,6 +1622,7 @@ test("function generators",async () => { } tp.functionGenerators.set('serial', serial); await tp.initialize(); + expect(tp.output).toStrictEqual({ "a": "path was: /a", "b": "path was: /b", @@ -1668,7 +1669,6 @@ test("function generators",async () => { "/f/steps" ] }); - }); test("apply", async () => {