Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details โ†’
Socket
Book a DemoInstallSign in
Socket

n8n-nodes-github-copilot

Package Overview
Dependencies
Maintainers
1
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n8n-nodes-github-copilot - npm Package Compare versions

Comparing version
4.4.11
to
4.4.12
+6
-8
dist/nodes/GitHubCopilotOpenAI/GitHubCopilotOpenAI.node.js

@@ -131,13 +131,8 @@ "use strict";

else {
if (mimeType === 'application/pdf') {
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `โŒ Unsupported File Type: PDF files are not supported by the GitHub Copilot Vision API. Please convert the PDF to an image (JPEG, PNG, WEBP) or extract the text content before sending.`, { itemIndex: i });
console.warn(`โš ๏ธ Could not detect image type for '${keyToUse}', defaulting to 'image/jpeg' or keeping original '${mimeType}'`);
if (mimeType === 'application/octet-stream') {
mimeType = 'image/jpeg';
}
mimeType = 'image/jpeg';
console.warn(`โš ๏ธ Could not detect image type for '${keyToUse}', defaulting to image/jpeg`);
}
}
const allowedMimeTypes = ['image/png', 'image/jpeg', 'image/gif', 'image/webp'];
if (!allowedMimeTypes.includes(mimeType)) {
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `โŒ Unsupported Image Format: '${mimeType}'. The API only supports: ${allowedMimeTypes.map(t => t.replace('image/', '')).join(', ')}.`, { itemIndex: i });
}
const base64 = buffer.toString('base64');

@@ -172,2 +167,5 @@ const dataUrl = `data:${mimeType};base64,${base64}`;

catch (err) {
if (err instanceof n8n_workflow_1.NodeOperationError) {
throw err;
}
console.error(`โŒ Failed to read binary data for '${keyToUse}':`, err);

@@ -174,0 +172,0 @@ throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Failed to read binary file '${keyToUse}'. Ensure the binary data exists.`, { itemIndex: i });

{
"name": "n8n-nodes-github-copilot",
"version": "4.4.11",
"version": "4.4.12",
"description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows with full tools and function calling support - access GPT-5, Claude, Gemini and more using your Copilot subscription",

@@ -5,0 +5,0 @@ "license": "MIT",

{
"name": "n8n-nodes-github-copilot",
"version": "4.4.11",
"version": "4.4.12",
"description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows with full tools and function calling support - access GPT-5, Claude, Gemini and more using your Copilot subscription",

@@ -5,0 +5,0 @@ "license": "MIT",