Socket
Socket
Sign inDemoInstall

isite

Package Overview
Dependencies
Maintainers
1
Versions
353
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isite - npm Package Compare versions

Comparing version 2024.5.15 to 2024.5.16

2

apps/client-side/site_files/js/site.js

@@ -537,3 +537,3 @@ (function (window, document, undefined, $) {

site.hide = site.hideObject = function (obj) {
return site.to123(JSON.parse(obj));
return site.to123(JSON.stringify(obj));
};

@@ -540,0 +540,0 @@ site.show = site.showObject = function (obj) {

@@ -303,2 +303,7 @@ module.exports = function init(req, res, ____0, route) {

let path = null;
let hide = false;
if (name.startsWith('#')) {
hide = true;
name = name.replace('#', '');
}

@@ -318,3 +323,5 @@ if (!path || !____0.isFileExistsSync(path)) {

let arr = name.split('/');
if (arr.length === 2) {
if (arr.length === 1) {
path = ____0.path.join(route.parserDir, arr[0]);
} else if (arr.length === 2) {
path = ____0.path.join(____0.path.dirname(route.parserDir), 'apps', arr[0], 'site_files', ____0.path.extname(arr[1]).replace('.', ''), arr[1]);

@@ -357,2 +364,5 @@ } else if (arr.length === 3) {

txt = parser.js(txt);
if (hide) {
txt = ____0.hide(txt);
}
return txt;

@@ -365,2 +375,5 @@ } else if (name.endsWith('.css')) {

let txt = ____0.readFileSync(path);
if (hide) {
txt = ____0.hide(txt);
}
return txt;

@@ -367,0 +380,0 @@ }

{
"name": "isite",
"version": "2024.05.15",
"version": "2024.05.16",
"description": "Create High Level Multi-Language Web Site [Fast and Easy] ",

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

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