Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fis-kernel

Package Overview
Dependencies
Maintainers
2
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-kernel - npm Package Compare versions

Comparing version 2.0.9 to 2.0.10

0

fis-kernel.js

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

@@ -0,0 +0,0 @@ /*

10

lib/project.js

@@ -20,9 +20,9 @@ /*

if (fis.util.is(exclude, 'Array')){
project_exclude = exclude.concat([project_exclude]);
project_exclude = [project_exclude].concat(exclude);
}else if (exclude){
project_exclude = [project_exclude, exclude];
}
fis.util.find(root, null, project_exclude).forEach(function(file){
fis.util.find(root, include, project_exclude, root).forEach(function(file){
file = fis.file(file);
if(file.release && fis.util.filter(file.subpath, include, exclude)){
source[file.subpath] = file;
}
source[file.subpath] = file;
});

@@ -29,0 +29,0 @@ return source;

@@ -0,0 +0,0 @@ /*

@@ -22,4 +22,4 @@ /*

return value.replace(/\$(\d+|&)/g, function(all, $1){
var val = matches[$1 === '&' ? '0' : $1];
return (typeof val == 'undefined') ? all : val;
var key = $1 === '&' ? '0' : $1;
return matches.hasOwnProperty(key) ? (matches[key] || '') : all;
});

@@ -26,0 +26,0 @@ }

@@ -513,14 +513,15 @@ /*

_.find = function(rPath, include, exclude){
_.find = function(rPath, include, exclude, root){
var list = [],
path = _.realpath(rPath);
path = _.realpath(rPath),
filterPath = root ? path.substring(root.length) : path;
if(path){
var stat = fs.statSync(path);
if(stat.isDirectory()){
if(stat.isDirectory() && (include || _.filter(filterPath, include, exclude))){
fs.readdirSync(path).forEach(function(p){
if(p[0] != '.') {
list = list.concat(_.find(path + '/' + p, include, exclude));
list = list.concat(_.find(path + '/' + p, include, exclude, root));
}
});
} else if(stat.isFile() && _.filter(path, include, exclude)) {
} else if(stat.isFile() && _.filter(filterPath, include, exclude)) {
list.push(path);

@@ -527,0 +528,0 @@ }

@@ -0,0 +0,0 @@ Copyright (C) 2013 baidu.com

{
"name": "fis-kernel",
"description": "fis kernel.",
"version": "2.0.9",
"version": "2.0.10",
"author": "FIS Team <fis@baidu.com>",

@@ -30,4 +30,5 @@ "homepage": "http://fis.baidu.com/",

"fis-optimizer-uglify-js": "0.1.2",
"fis-packager-map": "0.0.9"
"fis-packager-map": "0.0.9",
"mocha": "^2.0.1"
}
}
# FIS Kernel
This is fis kernel.

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