Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@lesjoursfr/bin-wrapper

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lesjoursfr/bin-wrapper - npm Package Compare versions

Comparing version 12.1.5 to 12.1.6

9

lib/download-file.js

@@ -41,3 +41,3 @@ import axios from "axios";

}
async _transform(chunk, encoding, callback) {
async _transform(chunk, _encoding, callback) {
if (this._isTarFile !== null) {

@@ -79,3 +79,8 @@ callback(null, chunk);

const fileDownloader = new FileDownloader(dest, filename, options, (err, files) => {
err !== null ? reject(err) : resolve(files);
if (err !== null) {
reject(err);
}
else {
resolve(files);
}
});

@@ -82,0 +87,0 @@ response.data.pipe(fileDownloader);

{
"name": "@lesjoursfr/bin-wrapper",
"version": "12.1.5",
"version": "12.1.6",
"description": "Binary wrapper that makes your programs seamlessly available as local dependencies",

@@ -22,3 +22,3 @@ "license": "MIT",

"engines": {
"node": "18.x || 20.x"
"node": "20.x || 22.x"
},

@@ -33,7 +33,7 @@ "exports": "./lib/index.js",

"freshlock": "rm -rf node_modules/ && rm .yarn/install-state.gz && rm yarn.lock && yarn",
"check-lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"check-format": "prettier --check \"**/*.{ts,js,cjs,mjs,json,yml,md}\"",
"check-lint": "eslint",
"check-format": "prettier --check .",
"check-tsc": "tsc --noEmit",
"lint": "eslint . --fix --ext .js,.jsx,.ts,.tsx",
"format": "prettier --write \"**/*.{ts,js,cjs,mjs,json,yml,md}\"",
"lint": "eslint --fix",
"format": "prettier --write .",
"build": "tsc",

@@ -50,32 +50,33 @@ "test": "NODE_OPTIONS='--loader=ts-node/esm' mocha"

"dependencies": {
"@lesjoursfr/bin-check": "^7.1.5",
"@lesjoursfr/bin-version": "^7.1.5",
"arch": "^2.2.0",
"axios": "^1.6.7",
"@lesjoursfr/bin-check": "^7.1.6",
"@lesjoursfr/bin-version": "^7.1.6",
"arch": "^3.0.0",
"axios": "^1.7.2",
"content-disposition": "^0.5.4",
"file-type": "^19.0.0",
"semver": "^7.5.4",
"file-type": "^19.3.0",
"semver": "^7.6.3",
"semver-truncate": "^3.0.0",
"tar": "^6.2.0"
"tar": "^7.4.3"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@eslint/js": "^9.8.0",
"@tsconfig/node20": "^20.1.4",
"@types/content-disposition": "^0.5.8",
"@types/mocha": "^10.0.6",
"@types/node": "^20.11.15",
"@types/semver": "^7.5.6",
"@types/tar": "^6.1.11",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.13",
"@types/semver": "^7.5.8",
"@types/tar": "^6.1.13",
"eslint": "^9.8.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.8.0",
"isexe": "^3.1.1",
"mocha": "^10.2.0",
"nock": "^13.5.1",
"prettier": "^3.2.4",
"mocha": "^10.7.0",
"nock": "^13.5.4",
"prettier": "^3.3.3",
"tempy": "^3.1.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.0"
},
"packageManager": "yarn@4.1.0"
"packageManager": "yarn@4.3.1"
}

@@ -49,3 +49,3 @@ import axios, { AxiosResponse } from "axios";

public async _transform(chunk: Buffer, encoding: BufferEncoding, callback: TransformCallback): Promise<void> {
public async _transform(chunk: Buffer, _encoding: BufferEncoding, callback: TransformCallback): Promise<void> {
if (this._isTarFile !== null) {

@@ -94,3 +94,7 @@ callback(null, chunk);

const fileDownloader = new FileDownloader(dest, filename, options, (err, files) => {
err !== null ? reject(err) : resolve(files);
if (err !== null) {
reject(err);
} else {
resolve(files);
}
});

@@ -97,0 +101,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc