New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.2 to 2.0.3

5

fis-kernel.js

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

var name = Array.prototype.slice.call(arguments, 0).join('-');
if(fis.require._cache.hasOwnProperty(name)) return fis.require._cache[name];
var names = [];

@@ -87,3 +88,3 @@ for(var i = 0, len = fis.require.prefixes.length; i < len; i++){

try {
return require(pluginName);
return fis.require._cache[name] = require(pluginName);
} catch (e){

@@ -97,2 +98,4 @@ fis.log.error('load plugin [' + pluginName + '] error : ' + e.message);

fis.require._cache = {};
fis.require.prefixes = ['fis'];

@@ -99,0 +102,0 @@

3

lib/file.js

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

case '.js':
case '.jsx':
case '.coffee':

@@ -114,2 +115,4 @@ this.isJsLike = true;

case '.less':
case '.sass':
case '.styl':
case '.scss':

@@ -116,0 +119,0 @@ this.isCssLike = true;

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

'h', 'cshtml', 'asax', 'master',
'ascx', 'cs', 'ftl', 'vm', 'ejs'
'ascx', 'cs', 'ftl', 'vm', 'ejs',
'styl', 'jsx'
],

@@ -43,2 +44,3 @@ IMAGE_FILE_EXTS = [

'js' : 'text/javascript',
'jsx' : 'text/javascript',
'php' : 'text/html',

@@ -61,2 +63,4 @@ 'asp' : 'text/html',

'sass' : 'text/css',
'scss' : 'text/css',
'styl' : 'text/css',
'manifest' : 'text/cache-manifest',

@@ -63,0 +67,0 @@ //image

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

@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/",

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