Comparing version 0.3.0 to 0.3.1
@@ -26,4 +26,3 @@ #!/usr/bin/env node | ||
function exporter (p) { | ||
const arr = p.split(path.sep); | ||
arr[arr.length - 1] = arr[arr.length - 1].split(/[.|_]/)[0]; | ||
const arr = p.split(path.sep).slice(0, -1); | ||
const res = '\nxassign([' + arr.map(e => `'${e}'`).join(', ') + '])(\n'; | ||
@@ -30,0 +29,0 @@ return res; |
{ | ||
"name": "duh-bus", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Bus definition DUH documents", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is too big to display
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
0
173880
2629