Replace glob-promise with fast-glob (#2096)

Co-authored-by: lublak <lublak.de@gmail.com>
This commit is contained in:
Omar Ajoue 2021-08-20 23:48:02 +02:00 committed by GitHub
parent 0a5b9ed153
commit 199377e183
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 7 deletions

View file

@ -21,7 +21,7 @@ import {
} from 'n8n-workflow'; } from 'n8n-workflow';
import * as fs from 'fs'; import * as fs from 'fs';
import * as glob from 'glob-promise'; import * as glob from 'fast-glob';
import * as path from 'path'; import * as path from 'path';
export class ImportCredentialsCommand extends Command { export class ImportCredentialsCommand extends Command {

View file

@ -16,7 +16,7 @@ import {
} from 'n8n-workflow'; } from 'n8n-workflow';
import * as fs from 'fs'; import * as fs from 'fs';
import * as glob from 'glob-promise'; import * as glob from 'fast-glob';
import * as path from 'path'; import * as path from 'path';
import { import {
UserSettings, UserSettings,

View file

@ -98,8 +98,8 @@
"csrf": "^3.1.0", "csrf": "^3.1.0",
"dotenv": "^8.0.0", "dotenv": "^8.0.0",
"express": "^4.16.4", "express": "^4.16.4",
"fast-glob": "^3.2.5",
"flatted": "^2.0.0", "flatted": "^2.0.0",
"glob-promise": "^3.4.0",
"google-timezones-json": "^1.0.2", "google-timezones-json": "^1.0.2",
"inquirer": "^7.0.1", "inquirer": "^7.0.1",
"json-diff": "^0.5.4", "json-diff": "^0.5.4",

View file

@ -22,8 +22,8 @@ import {
readdir as fsReaddir, readdir as fsReaddir,
readFile as fsReadFile, readFile as fsReadFile,
stat as fsStat, stat as fsStat,
} from 'fs/promises'; } from 'fs/promises';
import * as glob from 'glob-promise'; import * as glob from 'fast-glob';
import * as path from 'path'; import * as path from 'path';
const CUSTOM_NODES_CATEGORY = 'Custom Nodes'; const CUSTOM_NODES_CATEGORY = 'Custom Nodes';

View file

@ -4,7 +4,7 @@ import {
INodeType, INodeType,
INodeTypeDescription, INodeTypeDescription,
} from 'n8n-workflow'; } from 'n8n-workflow';
import * as glob from 'glob-promise'; import * as glob from 'fast-glob';
import * as path from 'path'; import * as path from 'path';
import { import {

View file

@ -652,9 +652,9 @@
"cron": "^1.7.2", "cron": "^1.7.2",
"eventsource": "^1.0.7", "eventsource": "^1.0.7",
"fflate": "^0.7.0", "fflate": "^0.7.0",
"fast-glob": "^3.2.5",
"formidable": "^1.2.1", "formidable": "^1.2.1",
"get-system-fonts": "^2.0.2", "get-system-fonts": "^2.0.2",
"glob-promise": "^3.4.0",
"gm": "^1.23.1", "gm": "^1.23.1",
"iconv-lite": "^0.6.2", "iconv-lite": "^0.6.2",
"ics": "^2.27.0", "ics": "^2.27.0",