Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gitlab-cli

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-cli - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

18

lib/utils.js
function split(string, delimiter, limit)
{
var _parts = string.split(delimiter, limit);
var _parts = [];
var parts = string.split(delimiter);
if (parts.length > limit) {
for(var i = limit - 1; i < parts.length; i++) {
_parts[limit - 1] += parts[i];
if (i < parts.length - 1) {
_parts[limit - 1] += delimiter;
}
for(var i = 0; i < parts.length; i++) {
if (i < limit) {
_parts.push(parts[i]);
}
else {
_parts[_parts.length - 1] += parts[i];
}
if (i >= limit - 1 && i < parts.length - 1) {
_parts[_parts.length - 1] += delimiter;
}
}

@@ -14,0 +18,0 @@

{
"name": "gitlab-cli",
"version": "0.0.13",
"version": "0.0.14",
"description": "Gitlab API on the command line",

@@ -5,0 +5,0 @@ "main": "./bin/cli.js",

Sorry, the diff of this file is not supported yet

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