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-07 to 1.0.0-alpha-08

4

lib/createRepositoryFile.js

@@ -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.gitlabConfig);
const { api, privateToken, id } = getNodeConfig(node);
const client = gitlab.create({ api, privateToken });

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

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

const { file_path, ref } = msg.payload;
const { api, privateToken, id } = getNodeConfig(node.gitlabConfig);
const { api, privateToken, id } = getNodeConfig(node);
const target = ref || node.ref;

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

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

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

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

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