@putkoff/abstract-utilities 0.1.222 → 0.1.224

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.
Files changed (90) hide show
  1. package/dist/cjs/index.js +18 -0
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/esm/index.js +18 -1
  4. package/dist/esm/index.js.map +1 -1
  5. package/dist/index.cjs +0 -0
  6. package/dist/index.cjs.map +0 -0
  7. package/dist/index.d.ts +2 -1
  8. package/dist/index.js +0 -0
  9. package/dist/index.js.map +0 -0
  10. package/dist/types/functions/auth_utils/imports.d.ts +0 -0
  11. package/dist/types/functions/auth_utils/index.d.ts +0 -0
  12. package/dist/types/functions/auth_utils/src/index.d.ts +0 -0
  13. package/dist/types/functions/auth_utils/src/token_utils.d.ts +0 -0
  14. package/dist/types/functions/config_utils/imports.d.ts +0 -0
  15. package/dist/types/functions/config_utils/index.d.ts +0 -0
  16. package/dist/types/functions/config_utils/src/config_utils.d.ts +0 -0
  17. package/dist/types/functions/config_utils/src/index.d.ts +0 -0
  18. package/dist/types/functions/constants_utils/index.d.ts +0 -0
  19. package/dist/types/functions/constants_utils/src/constants.d.ts +0 -0
  20. package/dist/types/functions/constants_utils/src/index.d.ts +0 -0
  21. package/dist/types/functions/env_utils/imports.d.ts +0 -0
  22. package/dist/types/functions/env_utils/index.d.ts +0 -0
  23. package/dist/types/functions/env_utils/src/index.d.ts +0 -0
  24. package/dist/types/functions/env_utils/src/window_utils.d.ts +0 -0
  25. package/dist/types/functions/fetch_utils/imports.d.ts +0 -0
  26. package/dist/types/functions/fetch_utils/index.d.ts +0 -0
  27. package/dist/types/functions/fetch_utils/src/fetch_utils.d.ts +0 -0
  28. package/dist/types/functions/fetch_utils/src/index.d.ts +0 -0
  29. package/dist/types/functions/fetch_utils/src/utils.d.ts +0 -0
  30. package/dist/types/functions/index.d.ts +0 -0
  31. package/dist/types/functions/path_utils/imports.d.ts +0 -0
  32. package/dist/types/functions/path_utils/index.d.ts +0 -0
  33. package/dist/types/functions/path_utils/src/base_dirs.d.ts +0 -0
  34. package/dist/types/functions/path_utils/src/function_dirs.d.ts +0 -0
  35. package/dist/types/functions/path_utils/src/index.d.ts +0 -0
  36. package/dist/types/functions/path_utils/src/misc_dirs.d.ts +0 -0
  37. package/dist/types/functions/path_utils/src/path_utils.browser.d.ts +0 -0
  38. package/dist/types/functions/path_utils/src/path_utils.d.ts +0 -0
  39. package/dist/types/functions/path_utils/src/path_utils.node.d.ts +0 -0
  40. package/dist/types/functions/path_utils/src/paths.d.ts +0 -0
  41. package/dist/types/functions/path_utils/src/src_dirs.d.ts +0 -0
  42. package/dist/types/functions/read_utils/imports.d.ts +0 -0
  43. package/dist/types/functions/read_utils/index.d.ts +0 -0
  44. package/dist/types/functions/read_utils/src/index.d.ts +0 -0
  45. package/dist/types/functions/read_utils/src/read_utils.browser.d.ts +0 -0
  46. package/dist/types/functions/read_utils/src/utils.browser.d.ts +0 -0
  47. package/dist/types/functions/read_utils/src/utils.d.ts +0 -0
  48. package/dist/types/functions/rndm_utils/imports.d.ts +0 -0
  49. package/dist/types/functions/rndm_utils/index.d.ts +0 -0
  50. package/dist/types/functions/rndm_utils/src/index.d.ts +0 -0
  51. package/dist/types/functions/rndm_utils/src/utils.d.ts +0 -0
  52. package/dist/types/functions/safe_utils/imports.d.ts +0 -0
  53. package/dist/types/functions/safe_utils/index.d.ts +0 -0
  54. package/dist/types/functions/safe_utils/src/index.d.ts +0 -0
  55. package/dist/types/functions/safe_utils/src/safe_document.d.ts +0 -0
  56. package/dist/types/functions/safe_utils/src/safe_globals.d.ts +0 -0
  57. package/dist/types/functions/safe_utils/src/safe_storage.d.ts +0 -0
  58. package/dist/types/functions/safe_utils/src/safe_window.d.ts +0 -0
  59. package/dist/types/functions/string_utils/index.d.ts +0 -0
  60. package/dist/types/functions/string_utils/src/index.d.ts +0 -0
  61. package/dist/types/functions/string_utils/src/string_utils.d.ts +0 -0
  62. package/dist/types/functions/type_utils/imports.d.ts +0 -0
  63. package/dist/types/functions/type_utils/index.d.ts +0 -0
  64. package/dist/types/functions/type_utils/src/index.d.ts +0 -0
  65. package/dist/types/functions/type_utils/src/type_utils.d.ts +1 -0
  66. package/dist/types/functions/ui_utils/imports.d.ts +0 -0
  67. package/dist/types/functions/ui_utils/index.d.ts +0 -0
  68. package/dist/types/functions/ui_utils/src/button.d.ts +0 -0
  69. package/dist/types/functions/ui_utils/src/checkbox.d.ts +0 -0
  70. package/dist/types/functions/ui_utils/src/index.d.ts +0 -0
  71. package/dist/types/functions/ui_utils/src/input.d.ts +0 -0
  72. package/dist/types/functions/ui_utils/src/spinner.d.ts +0 -0
  73. package/dist/types/functions/variable_utils/imports.d.ts +0 -0
  74. package/dist/types/functions/variable_utils/index.d.ts +0 -0
  75. package/dist/types/functions/variable_utils/src/index.d.ts +0 -0
  76. package/dist/types/functions/variable_utils/src/variable_utils.d.ts +0 -0
  77. package/dist/types/index.d.ts +0 -0
  78. package/dist/types/types/index.d.ts +0 -0
  79. package/dist/types/types/src/ChangePassword.d.ts +0 -0
  80. package/dist/types/types/src/Files.d.ts +0 -0
  81. package/dist/types/types/src/index.d.ts +0 -0
  82. package/dist/types/types/src/login.d.ts +0 -0
  83. package/dist/types/types/src/logout.d.ts +0 -0
  84. package/dist/types/types/src/utils.d.ts +0 -0
  85. package/dist/types/utils/imports.d.ts +0 -0
  86. package/dist/types/utils/index.d.ts +0 -0
  87. package/dist/types/utils/src/Input.d.ts +0 -0
  88. package/dist/types/utils/src/config.d.ts +0 -0
  89. package/dist/types/utils/src/index.d.ts +0 -0
  90. package/package.json +1 -1
package/dist/index.cjs CHANGED
File without changes
File without changes
package/dist/index.d.ts CHANGED
@@ -333,6 +333,7 @@ declare function getChar(i: number, string: any): string | undefined;
333
333
  declare function isType(obj: any, type: string): boolean;
334
334
  declare function getNums(): string;
335
335
  declare function isNum(obj: any): boolean;
336
+ declare function ensure_number(object: any): number;
336
337
  declare function getAlphas(): string;
337
338
  declare function getAlphaNum(obj: any): string | undefined;
338
339
 
@@ -374,5 +375,5 @@ declare function processKeywords(keywords: string | string[]): string[];
374
375
  */
375
376
  declare function get_keyword_string(keywords: any): string;
376
377
 
377
- export { API_PREFIX, BASE_URL, Button, Checkbox, DEV_PREFIX, DOMAIN_NAME, Input, PROD_PREFIX, PROTOCOL, SUB_DIR, Spinner, alertit, assureArray, assureString, callStorage, callWindowMethod, capitalize, capitalize_str, checkResponse, cleanArray, cleanText, create_list_string, currentUsername, currentUsernames, decodeJwt, eatAll, eatEnd, eatInner, eatOuter, ensure_list, fetchIndexHtml, fetchIndexHtmlContainer, fetchIt, geAuthsUtilsDirectory, geBackupsUtilsDirectory, geConstantsUtilsDirectory, geEnvUtilsDirectory, geFetchUtilsDirectory, geFileUtilsDirectory, gePathUtilsDirectory, geStaticDirectory, geStringUtilsDirectory, geTypeUtilsDirectory, get, getAbsDir, getAbsPath, getAlphaNum, getAlphas, getAuthorizationHeader, getBaseDir, getBody, getChar, getCleanArray, getComponentsUtilsDirectory, getConfigContent, getConfigJson, getConfigVar, getDbConfigsPath, getDistDir, getDocumentProp, getEnvDir, getEnvPath, getFetchVars, getFunctionsDir, getFunctionsUtilsDirectory, getHeaders, getHooksUtilsDirectory, getHtmlDirectory, getLibUtilsDirectory, getMethod, getNums, getPublicDir, getResult, getSafeDocument, getSafeLocalStorage, getSafeWindow, getSchemasDirPath, getSchemasPath, getSrcDir, getSubstring, getToken, getWindowHost, getWindowProp, get_basename, get_dirname, get_extname, get_filename, get_key_value, get_keyword_string, get_splitext, get_window, get_window_location, get_window_parts, get_window_pathname, isLoggedIn, isNum, isStrInString, isTokenExpired, isType, make_path, make_sanitized_path, normalizeUrl, parseResult, processKeywords, readJsonFile, removeToken, requireToken, safeGlobalProp, safeStorage, sanitizeFilename, stripPrefixes, truncateString, tryParse };
378
+ export { API_PREFIX, BASE_URL, Button, Checkbox, DEV_PREFIX, DOMAIN_NAME, Input, PROD_PREFIX, PROTOCOL, SUB_DIR, Spinner, alertit, assureArray, assureString, callStorage, callWindowMethod, capitalize, capitalize_str, checkResponse, cleanArray, cleanText, create_list_string, currentUsername, currentUsernames, decodeJwt, eatAll, eatEnd, eatInner, eatOuter, ensure_list, ensure_number, fetchIndexHtml, fetchIndexHtmlContainer, fetchIt, geAuthsUtilsDirectory, geBackupsUtilsDirectory, geConstantsUtilsDirectory, geEnvUtilsDirectory, geFetchUtilsDirectory, geFileUtilsDirectory, gePathUtilsDirectory, geStaticDirectory, geStringUtilsDirectory, geTypeUtilsDirectory, get, getAbsDir, getAbsPath, getAlphaNum, getAlphas, getAuthorizationHeader, getBaseDir, getBody, getChar, getCleanArray, getComponentsUtilsDirectory, getConfigContent, getConfigJson, getConfigVar, getDbConfigsPath, getDistDir, getDocumentProp, getEnvDir, getEnvPath, getFetchVars, getFunctionsDir, getFunctionsUtilsDirectory, getHeaders, getHooksUtilsDirectory, getHtmlDirectory, getLibUtilsDirectory, getMethod, getNums, getPublicDir, getResult, getSafeDocument, getSafeLocalStorage, getSafeWindow, getSchemasDirPath, getSchemasPath, getSrcDir, getSubstring, getToken, getWindowHost, getWindowProp, get_basename, get_dirname, get_extname, get_filename, get_key_value, get_keyword_string, get_splitext, get_window, get_window_location, get_window_parts, get_window_pathname, isLoggedIn, isNum, isStrInString, isTokenExpired, isType, make_path, make_sanitized_path, normalizeUrl, parseResult, processKeywords, readJsonFile, removeToken, requireToken, safeGlobalProp, safeStorage, sanitizeFilename, stripPrefixes, truncateString, tryParse };
378
379
  export type { ApiRow, AppConfig, ChangePasswordFormProps, ChangePasswordProps, FetchVariables, FileItem, FileListResponse, InputProps, JwtPayload, LoginFormProps, LoginProps, LogoutButtonProps, Promise$1 as Promise, UrlKey };
package/dist/index.js CHANGED
File without changes
package/dist/index.js.map CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -11,5 +11,6 @@ export declare function getChar(i: number, string: any): string | undefined;
11
11
  export declare function isType(obj: any, type: string): boolean;
12
12
  export declare function getNums(): string;
13
13
  export declare function isNum(obj: any): boolean;
14
+ export declare function ensure_number(object: any): number;
14
15
  export declare function getAlphas(): string;
15
16
  export declare function getAlphaNum(obj: any): string | undefined;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@putkoff/abstract-utilities",
3
- "version": "0.1.222",
3
+ "version": "0.1.224",
4
4
  "description": "Reusable abstract utility functions and components for both Node and React.",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",