Socket
Socket
Sign inDemoInstall

escomplex-plugin-metrics-project

Package Overview
Dependencies
1
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.11 to 0.0.12

4

dist/PluginMetricsProject.js

@@ -56,7 +56,7 @@ 'use strict';

value: function onProjectEnd(ev) {
var projectReport = ev.data.projectReport;
var pathModule = ev.data.pathModule;
var projectReport = ev.data.projectReport;
var settings = ev.data.settings;
_ProjectMetricCalculate2.default.calculate(pathModule, projectReport, settings);
_ProjectMetricCalculate2.default.calculate(projectReport, pathModule, settings);
}

@@ -63,0 +63,0 @@ }]);

@@ -28,4 +28,4 @@ 'use strict';

key: 'calculate',
value: function calculate(pathModule, projectReport, settings) {
var adjacencyMatrix = ProjectMetricCalculate.calculateAdjacencyMatrix(pathModule, projectReport);
value: function calculate(projectReport, pathModule, settings) {
var adjacencyMatrix = ProjectMetricCalculate.calculateAdjacencyMatrix(projectReport, pathModule);

@@ -46,4 +46,4 @@ if (!settings.noCoreSize) {

*
* @param {object} projectReport - The ProjectResult being processed.
* @param {object} pathModule - A module that conforms to the Node path API.
* @param {object} projectReport - The ProjectResult being processed.
*

@@ -56,3 +56,3 @@ * @returns {Array<Array<number>>}

key: 'calculateAdjacencyMatrix',
value: function calculateAdjacencyMatrix(pathModule, projectReport) {
value: function calculateAdjacencyMatrix(projectReport, pathModule) {
var modules = projectReport.modules;

@@ -59,0 +59,0 @@ var length = modules.length;

{
"name": "escomplex-plugin-metrics-project",
"version": "0.0.11",
"version": "0.0.12",
"homepage": "https://github.com/typhonjs-node-escomplex/escomplex-plugin-metrics-project/",

@@ -23,3 +23,3 @@ "description": "Provides the core project metric / report generation plugin for typhonjs-escomplex project processing.",

"dependencies": {
"typhonjs-escomplex-commons": "^0.0.15"
"typhonjs-escomplex-commons": "^0.0.16"
},

@@ -26,0 +26,0 @@ "devDependencies": {

@@ -36,8 +36,8 @@ import ProjectMetricCalculate from './ProjectMetricCalculate';

{
const projectReport = ev.data.projectReport;
const pathModule = ev.data.pathModule;
const projectReport = ev.data.projectReport;
const settings = ev.data.settings;
ProjectMetricCalculate.calculate(pathModule, projectReport, settings);
ProjectMetricCalculate.calculate(projectReport, pathModule, settings);
}
}

@@ -6,5 +6,5 @@ import MathUtil from 'typhonjs-escomplex-commons/src/utils/MathUtil';

{
static calculate(pathModule, projectReport, settings)
static calculate(projectReport, pathModule, settings)
{
const adjacencyMatrix = ProjectMetricCalculate.calculateAdjacencyMatrix(pathModule, projectReport);
const adjacencyMatrix = ProjectMetricCalculate.calculateAdjacencyMatrix(projectReport, pathModule);

@@ -26,4 +26,4 @@ if (!settings.noCoreSize)

*
* @param {object} projectReport - The ProjectResult being processed.
* @param {object} pathModule - A module that conforms to the Node path API.
* @param {object} projectReport - The ProjectResult being processed.
*

@@ -33,3 +33,3 @@ * @returns {Array<Array<number>>}

*/
static calculateAdjacencyMatrix(pathModule, projectReport)
static calculateAdjacencyMatrix(projectReport, pathModule)
{

@@ -36,0 +36,0 @@ const modules = projectReport.modules;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc