Socket
Socket
Sign inDemoInstall

bitbucket-ext

Package Overview
Dependencies
49
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.2 to 0.0.3

5

CHANGELOG.md
## 0.0.2
## 0.0.3
* 1e010e0 fixing default-reviewers adding request
## v0.0.2
* 5ffd5bc 0.0.2
* 616c4ac fixing command name

@@ -4,0 +7,0 @@ * 4e22de0 fixing command name

10

dist/http-client/client.js

@@ -17,5 +17,3 @@ "use strict";

const config = config_1.loadConfig();
let result = request[method](uri)
.set('content-type', 'application/json')
.set('Authorization', `Basic ${config.basic}`);
let result = request[method](uri).set('Authorization', `Basic ${config.basic}`);
if (config.logCalls) {

@@ -40,3 +38,3 @@ result = result.use(require('superdebug')((x) => console.info(`${x}\n\n\n`)));

if (payload) {
req = req.send(payload);
req = req.set('content-type', 'application/json').send(payload);
}

@@ -46,3 +44,5 @@ return (await req).body;

async patch(resource, path, payload) {
return (await this.req(Methods.PATCH, resource, path).send(payload)).body;
return (await this.req(Methods.PATCH, resource, path)
.set('content-type', 'application/json')
.send(payload)).body;
}

@@ -49,0 +49,0 @@ async delete(resource, path) {

{
"name": "bitbucket-ext",
"description": "A tool to manipulate your Bitbucket repositories more easily",
"version": "0.0.2",
"version": "0.0.3",
"author": {

@@ -6,0 +6,0 @@ "name": "Thiago O Santos <tos.oliveira@gmail.com>"

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