Huge News!Announcing our $40M Series B led by Abstract Ventures.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-09 to 1.0.0-alpha-10

2

lib/createRepositoryFile.js

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

const { branch_name, encoding, content, commit_message } = msg.payload;
const { api, privateToken, id } = getNodeConfig(node);
const { api, privateToken, id } = getNodeConfig(node, RED, msg);
const client = gitlab.create({ api, privateToken });

@@ -16,0 +16,0 @@ client.repositoryFiles.create(

@@ -8,7 +8,7 @@ const gitlab = require('node-gitlab');

RED.nodes.createNode(node, n);
node.gitlabConfig = RED.nodes.getNode(n.gitlabconfig);
node.config = RED.nodes.getNode(n.gitlabconfig);
node.ref = n.ref;
node.on('input', msg => {
const { file_path, ref } = msg.payload;
const { api, privateToken, id } = getNodeConfig(node);
const { api, privateToken, id } = getNodeConfig(node, RED, msg);
const target = ref || node.ref;

@@ -15,0 +15,0 @@ const client = gitlab.create({ api, privateToken });

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

RED.nodes.createNode(node, n);
node.gitlabConfig = RED.nodes.getNode(n.gitlabconfig);
node.config = RED.nodes.getNode(n.gitlabconfig);
node.branch_name = n.branch_name;

@@ -14,3 +14,3 @@ node.encoding = n.encoding;

const { branch_name, encoding, content, commit_message } = msg.payload;
const { api, privateToken, id } = getNodeConfig(node);
const { api, privateToken, id } = getNodeConfig(node, RED, msg);
const client = gitlab.create({ api, privateToken });

@@ -17,0 +17,0 @@ client.repositoryFiles.update(

{
"name": "node-red-contrib-gitlab2",
"version": "1.0.0-alpha-09",
"version": "1.0.0-alpha-10",
"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