@uxf/scripts 11.86.0 → 11.88.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/scripts",
3
- "version": "11.86.0",
3
+ "version": "11.88.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -30,11 +30,11 @@
30
30
  "author": "",
31
31
  "license": "ISC",
32
32
  "dependencies": {
33
- "axios": "1.12.2",
33
+ "axios": "1.13.2",
34
34
  "cheerio": "1.1.2",
35
- "dayjs": "1.11.18",
35
+ "dayjs": "1.11.19",
36
36
  "fast-glob": "3.3.3",
37
- "got": "14.6.0",
37
+ "got": "14.6.3",
38
38
  "madge": "8.0.0",
39
39
  "robots-txt-parser": "2.0.3",
40
40
  "yaml": "2.8.1",
@@ -4,13 +4,11 @@ const path = require("path");
4
4
  const yarnLockPath = path.resolve(process.cwd(), "yarn.lock");
5
5
  const packageJsonPath = path.resolve(process.cwd(), "package.json");
6
6
 
7
- function parseLockFile() {
8
- (async () => {
9
- const YAML = await import("yaml");
7
+ async function parseLockFile() {
8
+ const YAML = await import("yaml");
10
9
 
11
- const content = fs.readFileSync(yarnLockPath, "utf8");
12
- return YAML.parse(content);
13
- })();
10
+ const content = fs.readFileSync(yarnLockPath, "utf8");
11
+ return YAML.parse(content);
14
12
  }
15
13
 
16
14
  function parsePackageJson() {
@@ -80,7 +78,7 @@ function checkMultipleVersions(dependencyMap, excludedPackages = new Set()) {
80
78
  }
81
79
 
82
80
  async function checkUxfDependencies(excludedPackages = new Set()) {
83
- const lockData = await parseLockFile;
81
+ const lockData = await parseLockFile();
84
82
  const packageJson = parsePackageJson();
85
83
 
86
84
  const uxfPackages = findUxfPackagesInDependencies(lockData, packageJson);