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

@globules-io/ogx.js

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@globules-io/ogx.js - npm Package Compare versions

Comparing version 1.8.7-c to 1.8.7-d

9

install.js

@@ -13,8 +13,6 @@ const fs = require('fs');

const dest_app_bak = path.normalize(__dirname+'./../../../www/app.bak');
//if cli.json exists, check if we still use index.html
//if we dont, don't copy
//if index.html exits already, dont copy
let app_exists = fs.existsSync(dest_app);
let index_exists = fs.existsSync(dest_index);
let copy_index = !index_exists;
let remove_html = false;
if(fs.existsSync(dest_cli)){

@@ -24,5 +22,5 @@ let cli_config = fs.readFileSync(dest_cli, 'utf-8');

copy_index = false;
remove_html = true;
}
}
//if we're not copying, make a back up since it will be overwritten
if(!copy_index){

@@ -39,4 +37,7 @@ fs.renameSync(dest_index, dest_index_bak);

}
if(remove_html){
fs.unlinkSync(dest_index);
}
if(app_exists){
fs.renameSync(dest_app_bak, dest_app);
}
{
"name": "@globules-io/ogx.js",
"version": "1.8.7c",
"version": "1.8.7d",
"description": "Javascript framework for webviews",

@@ -5,0 +5,0 @@ "dependencies": {

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