Bump glob from 8.1.0 to 9.2.1 (#9527)

* Bump glob from 8.1.0 to 9.2.1

Bumps [glob](https://github.com/isaacs/node-glob) from 8.1.0 to 9.2.1.
- [Release notes](https://github.com/isaacs/node-glob/releases)
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v8.1.0...v9.2.1)

---
updated-dependencies:
- dependency-name: glob
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* update build script to glob v9

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Raifer <martin@raifer.tech>
This commit is contained in:
dependabot[bot]
2023-03-06 13:44:52 +01:00
committed by GitHub
parent f818cfdd0d
commit 8b9ee46f7a
2 changed files with 3 additions and 12 deletions

View File

@@ -93,7 +93,7 @@
"eslint": "^8.8.0",
"fetch-mock": "^9.11.0",
"gaze": "^1.1.3",
"glob": "^8.0.3",
"glob": "^9.2.1",
"happen": "^0.3.2",
"js-yaml": "^4.0.0",
"json-stringify-pretty-compact": "^3.0.0",

View File

@@ -29,8 +29,8 @@ function buildCSS() {
return _currBuild =
Promise.resolve()
.then(() => doGlob('css/**/*.css'))
.then(files => doConcat(files, 'dist/iD.css'))
.then(() => glob('css/**/*.css'))
.then(files => doConcat(files.sort(), 'dist/iD.css'))
.then(() => {
const css = fs.readFileSync('dist/iD.css', 'utf8');
return postcss([
@@ -54,15 +54,6 @@ function buildCSS() {
}
function doGlob(pattern) {
return new Promise((resolve, reject) => {
glob(pattern, (err, files) => {
if (err) return reject(err);
resolve(files);
});
});
}
function doConcat(files, output) {
return new Promise((resolve, reject) => {
concat(files, output, (err) => {