New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

bitbucket-v2

Package Overview
Dependencies
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitbucket-v2 - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

8

bitbucket/repositories.js

@@ -13,2 +13,10 @@ const _ = require('lodash');

create(username, repoSlug, repo, callback) {
this.$api.post(
'repositories/' + encodeURI(username) + '/' + encodeURI(repoSlug),
repo, null,
this.$createListener(callback)
);
}
/**

@@ -15,0 +23,0 @@ * Create a new pull request

21

dist/repositories.js

@@ -28,12 +28,17 @@ 'use strict';

/**
* Create a new pull request
*
* @param {String} repo owner
* @param {String} slug (name) of the repo.
* @param {Object} pullRequest The PR POST body as specified by Bitbucket's API documentation
*/
_createClass(RepositoriesApi, [{
key: 'create',
value: function create(username, repoSlug, repo, callback) {
this.$api.post('repositories/' + encodeURI(username) + '/' + encodeURI(repoSlug), repo, null, this.$createListener(callback));
}
/**
* Create a new pull request
*
* @param {String} repo owner
* @param {String} slug (name) of the repo.
* @param {Object} pullRequest The PR POST body as specified by Bitbucket's API documentation
*/
_createClass(RepositoriesApi, [{
}, {
key: 'createPullRequest',

@@ -40,0 +45,0 @@ value: function createPullRequest(username, repoSlug, pullRequest, callback) {

{
"name": "bitbucket-v2",
"version": "0.2.1",
"version": "0.2.2",
"description": "Wrapper for the BitBucket API v2",

@@ -5,0 +5,0 @@ "author": "Jordan Wallet <jjwallet@gmail.com>",

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