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

@fomantic/gulp-dedupe

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fomantic/gulp-dedupe

Check for duplicates in the stream and filter them or throw an error

  • 0.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
444
increased by11.84%
Maintainers
3
Weekly downloads
 
Created
Source

gulp-dedupe

Forked Version using updated dependencies

Original repo at https://github.com/hoho/gulp-dedupe

This plugin is checking for duplicate files (based on their name) in the stream and filter them or throw an error.

Install:

npm install gulp-dedupe --save-dev

Example:

var dedupe = require('gulp-dedupe');

...
    .pipe(dedupe()) // Remove duplicates from previous tasks (if any).
    .pipe(concat('bundle.css')) // For example, we need to concat the result without duplicates.
    .pipe(gulp.dest('./build'));

dedupe(options) optionally accepts options object. The following options are available:

  • error to emit an error in case of duplicate (false by default).
  • same to emit an error in case duplicates have different contents (true by default).
  • diff to supply duplicates with different contents error from previous option with actual diff (false by default).

Keywords

FAQs

Package last updated on 25 Oct 2022

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