@nodescript/cli
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -16,7 +16,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { fileURLToPath } from 'url'; | ||
import { promisify } from 'util'; | ||
import Yaml from 'yaml'; | ||
import { CliOptionsSchema } from '../options.js'; | ||
import { isFileExists } from '../util.js'; | ||
const globAsync = promisify(glob); | ||
const __dirname = path.dirname(fileURLToPath(import.meta.url)); | ||
@@ -39,3 +37,3 @@ export class ConfigManager { | ||
const resourcesDir = path.join(__dirname, '../../../resources'); | ||
const resources = await globAsync('**/*', { | ||
const resources = await glob('**/*', { | ||
cwd: resourcesDir, | ||
@@ -42,0 +40,0 @@ dot: true, |
@@ -12,5 +12,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
import { dep } from 'mesh-ioc'; | ||
import { promisify } from 'util'; | ||
import { ConfigManager } from './config.js'; | ||
const globAsync = promisify(glob); | ||
export class WorkdirManager { | ||
@@ -20,3 +18,3 @@ async *readModuleDescriptors() { | ||
const { pattern, sourceUrl } = group; | ||
const files = await globAsync(pattern, { | ||
const files = await glob(pattern, { | ||
cwd: this.rootDir, | ||
@@ -23,0 +21,0 @@ }); |
{ | ||
"name": "@nodescript/cli", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"type": "module", | ||
@@ -42,3 +42,3 @@ "description": "NodeScript CLI", | ||
"dotenv": "^16.0.2", | ||
"glob": "^8.0.3", | ||
"glob": "^9.2.1", | ||
"mesh-ioc": "^3.1.4", | ||
@@ -45,0 +45,0 @@ "reflect-metadata": "^0.1.13", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32467
471
+ Addedglob@9.3.5(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@8.0.4(transitive)
+ Addedminipass@4.2.87.1.2(transitive)
+ Addedpath-scurry@1.11.1(transitive)
- Removedglob@8.1.0(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@5.1.6(transitive)
- Removedonce@1.4.0(transitive)
- Removedwrappy@1.0.2(transitive)
Updatedglob@^9.2.1