🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@nodevu/parsefiles

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nodevu/parsefiles - npm Package Compare versions

Comparing version
0.0.1
to
0.0.2
+1
-3
index.js

@@ -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 @@

{
"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"
}
}

@@ -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'