Comparing version 0.0.2 to 0.0.3
@@ -7,3 +7,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
const path = require("path"); | ||
const node_fetch_1 = require("node-fetch"); | ||
// const node_fetch_1 = require("node-fetch"); | ||
const check_1 = require("../helpers/check"); | ||
@@ -151,3 +151,3 @@ const compact_1 = require("../helpers/compact"); | ||
if (media.url !== undefined) { | ||
const res = await node_fetch_1.default(media.url, { agent }); | ||
const res = await fetch(media.url, { agent }); | ||
return form.addPart({ | ||
@@ -154,0 +154,0 @@ headers: { |
@@ -25,3 +25,3 @@ Object.defineProperty(exports, "__esModule", { value: true }); | ||
var session_1 = require("./session"); | ||
Object.defineProperty(exports, "Session", { enumerable: true, get: function () { return session_1.Session; } }); | ||
Object.defineProperty(exports, "session", { enumerable: true, get: function () { return session_1.session; } }); | ||
@@ -28,0 +28,0 @@ |
{ | ||
"name": "0te", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"main": "lib/index.js", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
163719
59
4257
23
7