auto-watch-pages
Advanced tools
Comparing version 1.1.6 to 1.1.7
{ | ||
"name": "auto-watch-pages", | ||
"version": "1.1.6", | ||
"version": "1.1.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,4 +20,9 @@ const path = require('path'); | ||
let hash = ''; | ||
let fileKeyLength = fileKey.length; | ||
routerNmae = '/' + routerNmae.substring(0, routerNmae.length - fileKey.length).toLowerCase(); | ||
if (fileKey.toLowerCase().indexOf('index') !== -1) { | ||
fileKeyLength = fileKeyLength + 1; | ||
} | ||
routerNmae = '/' + routerNmae.substring(0, routerNmae.length - fileKeyLength).toLowerCase(); | ||
@@ -24,0 +29,0 @@ importName = importName.substring(0, importName.length - 3); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
6758
147
0