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

stash-rest-api

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stash-rest-api - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

auth.json

32

index.js
exports.Client = require('./lib/client');
// Eg:
/*
var auth = require('./auth.json');
stash = new exports.Client(
'http://stash.backbase.com:7990/rest/api/1.0/',
auth.user,
auth.password
);
stash.hooks.getPreReceive('LPM', 'module-accounts', {}).then(function(response) {
response.values.forEach(function(hook) {
console.log(hook.details);
});
});
stash.hooks.get('LPM', 'module-accounts').then(function(response) {
console.log(response.values);
response.values.forEach(function(hook) {
console.log(hook.details);
});
});
stash.projects.get({}).then(function(response) {
response.values.forEach(function(project) {
stash.repos.get(project.key, {}).then(function(response) {
console.log(response);
});
});
});
*/

24

package.json
{
"name": "stash-rest-api",
"version": "2.1.1",
"description": "",
"version": "2.1.2",
"description": "Provides access to *some* of Stash's APIs.",
"main": "index.js",

@@ -9,4 +9,4 @@ "scripts": {

},
"author": "",
"license": "ISC",
"author": "Ben Sorohan <npm@sorohan.com.au>",
"license": "MIT",
"dependencies": {

@@ -16,3 +16,17 @@ "lodash": "^3.10.0",

"query-string": "^2.3.0"
}
},
"devDependencies": {},
"repository": {
"type": "git",
"url": "https://github.com/sorohan/stash-rest-api.git"
},
"keywords": [
"stash",
"rest",
"api"
],
"bugs": {
"url": "https://github.com/sorohan/stash-rest-api/issues"
},
"homepage": "https://github.com/sorohan/stash-rest-api"
}

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