New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

node-red-contrib-gitlab2

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-red-contrib-gitlab2 - npm Package Compare versions

Comparing version 1.0.0-alpha-14 to 1.0.0-alpha-15

12

lib/createRepositoryFile.js

@@ -12,3 +12,9 @@ const gitlab = require('node-gitlab');

node.on('input', msg => {
const { branch_name, encoding, content, commit_message, file_path } = msg.payload;
const {
branch_name,
encoding,
content,
commit_message,
file_path
} = msg.payload;
const { api, privateToken, id } = getNodeConfig(node, RED, msg);

@@ -20,6 +26,6 @@ const client = gitlab.create({ api, privateToken });

file_path,
branch_name: branch_name || node.branch_name,
branch_name: branch_name ? branch_name : node.branch_name,
content,
commit_message,
encoding: encoding || node.encoding
encoding: encoding ? encoding : node.encoding
},

@@ -26,0 +32,0 @@ (error, body) => {

@@ -25,6 +25,6 @@ const gitlab = require('node-gitlab');

file_path,
branch_name: branch_name || node.branch_name,
branch_name: branch_name ? branch_name : node.branch_name,
content,
commit_message,
encoding: encoding || node.encoding
encoding: encoding ? encoding : node.encoding
},

@@ -31,0 +31,0 @@ (error, body) => {

{
"name": "node-red-contrib-gitlab2",
"version": "1.0.0-alpha-14",
"version": "1.0.0-alpha-15",
"description": "Node-RED node using GitLab APIs",

@@ -5,0 +5,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc