Socket
Socket
Sign inDemoInstall

file-set

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

file-set - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

13

lib/file-set.js

@@ -1,5 +0,7 @@

var fs = require("fs"),
glob = require("glob"),
Glob = glob.Glob,
a = require("array-tools");
"use strict";
var fs = require("fs");
var glob = require("glob");
var Glob = glob.Glob;
var a = require("array-tools");
var path = require("path");

@@ -77,2 +79,4 @@ /**

nonExistingFiles.push(file);
} else {
throw err;
}

@@ -83,2 +87,3 @@ }

nonExistingFiles.forEach(function(file){
file = path.normalize(file);
var glob = new Glob(file, { sync: true, stat: true });

@@ -85,0 +90,0 @@ if (glob.found.length){

{
"name": "file-set",
"version": "0.2.5",
"version": "0.2.6",
"description": "Expands file patterns, returning the matched and unmatched files and directories.",

@@ -5,0 +5,0 @@ "main": "lib/file-set.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