Socket
Socket
Sign inDemoInstall

gitlab-x

Package Overview
Dependencies
4
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.2 to 0.2.3

2

bin.js

@@ -11,3 +11,3 @@ #!/usr/bin/env node

// version (same as package.json due to npx problems)
const version = "0.2.2";
const version = "0.2.3";

@@ -14,0 +14,0 @@ const parser = new ArgumentParser({

@@ -55,3 +55,6 @@ import { existsSync, readFileSync } from 'fs'

let existingFileData = await api.getRawFile(projectIdentifier, remoteFile, targetBranch);
if(!ascii) {
if(ascii) {
existingFileData = existingFileData.toString("utf8");
}
else {
existingFileData = existingFileData.toString("base64");

@@ -100,2 +103,3 @@ }

await api.postCommit(projectIdentifier, commitObject);
console.log(`Committed '${remoteFile}'`);
} catch (e) {

@@ -105,3 +109,3 @@ console.log(`Error committing changes to project identified by '${projectIdentifier}' on branch '${targetBranch}'\nCommit object:\n${commitObject}\nOriginal Error:\n${e}`)

} else {
if(VERBOSE) console.log("Nothing to commit");
console.log("Nothing to commit");
}

@@ -108,0 +112,0 @@ }

{
"name": "gitlab-x",
"version": "0.2.2",
"version": "0.2.3",
"description": "GitLab Executor API Interface",

@@ -5,0 +5,0 @@ "repository": "https://github.com/mxcd/gitlab-api",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc