@wmfs/smithereens
Advanced tools
Comparing version 1.58.0 to 1.59.0
@@ -0,1 +1,3 @@ | ||
# [1.59.0](https://github.com/wmfs/smithereens/compare/v1.58.0...v1.59.0) (2024-11-04) | ||
# [1.58.0](https://github.com/wmfs/smithereens/compare/v1.57.0...v1.58.0) (2024-11-04) | ||
@@ -2,0 +4,0 @@ |
@@ -5,3 +5,3 @@ 'use strict' | ||
const path = require('path') | ||
const glob = require('glob') | ||
const { glob } = require('glob') | ||
const fs = require('fs') | ||
@@ -52,12 +52,3 @@ const csvParser = require('csv-streamify') | ||
function expandLocation (fileSource) { | ||
return new Promise((resolve, reject) => { | ||
glob( | ||
fileSource, | ||
{ nodir: true, windowsPathsNoEscape: true }, | ||
(err, files) => { | ||
if (err) return reject(err) | ||
resolve(files) | ||
} | ||
) | ||
}) | ||
return glob(fileSource, { nodir: true, windowsPathsNoEscape: true }) | ||
} // expandLocation | ||
@@ -64,0 +55,0 @@ |
{ | ||
"name": "@wmfs/smithereens", | ||
"version": "1.58.0", | ||
"version": "1.59.0", | ||
"description": "Smash CSV files into more manageable files based on column values", | ||
@@ -26,3 +26,3 @@ "author": "West Midlands Fire Service", | ||
"debug": "4.3.7", | ||
"glob": "8.1.0", | ||
"glob": "11.0.0", | ||
"hash-sum": "2.0.0", | ||
@@ -29,0 +29,0 @@ "jsonfile": "6.1.0", |
72556
479
+ Added@isaacs/cliui@8.0.2(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@11.0.0(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@4.0.2(transitive)
+ Addedlru-cache@11.0.2(transitive)
+ Addedminimatch@10.0.1(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@2.0.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@8.1.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedminimatch@5.1.6(transitive)
Updatedglob@11.0.0