Skip to content

Commit 48e0253

Browse files
Bump glob from 7.2.0 to 11.0.0 (#450)
* Bump glob from 7.2.0 to 11.0.0 Bumps [glob](https://github.com/isaacs/node-glob) from 7.2.0 to 11.0.0. - [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md) - [Commits](isaacs/node-glob@v7.2.0...v11.0.0) --- updated-dependencies: - dependency-name: glob dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * feat: update glob import in utils Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
1 parent e3ba94e commit 48e0253

File tree

3 files changed

+766
-247
lines changed

3 files changed

+766
-247
lines changed

lib/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const fs = require('fs-extra');
22
const path = require('path');
3-
const glob = require('glob');
3+
const { glob } = require('glob');
44
const crypto = require('crypto');
55
const flatten = require('lodash/flatten');
66

@@ -28,12 +28,12 @@ module.exports = {
2828
if(locale === undefined || locale.startsWith('en')) return [];
2929

3030
const withDialect = ['pt', 'zh'];
31-
31+
3232
let lang = locale;
3333
if(lang.includes('.')) {
3434
lang = lang.substring(0, lang.indexOf('.'));
3535
}
36-
36+
3737
// Check for language code & country code.
3838
let ll = lang, cc = '';
3939
if(lang.includes('_')) {

0 commit comments

Comments
 (0)