igdb-api-node
Advanced tools
@@ -1,1 +0,1 @@ | ||
| export declare const VERSION = "6.0.3"; | ||
| export declare const VERSION = "6.0.4"; |
+1
-1
@@ -5,2 +5,2 @@ "use strict"; | ||
| // This file is auto-generated. Do not edit it manually. | ||
| exports.VERSION = '6.0.3'; | ||
| exports.VERSION = '6.0.4'; |
+2
-2
| { | ||
| "name": "igdb-api-node", | ||
| "version": "6.0.3", | ||
| "version": "6.0.4", | ||
| "main": "dist/index.js", | ||
@@ -34,3 +34,3 @@ "types": "dist/index.d.ts", | ||
| "dependencies": { | ||
| "apicalypse": "^1.0.2" | ||
| "apicalypse": "^1.0.4" | ||
| }, | ||
@@ -37,0 +37,0 @@ "description": "Nodejs API Wrapper for the IGDB.com API", |
+9
-0
@@ -30,2 +30,11 @@ const assert = require("assert"); | ||
| it("Should keep initially passed apicalypse object", () => { | ||
| const query = "fields name;"; | ||
| const vanilla = igdb("a", "b", { | ||
| apicalypse: query | ||
| }); | ||
| vanilla.constructOptions(); | ||
| assert.deepStrictEqual(vanilla.config.data, query); | ||
| }); | ||
| it("Should not convert buffers to json", () => { | ||
@@ -32,0 +41,0 @@ const client = igdb("a", "b", { |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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 2 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
11499
2.32%137
6.2%Updated