
Security News
Software Engineering Daily Podcast: Feross on AI, Open Source, and Supply Chain Risk
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.
@forge/bitbucket
Advanced tools
A package of helpers for interacting with Bitbucket.
unwrapUuid/wrapUuidBitbucket resource identifiers, such as those for workspaces and repositories, are formatted as UUIDs wrapped in braces.
There may be scenarios where Forge app developers need to use these resources
with certain Forge APIs, but these APIs do not allow {} characters.
An example of this is the Storage API.
In these cases, you can use the unwrapUuid and wrapUuid functions to convert a
Bitbucket resource ID between a wrapped and unwrapped UUID.
Usage:
import Resolver from "@forge/resolver";
import { storage } from "@forge/api";
import { unwrapUuid, wrapUuid } from "@forge/bitbucket";
const resolver = new Resolver();
resolver.define("storeValue", async (request) => {
const repoId = request.context.extension.repository.uuid;
await storage.set(unwrapUuid(repoId), "Hello, World!");
});
resolver.define("getValue", async (request) => {
const repoId = request.context.extension.repository.uuid;
return await storage.get(unwrapUuid(repoId));
});
export const resolverHandler = resolver.getDefinitions();
FAQs
Helpers and utils for interacting with Bitbucket
The npm package @forge/bitbucket receives a total of 20 weekly downloads. As such, @forge/bitbucket popularity was classified as not popular.
We found that @forge/bitbucket demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.

Security News
GitHub has revoked npm classic tokens for publishing; maintainers must migrate, but OpenJS warns OIDC trusted publishing still has risky gaps for critical projects.

Security News
Rust’s crates.io team is advancing an RFC to add a Security tab that surfaces RustSec vulnerability and unsoundness advisories directly on crate pages.