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

broccoli-funnel

Package Overview
Dependencies
Maintainers
3
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

broccoli-funnel - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

20

index.js

@@ -11,2 +11,3 @@ 'use strict';

const heimdall = require('heimdalljs');
const fs = require('fs');

@@ -46,2 +47,15 @@ function ApplyPatchesSchema() {

}
function existsSync(path) {
let error = {};
try {
fs.accessSync(path);
fs.statSync(path);
} catch (err) {
error = err;
}
if (error.errno && error.errno !== 0) {
return false;
}
return true;
}

@@ -213,2 +227,8 @@ class Funnel extends Plugin {

let outputPathExists = this.output.existsSync('./');
// We need to keep this till node 10,12 get fix for windows broken symlink issue.
// https://github.com/nodejs/node/issues/30538
let isWin = process.platform === 'win32';
if (isWin) {
outputPathExists = existsSync(this.outputPath);
}

@@ -215,0 +235,0 @@ // Doesn't count as a rebuild if there's not an existing outputPath.

2

package.json
{
"name": "broccoli-funnel",
"version": "3.0.1",
"version": "3.0.2",
"description": "Broccoli plugin that allows you to filter files selected from an input node down based on regular expressions.",

@@ -5,0 +5,0 @@ "main": "index.js",

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