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.18 to 0.0.19

13

lib/pageAnalyzer.js

@@ -26,4 +26,3 @@ /*

function getStaticResource(pageConf){
var deps = getRecursiveDeps(pageConf);
function getStaticResourceByDeps(selfID, deps){
var analyzeCache = {};

@@ -34,3 +33,3 @@ var staticSyncPool = [];

//push page it self to all to handle deps
all.push(pageConf.id);
all.push(selfID);
all.forEach(function(id){

@@ -87,2 +86,7 @@ var childDeps = getStaticDepsFromMapJson(id);

function getStaticResource(pageConf){
var deps = getRecursiveDeps(pageConf);
return getStaticResourceByDeps(pageConf.id, deps);
}
function getStaticResourcePkg(pageConf){

@@ -236,3 +240,4 @@ var deps = getStaticResource(pageConf);

getStaticResource:getStaticResource,
getStaticResourcePkg:getStaticResourcePkg
getStaticResourcePkg:getStaticResourcePkg,
getStaticResourceByDeps:getStaticResourceByDeps
}

@@ -239,0 +244,0 @@ };

@@ -25,2 +25,3 @@ /*

var pkgs = null;
var uriResPool = null;
options = options || {};

@@ -33,2 +34,3 @@ getConfs();

resPool = {};
uriResPool = {};
pkgs = {};

@@ -56,2 +58,3 @@ var configDir = options.configDir || fis.util.realpath(projectPath + "/config"),

resPool[resConf.id] = resConf;
uriResPool[resConf.uri] = resConf;
});

@@ -93,2 +96,6 @@ fis.util.merge(pkgs, moduleConf['pkg']);

function getResourceByUri(uri){
return uriResPool[uri];
}
return {

@@ -100,2 +107,3 @@ getConfs:getConfs,

getPackage:getPackage,
getResourceByUri:getResourceByUri,
getProjectPath: function(){

@@ -102,0 +110,0 @@ return projectPath;

{
"name": "fis-project-analyzer",
"version": "0.0.18",
"version": "0.0.19",
"main": "index.js",

@@ -5,0 +5,0 @@ "description": "A tool to analyze fis-plus project deps",

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