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

hackerone-client

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hackerone-client - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

package.json
{
"name": "hackerone-client",
"version": "1.0.5",
"version": "1.0.6",
"description": "A node.js client to interact with the Hackerone api",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -24,2 +24,15 @@ const request = require("request-promise-native");

async getPrograms() {
const options = Object.assign({}, this.options);
options.uri += "me/programs";
const result = await request(options).catch(function(err) {
throw new Error(err);
});
return result;
}
async verifyAccess() {

@@ -33,2 +46,15 @@ const options = Object.assign({}, this.options);

async swag(programId) {
const options = Object.assign({}, this.options);
options.uri += "programs/" + programId + "/swag";
const result = await request(options).catch(function(err) {
throw new Error(err);
});
return result;
}
async readReport(reportNumber) {

@@ -52,3 +78,3 @@ const options = Object.assign({}, this.options);

let value = additionalFilters[key];
options.uri += key + "=" + value + "&";
options.uri += key + "=" + value;
}

@@ -83,2 +109,2 @@ } else {

module.exports = HackeroneClient;
module.exports = HackeroneClient;
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