Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
bpk-component-breadcrumb
Advanced tools
Backpack breadcrumb component.
npm install bpk-component-breadcrumb --save-dev
import React, { Component } from 'react';
import BpkBreadcrumb, { BpkBreadcrumbItem } from 'bpk-component-breadcrumb';
export default class App extends Component {
render() {
return (
<BpkBreadcrumb label="breadcrumb">
<BpkBreadcrumbItem href="/">Home</BpkBreadcrumbItem>
<BpkBreadcrumbItem href="/page-1">Page 1</BpkBreadcrumbItem>
<BpkBreadcrumbItem active>
Page 2
</BpkBreadcrumbItem>
</BpkBreadcrumb>
);
}
}
JSON-LD schema mark up can be used to
add structured data
to the component to improve the SEO of the component through the schemaMetaData
property.
Property | PropType | Required | Default Value |
---|---|---|---|
children | node | true | - |
label | string | true | - |
schemaMetaData | array({url: string, label: string}) | false | null |
Property | PropType | Required | Default Value |
---|---|---|---|
children | node | true | - |
href | string | false | null |
active | bool | false | false |
linkProps | object | false | null |
FAQs
Backpack breadcrumb component.
The npm package bpk-component-breadcrumb receives a total of 0 weekly downloads. As such, bpk-component-breadcrumb popularity was classified as not popular.
We found that bpk-component-breadcrumb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.