From 3e409748fb09265659192bfc7b48655505d77590 Mon Sep 17 00:00:00 2001 From: Seth Bertalotto Date: Tue, 11 Apr 2023 14:21:13 -0700 Subject: [PATCH] chore(atomizer): update glob and minimatch to latest (#632) --- .changeset/eight-scissors-arrive.md | 5 +++++ package.json | 2 +- packages/atomizer/package.json | 4 ++-- scripts/buildSearch.mjs | 4 ++-- 4 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 .changeset/eight-scissors-arrive.md diff --git a/.changeset/eight-scissors-arrive.md b/.changeset/eight-scissors-arrive.md new file mode 100644 index 00000000..e1cb6e3d --- /dev/null +++ b/.changeset/eight-scissors-arrive.md @@ -0,0 +1,5 @@ +--- +"atomizer": minor +--- + +chore(atomizer): update glob and minimatch to latest versions diff --git a/package.json b/package.json index 7fc877d1..8a085154 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "file-saver": "^2.0.5", "fluxible": "^1.4.2", "fluxible-addons-react": "^1.2.0", - "glob": "^8.0.3", + "glob": "^10.0.0", "grunt": "^1.5.3", "grunt-cli": "^1.4.3", "grunt-contrib-clean": "^2.0.0", diff --git a/packages/atomizer/package.json b/packages/atomizer/package.json index 904e8731..2151e123 100644 --- a/packages/atomizer/package.json +++ b/packages/atomizer/package.json @@ -39,9 +39,9 @@ "chalk": "^4.0.0", "chokidar": "^3.5.3", "commander": "^10.0.0", - "glob": "^8.0.3", + "glob": "^10.0.0", "lodash": "^4.17.21", - "minimatch": "^6.1.5", + "minimatch": "^9.0.0", "xregexp": "^5.1.0" }, "repository": { diff --git a/scripts/buildSearch.mjs b/scripts/buildSearch.mjs index fb3de553..8939671c 100644 --- a/scripts/buildSearch.mjs +++ b/scripts/buildSearch.mjs @@ -8,7 +8,7 @@ */ import fs from 'fs'; -import glob from 'glob'; +import { sync } from 'glob'; import lodash from 'lodash'; import lunr from 'lunr'; import { marked } from 'marked'; @@ -75,7 +75,7 @@ const globOpts = { cwd: DOCS_PATH, ignore: ['**/index.md', '404.md', 'README.md'], }; -const files = glob.sync(pattern, globOpts); +const files = sync(pattern, globOpts); // setup index const index = lunr(function () {