@zohodesk/codestandard-validator 0.0.4-exp-9 → 0.0.4-exp-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.
@@ -26,5 +26,8 @@ function performanceInstalllation({
26
26
  const end = performance.now();
27
27
  return `Package ${packageName}@${version} installed successfully and installed in ${end - start} ms`;
28
28
  }
29
- const result = performanceInstalllation(workerData.packageName, workerData.version);
29
+ const result = performanceInstalllation({
30
+ packageName: workerData.packageName,
31
+ version: workerData.version
32
+ });
30
33
  parentPort.postMessage(result);
@@ -10,7 +10,9 @@ const {
10
10
  printUninstalledPlugins
11
11
  } = require('./printUninstalledPlugins');
12
12
  function arePluginsInstalled() {
13
- let uninstalledPlugins = checkIfPluginsAreInstalled();
13
+ let {
14
+ uninstalledPlugins
15
+ } = checkIfPluginsAreInstalled();
14
16
  printUninstalledPlugins(uninstalledPlugins);
15
17
  installPlugins(uninstalledPlugins);
16
18
  }
@@ -6,9 +6,7 @@ const {
6
6
  const {
7
7
  createVersionControlFile
8
8
  } = require('../FileAndFolderOperations/versionControl');
9
- const {
10
- default: installPluginsByWorker
11
- } = require('./Worker/installPluginsByWoker');
9
+ const installPluginsByWorker = require('./Worker/installPluginsByWoker');
12
10
 
13
11
  /**
14
12
  * @function installPlugins - installs uninstalled plugins for the project
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/codestandard-validator",
3
- "version": "0.0.4-exp-9",
3
+ "version": "0.0.4-exp-10",
4
4
  "description": "library to enforce code standard using eslint",
5
5
  "main": "index.js",
6
6
  "scripts": {