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

fis-command-release

Package Overview
Dependencies
Maintainers
2
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-command-release - npm Package Compare versions

Comparing version 0.9.5 to 0.9.6

11

lib/deploy.js

@@ -7,4 +7,5 @@ /*

'use strict';
var port = fis.config.get('livereload.port', 8132);
var hostname = fis.config.get('livereload.hostname', (function(){
var port;
var hostname;
var defaultHostname = (function(){
var net = require('os').networkInterfaces();

@@ -25,3 +26,3 @@ for(var key in net){

return '127.0.0.1';
})());
})();

@@ -113,2 +114,4 @@ function upload(receiver, to, release, content, subpath, callback){

if(dest.opt.live && file.isHtmlLike){
hostname = hostname || fis.config.get('livereload.hostname', defaultHostname);
port = port || fis.config.get('livereload.port', 8132);
var code = '<script type="text/javascript" charset="utf-8" src="http://' + hostname + ':' + port + '/livereload.js"></script>';

@@ -242,2 +245,2 @@ content = content.replace(/"(?:[^\\"\r\n\f]|\\[\s\S])*"|'(?:[^\\'\n\r\f]|\\[\s\S])*'|(<\/body>)/ig, function(m, $1){

exports.done = function(){};
exports.MAX_TASK_SIZE = 5;
exports.MAX_TASK_SIZE = 5;
{
"name" : "fis-command-release",
"description" : "fis release command.",
"version" : "0.9.5",
"version" : "0.9.6",
"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