diff --git a/package-lock.json b/package-lock.json index 8f796b8..3811e39 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "p23", - "version": "0.4.0", + "version": "0.4.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "p23", - "version": "0.4.0", + "version": "0.4.1", "license": "MIT", "dependencies": { "glob": "10.3.12" diff --git a/package.json b/package.json index ddf0fed..d980a35 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Simple tool for adding parsable metadata as comments within Svelte components.", "type": "module", "license": "MIT", - "version": "0.4.0", + "version": "0.4.1", "engines": { "node": ">=18" }, diff --git a/src/parser.js b/src/parser.js index 5f761b2..f6adc40 100644 --- a/src/parser.js +++ b/src/parser.js @@ -83,9 +83,7 @@ const extractNodes = (data, options) => { const htmlRegexp = newHtmlNodeRegexp(options.prefix) const htmlNodes = extractNodesWithRegexp(data, htmlRegexp) - const n = joinNodeTrees(jsNodes, htmlNodes) - console.log(n) - return n + return joinNodeTrees(jsNodes, htmlNodes) } const extractNodesWithRegexp = (data, regexp) => {