mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-23 11:44:06 -08:00
⚡ Replace glob-promise with fast-glob (#2096)
Co-authored-by: lublak <lublak.de@gmail.com>
This commit is contained in:
parent
0a5b9ed153
commit
199377e183
|
@ -21,7 +21,7 @@ import {
|
|||
} from 'n8n-workflow';
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as glob from 'glob-promise';
|
||||
import * as glob from 'fast-glob';
|
||||
import * as path from 'path';
|
||||
|
||||
export class ImportCredentialsCommand extends Command {
|
||||
|
|
|
@ -16,7 +16,7 @@ import {
|
|||
} from 'n8n-workflow';
|
||||
|
||||
import * as fs from 'fs';
|
||||
import * as glob from 'glob-promise';
|
||||
import * as glob from 'fast-glob';
|
||||
import * as path from 'path';
|
||||
import {
|
||||
UserSettings,
|
||||
|
|
|
@ -98,8 +98,8 @@
|
|||
"csrf": "^3.1.0",
|
||||
"dotenv": "^8.0.0",
|
||||
"express": "^4.16.4",
|
||||
"fast-glob": "^3.2.5",
|
||||
"flatted": "^2.0.0",
|
||||
"glob-promise": "^3.4.0",
|
||||
"google-timezones-json": "^1.0.2",
|
||||
"inquirer": "^7.0.1",
|
||||
"json-diff": "^0.5.4",
|
||||
|
|
|
@ -22,8 +22,8 @@ import {
|
|||
readdir as fsReaddir,
|
||||
readFile as fsReadFile,
|
||||
stat as fsStat,
|
||||
} from 'fs/promises';
|
||||
import * as glob from 'glob-promise';
|
||||
} from 'fs/promises';
|
||||
import * as glob from 'fast-glob';
|
||||
import * as path from 'path';
|
||||
|
||||
const CUSTOM_NODES_CATEGORY = 'Custom Nodes';
|
||||
|
|
|
@ -4,7 +4,7 @@ import {
|
|||
INodeType,
|
||||
INodeTypeDescription,
|
||||
} from 'n8n-workflow';
|
||||
import * as glob from 'glob-promise';
|
||||
import * as glob from 'fast-glob';
|
||||
import * as path from 'path';
|
||||
|
||||
import {
|
||||
|
|
|
@ -652,9 +652,9 @@
|
|||
"cron": "^1.7.2",
|
||||
"eventsource": "^1.0.7",
|
||||
"fflate": "^0.7.0",
|
||||
"fast-glob": "^3.2.5",
|
||||
"formidable": "^1.2.1",
|
||||
"get-system-fonts": "^2.0.2",
|
||||
"glob-promise": "^3.4.0",
|
||||
"gm": "^1.23.1",
|
||||
"iconv-lite": "^0.6.2",
|
||||
"ics": "^2.27.0",
|
||||
|
|
Loading…
Reference in a new issue