hlp 3.8.5 → 3.8.6

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 (3) hide show
  1. package/README.md +3 -3
  2. package/_js/_build/script.js +2103 -2869
  3. package/package.json +25 -37
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hlp",
3
- "version": "3.8.5",
3
+ "version": "3.8.6",
4
4
  "main": "_js/_build/script.js",
5
5
  "module": "hlp.esm.js",
6
6
  "exports": {
@@ -17,9 +17,9 @@
17
17
  "scripts": {
18
18
  "js:vite": "vite build --logLevel error",
19
19
  "js:minify": "terser --compress --mangle --output ./hlp.js ./hlp.js",
20
- "js:babel": "npx babel ./_js/script.ts --out-dir ./_js/_build/ --extensions .ts",
20
+ "js:package": "vite build --mode package --logLevel error",
21
21
  "js:tests": "jest --verbose --noStackTrace --no-cache",
22
- "js": "npm-run-all --sequential js:vite js:minify js:babel js:tests",
22
+ "js": "npm-run-all --sequential js:vite js:minify js:package js:tests",
23
23
  "watch:js": "onchange ./_js/*.ts ./_tests/index.html --initial --poll 25 --delay 0 --await-write-finish 25 -- onerror \"npm run js --silent\" --title \"watch:js\" --message \"build failed\" --sound mute",
24
24
  "watch:js-test": "onchange ./_tests/_js/*.ts --initial --poll 25 --delay 0 --await-write-finish 25 -- onerror \"npm run js:tests --silent\" --title \"watch:js-test\" --message \"build failed\" --sound mute",
25
25
  "prod": "npm-run-all --parallel js",
@@ -31,39 +31,20 @@
31
31
  },
32
32
  "author": "David Vielhuber <david@vielhuber.de>",
33
33
  "license": "MIT",
34
- "dependencies": {
35
- "@babel/runtime": "^7.29.2"
36
- },
37
34
  "devDependencies": {
38
- "@babel/cli": "^7.28.6",
39
- "@babel/core": "^7.29.0",
40
- "@babel/plugin-proposal-class-properties": "^7.18.6",
41
- "@babel/plugin-proposal-object-rest-spread": "^7.20.7",
42
- "@babel/plugin-proposal-optional-chaining": "^7.21.0",
43
- "@babel/plugin-proposal-private-methods": "^7.18.6",
44
- "@babel/plugin-transform-runtime": "^7.29.0",
45
- "@babel/polyfill": "^7.12.1",
46
- "@babel/preset-env": "^7.29.5",
47
- "@babel/preset-react": "^7.28.5",
48
- "@babel/preset-typescript": "^7.28.5",
49
35
  "@prettier/plugin-php": "^0.25.0",
36
+ "@swc/core": "^1.15.41",
37
+ "@swc/jest": "^0.2.39",
50
38
  "@types/jest": "^30.0.0",
51
39
  "autoprefixer": "^10.5.0",
52
- "babel-jest": "^30",
53
- "babel-plugin-array-includes": "^2.0.3",
54
- "babel-runtime": "^6.26.0",
55
- "babelify": "^10.0.0",
56
- "browser-sync": "^3.0.4",
57
- "caniuse-lite": "^1.0.30001793",
40
+ "caniuse-lite": "^1.0.30001799",
58
41
  "cli-error-notifier": "^3.0.2",
59
42
  "concat": "^1.0.3",
60
- "core-js": "^3.49.0",
61
43
  "cross-spawn": "^7.0.6",
62
44
  "del-cli": "^7.0.0",
63
45
  "dotenv": "^17.4.2",
64
- "element-closest": "^3.0.2",
65
46
  "env-cmd": "^11.0.0",
66
- "eslint": "^10.4.0",
47
+ "eslint": "^10.5.0",
67
48
  "exit": "^0.1.2",
68
49
  "from-env": "^1.1.4",
69
50
  "highlight.js": "^11.11.1",
@@ -72,32 +53,39 @@
72
53
  "jest-cli": "^30",
73
54
  "jest-environment-jsdom": "^30",
74
55
  "jest-puppeteer": "^11.0.0",
75
- "mdn-polyfills": "^5.20.0",
76
56
  "move-file-cli": "^3.0.0",
77
57
  "ncp": "^2.0.0",
78
- "npm-check-updates": "^22.2.0",
79
- "npm-run-all2": "^9.0.1",
58
+ "npm-check-updates": "^22.2.3",
59
+ "npm-run-all2": "^9.0.2",
80
60
  "onchange": "^7.1.0",
81
61
  "postcss": "^8.5.15",
82
62
  "postcss-cli": "^11.0.1",
83
63
  "postcss-tailwind-data-attr": "^1.0.7",
84
- "prettier": "^3.8.3",
85
- "puppeteer": "^25.0.4",
86
- "regenerator-runtime": "^0.14.1",
64
+ "prettier": "^3.8.4",
65
+ "puppeteer": "^25.1.0",
87
66
  "replace-in-file": "^8.4.0",
88
67
  "rimraf": "^6.1.3",
89
68
  "run-sequence": "^2.2.1",
90
- "sass": "^1.100.0",
91
- "tailwindcss": "^4.3.0",
69
+ "sass": "^1.101.0",
70
+ "tailwindcss": "^4.3.1",
92
71
  "terser": "^5.48.0",
93
72
  "typescript": "^6.0.3",
94
73
  "vinyl-buffer": "^1.0.1",
95
74
  "vinyl-source-stream": "^2.0.0",
96
- "vite": "^8.0.14",
97
- "whatwg-fetch": "^3.6.20"
75
+ "vite": "^8.0.16"
76
+ },
77
+ "overrides": {
78
+ "@babel/core": "^7.29.7",
79
+ "babel-plugin-istanbul": "^8.0.0",
80
+ "form-data": "^4.0.6",
81
+ "glob": "^13.0.6",
82
+ "js-yaml": "^4.2.0",
83
+ "shell-quote": "^1.8.4",
84
+ "test-exclude": "^8.0.0",
85
+ "uuid": "^11.1.1",
86
+ "ws": "^8.21.0"
98
87
  },
99
88
  "browserslist": [
100
- "ie >= 11",
101
89
  "> 0.25%",
102
90
  "not dead"
103
91
  ],