@komaci/cli 244.2.9 → 246.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,10 +1,11 @@
1
1
  import { basename, dirname } from 'path';
2
2
  import { generatePrimingDiagnosticsModule } from '@komaci/static-analyzer';
3
3
  import { readBundle } from '../../../lib/collectBundle.js';
4
- import glob from 'glob';
4
+ import globPkg from 'glob';
5
5
  import fs from 'fs';
6
+ const { globSync } = globPkg;
6
7
  export function collectGlobbedModulePaths(globPath) {
7
- return glob.sync(globPath).filter((path) => {
8
+ return globSync(globPath).filter((path) => {
8
9
  const info = fs.statSync(path);
9
10
  return info.isDirectory();
10
11
  });
@@ -1,8 +1,9 @@
1
1
  import logger from '../../../lib/log.js';
2
2
  import { analyzeBundle, collectGlobbedModulePaths } from './analyzeBundle.js';
3
3
  import chalk from 'chalk';
4
- import glob from 'glob';
4
+ import globPkg from 'glob';
5
5
  const { log, warn } = logger;
6
+ const { glob } = globPkg;
6
7
  /**
7
8
  * Runs the analyze command with the given Command Options.
8
9
  * @param cmdOptions
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@komaci/cli",
3
- "version": "244.2.9",
3
+ "version": "246.0.1",
4
4
  "description": "CLI utility that enables developers to use komaci from the command line.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -24,8 +24,8 @@
24
24
  "url": "https://github.com/AndrewHuffman/komaci/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@komaci/esm-generator": "244.2.9",
28
- "@komaci/static-analyzer": "244.2.9",
27
+ "@komaci/esm-generator": "246.0.1",
28
+ "@komaci/static-analyzer": "246.0.1",
29
29
  "@lwc/errors": "~2.40.0",
30
30
  "@lwc/metadata": "2.40.0-0",
31
31
  "@lwc/sfdc-compiler-utils": "2.40.0-0",