@sap-ux/nodejs-utils 0.2.8 → 0.2.10

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.
@@ -47,7 +47,7 @@ async function findInstalledPackages(subName, options) {
47
47
  const installedGenPackageInfos = [];
48
48
  const matchedPackages = [];
49
49
  // Find all matching packages
50
- for await (const installPath of npmInstallPaths) {
50
+ for (const installPath of npmInstallPaths) {
51
51
  // Fast-glob search patterns must use forward-slashes, UNC can be used as `cwd`
52
52
  const matches = await (0, fast_glob_1.default)(`**/*${subName}*`, {
53
53
  cwd: installPath,
@@ -60,7 +60,7 @@ async function findInstalledPackages(subName, options) {
60
60
  }
61
61
  }
62
62
  // Read package.json
63
- for await (const packagePath of matchedPackages) {
63
+ for (const packagePath of matchedPackages) {
64
64
  const genPackageInfo = await getPackageInfo(packagePath, options?.minVersion);
65
65
  // Module naming pattern + keyword indicates Fiori gen extension
66
66
  if (genPackageInfo &&
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap-ux/nodejs-utils",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "Nodejs utility wrappers",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,13 +17,13 @@
17
17
  "fast-glob": "3.3.1",
18
18
  "read-pkg-up": "7.0.1",
19
19
  "semver": "7.5.4",
20
- "@sap-ux/btp-utils": "1.1.5"
20
+ "@sap-ux/btp-utils": "1.1.6"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@types/semver": "7.5.2",
24
24
  "@types/vscode": "1.73.1",
25
25
  "mock-spawn": "0.2.6",
26
- "@sap-ux/logger": "0.7.1"
26
+ "@sap-ux/logger": "0.7.2"
27
27
  },
28
28
  "files": [
29
29
  "dist",
@@ -39,8 +39,8 @@
39
39
  "watch": "tsc --watch",
40
40
  "clean": "rimraf --glob dist coverage *.tsbuildinfo",
41
41
  "format": "prettier --write '**/*.{js,json,ts,yaml,yml}' --ignore-path ../../.prettierignore",
42
- "lint": "eslint . --ext .ts",
43
- "lint:fix": "eslint . --ext .ts --fix",
42
+ "lint": "eslint",
43
+ "lint:fix": "eslint --fix",
44
44
  "test": "jest --ci --forceExit --detectOpenHandles --colors --silent",
45
45
  "test-u": "jest --ci --forceExit --detectOpenHandles --colors -u",
46
46
  "link": "pnpm link --global",