tiny-essentials 1.2.1 → 1.3.0

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.
@@ -6,5 +6,3 @@
6
6
  */
7
7
 
8
8
  /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
9
-
10
- /*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
package/dist/v1/index.cjs CHANGED
@@ -7,8 +7,6 @@ var clock = require('./basics/clock.cjs');
7
7
  var objFilter = require('./basics/objFilter.cjs');
8
8
  var simpleMath = require('./basics/simpleMath.cjs');
9
9
  var text = require('./basics/text.cjs');
10
- var TinyCrypto = require('./libs/TinyCrypto.cjs');
11
- var TinyCertCrypto = require('./libs/TinyCertCrypto.cjs');
12
10
 
13
11
 
14
12
 
@@ -29,5 +27,3 @@ exports.getSimplePerc = simpleMath.getSimplePerc;
29
27
  exports.ruleOfThree = simpleMath.ruleOfThree;
30
28
  exports.toTitleCase = text.toTitleCase;
31
29
  exports.toTitleCaseLowerFirst = text.toTitleCaseLowerFirst;
32
- exports.TinyCrypto = TinyCrypto;
33
- exports.TinyCertCrypto = TinyCertCrypto;
@@ -1,5 +1,3 @@
1
- import TinyCrypto from './libs/TinyCrypto.mjs';
2
- import TinyCertCrypto from './libs/TinyCertCrypto.mjs';
3
1
  import TinyLevelUp from '../legacy/libs/userLevel.mjs';
4
2
  import { extendObjType } from './basics/objFilter.mjs';
5
3
  import { reorderObjTypeOrder } from './basics/objFilter.mjs';
@@ -17,4 +15,4 @@ import { getTimeDuration } from './basics/clock.mjs';
17
15
  import { shuffleArray } from './basics/array.mjs';
18
16
  import { toTitleCase } from './basics/text.mjs';
19
17
  import { toTitleCaseLowerFirst } from './basics/text.mjs';
20
- export { TinyCrypto, TinyCertCrypto, TinyLevelUp, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst };
18
+ export { TinyLevelUp, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst };
package/dist/v1/index.mjs CHANGED
@@ -5,6 +5,4 @@ import { formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, } from
5
5
  import { countObj, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, objType, } from './basics/objFilter.mjs';
6
6
  import { getAge, getSimplePerc, ruleOfThree } from './basics/simpleMath.mjs';
7
7
  import { toTitleCase, toTitleCaseLowerFirst } from './basics/text.mjs';
8
- import TinyCrypto from './libs/TinyCrypto.mjs';
9
- import TinyCertCrypto from './libs/TinyCertCrypto.mjs';
10
- export { TinyCrypto, TinyCertCrypto, TinyLevelUp, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst, };
8
+ export { TinyLevelUp, extendObjType, reorderObjTypeOrder, cloneObjTypeOrder, countObj, objType, ruleOfThree, getSimplePerc, asyncReplace, getAge, formatCustomTimer, formatDayTimer, formatTimer, getTimeDuration, shuffleArray, toTitleCase, toTitleCaseLowerFirst, };
package/docs/README.md CHANGED
@@ -8,17 +8,7 @@ Here, you can navigate through different sections of the project. Below are the
8
8
 
9
9
  ## 📚 Main Directories
10
10
 
11
- ### 1. **`libs/`**
12
-
13
- This folder contains external libraries and utility modules that are designed to help with various tasks and features in the project.
14
-
15
- - 🔐 **[TinyCrypto.md](./libs/TinyCrypto.md)** — A flexible and browser-compatible AES-256-GCM encryption utility with support for complex JavaScript types like `Date`, `RegExp`, `Buffer`, and even DOM elements (in the browser).
16
-
17
- - 📄 **[TinyCertCrypto.md](./libs/TinyCertCrypto.md)** — A lightweight tool for managing RSA key pairs and X.509 certificates with support for generation, PEM parsing, encryption/decryption of JSON, and certificate metadata extraction. Works in both Node.js and browser environments (with limitations in browser).
18
-
19
- ---
20
-
21
- ### 2. **`basics/`**
11
+ ### 1. **`basics/`**
22
12
 
23
13
  This folder contains the core scripts we have worked on so far. Each file is a module focused on specific functionality.
24
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-essentials",
3
- "version": "1.2.1",
3
+ "version": "1.3.0",
4
4
  "description": "Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.",
5
5
  "scripts": {
6
6
  "test": "npm run test:mjs && npm run test:cjs && npm run test:js",
@@ -16,7 +16,6 @@
16
16
  "build": "tsc -p tsconfig.json && rollup -c && webpack --mode production",
17
17
  "build-clean": "npm run clean && npm run build",
18
18
  "build-dist": "npm run build",
19
- "build-browserify": "npx browserify build/browserify.js -p esmify > dist/TinyAiApi.web.js",
20
19
  "clean": "rm -rf dist",
21
20
  "prepublishOnly": "npm run build"
22
21
  },
@@ -45,8 +44,7 @@
45
44
  "text",
46
45
  "lib",
47
46
  "time",
48
- "shuffle-array",
49
- "cryptography"
47
+ "shuffle-array"
50
48
  ],
51
49
  "author": "Yasmin Seidel (Jasmin Dreasond)",
52
50
  "license": "GPL-3.0-only",
@@ -75,7 +73,6 @@
75
73
  "moment-timezone": "^0.5.48",
76
74
  "mysql": "^2.18.1",
77
75
  "node-fetch": "2.7.0",
78
- "node-forge": "^1.3.1",
79
76
  "node-polyfill-webpack-plugin": "^4.1.0",
80
77
  "object-hash": "^3.0.0",
81
78
  "prettier": "3.5.3",