diff --git a/package.json b/package.json index 94e6616..ba5fe2e 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Replace your template engine with fast JavaScript by leveraging the power of tagged templates.", "author": "Gürgün Dayıoğlu", "license": "MIT", - "version": "1.0.1", + "version": "1.1.0", "type": "module", "main": "./src/index.js", "exports": { diff --git a/src/includeFile.js b/src/includeFile.js index 8b48070..e55ab3d 100644 --- a/src/includeFile.js +++ b/src/includeFile.js @@ -1,7 +1,6 @@ import { readFileSync } from "node:fs"; const readFileSyncOptions = { encoding: "utf8" }; - const fileCache = new Map(); /** diff --git a/test/index.js b/test/index.js index f2e4941..1cf3843 100644 --- a/test/index.js +++ b/test/index.js @@ -12,7 +12,7 @@ const conditionFalse = false; const emptyString = ""; test("renders empty input", () => { - assert.strictEqual(html({ raw: [] }), ""); + assert.strictEqual(html({ raw: [""] }), ""); }); test("renders empty input", () => {