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

mobileui

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mobileui - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

17

bin/utils/template.js

@@ -29,5 +29,4 @@ var fs = require('fs');

var headerRequest = { uri: repoTemplates+templateName+'/'+temp.files[filesDownloaded], rejectUnauthorized: false }
var req = request(headerRequest)
.pipe(fs.createWriteStream("."+folder+"/"+temp.files[filesDownloaded]))
.on('close', function (err) {
request(headerRequest, function (err, response, body) {
fs.writeFileSync("."+folder+"/"+temp.files[filesDownloaded], response.data);
filesDownloaded++;

@@ -39,3 +38,15 @@ if(totalFiles === filesDownloaded) {

}
// response.data.pipe(fs.createWriteStream("."+folder+"/"+temp.files[filesDownloaded]))
// .on('close', function (err) {
// filesDownloaded++;
// if(totalFiles === filesDownloaded) {
// callback();
// } else {
// download();
// }
// })
})
}

@@ -42,0 +53,0 @@ download();

2

package.json
{
"name": "mobileui",
"version": "2.0.0",
"version": "2.0.1",
"description": "MobileUI is a simple and easy NPM package to install UI Components for web mobile apps using HTML, CSS and JavaScript.",

@@ -5,0 +5,0 @@ "main": "./bin/mobileui",

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