hlp 3.5.8 → 3.6.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.
Files changed (2) hide show
  1. package/README.md +3 -4
  2. package/package.json +1 -10
package/README.md CHANGED
@@ -336,7 +336,7 @@ hlp.getProp({
336
336
  }, 'c.a.a') // 7
337
337
  ```
338
338
 
339
- check out also the following helpers for the frontend:
339
+ ### frontend
340
340
 
341
341
  ```js
342
342
  // cookies
@@ -600,7 +600,7 @@ hlp.animate(
600
600
 
601
601
  ## notes
602
602
 
603
- ## alternative safe patterns
603
+ ### alternative safe patterns
604
604
 
605
605
  ```js
606
606
  if( Object.keys(obj).length === 0 && obj.constructor === Object ) {}
@@ -667,10 +667,9 @@ if( hlp.false(() => vrbl) )
667
667
  if( hlp.v(() => vrbl) === 'foo' )
668
668
  if( hlp.v(() => vrbl) == 1337 )
669
669
  echo hlp.v(() => vrbl)
670
+ // that works because javascript only evaluates the content of the inner callback (or closure) when it is actually executed.
670
671
  hlp.loop((() => vrbl), (vrbl__value, vrbl__key) => { })
671
-
672
672
  ```
673
- that works because javascript only evaluates the content of the inner callback (or closure) when it is actually executed.
674
673
 
675
674
  ## php implementation
676
675
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hlp",
3
- "version": "3.5.8",
3
+ "version": "3.6.0",
4
4
  "main": "_js/_build/script.js",
5
5
  "files": [
6
6
  "_js/_build/*.js",
@@ -38,10 +38,6 @@
38
38
  "babel-core": "^7.0.0-bridge.0",
39
39
  "babel-jest": "^29",
40
40
  "babel-plugin-array-includes": "^2.0.3",
41
- "babel-plugin-transform-runtime": "^6.23.0",
42
- "babel-preset-env": "^1.7.0",
43
- "babel-preset-es2015": "^6.24.1",
44
- "babel-preset-es2017": "^6.24.1",
45
41
  "babel-runtime": "^6.26.0",
46
42
  "babelify": "^10.0.0",
47
43
  "browser-sync": "^3.0.4",
@@ -51,9 +47,7 @@
51
47
  "cli-error-notifier": "^3.0.2",
52
48
  "concat": "^1.0.3",
53
49
  "core-js": "^3.47.0",
54
- "cross-env": "^10.1.0",
55
50
  "cross-spawn": "^7.0.6",
56
- "cross-var": "^1.1.0",
57
51
  "del-cli": "^7.0.0",
58
52
  "dotenv": "^17.2.3",
59
53
  "element-closest": "^3.0.2",
@@ -62,7 +56,6 @@
62
56
  "exit": "^0.1.2",
63
57
  "from-env": "^1.1.4",
64
58
  "highlight.js": "^11.11.1",
65
- "html-minifier": "^4.0.0",
66
59
  "ismobilejs": "^1.1.1",
67
60
  "jest": "^29",
68
61
  "jest-cli": "^29",
@@ -92,8 +85,6 @@
92
85
  "terser": "^5.44.1",
93
86
  "vinyl-buffer": "^1.0.1",
94
87
  "vinyl-source-stream": "^2.0.0",
95
- "vue": "^3.5.25",
96
- "vue-template-compiler": "^2.7.16",
97
88
  "whatwg-fetch": "^3.6.20"
98
89
  },
99
90
  "browserslist": [