You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

fis-scaffold-kernel

Package Overview
Dependencies
Maintainers
3
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-scaffold-kernel - npm Package Compare versions

Comparing version

to
0.1.1

4

index.js

@@ -22,3 +22,3 @@ var path = require('path');

Scaffold.prototype.download = function (id, cb, progress) {
Scaffold.prototype.download = function (id, cb, progress, options) {
log.notice('will download component id: ' + id);

@@ -35,3 +35,3 @@ if (!id) {

log.notice(type + ': download start');
request.download(id, cb, progress);
request.download(id, cb, progress, options);
};

@@ -38,0 +38,0 @@

@@ -6,3 +6,3 @@ var exports = module.exports = function (option) {

exports.prototype.download = function (id, cb, progress) {
exports.prototype.download = function (id, cb, progress, options) {
if (!id) {

@@ -18,3 +18,8 @@ cb(new Error('must given a component ID'));

var url = this.repos + c[0] + this.postfix + c[1];
if (options && options.token) {
url += '&private_token=' + options.token;
}
util.download(url,null, cb, progress);
};
};
{
"name": "fis-scaffold-kernel",
"version": "0.1.0",
"version": "0.1.1",
"description": "fis-scaffold-kernel",

@@ -5,0 +5,0 @@ "main": "index.js",