dphelper 0.2.88 → 0.2.92

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "dphelper",
3
- "version": "0.2.88",
4
- "description": "Developer Tools",
3
+ "version": "0.2.92",
4
+ "description": "Developer Tools by Dario Passariello",
5
5
  "deprecated": false,
6
6
  "appCode": "dphelper",
7
7
  "appCodeRelease": "dphelper",
@@ -31,12 +31,14 @@
31
31
  "git-tag": "cd node && node createTag",
32
32
  "backup": "backup.bat",
33
33
  "goLive": "cd node && node goLive",
34
- "test_jest": "jest --watchAll --coverage --testEnvironment jsdom",
35
- "test_lint": "eslint --fix"
34
+ "node:update": "cd node && node npmUpdate",
35
+ "test:lint": "eslint . --ext .ts,.tsx,.js,.jsx --fix",
36
+ "test:cypress": "cypress open"
36
37
  },
37
38
  "eslintConfig": {
38
39
  "globals": {
39
- "window": true
40
+ "window": true,
41
+ "dphelper": true
40
42
  }
41
43
  },
42
44
  "author": {
@@ -86,53 +88,45 @@
86
88
  "bugs": {
87
89
  "url": "https://github.com/passariello/dpHelper/issues"
88
90
  },
91
+ "files": [
92
+ "scripts",
93
+ "index.js",
94
+ "init.js",
95
+ "types/**/*.d.ts"
96
+ ],
89
97
  "devDependencies": {
90
- "@babel/plugin-transform-runtime": "7.18.0",
91
- "css-loader": "6.7.1",
92
- "eslint": "8.16.0",
93
- "file-loader": "6.2.0",
94
- "jest": "27.5.1",
95
- "less-loader": "10.2.0",
96
- "sass-loader": "13.0.0",
97
- "style-loader": "3.3.1",
98
- "webpack-cli": "4.9.2"
99
- },
100
- "dependencies": {
101
- "@babel/plugin-proposal-class-properties": "7.17.12",
102
- "@babel/preset-env": "7.18.0",
103
- "@babel/preset-react": "7.17.12",
104
- "@babel/preset-typescript": "7.16.7",
105
- "@testing-library/jest-dom": "^5.16.2",
106
- "@testing-library/user-event": "^14.0.0",
107
- "@types/enzyme-adapter-react-16": "1.0.6",
98
+ "@babel/plugin-proposal-class-properties": "7.18.6",
99
+ "@babel/plugin-transform-runtime": "7.18.10",
100
+ "@babel/preset-env": "7.18.10",
101
+ "@babel/preset-react": "7.18.6",
102
+ "@babel/preset-typescript": "7.18.6",
103
+ "@testing-library/user-event": "^14.4.2",
108
104
  "babel-loader": "8.2.5",
109
105
  "child_process": "1.0.2",
110
- "classnames": "2.3.1",
111
106
  "cli-confirm": "1.0.1",
112
107
  "compression-webpack-plugin": "10.0.0",
113
- "concurrently": "7.2.0",
114
108
  "copy-webpack-plugin": "11.0.0",
115
- "css": "3.0.0",
109
+ "cypress": "10.4.0",
116
110
  "dotenv": "16.0.1",
117
- "enzyme": "3.11.0",
118
- "enzyme-adapter-react-16": "1.15.6",
119
- "enzyme-to-json": "3.6.2",
111
+ "eslint": "8.21.0",
112
+ "file-loader": "6.2.0",
120
113
  "fs": "0.0.1-security",
121
114
  "html-webpack-plugin": "5.5.0",
115
+ "lint": "1.1.2",
116
+ "progress-bar-webpack-plugin": "2.1.0",
117
+ "style-loader": "3.3.1",
118
+ "webpack": "5.74.0",
119
+ "webpack-cli": "4.10.0"
120
+ },
121
+ "dependencies": {
122
+ "classnames": "2.3.1",
123
+ "concurrently": "7.3.0",
124
+ "css": "3.0.0",
122
125
  "jquery": "3.6.0",
123
126
  "jsdom-worker": "0.2.1",
124
- "jshint": "^2.13.4",
125
- "less": "4.1.2",
126
- "moment": "2.29.3",
127
+ "moment": "2.29.4",
127
128
  "path": "0.12.7",
128
- "progress-bar-webpack-plugin": "2.1.0",
129
- "react": "18.1.0",
130
- "react-dom": "18.0.0",
131
- "require": "2.4.20",
132
- "sass": "1.52.0",
133
- "socket.io-client": "4.5.1",
134
- "ts-jest": "27.1.4",
135
- "tslint": "6.1.3",
136
- "webpack": "5.72.1"
129
+ "react": "18.2.0",
130
+ "react-dom": "18.2.0"
137
131
  }
138
132
  }
@@ -1,12 +0,0 @@
1
- # These are supported funding model platforms
2
-
3
- github: passariello
4
- patreon: passariello
5
- open_collective: # Replace with a single Open Collective username
6
- ko_fi: passariello
7
- tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
- community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
- liberapay: passariello
10
- issuehunt: passariello
11
- otechie: # Replace with a single Otechie username
12
- custom: ["https://dario.passariello.ca", "https://www.paypal.me/dariopassariello", "https://www.indiegogo.com/individuals/28513718"]
@@ -1,12 +0,0 @@
1
- # Basic dependabot.yml file with
2
- # minimum configuration for two package managers
3
-
4
- version: 2
5
- updates:
6
- # Enable version updates for npm
7
- - package-ecosystem: "npm"
8
- # Look for `package.json` and `lock` files in the `root` directory
9
- directory: "/"
10
- # Check the npm registry for updates every day (weekdays)
11
- schedule:
12
- interval: "daily"
package/CHANGELOG.txt DELETED
@@ -1,4 +0,0 @@
1
- New minor (feature) releases of this app/software are released every six months and
2
- patch (bugfix) releases are released every month. More information on the
3
- release cycle: see package.json
4
-
package/SECURITY.md DELETED
@@ -1,3 +0,0 @@
1
- # Security
2
-
3
- Please email [@passariello](https://github.com/passariello) or see https://dario.passariello.ca/contact/ if you have a potential security vulnerability to report.
Binary file
@@ -1,64 +0,0 @@
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,11 +0,0 @@
1
- <h4>list</h4>
2
- <p>
3
- List all database
4
- </p>
5
-
6
- Type <b>'dphelper.iDB.list()'</b> in console to see all DBs in a Table
7
-
8
- <br/>
9
- <br/>
10
-
11
- <button onclick='t()'>Test in console</button>
@@ -1,11 +0,0 @@
1
- <h4>toState</h4>
2
- <p>
3
- Save all DB and Tables to Global State
4
- </p>
5
-
6
- <ul>
7
- <li>You can use (as example): 'dphelper.iDB.toState( 'test', dphelper.iDB.get( 'test', 'test', 1 ) )'</li>
8
- <li>or: 'dphelper.iDB.toState()' to load all indexedDB into dphelper.databases global store.</li>
9
- </ul>
10
-
11
- Please type 'dphelper.databases' in console to see all DBs
@@ -1,31 +0,0 @@
1
- /*!
2
- dpHelper
3
- Copyright (c) 2021 Dario Passariello <dariopassariello@gmail.com>
4
- Licensed under the Apache-2.0, see
5
- https://dario.passariello.ca
6
- */
7
-
8
- /*!
9
- * Sizzle CSS Selector Engine v2.3.6
10
- * https://sizzlejs.com/
11
- *
12
- * Copyright JS Foundation and other contributors
13
- * Released under the MIT license
14
- * https://js.foundation/
15
- *
16
- * Date: 2021-02-16
17
- */
18
-
19
- /*!
20
- * jQuery JavaScript Library v3.6.0
21
- * https://jquery.com/
22
- *
23
- * Includes Sizzle.js
24
- * https://sizzlejs.com/
25
- *
26
- * Copyright OpenJS Foundation and other contributors
27
- * Released under the MIT license
28
- * https://jquery.org/license
29
- *
30
- * Date: 2021-03-02T17:08Z
31
- */