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 Versions

23

0.6.0

Diff

Changelog

Source

0.6.0

Thanks to @andrewyalung for authoring most of this version!

  • requesterFn has been added as an option. When requesterFn is provided, all request will be processed by that function.
  • useXhr has been removed and replaced with requesterFn.
  • Fixed non-default port being ignored in default request implementation.
mr-wallet
published 0.5.2 •

Changelog

Source

0.5.2

  • Functions that take an API response as an argument now properly handle taking the entire response, as they did in 0.4.x. They also still accept just the response's body property, as in 0.5.1. Affected functions: hasNextPage, hasPreviousPage, getNextPage, getPreviousPage, repositories.getForksFromResponse, repositories.hasParent, repositories.getParentFromResponse.
mr-wallet
published 0.5.1 •

Changelog

Source

0.5.1

This version is targeted at two main goals:

  1. Bitbucket's breaking API changes (migrating from users and teams to "workspaces"), in order to comply with GDPR. For more details, see: https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-workspaces/
  2. Modernizing the code from node-callbacks to promises.

Due to the aforementioned breaking changes on Bitbucket's end, usage of previous versions of this package will stop working in general after 2020-04-29, except for a few basic uses like getting the authenticated user.

  • Started CHANGELOG document.
  • Added Node 7.6 requirement.
  • All asynchronous functions now return a promise, and no longer accept a callback.
  • On success, the old response will now be packed inside a body property, and it now has a sibling statusCode property.
  • On errors that result from API responses, the response body will now be on a property called body (instead of msg), and status has been renamed to statusCode.
  • When useXhr is enabled, the entire XHR response will now be provided on both success and failure. Note that this is consistent with the body and statusCode properties previously described.
  • repositories.getByUser and repositories.getByTeam have been merged to repositories.getByWorkspace.
  • teams.get has been removed.
  • workspaces.get has been added.
  • Fixed a bug where double JSON parsing would cause parsing to throw an error. Thanks to @mateusmcg for the fix!
mr-wallet
published 0.5.0 •

mr-wallet
published 0.4.4 •

mr-wallet
published 0.4.3 •

mr-wallet
published 0.4.2 •

mr-wallet
published 0.4.1 •

mr-wallet
published 0.4.0 •

mr-wallet
published 0.3.1 •

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