Skip to content

Commit 2b7c1b9

Browse files
authored
chore: bump glob dependency (#272)
1 parent d0358b9 commit 2b7c1b9

File tree

4 files changed

+452
-85
lines changed

4 files changed

+452
-85
lines changed

NOTICE.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ DefinitelyTyped.org | @types/prosemirror-state | 1.2.4 - Open Source | MIT-style
3434
DefinitelyTyped.org | @types/prosemirror-tables | 0.9.1 - Open Source | MIT-style License
3535
DefinitelyTyped.org | @types/prosemirror-transform | 1.2.9 - Open Source | MIT-style License
3636
DefinitelyTyped.org | @types/prosemirror-view | 1.11.4 - Open Source | MIT-style License
37-
Isaac Z. Schlueter | glob | 7.1.3 - Open Source | ISC-style License
37+
Isaac Z. Schlueter | glob | 11.0.1 - Open Source | ISC-style License
3838
Jorik Tangelder (Eight Media) | HammerJS | 2.0.8 - Open Source | MIT-style License
3939
Matt Mueller | cheerio | 0.22 - Open Source | MIT-style License
40-
Progress Software Corporation | Kendo UI Licensing CLI | 1.1 - Proprietary |
40+
Progress Software Corporation | Kendo UI Licensing CLI | 1.1 - Proprietary |
4141
Progress Software Corporation | jszip-esm | 1.0.0 - Open Source | MIT-style License
4242
Progress Software Corporation | pako-esm | 1.0.0 - Open Source | MIT-style License
4343
ProseMirror | prosemiror-inputrules | 1.0.1 - Open Source | MIT-style License
@@ -325,7 +325,7 @@ technology is subject to the following terms and conditions:
325325

326326
(3) The ISC License:
327327

328-
(a) Progress Kendo UI for Angular 2022 incorporates glob v7.1.3. Such technology
328+
(a) Progress Kendo UI for Angular 2022 incorporates glob v11.0.1. Such technology
329329
is subject to the following terms and conditions:
330330

331331
The ISC License
@@ -433,7 +433,7 @@ subject to the following terms and conditions:
433433
@types/prosemirror-inputrules v1*, @types/prosemirror-keymap v1*, @types/prosemirror-model v1*,
434434
@types/prosemirror-schema-list v1*, @types/prosemirror-state v1*, @types/prosemirror-tables v0.9*,
435435
@types/prosemirror-transform v1*, and @types/prosemirror-view v1*. Such technologies are
436-
subject to the following terms and conditions:
436+
subject to the following terms and conditions:
437437

438438
This project is licensed under the MIT license.
439439
Copyrights are respective of each contributor listed at the beginning of each
@@ -640,7 +640,7 @@ Such technology is subject to the following terms and conditions:
640640
2. Special Notices Regarding Commercially Licensed Third-Party Components
641641
incorporated into the Product: NONE
642642

643-
3. Special Notices Regarding Progress Products incorporated into the Product:
643+
3. Special Notices Regarding Progress Products incorporated into the Product:
644644

645645
(a) Progress Kendo UI for Angular 2022 incorporates Kendo UI Licensing CLI v1.1
646646
from Progress Software Corporation. See NOTICE.txt text file within product for

bin/kendo-translate.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env node
22
'use strict';
33

4-
const glob = require('glob');
4+
const {glob} = require('glob');
55
const path = require('path');
66
const yaml = require('js-yaml');
77
const fs = require('fs');
@@ -51,9 +51,10 @@ const complete = (reject, resolve) => (error, result) => {
5151
};
5252

5353
// findFiles :: String => Task [FilePath]
54-
const findFiles = wildcard => new Task((reject, resolve) => {
55-
glob(wildcard, { nocase: true, root: msgRoot }, complete(reject, resolve));
56-
});
54+
const findFiles = (wildcard) =>
55+
new Task((reject, resolve) => {
56+
glob(wildcard, { nocase: true, root: msgRoot }).then(resolve).catch(reject);
57+
});
5758

5859
// readFile :: FilePath -> Task FileContent
5960
const readFile = filename => new Task((reject, resolve) => {

0 commit comments

Comments
 (0)