From 156f3b0c3ce8ae9cd10adf79417ba0284f4c0bb6 Mon Sep 17 00:00:00 2001 From: Diego Avalon Date: Tue, 8 Oct 2024 20:37:53 -0500 Subject: [PATCH] fix(cli): #1966 Migrates `glob-promise` dependency to Promise supported `glob` package [!IMPORTANT] Glob has native Promise support as of v9.0.0, please use it directly. I will not issue a deprecation notice on this package, because I can't deal with the volume of angry tickets that will follow. --- packages/faustwp-cli/src/blockset.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/faustwp-cli/src/blockset.ts b/packages/faustwp-cli/src/blockset.ts index b9dd4649e..07f50722c 100644 --- a/packages/faustwp-cli/src/blockset.ts +++ b/packages/faustwp-cli/src/blockset.ts @@ -1,7 +1,7 @@ import fetch from 'isomorphic-fetch'; import path from 'path'; import fs from 'fs-extra'; -import glob from 'glob-promise'; +import { glob } from 'glob'; import FormData from 'form-data'; import archiver from 'archiver'; import { spawnSync } from 'child_process';