New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fis-project-analyzer

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-project-analyzer - npm Package Compare versions

Comparing version 0.0.13 to 0.0.14

7

lib/pageAnalyzer.js

@@ -55,6 +55,9 @@ /*

function getStaticDepsFromMapJson(id){
if (!analyzeCache[id])
if (!analyzeCache[id]){
analyzeCache[id] = true;
else
}
else{
fis.log.debug('skip analyzed item ['+id+']');
return {sync:[],async:[]};
}
fis.log.debug('analyze resource deps ['+id+']');

@@ -61,0 +64,0 @@ var conf = project.getResource(id);

{
"name": "fis-project-analyzer",
"version": "0.0.13",
"version": "0.0.14",
"main": "index.js",

@@ -8,3 +8,6 @@ "description": "A tool to analyze fis-plus project deps",

"scripts": {
"test": "mocha test/cases --recursive"
"test": "mocha --require blanket --reporter mocha-lcov-reporter --recursive test/cases | ./node_modules/coveralls/bin/coveralls.js",
"blanket": {
"pattern": "/lib"
}
},

@@ -22,4 +25,7 @@ "repository": {

"devDependencies": {
"blanket": "1.1.5",
"coveralls": "2.10.0",
"mocha-lcov-reporter": "0.0.1",
"mocha": "~1.4.0"
}
}

@@ -8,4 +8,4 @@ /*

'use strict';
//var fis = require('fis-kernel');
//fis.log.level = fis.log.L_ALL;
var fis = require('fis-kernel');
fis.log.level = fis.log.L_ALL;
var path = 'D:\\Work\\Code\\superman\\output';

@@ -30,10 +30,10 @@ var analyzerLib = require('./index.js');

//get package map
console.log(namespace);
console.log('----------------------------------------------------------------');
console.log('module name:', namespace);
console.log('-------------------------------------');
pages.forEach(function(page){
console.log(page.uri);
// console.log(analyzer.getStaticResource(page));
// console.log(JSON.stringify(analyzer.getStaticResource(page), null, 4));
// console.log('-------------------------------------');
console.log(JSON.stringify(analyzer.getStaticResourcePkg(page), null, 4));
// console.log('-------------------------------------');
console.log(analyzer.getStaticResourcePkg(page));
// console.log('-------------------------------------');
console.log('-------------------------------------');

@@ -40,0 +40,0 @@ });

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc