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.24 to 0.1.25

25

lib/remotes/github.js

@@ -219,11 +219,20 @@ var request = require('request');

var target = path.join(factory.settings.componentsDir, self.name);
var mapping = self.config.mapping || [{
reg: '*',
release: '$&'
}];
mapping.push({
reg: '**',
release: false
});
var mapping = self.config.mapping || [];
if (mapping.length) {
mapping.unshift({
reg: /^\/component.json$/i,
release: '$1'
});
mapping.push({
reg: '**',
release: false
});
} else {
mapping.push({
reg: '*',
release: '$&'
});
}
scaffold.deliver(location, target, mapping);

@@ -230,0 +239,0 @@ resolve(self);

@@ -171,11 +171,19 @@ var request = require('request');

var target = path.join(factory.settings.componentsDir, self.name);
var mapping = self.config.mapping || [{
reg: '*',
release: '$&'
}];
var mapping = self.config.mapping || [];
mapping.push({
reg: '**',
release: false
});
if (mapping.length) {
mapping.unshift({
reg: /^\/component.json$/i,
release: '$1'
});
mapping.push({
reg: '**',
release: false
});
} else {
mapping.push({
reg: '*',
release: '$&'
});
}
scaffold.deliver(location, target, mapping);

@@ -182,0 +190,0 @@

@@ -147,11 +147,20 @@ var request = require('request');

var target = path.join(factory.settings.componentsDir, self.name);
var mapping = self.config.mapping || [{
reg: '*',
release: '$&'
}];
mapping.push({
reg: '**',
release: false
});
var mapping = self.config.mapping || [];
if (mapping.length) {
mapping.unshift({
reg: /^\/component.json$/i,
release: '$1'
});
mapping.push({
reg: '**',
release: false
});
} else {
mapping.push({
reg: '*',
release: '$&'
});
}
scaffold.deliver(location, target, mapping);

@@ -158,0 +167,0 @@

{
"name": "fis-command-install",
"description": "fis install command.",
"version": "0.1.24",
"version": "0.1.25",
"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