@lmc-eu/spirit-analytics
Advanced tools
Comparing version 1.0.6 to 1.0.7
@@ -64,3 +64,2 @@ import { | ||
function searchFileForComponents(file, localComponents, baseComponents) { | ||
var _a; | ||
const reStartTag = /<([a-zA-Z][a-zA-Z0-9]*)([^>]*)>/g; | ||
@@ -74,3 +73,3 @@ const reAttr = /([\w-]+)="?([^"]*)"?/g; | ||
const nodeStartPos = match.index; | ||
const numLineBreaks = ((_a = fileContent.slice(0, nodeStartPos).match(/\n/g)) == null ? void 0 : _a.length) ?? 0; | ||
const numLineBreaks = fileContent.slice(0, nodeStartPos).match(/\n/g)?.length ?? 0; | ||
const moduleName = determineModuleNameFromComponents(nodeName, localComponents, baseComponents); | ||
@@ -77,0 +76,0 @@ const fullName = `${moduleName}:${nodeName}`; |
{ | ||
"name": "@lmc-eu/spirit-analytics", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "Analytic tools for Spirit Design System", | ||
@@ -69,4 +69,4 @@ "license": "MIT", | ||
"sade": "^1.8.1", | ||
"zx": "^7.2.2" | ||
"zx": "^8.0.0" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
49964
+ Added@types/node@22.13.5(transitive)
+ Addedundici-types@6.20.0(transitive)
+ Addedzx@8.3.2(transitive)
- Removed@types/minimist@1.2.5(transitive)
- Removed@types/node@18.19.76(transitive)
- Removed@types/ps-tree@1.1.6(transitive)
- Removed@types/which@3.0.4(transitive)
- Removedchalk@5.4.1(transitive)
- Removeddata-uri-to-buffer@4.0.1(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removedfetch-blob@3.2.0(transitive)
- Removedformdata-polyfill@4.0.10(transitive)
- Removedfs-extra@11.3.0(transitive)
- Removedfx@35.0.0(transitive)
- Removedglobby@13.2.2(transitive)
- Removedgraceful-fs@4.2.11(transitive)
- Removedignore@5.3.2(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjsonfile@6.1.0(transitive)
- Removedminimist@1.2.8(transitive)
- Removednode-domexception@1.0.0(transitive)
- Removednode-fetch@3.3.1(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedps-tree@1.2.0(transitive)
- Removedslash@4.0.0(transitive)
- Removedundici-types@5.26.5(transitive)
- Removeduniversalify@2.0.1(transitive)
- Removedweb-streams-polyfill@3.3.3(transitive)
- Removedwebpod@0.0.2(transitive)
- Removedwhich@3.0.1(transitive)
- Removedyaml@2.7.0(transitive)
- Removedzx@7.2.3(transitive)
Updatedzx@^8.0.0