isite 2025.7.1 → 2025.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -319,10 +319,10 @@ module.exports = function init(options) {
319
319
  ____0.dashboard(____0);
320
320
 
321
321
  ____0.importApps = function (app_dir) {
322
- if (____0.isFileExistsSync(app_dir) && ____0.fs.lstatSync(app_dir).isDirectory()) {
322
+ if (____0.isFileExistsSync(app_dir) && ____0.fs.statSync(app_dir).isDirectory()) {
323
323
  ____0.log('=== Auto Importing Apps : ' + app_dir);
324
324
  ____0.fs.readdirSync(app_dir).forEach((file) => {
325
- if (____0.fs.lstatSync(app_dir + '/' + file).isDirectory()) {
325
+ if (____0.fs.statSync(app_dir + '/' + file).isDirectory()) {
326
326
  ____0.importApp(app_dir + '/' + file);
327
327
  }
328
328
  });
@@ -371,10 +371,10 @@ module.exports = function init(options) {
371
371
  };
372
372
 
373
373
  if (____0.options.apps === !0) {
374
- if (____0.isFileExistsSync(____0.options.apps_dir) && ____0.fs.lstatSync(____0.options.apps_dir).isDirectory()) {
374
+ if (____0.isFileExistsSync(____0.options.apps_dir) && ____0.fs.statSync(____0.options.apps_dir).isDirectory()) {
375
375
  ____0.log('\n=== Auto Loading Default Apps ===');
376
376
  ____0.fs.readdirSync(____0.options.apps_dir).forEach((file) => {
377
- if (____0.fs.lstatSync(____0.options.apps_dir + '/' + file).isDirectory()) {
377
+ if (____0.fs.statSync(____0.options.apps_dir + '/' + file).isDirectory()) {
378
378
  ____0.loadApp(file);
379
379
  }
380
380
  });
package/lib/routing.js CHANGED
@@ -467,7 +467,7 @@ module.exports = function init(____0) {
467
467
  }
468
468
  try {
469
469
  route.name = arr.join('/');
470
- if (typeof route.path == 'string' && ____0.fs.lstatSync(route.path).isDirectory()) {
470
+ if (typeof route.path == 'string' && ____0.fs.statSync(route.path).isDirectory()) {
471
471
  ____0.fs.readdirSync(route.path).forEach((file) => {
472
472
  let r2 = { ...route };
473
473
  if (route.name.endsWith('/')) {
@@ -11,10 +11,10 @@ exports = module.exports = function init(____0) {
11
11
  f = ____0.path.join(f00, f);
12
12
  ____0.fs.access(f, ____0.fs.F_OK, (err) => {
13
13
  if (!err) {
14
- if (____0.fs.lstatSync(f).isDirectory()) {
14
+ if (____0.fs.statSync(f).isDirectory()) {
15
15
  df(f);
16
16
  }
17
- if (____0.fs.lstatSync(f).isFile()) {
17
+ if (____0.fs.statSync(f).isFile()) {
18
18
  ____0.fs.unlink(f);
19
19
  }
20
20
  }
@@ -49,7 +49,7 @@ module.exports = function (____0) {
49
49
  let ff = ____0.path.join(____0.path.dirname(____0.dir), f);
50
50
  ____0.fs.access(ff, ____0.fs.F_OK, (err) => {
51
51
  if (!err && !f.like('*.zip') && !f.like('*.rar')) {
52
- if (____0.fs.lstatSync(ff).isFile()) {
52
+ if (____0.fs.statSync(ff).isFile()) {
53
53
  if (!finalize) {
54
54
  archive.file(ff, {
55
55
  name: f,
@@ -78,10 +78,10 @@ module.exports = function (____0) {
78
78
  f = ____0.path.join(f00, f);
79
79
  ____0.fs.access(f, ____0.fs.F_OK, (err) => {
80
80
  if (!err) {
81
- if (____0.fs.lstatSync(f).isDirectory()) {
81
+ if (____0.fs.statSync(f).isDirectory()) {
82
82
  df(f);
83
83
  }
84
- if (____0.fs.lstatSync(f).isFile()) {
84
+ if (____0.fs.statSync(f).isFile()) {
85
85
  ____0.fs.unlink(f);
86
86
  }
87
87
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "isite",
3
- "version": "2025.07.01",
3
+ "version": "2025.07.02",
4
4
  "description": "Create High Level Multi-Language Web Site [Fast and Easy] ",
5
5
  "main": "index.js",
6
6
  "repository": {