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.6 to 1.8.7

19

install.js

@@ -0,1 +1,2 @@

const fs = require('fs');
const path = require('path');

@@ -7,3 +8,19 @@ const copy = require('recursive-copy');

const dest_ogx = path.normalize(__dirname+'./../../../ogx');
let index_exists = fs.existsSync(dest_www+'/index.html');
let app_exists = fs.existsSync(dest_www+'/app.json');
if(index_exists){
fs.renameSync(dest_www+'/index.html', dest_www+'/index.bak');
}
if(app_exists){
fs.renameSync(dest_www+'/app.json', dest_www+'/app.bak');
}
copy(src_www, dest_www, {overwrite:true});
copy(src_ogx, dest_ogx, {overwrite:true});
copy(src_ogx, dest_ogx, {overwrite:true});
if(index_exists){
fs.unlinkSync(dest_www+'/index.html');
fs.renameSync(dest_www+'/index.bak', dest_www+'/index.html');
}
if(app_exists){
fs.unlinkSync(dest_www+'/app.json');
fs.renameSync(dest_www+'/app.bak', dest_www+'/app.json');
}

3

package.json
{
"name": "@globules-io/ogx.js",
"version": "1.8.6",
"version": "1.8.7",
"description": "Javascript framework for webviews",
"dependencies": {
"fs": "^0.0.1-security",
"path": "latest",

@@ -7,0 +8,0 @@ "recursive-copy": "^2.0.13"

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