termux-api-library
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -1,2 +0,2 @@ | ||
import { exec } from "child_process"; | ||
const { exec } = require('child_process'); | ||
@@ -21,3 +21,4 @@ | ||
export default async function execut(command_line, callback) { | ||
module.exports = async function execut(command_line, callback) { | ||
return new Promise((resolve, reject) => { | ||
@@ -24,0 +25,0 @@ try { |
@@ -1,4 +0,4 @@ | ||
import execut from './child_process.js'; | ||
import fetch from 'node-fetch'; | ||
import fs from 'fs-extra'; | ||
const execut = require('./child_process.js'); | ||
const fetch = require('node-fetch'); | ||
const fs = require('fs-extra'); | ||
@@ -496,2 +496,2 @@ class Api { | ||
export default new Api | ||
module.exports = new Api |
{ | ||
"name": "termux-api-library", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Termux-api library for NodeJS", | ||
"main": "index.js", | ||
"type": "module", | ||
"repository": { | ||
@@ -21,3 +20,3 @@ "type": "git", | ||
"fs-extra": "^10.1.0", | ||
"node-fetch": "^3.2.10" | ||
"node-fetch": "^2.6.7" | ||
}, | ||
@@ -24,0 +23,0 @@ "devDependencies": { |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
21255
No
+ Addednode-fetch@2.7.0(transitive)
+ Addedtr46@0.0.3(transitive)
+ Addedwebidl-conversions@3.0.1(transitive)
+ Addedwhatwg-url@5.0.0(transitive)
- Removeddata-uri-to-buffer@4.0.1(transitive)
- Removedfetch-blob@3.2.0(transitive)
- Removedformdata-polyfill@4.0.10(transitive)
- Removednode-domexception@1.0.0(transitive)
- Removednode-fetch@3.3.2(transitive)
- Removedweb-streams-polyfill@3.3.3(transitive)
Updatednode-fetch@^2.6.7