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

@backstage/plugin-scaffolder-backend-module-bitbucket-cloud

Package Overview
Dependencies
Maintainers
3
Versions
320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/plugin-scaffolder-backend-module-bitbucket-cloud - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4-next.1

23

CHANGELOG.md
# @backstage/plugin-scaffolder-backend-module-bitbucket-cloud
## 0.2.3
## 0.2.4-next.1
### Patch Changes
- 5c9cc05: Use native fetch instead of node-fetch
- Updated dependencies
- @backstage/plugin-scaffolder-node@0.6.1
- @backstage/plugin-scaffolder-node@0.6.2-next.1
- @backstage/backend-plugin-api@1.1.0-next.1
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
- @backstage/integration@1.16.0-next.0
- @backstage/plugin-bitbucket-cloud-common@0.2.26-next.0
## 0.2.3-next.0
### Patch Changes
- c4ffd13: Added the autocomplete feature to GitlabRepoUrlPicker
- Updated dependencies
- @backstage/integration@1.16.0-next.0
- @backstage/backend-plugin-api@1.0.3-next.0
- @backstage/plugin-scaffolder-node@0.6.1-next.0
- @backstage/config@1.3.0
- @backstage/errors@1.2.5
- @backstage/plugin-bitbucket-cloud-common@0.2.26-next.0
## 0.2.2

@@ -11,0 +30,0 @@

7

dist/actions/bitbucketCloud.cjs.js

@@ -5,10 +5,5 @@ 'use strict';

var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
var fetch = require('node-fetch');
var helpers = require('./helpers.cjs.js');
var bitbucketCloud_examples = require('./bitbucketCloud.examples.cjs.js');
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
var fetch__default = /*#__PURE__*/_interopDefaultCompat(fetch);
const createRepository = async (opts) => {

@@ -40,3 +35,3 @@ const {

try {
response = await fetch__default.default(
response = await fetch(
`${apiBaseUrl}/repositories/${workspace}/${repo}`,

@@ -43,0 +38,0 @@ options

@@ -5,10 +5,5 @@ 'use strict';

var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
var fetch = require('node-fetch');
var inputProperties = require('./inputProperties.cjs.js');
var helpers = require('./helpers.cjs.js');
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
var fetch__default = /*#__PURE__*/_interopDefaultCompat(fetch);
const id = "bitbucket:pipelines:run";

@@ -60,3 +55,3 @@ const createBitbucketPipelinesRunAction = (options) => {

try {
response = await fetch__default.default(
response = await fetch(
`https://api.bitbucket.org/2.0/repositories/${workspace}/${repo_slug}/pipelines`,

@@ -63,0 +58,0 @@ {

@@ -5,3 +5,2 @@ 'use strict';

var pluginScaffolderNode = require('@backstage/plugin-scaffolder-node');
var fetch = require('node-fetch');
var fs = require('fs-extra');

@@ -13,3 +12,2 @@ var helpers = require('./helpers.cjs.js');

var fetch__default = /*#__PURE__*/_interopDefaultCompat(fetch);
var fs__default = /*#__PURE__*/_interopDefaultCompat(fs);

@@ -54,3 +52,3 @@

try {
response = await fetch__default.default(
response = await fetch(
`${apiBaseUrl}/repositories/${workspace}/${repo}/pullrequests`,

@@ -81,3 +79,3 @@ data

try {
response = await fetch__default.default(
response = await fetch(
`${apiBaseUrl}/repositories/${workspace}/${repo}/refs/branches?q=${encodeURIComponent(

@@ -123,3 +121,3 @@ `name = "${branchName}"`

try {
response = await fetch__default.default(
response = await fetch(
`${apiBaseUrl}/repositories/${workspace}/${repo}/refs/branches`,

@@ -149,3 +147,3 @@ options

try {
response = await fetch__default.default(
response = await fetch(
`${apiBaseUrl}/repositories/${workspace}/${repo}`,

@@ -152,0 +150,0 @@ options

@@ -20,3 +20,5 @@ 'use strict';

for await (const page of client.listWorkspaces().iteratePages()) {
const slugs = [...page.values].map((p) => ({ title: p.slug }));
const slugs = [...page.values].map((p) => ({
id: p.slug
}));
results.push(...slugs);

@@ -31,3 +33,5 @@ }

for await (const page of client.listProjectsByWorkspace(context.workspace).iteratePages()) {
const keys = [...page.values].map((p) => ({ title: p.key }));
const keys = [...page.values].map((p) => ({
id: p.key
}));
results.push(...keys);

@@ -46,3 +50,5 @@ }

}).iteratePages()) {
const slugs = [...page.values].map((p) => ({ title: p.slug }));
const slugs = [...page.values].map((p) => ({
id: p.slug
}));
results.push(...slugs);

@@ -59,3 +65,5 @@ }

for await (const page of client.listBranchesByRepository(context.repository, context.workspace).iteratePages()) {
const names = [...page.values].map((p) => ({ title: p.name }));
const names = [...page.values].map((p) => ({
id: p.name
}));
results.push(...names);

@@ -62,0 +70,0 @@ }

{
"name": "@backstage/plugin-scaffolder-backend-module-bitbucket-cloud",
"version": "0.2.3",
"version": "0.2.4-next.1",
"description": "The Bitbucket Cloud module for @backstage/plugin-scaffolder-backend",

@@ -50,18 +50,17 @@ "backstage": {

"dependencies": {
"@backstage/backend-plugin-api": "^1.0.2",
"@backstage/config": "^1.3.0",
"@backstage/errors": "^1.2.5",
"@backstage/integration": "^1.15.2",
"@backstage/plugin-bitbucket-cloud-common": "^0.2.25",
"@backstage/plugin-scaffolder-node": "^0.6.1",
"@backstage/backend-plugin-api": "1.1.0-next.1",
"@backstage/config": "1.3.0",
"@backstage/errors": "1.2.5",
"@backstage/integration": "1.16.0-next.0",
"@backstage/plugin-bitbucket-cloud-common": "0.2.26-next.0",
"@backstage/plugin-scaffolder-node": "0.6.2-next.1",
"fs-extra": "^11.2.0",
"node-fetch": "^2.7.0",
"yaml": "^2.0.0"
},
"devDependencies": {
"@backstage/backend-test-utils": "^1.1.0",
"@backstage/cli": "^0.29.2",
"@backstage/plugin-scaffolder-node-test-utils": "^0.1.16",
"@backstage/backend-test-utils": "1.2.0-next.1",
"@backstage/cli": "0.29.3-next.1",
"@backstage/plugin-scaffolder-node-test-utils": "0.1.17-next.1",
"msw": "^1.0.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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