dphelper 0.4.0 → 0.4.2

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.
package/CHANGELOG.md CHANGED
@@ -1,4 +1,9 @@
1
+ # Changelog
2
+
1
3
  New minor (feature) releases of this app/software are released every six months and
2
4
  patch (bugfix) releases are released every month. More information on the
3
5
  release cycle: see package.json
4
6
 
7
+ ## Previous
8
+
9
+ Please see the git history for the details of previous versions.
package/HISTORY.md ADDED
@@ -0,0 +1,11 @@
1
+ # Changelog
2
+
3
+ ## v0.4.2 / 2023-10-09
4
+
5
+ - Fix some minor bugs [Dario Passariello](https://github.com/passariello) ()
6
+ - NPM update [Dario Passariello](https://github.com/passariello) ()
7
+ - Change license Apache-2.0 to MIT
8
+
9
+ ## Previous
10
+
11
+ Please see the git history for the details of previous versions.
package/LICENSE.md CHANGED
@@ -1,19 +1,9 @@
1
- Copyright 2019 Dario Passariello \<dariopassariello@gmail.com>
1
+ # MIT License
2
2
 
3
- Licensed under the Apache License, Version 2.0 (the "License");
3
+ Copyright (c) Dario Passariello \<<dariopassariello@gmail.com>> (dario.passariello.ca)
4
4
 
5
- you may not use this file except in compliance with the License.
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
7
- You may obtain a copy of the License at
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
8
 
9
-     https://www.apache.org/licenses/LICENSE-2.0
10
-
11
- Unless required by applicable law or agreed to in writing, software
12
-
13
- distributed under the License is distributed on an "AS IS" BASIS,
14
-
15
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
-
17
- See the License for the specific language governing permissions and
18
-
19
- limitations under the License.
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md CHANGED
@@ -56,7 +56,7 @@ PS: you can use dpHelper browser extension if you want to manage states in a eas
56
56
 
57
57
  ---
58
58
 
59
- ## Install
59
+ ## Install for react + webpack projects
60
60
 
61
61
  ```
62
62
  npm i dphelper --save-dev
@@ -80,6 +80,14 @@ or
80
80
  require("dphelper");
81
81
  ```
82
82
 
83
+ ## Install for ejs or other type of projects (like html)
84
+
85
+ note: you don't need to use npm install in this case or you get an error
86
+
87
+ ```html
88
+ <script src="https://unpkg.com/dphelper@latest/index.js"></script>
89
+ ```
90
+
83
91
  ## How to use it
84
92
 
85
93
  type 'dphelper' in your console to have a look about all available tools that you can use globaly!
@@ -1,64 +1 @@
1
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
- <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
-
4
- <svg
5
- width="93.683228"
6
- height="119.23308"
7
- viewBox="0 0 99.148077 126.18834"
8
- version="1.1"
9
- id="svg5"
10
- inkscape:export-filename="C:\Users\dario\Desktop\dphelper_manager_48.png"
11
- inkscape:export-xdpi="9.000001"
12
- inkscape:export-ydpi="9.000001"
13
- inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
14
- sodipodi:docname="logo.svg"
15
- xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
16
- xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
17
- xmlns="http://www.w3.org/2000/svg"
18
- xmlns:svg="http://www.w3.org/2000/svg">
19
- <sodipodi:namedview
20
- id="namedview7"
21
- pagecolor="#ffffff"
22
- bordercolor="#666666"
23
- borderopacity="1.0"
24
- inkscape:pageshadow="2"
25
- inkscape:pageopacity="0.0"
26
- inkscape:pagecheckerboard="0"
27
- inkscape:document-units="mm"
28
- showgrid="false"
29
- inkscape:zoom="0.7500982"
30
- inkscape:cx="556.59379"
31
- inkscape:cy="359.95287"
32
- inkscape:window-width="1920"
33
- inkscape:window-height="1027"
34
- inkscape:window-x="-8"
35
- inkscape:window-y="-8"
36
- inkscape:window-maximized="1"
37
- inkscape:current-layer="layer1"
38
- scale-x="4"
39
- units="px" />
40
- <defs
41
- id="defs2">
42
- <pattern
43
- id="WMFhbasepattern"
44
- patternUnits="userSpaceOnUse"
45
- width="6"
46
- height="6"
47
- x="0"
48
- y="0" />
49
- </defs>
50
- <g
51
- inkscape:label="Layer 1"
52
- inkscape:groupmode="layer"
53
- id="layer1"
54
- transform="translate(-89.565622,-102.08653)">
55
- <path
56
- style="fill:#0093dd;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.37544"
57
- d="m 166.83728,102.08653 -0.85247,4.03896 -0.60497,3.73603 -0.39875,3.46197 -0.19249,3.21673 -0.013,2.97152 0.17875,2.76958 0.32997,2.55319 0.495,2.36567 0.61873,2.22142 0.74246,2.06276 0.86623,1.93293 0.94873,1.81752 1.04496,1.73099 1.11372,1.65884 1.18245,1.60117 1.22373,1.55789 2.51617,3.07247 2.55742,3.1302 1.26496,1.63 1.22372,1.70213 1.1687,1.78869 1.12747,1.90408 1.04498,2.00504 0.96245,2.16374 0.86623,2.30797 0.75623,2.4955 0.64622,2.68301 0.49499,2.8994 0.34374,3.11576 0.19249,3.37541 0.0276,3.44755 -0.10994,3.30327 -0.23374,3.1879 -0.3575,3.04363 -0.49498,2.92826 -0.60498,2.79841 -0.72874,2.6686 -0.83871,2.55318 -0.94874,2.4378 -1.05871,2.30798 -1.1687,2.20701 -1.25122,2.07718 -1.37495,1.96176 -1.4437,1.84639 -1.55372,1.7454 -1.63621,1.61559 -1.71869,1.51461 -1.78745,1.41363 -1.88368,1.29823 -1.95243,1.19727 -2.00745,1.09629 -2.08993,0.99531 -2.15869,0.87991 -2.19992,0.79337 -2.26868,0.69238 -2.32368,0.59143 -2.37868,0.50486 -2.40618,0.4039 -2.46116,0.31735 -2.50244,0.21636 -2.54366,0.12976 -2.57118,0.0432 -2.57116,-0.0721 -2.52993,-0.21637 -2.50241,-0.36062 -2.46119,-0.49046 -2.41992,-0.62025 -2.37867,-0.76453 -2.32368,-0.87992 -2.26868,-1.00973 -2.22743,-1.12513 -2.15869,-1.24055 -2.08993,-1.34151 -2.03495,-1.47133 -1.96618,-1.55788 -1.89744,-1.65885 -1.81494,-1.77427 -1.74621,-1.84636 -1.64995,-1.94737 -1.58119,-2.0339 -1.484949,-2.12044 -1.402457,-2.207 -1.30622,-2.26471 -1.209952,-2.35124 -1.113716,-2.40896 -1.003724,-2.48106 -0.893717,-2.53878 -0.783726,-2.61089 -0.687489,-2.65416 -0.549972,-2.71188 -0.453736,-2.74072 -0.316251,-2.79842 -0.192489,-2.84169 -0.06869,-2.88496 0.06869,-2.91383 0.192489,-2.95708 0.329989,-2.98596 0.467491,-3.01477 0.591237,-3.0148 0.742477,-3.04363 0.879962,-3.02922 1.031219,-3.01479 1.168719,-3.00038 1.319959,-2.97151 1.45746,-2.92824 1.622439,-2.88498 1.773697,-2.82726 1.92495,-2.75515 2.08993,-2.69744 2.24119,-2.6109 2.40616,-2.50992 2.57118,-2.42336 2.73617,-2.30798 2.90115,-2.207 3.07991,-2.06275 3.2449,-1.93294 3.42364,-1.8031 3.6024,-1.64443 3.78112,-1.47133 3.95988,-1.31267 4.13863,-1.13955 4.33111,-0.93762 4.50985,-0.76452 4.70236,-0.54814 4.89486,-0.33177 z"
58
- id="path30" />
59
- <path
60
- style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.37544"
61
- d="m 136.91822,132.58065 0.30249,4.09665 0.48123,3.76489 0.64623,3.44753 0.81123,3.14461 0.93497,2.87054 1.07246,2.62532 1.18246,2.36568 1.29247,2.1493 1.3887,1.94735 1.47122,1.75984 1.5262,1.58673 1.59494,1.44249 1.6362,1.29823 1.6637,1.19725 1.6912,1.09629 1.70495,1.00975 1.67744,0.96645 1.67745,0.90877 1.64996,0.89434 1.60869,0.87991 1.53995,0.89435 1.4987,0.92318 1.40247,0.98089 1.31994,1.03859 1.20997,1.12515 1.11373,1.22611 0.9762,1.34151 0.83873,1.48575 0.68749,1.64442 0.52248,1.81755 0.35748,2.01946 0.165,2.22143 0.013,2.29355 -0.0687,2.20701 -0.15119,2.10602 -0.24747,2.0339 -0.33001,1.94735 -0.39873,1.87524 -0.48123,1.77425 -0.56374,1.70212 -0.63247,1.61559 -0.70123,1.54345 -0.78373,1.47135 -0.83873,1.38478 -0.90747,1.29823 -0.96246,1.24053 -1.03122,1.15399 -1.08623,1.08187 -1.15495,1.00974 -1.19622,0.93761 -1.25121,0.86549 -1.29247,0.8078 -1.34745,0.72123 -1.3887,0.66355 -1.42997,0.59142 -1.4712,0.51929 -1.51245,0.4616 -1.55371,0.40388 -1.58119,0.33178 -1.6087,0.27407 -1.63621,0.20194 -1.66369,0.14421 -1.6912,0.0866 -1.70495,0.0289 -1.71869,-0.0432 -1.6912,-0.14421 -1.6637,-0.24523 -1.64995,-0.31734 -1.6087,-0.41832 -1.58121,-0.50488 -1.53994,-0.59141 -1.5262,-0.67797 -1.47122,-0.73566 -1.4437,-0.83665 -1.3887,-0.89434 -1.36121,-0.98089 -1.30621,-1.03859 -1.26497,-1.11071 -1.20995,-1.16841 -1.15496,-1.24053 -1.11372,-1.29823 -1.04497,-1.35595 -0.98997,-1.41363 -0.93497,-1.45691 -0.86622,-1.5146 -0.81124,-1.55789 -0.72872,-1.61559 -0.67373,-1.64442 -0.60498,-1.70213 -0.52248,-1.73099 -0.45373,-1.77424 -0.37124,-1.80311 -0.28874,-1.83196 -0.22,-1.86081 -0.12375,-1.88964 -0.0413,-1.91851 0.0275,-1.93292 0.0825,-1.93293 0.15119,-1.94736 0.20625,-1.94734 0.26124,-1.94737 0.31624,-1.93292 0.37124,-1.94735 0.43998,-1.93294 0.48125,-1.9185 0.53623,-1.91851 0.60497,-1.88964 0.65998,-1.88965 0.70123,-1.8608 0.76997,-1.83197 0.81124,-1.81752 0.87996,-1.78869 0.92123,-1.75982 0.98997,-1.74541 1.03122,-1.68771 1.08622,-1.67328 1.14121,-1.61559 1.18246,-1.58672 1.25121,-1.54345 1.29247,-1.50019 1.34745,-1.45691 1.40246,-1.39921 1.44371,-1.34151 1.4987,-1.29823 1.5537,-1.24054 1.59495,-1.16842 1.64995,-1.12513 z"
62
- id="path32" />
63
- </g>
64
- </svg>
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="93.683" height="119.233" viewBox="0 0 99.148 126.188"><path d="m166.837 102.087-.852 4.038-.605 3.737-.399 3.461-.192 3.217-.013 2.972.178 2.77.33 2.553.495 2.365.619 2.222.743 2.062.866 1.933.948 1.818 1.045 1.73 1.114 1.66 1.183 1.6 1.223 1.559 2.516 3.072 2.558 3.13 1.265 1.63 1.224 1.702 1.168 1.79 1.128 1.903 1.045 2.005.962 2.164.866 2.308.757 2.496.646 2.683.495 2.899.344 3.116.192 3.375.028 3.448-.11 3.303-.234 3.188-.357 3.043-.495 2.929-.605 2.798-.73 2.669-.838 2.553-.949 2.438-1.058 2.308-1.169 2.207-1.251 2.077-1.375 1.962-1.444 1.846-1.554 1.745-1.636 1.616-1.719 1.515-1.787 1.413-1.884 1.298-1.952 1.198-2.008 1.096-2.09.995-2.158.88-2.2.794-2.269.692-2.323.591-2.38.505-2.405.404-2.461.318-2.503.216-2.544.13-2.57.043-2.572-.072-2.53-.217-2.502-.36-2.461-.49-2.42-.62-2.379-.765-2.324-.88-2.268-1.01-2.228-1.125-2.159-1.24-2.09-1.342-2.034-1.472-1.967-1.558-1.897-1.658-1.815-1.775-1.746-1.846-1.65-1.947-1.581-2.034-1.485-2.12-1.403-2.208-1.306-2.264-1.21-2.352-1.114-2.409-1.003-2.48-.894-2.54-.784-2.61-.687-2.655-.55-2.711-.454-2.741-.316-2.799-.193-2.841-.068-2.885.068-2.914.193-2.957.33-2.986.467-3.015.592-3.015.742-3.043.88-3.03 1.031-3.014 1.169-3 1.32-2.972 1.457-2.928 1.623-2.885 1.773-2.828 1.925-2.755 2.09-2.697 2.242-2.611 2.406-2.51 2.57-2.423 2.737-2.308 2.901-2.207 3.08-2.063 3.245-1.933 3.424-1.803 3.602-1.645 3.781-1.47 3.96-1.314 4.139-1.14 4.33-.937 4.51-.764 4.703-.548 4.895-.332z" style="fill:#0093dd;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.37544" transform="translate(-89.566 -102.087)"/><path d="m136.918 132.58.303 4.097.48 3.765.647 3.448.811 3.144.935 2.87 1.073 2.626 1.182 2.366 1.293 2.15 1.388 1.947 1.472 1.76 1.526 1.586 1.595 1.443 1.636 1.298 1.664 1.197 1.69 1.096 1.706 1.01 1.677.967 1.678.908 1.65.895 1.608.88 1.54.894 1.5.923 1.402.981 1.32 1.039 1.21 1.125 1.113 1.226.976 1.341.84 1.486.687 1.645.522 1.817.358 2.02.165 2.221.013 2.294-.07 2.207-.15 2.106-.248 2.033-.33 1.948-.399 1.875-.48 1.774-.565 1.702-.632 1.616-.701 1.543-.784 1.472-.839 1.385-.907 1.298-.963 1.24-1.03 1.154-1.087 1.082-1.155 1.01-1.196.938-1.251.865-1.293.808-1.347.721-1.39.664-1.429.591-1.471.52-1.513.46-1.553.405-1.582.332-1.608.274-1.636.202-1.664.144-1.691.086-1.705.03-1.719-.044-1.691-.144-1.664-.245-1.65-.318-1.609-.418-1.58-.505-1.54-.591-1.527-.678-1.471-.736-1.444-.837-1.389-.894-1.36-.98-1.307-1.04-1.265-1.11-1.21-1.169-1.155-1.24-1.114-1.298-1.045-1.356-.99-1.414-.934-1.457-.867-1.514-.81-1.558-.73-1.616-.673-1.644-.605-1.702-.523-1.731-.454-1.775-.37-1.803-.29-1.832-.22-1.86-.123-1.89-.042-1.919.028-1.933.082-1.932.152-1.948.206-1.947.261-1.948.316-1.932.372-1.948.44-1.933.48-1.918.537-1.919.605-1.89.66-1.89.701-1.86.77-1.832.811-1.817.88-1.79.922-1.759.99-1.745 1.03-1.688 1.087-1.673 1.141-1.616 1.183-1.587 1.25-1.543 1.293-1.5 1.348-1.457 1.402-1.4 1.444-1.34 1.499-1.3 1.553-1.24 1.595-1.168 1.65-1.125z" style="fill:#fff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1.37544" transform="translate(-89.566 -102.087)"/></svg>