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

fis-command-install

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-command-install - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

25

install.js

@@ -86,2 +86,27 @@ /*

.then(function() {
var roadmap = fis.config.get('roadmap.path', []);
var good = false;
var folder = path.basename(fis.config.get('component.dir') || '/components');
roadmap.every(function(item) {
var reg = item.reg.toString();
if (~reg.indexOf(folder) && item.isMod) {
good = true;
return false;
}
return true;
});
good || logger.warn('Please copy the following rule to you `roadmap.path`\n settings in `fos-conf.js`:\n' +
'{\n'+
' reg: /^\\/'+folder+'\\/.*\\.js$/i,\n' +
' jswrapper: {\n' +
' type: \'amd\'\n' +
' }\n' +
'}\n'
);
})
// 读取 components.json 如果存在

@@ -88,0 +113,0 @@ .then(function() {

2

package.json
{
"name": "fis-command-install",
"description": "fis install command.",
"version": "0.1.11",
"version": "0.1.12",
"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