puvox-library 1.0.80 → 1.0.82

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.
@@ -408,7 +408,7 @@ declare class PuvoxLibrary {
408
408
  customCacheDir: null;
409
409
  get_dir(): any;
410
410
  set_dir(dir: any, auto_clear_seconds?: null): any;
411
- filePath(uniqFileName: any): any;
411
+ filePath(uniqFileName: any): string;
412
412
  get(uniqFileName: any, defaultContent?: string, expire_seconds?: number, decode?: boolean): any;
413
413
  set(uniqFileName: any, content: any): any;
414
414
  containerDefaultPrefix: string;
@@ -3089,7 +3089,7 @@ class PuvoxLibrary {
3089
3089
  const parent = this.mainClass();
3090
3090
  uniqFileName = parent.isString(uniqFileName) || parent.isNumeric(uniqFileName) ? uniqFileName : JSON.stringify(uniqFileName);
3091
3091
  uniqFileName = parent.sanitize_key_dashed(parent.getCharsFromStart(uniqFileName, 15)) + "_"+ parent.md5(uniqFileName);
3092
- filePath= this.get_dir() + uniqFileName + "_tmp"; //"/".
3092
+ const filePath = this.get_dir() + uniqFileName + "_tmp"; //"/".
3093
3093
  return filePath;
3094
3094
  }
3095
3095
  //
@@ -3103,7 +3103,7 @@ class PuvoxLibrary {
3103
3103
  return defaultContent;
3104
3104
  }
3105
3105
  else{
3106
- cont = parent.file.read(filePath, null);
3106
+ const cont = parent.file.read(filePath, null);
3107
3107
  // if specifically array, then on empty, reckon as array
3108
3108
  if (cont===null)
3109
3109
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "puvox-library",
3
- "version": "1.0.80",
3
+ "version": "1.0.82",
4
4
  "description": "library-class-javascript",
5
5
  "main": "library_standard.js",
6
6
  "scripts": {