@luvio/bundlesize
Advanced tools
Comparing version 0.137.6 to 0.138.0
{ | ||
"name": "@luvio/bundlesize", | ||
"version": "0.137.6", | ||
"version": "0.138.0", | ||
"main": "src/index.js", | ||
@@ -13,5 +13,7 @@ "bin": { | ||
"brotli-size": "^4.0.0", | ||
"bytes": "^3.1.2", | ||
"cosmiconfig": "^8.1.0", | ||
"glob": "^9.2.1", | ||
"terser": "^5.16.5" | ||
} | ||
} |
const fs = require('node:fs/promises'); | ||
const bytes = require('bytes'); | ||
const glob = require('glob'); | ||
const { globSync } = require('glob'); | ||
const { cosmiconfig } = require('cosmiconfig'); | ||
@@ -72,3 +72,3 @@ const { minify } = require('terser'); | ||
for (const file of config) { | ||
const paths = glob.sync(file.path); | ||
const paths = globSync(file.path); | ||
if (!paths.length) { | ||
@@ -75,0 +75,0 @@ throw new Error(`There is no matching file for ${file.path} in ${process.cwd()}`); |
5312
5
+ Addedbytes@^3.1.2
+ Addedglob@^9.2.1
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedbytes@3.1.2(transitive)
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@9.3.5(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@8.0.4(transitive)
+ Addedminipass@4.2.87.1.2(transitive)
+ Addedpath-scurry@1.11.1(transitive)