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.11 to 0.0.12

23

lib/actions.js

@@ -70,2 +70,15 @@ var projects = [];

function getProjectsByNamespace(namespace, projects)
{
var _projects = [];
projects.forEach(function(project, i) {
if (project.path_with_namespace.substr(0, namespace.length) === namespace) {
_projects.push(project);
}
});
return _projects;
}
function getActionVerb(action)

@@ -189,3 +202,11 @@ {

if (checkResource(cb)) {
client[resource.type].list(data, cb);
client[resource.type].list(data, function(error, data) {
if (data) {
if (resource.type === 'projects' && resource.namespace) {
data = getProjectsByNamespace(resource.namespace, data);
}
}
cb(error, data);
});
}

@@ -192,0 +213,0 @@ }

2

package.json
{
"name": "gitlab-cli",
"version": "0.0.11",
"version": "0.0.12",
"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