@mote-software/markitdown-binary-linux-x64
Advanced tools
| #!/usr/bin/env node | ||
| const fs = require("fs"); | ||
| const path = require("path"); | ||
| // Ensure the binary has executable permissions | ||
| const binaryPath = path.join(__dirname, "bin", "markitdown"); | ||
| try { | ||
| if (fs.existsSync(binaryPath)) { | ||
| fs.chmodSync(binaryPath, 0o755); | ||
| console.log("✓ markitdown binary permissions set"); | ||
| } | ||
| } catch (error) { | ||
| console.warn("Warning: Could not set executable permissions:", error.message); | ||
| // Don't fail the installation if this doesn't work | ||
| } |
+7
-3
| { | ||
| "name": "@mote-software/markitdown-binary-linux-x64", | ||
| "version": "1.0.1", | ||
| "version": "1.1.0", | ||
| "description": "markitdown binary for Linux x64", | ||
@@ -12,3 +12,4 @@ "os": [ | ||
| "files": [ | ||
| "bin/markitdown" | ||
| "bin/markitdown", | ||
| "postinstall.js" | ||
| ], | ||
@@ -19,3 +20,6 @@ "repository": { | ||
| }, | ||
| "license": "MIT" | ||
| "license": "MIT", | ||
| "scripts": { | ||
| "postinstall": "node postinstall.js" | ||
| } | ||
| } |
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed or built. Malicious packages often use scripts that run automatically to execute payloads or fetch additional code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Empty package
Supply chain riskPackage does not contain any code. It may be removed, is name squatting, or the result of a faulty package publish.
Found 1 instance in 1 package
128172172
04
33.33%14
Infinity%1
-50%1
Infinity%1
Infinity%