@adinsure-ops/ops-cli 5.0.10-rc1 → 5.0.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.
package/CHANGELOGS.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelogs
2
2
 
3
+ ## 5.0.10 2023-03-20
4
+
5
+ - LJADIRDSUP-13469: added gurads for checking if the npmrc file being read is a directory
6
+
7
+
3
8
  ## 5.0.9: 2023-01-03
4
9
 
5
10
  - ops-cli sql command is now case insensitive
package/lib/lib/npmrc.js CHANGED
@@ -17,7 +17,7 @@ export default class NpmRc {
17
17
  if (!fs.existsSync(this.filePath) && createIfNotExists) {
18
18
  fs.writeFileSync(this.filePath, JSON.stringify({}));
19
19
  }
20
- if (fs.existsSync(this.filePath)) {
20
+ if (fs.existsSync(this.filePath) && fs.lstatSync(this.filePath).isFile()) {
21
21
  this.load();
22
22
  }
23
23
  }
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.0.10-rc1",
2
+ "version": "5.0.10",
3
3
  "commands": {
4
4
  "doctor": {
5
5
  "id": "doctor",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adinsure-ops/ops-cli",
3
3
  "description": "Operations CLI for working with AdInsure",
4
- "version": "5.0.10-rc1",
4
+ "version": "5.0.10",
5
5
  "author": "Adacta Digital Service Department",
6
6
  "bin": {
7
7
  "ops": "./bin/run.js"