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

@bbc/exposure-scanning

Package Overview
Dependencies
Maintainers
40
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bbc/exposure-scanning

A utility that scans PRs or issues for exposures.

  • 0.1.0-alpha.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
40
Created
Source

⛔️ This is an alpha component ⛔️

This component is currently tagged as alpha and is not suitable for production use.

exposure-scanning - Known Vulnerabilities Dependency Status peerDependencies Status GitHub license npm version PRs Welcome

This package provides a utility to scan and patch issues and pull requests for content that matches a given regular expression.

Installation

npm install @bbc/exposure-scanning --save

Usage

The script can be imported and executed like so:

// /scripts/scan-exposures/index.jsx
import scanExposures from '@bbc/exposure-scanning';

(async () => {
  await scanExposures();
})();

Then, this can be executed in the command line:

./scripts/scan-exposures psammead -pr 1234 "foo|bar"

The command line arguments are as follows:

  • repository (psammead in the example)
  • content type (-pr or -issue)
  • id (of the issue or pull request)
  • regex ("foo|bar" in the example)

Contributing

Psammead is completely open source. We are grateful for any contributions, whether they be new components, bug fixes or general improvements. Please see our primary contributing guide which can be found at the root of the Psammead respository.

Code of Conduct

We welcome feedback and help on this work. By participating in this project, you agree to abide by the code of conduct. Please take a moment to read it.

License

Psammead is Apache 2.0 licensed.

Keywords

FAQs

Package last updated on 17 Aug 2021

Did you know?

Socket

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.

Install

Related posts

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