@nodevu/parsefiles
Advanced tools
+1
-3
@@ -48,7 +48,5 @@ // file should be a string | ||
| info.files[0] = `node-v${version}.tar.xz` | ||
| } else if (info.files[0].includes('linux-') || info.files[0] === ('headers') || info.files[0] === ('aix-ppc64')) { // linux, headers, and aix | ||
| } else if (info.files[0].includes('linux-') || info.files[0] === ('headers') || info.files[0] === ('aix-ppc64') || info.files[0].includes('sunos')) { // linux, headers, and aix | ||
| info.files[0] = `node-v${version}-${info.files[0]}.tar.gz` | ||
| info.files.push(info.files[0].replace('.tar.gz', '.tar.xz')) | ||
| } else { | ||
| info.files[0] = info.files[0].concat('.tar.gz') | ||
| } | ||
@@ -55,0 +53,0 @@ |
+9
-2
| { | ||
| "name": "@nodevu/parsefiles", | ||
| "version": "0.0.1", | ||
| "version": "0.0.2", | ||
| "description": "parse the files identifiers from Node.js", | ||
@@ -8,3 +8,5 @@ "main": "index.js", | ||
| "lint": "standard", | ||
| "lint:fix": "standard --fix" | ||
| "lint:fix": "standard --fix", | ||
| "test": "mocha", | ||
| "coverage": "nyc mocha" | ||
| }, | ||
@@ -17,7 +19,12 @@ "keywords": [ | ||
| ], | ||
| "files": [ | ||
| "index.js" | ||
| ], | ||
| "author": "Tierney Cyren <hello@bnb.im>", | ||
| "license": "MIT", | ||
| "devDependencies": { | ||
| "mocha": "^9.2.1", | ||
| "nyc": "^15.1.0", | ||
| "standard": "^16.0.4" | ||
| } | ||
| } |
+1
-1
@@ -8,3 +8,3 @@ # @nodevu/parsefiles | ||
| ```js | ||
| const parsefiles = require('./index') | ||
| const parsefiles = require('@nodevu/parsefiles') | ||
@@ -11,0 +11,0 @@ const version = '17.6.0' |
5685
1.99%3
200%88
-2.22%