New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bundle-validator/plugin-bundle-content

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bundle-validator/plugin-bundle-content

A plugin for bundle-validator tool

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
12
increased by200%
Maintainers
2
Weekly downloads
 
Created
Source

@bundle-validator/plugin-bundle-content

Checks if file does not bundle given libraries.

Usage

  1. Add plugin package as a devDependency:

    npm install @bundle-validator/plugin-bundle-content --save-dev
    

    or

    yarn add @bundle-validator/plugin-bundle-content --save-dev
    
  2. Add this plugin to the plugins array of bundle-validator config:

    {
      "plugins": [["@bundle-validator/plugin-bundle-content", { "externals": ["lodash"] }]]
    }
    

Options

externals (required)

Use to specify which packages should not be included in a given JS file.

Currently, plugin is able to detect presence of following libraries:

lodash - https://lodash.com/

FAQs

Package last updated on 01 Feb 2023

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