tiny-essentials 1.29.0 โ†’ 1.29.1

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.
@@ -0,0 +1,11 @@
1
+ ## ๐Ÿงช Tests & ๐Ÿ› ๏ธ Build Fixes
2
+
3
+ ### ๐Ÿงช Tests
4
+
5
+ * **New Test Files**: The `test/` folder now ships with a brand-new set of test files covering several modules.
6
+ * This is still a work in progress and will keep evolving over the next releases.
7
+
8
+ ### ๐Ÿ› Fixes
9
+
10
+ * **Builder**: Fixed the build process so the `dist` folder no longer accidentally includes a `node_modules` folder. ๐Ÿงน
11
+ * The published output is now clean and only contains what it is supposed to. โœ…
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var cid = require('../../../../../node_modules/multiformats/dist/src/cid.cjs');
4
- var sha2 = require('../../../../../node_modules/multiformats/dist/src/hashes/sha2.cjs');
3
+ var cid = require('multiformats/cid');
4
+ var sha2 = require('multiformats/hashes/sha2');
5
5
 
6
6
  /**
7
7
  * Multicodec code for the dag-pb format.
@@ -2,10 +2,6 @@
2
2
 
3
3
  > Extract solid colors from PSD layers, generate separated images per filter, and get pixel statistics โ€” in **Node.js** and the **Browser**, with the exact same API.
4
4
 
5
- [![Node.js](https://img.shields.io/badge/Node.js-%E2%89%A518-339933?logo=node.js&logoColor=white)](#-nodejs-usage)
6
- [![Browser](https://img.shields.io/badge/Browser-ESM-4285F4?logo=googlechrome&logoColor=white)](#-browser-usage)
7
- [![ag-psd](https://img.shields.io/badge/built%20on-ag--psd-8A2BE2)](#-how-it-works)
8
-
9
5
  ---
10
6
 
11
7
  ## ๐Ÿ“– Table of Contents
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-essentials",
3
- "version": "1.29.0",
3
+ "version": "1.29.1",
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
  "bin": {
6
6
  "tiny-essentials-fork": "./TinyFork.mjs"
@@ -22,6 +22,34 @@
22
22
  "test:mjs:filemanager": "node test/index.mjs fileManager",
23
23
  "test:mediavalidator": "node test/libs/MediaValidator.mjs",
24
24
  "test:mjs:i18": "node test/index.mjs i18",
25
+ "test:mjs:array": "node test/index.mjs array",
26
+ "test:mjs:color": "node test/index.mjs color",
27
+ "test:mjs:math": "node test/index.mjs math",
28
+ "test:mjs:simplemath": "node test/index.mjs simpleMath",
29
+ "test:mjs:game": "node test/index.mjs game",
30
+ "test:mjs:texttools": "node test/index.mjs textTools",
31
+ "test:mjs:storage": "node test/index.mjs storage",
32
+ "test:mjs:plugin": "node test/index.mjs plugin",
33
+ "test:mjs:utils": "node test/index.mjs utils",
34
+ "test:mjs:inventory": "node test/index.mjs inventory",
35
+ "test:mjs:media": "node test/index.mjs media",
36
+ "test:mjs:router": "node test/index.mjs router",
37
+ "test:mjs:ipfshasher": "node test/index.mjs ipfsHasher",
38
+ "test:mjs:browsermonitor": "node test/index.mjs browserMonitor",
39
+ "test:mjs:textrangeeditor": "node test/index.mjs textRangeEditor",
40
+ "test:mjs:clipboard": "node test/index.mjs clipboard",
41
+ "test:mjs:gamepad": "node test/index.mjs gamepad",
42
+ "test:mjs:processsolidfilters": "node test/index.mjs processSolidFilters",
43
+ "test:mjs:afterscrollwatcher": "node test/index.mjs afterScrollWatcher",
44
+ "test:mjs:loadingscreen": "node test/index.mjs loadingScreen",
45
+ "test:mjs:cookieconsent": "node test/index.mjs cookieConsent",
46
+ "test:mjs:analogclock": "node test/index.mjs analogClock",
47
+ "test:mjs:notify": "node test/index.mjs notify",
48
+ "test:mjs:dragger": "node test/index.mjs dragger",
49
+ "test:mjs:smartscroller": "node test/index.mjs smartScroller",
50
+ "test:mjs:events": "node test/index.mjs events",
51
+ "test:mjs:html": "node test/index.mjs html",
52
+ "test:mjs:fs": "node test/index.mjs fs",
25
53
  "prettier": "npm run prettier:src && npm run prettier:build && npm run prettier:builder && npm run prettier:test && npm run prettier:rollup.config && npm run prettier:webpack.config && npm run prettier:tiny_fork && npm run prettier:check_exports",
26
54
  "prettier:src": "prettier --write ./src/*",
27
55
  "prettier:build": "prettier --write ./build/*",
@@ -893,15 +921,15 @@
893
921
  },
894
922
  "homepage": "https://github.com/Tiny-Essentials/Tiny-Essentials#readme",
895
923
  "devDependencies": {
896
- "@babel/cli": "^8.0.1",
897
- "@babel/core": "^8.0.1",
898
- "@babel/generator": "^8.0.0",
899
- "@babel/node": "^8.0.1",
900
- "@babel/parser": "^8.0.0",
901
- "@babel/preset-env": "^8.0.2",
902
- "@babel/register": "^8.0.1",
903
- "@babel/traverse": "^8.0.0",
904
- "@babel/types": "^8.0.0",
924
+ "@babel/cli": "^8.0.6",
925
+ "@babel/core": "^8.0.6",
926
+ "@babel/generator": "^8.0.6",
927
+ "@babel/node": "^8.0.6",
928
+ "@babel/parser": "^8.0.6",
929
+ "@babel/preset-env": "^8.0.6",
930
+ "@babel/register": "^8.0.6",
931
+ "@babel/traverse": "^8.0.6",
932
+ "@babel/types": "^8.0.6",
905
933
  "@rollup/plugin-commonjs": "^29.0.3",
906
934
  "@rollup/plugin-json": "^6.1.0",
907
935
  "@rollup/plugin-node-resolve": "^16.0.3",