Compare commits

..

21 Commits

Author SHA1 Message Date
af12f068aa 1.0.13 2022-03-14 13:07:47 +01:00
b5d2be3ab8 fix(core): update 2022-03-14 13:07:46 +01:00
6fdd61b230 1.0.12 2022-02-15 16:13:49 +01:00
cdcf082ee0 fix(core): update 2022-02-15 16:13:48 +01:00
52b8a3f0d1 1.0.11 2022-02-02 08:02:27 +01:00
9213e7905f fix(core): update 2022-02-02 08:02:26 +01:00
56fb434f7d 1.0.10 2022-02-02 04:26:22 +01:00
b147de4713 fix(core): update 2022-02-02 04:26:22 +01:00
6a43243a3b 1.0.9 2022-02-02 04:24:39 +01:00
6be0f9680b fix(core): update 2022-02-02 04:24:39 +01:00
57728989b7 1.0.8 2022-02-02 02:45:45 +01:00
9e92b8cff4 fix(core): update 2022-02-02 02:45:45 +01:00
3bd650dc2c 1.0.7 2022-01-21 19:40:31 +01:00
71cecfdc9a fix(core): update 2022-01-21 19:40:30 +01:00
d3bdbf6260 1.0.6 2022-01-21 17:52:01 +01:00
402934c944 fix(core): update 2022-01-21 17:52:00 +01:00
f7cab18412 1.0.5 2022-01-21 17:37:31 +01:00
6f5ceacad2 fix(core): update 2022-01-21 17:37:30 +01:00
998827f1bf 1.0.4 2022-01-21 03:33:25 +01:00
14ab9ee908 fix(core): update 2022-01-21 03:33:24 +01:00
1fbc9b6001 1.0.3 2022-01-20 22:41:00 +01:00
6 changed files with 604 additions and 132 deletions

413
package-lock.json generated
View File

@ -1,19 +1,24 @@
{ {
"name": "@pushrocks/smartexpect", "name": "@pushrocks/smartexpect",
"version": "1.0.2", "version": "1.0.13",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@pushrocks/smartexpect", "name": "@pushrocks/smartexpect",
"version": "1.0.2", "version": "1.0.13",
"license": "MIT", "license": "MIT",
"dependencies": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpromise": "^3.1.6",
"fast-deep-equal": "^3.1.3"
},
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.25", "@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.78", "@gitzone/tsbundle": "^1.0.89",
"@gitzone/tstest": "^1.0.44", "@gitzone/tstest": "^1.0.44",
"@pushrocks/tapbundle": "^3.2.9", "@pushrocks/tapbundle": "^4.0.0",
"@types/node": "^14.11.2", "@types/node": "^17.0.14",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0" "tslint-config-prettier": "^1.15.0"
} }
@ -94,9 +99,9 @@
} }
}, },
"node_modules/@babel/core": { "node_modules/@babel/core": {
"version": "7.16.10", "version": "7.16.12",
"resolved": "https://verdaccio.lossless.one/@babel%2fcore/-/core-7.16.10.tgz", "resolved": "https://verdaccio.lossless.one/@babel%2fcore/-/core-7.16.12.tgz",
"integrity": "sha512-pbiIdZbCiMx/MM6toR+OfXarYix3uz0oVsnNtfdAGTcCTu3w/JGF8JhirevXLBJUu0WguSZI12qpKnx7EeMyLA==", "integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -105,7 +110,7 @@
"@babel/helper-compilation-targets": "^7.16.7", "@babel/helper-compilation-targets": "^7.16.7",
"@babel/helper-module-transforms": "^7.16.7", "@babel/helper-module-transforms": "^7.16.7",
"@babel/helpers": "^7.16.7", "@babel/helpers": "^7.16.7",
"@babel/parser": "^7.16.10", "@babel/parser": "^7.16.12",
"@babel/template": "^7.16.7", "@babel/template": "^7.16.7",
"@babel/traverse": "^7.16.10", "@babel/traverse": "^7.16.10",
"@babel/types": "^7.16.8", "@babel/types": "^7.16.8",
@ -532,9 +537,9 @@
} }
}, },
"node_modules/@babel/parser": { "node_modules/@babel/parser": {
"version": "7.16.10", "version": "7.16.12",
"resolved": "https://verdaccio.lossless.one/@babel%2fparser/-/parser-7.16.10.tgz", "resolved": "https://verdaccio.lossless.one/@babel%2fparser/-/parser-7.16.12.tgz",
"integrity": "sha512-Sm/S9Or6nN8uiFsQU1yodyDW3MWXQhFeqzMPM+t8MJjM+pLsnFVxFZzkpXKvUXh+Gz9cbMoYYs484+Jw/NTEFQ==", "integrity": "sha512-VfaV15po8RiZssrkPweyvbGVSe4x2y+aciFCgn0n0/SJMR22cwofRV1mtnJQYcSB1wUTaA/X1LnA3es66MCO5A==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@ -1899,49 +1904,82 @@
} }
}, },
"node_modules/@gitzone/tsbundle": { "node_modules/@gitzone/tsbundle": {
"version": "1.0.88", "version": "1.0.89",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.88.tgz", "resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.89.tgz",
"integrity": "sha512-vBeW/ZntvXrW9YSWmQqk6KPh/xxzQc0skOjAQQeEPZG7mlM91wQ+B8R/htJGwDFcs1IyGrR51yfep7l2ntTpqg==", "integrity": "sha512-L4W3umYKzqIx+/VQXVSCtEydWPEV3GxHpt0g+dpG6k8HobpLCOZi/56zbBP5vuazak7dq15hPwJ6vP1LQPZeuA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@babel/core": "^7.15.0", "@babel/core": "^7.16.12",
"@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.14.5", "@babel/plugin-proposal-decorators": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.15.0", "@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.15.0", "@babel/preset-env": "^7.16.11",
"@babel/runtime": "^7.15.3", "@babel/runtime": "^7.16.7",
"@pushrocks/early": "^3.0.6", "@pushrocks/early": "^3.0.6",
"@pushrocks/smartcli": "^3.0.14", "@pushrocks/smartcli": "^3.0.14",
"@pushrocks/smartfile": "^8.0.10", "@pushrocks/smartfile": "^9.0.5",
"@pushrocks/smartlog": "^2.0.44", "@pushrocks/smartlog": "^2.0.44",
"@pushrocks/smartlog-destination-local": "^8.0.8", "@pushrocks/smartlog-destination-local": "^8.0.8",
"@pushrocks/smartparcel": "^1.0.9", "@pushrocks/smartparcel": "^1.0.9",
"@pushrocks/smartpromise": "^3.1.6", "@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartspawn": "^2.0.9", "@pushrocks/smartspawn": "^2.0.9",
"@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4", "@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.2.5", "@rollup/plugin-typescript": "^8.3.0",
"@types/html-minifier": "^4.0.1", "@types/html-minifier": "^4.0.2",
"@types/node": "^16.7.4", "@types/node": "^17.0.10",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"rollup": "^2.56.3", "rollup": "^2.66.0",
"rollup-plugin-babel": "^4.4.0", "rollup-plugin-babel": "^4.4.0",
"rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",
"typescript": "^4.4.2" "typescript": "^4.5.5"
}, },
"bin": { "bin": {
"tsbundle": "cli.js" "tsbundle": "cli.js"
} }
}, },
"node_modules/@gitzone/tsbundle/node_modules/@types/node": { "node_modules/@gitzone/tsbundle/node_modules/@pushrocks/lik": {
"version": "16.11.21", "version": "5.0.4",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-16.11.21.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2flik/-/lik-5.0.4.tgz",
"integrity": "sha512-Pf8M1XD9i1ksZEcCP8vuSNwooJ/bZapNmIzpmsMaL+jMI+8mEYU3PKvs+xDNuQcJWF/x24WzY4qxLtB0zNow9A==", "integrity": "sha512-Ydr1qwu/CYQiG9ZymhhNbyUQKIp6Yo6T9wsxR/D3iDs/h4vabkaFzcE47yNz+quMX/4kQaGthb77xxiXTnsVdQ==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT",
"dependencies": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartmatch": "^1.0.7",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartrx": "^2.0.25",
"@pushrocks/smarttime": "^3.0.43",
"@types/minimatch": "^3.0.5",
"symbol-tree": "^3.2.4"
}
},
"node_modules/@gitzone/tsbundle/node_modules/@pushrocks/smartfile": {
"version": "9.0.5",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartfile/-/smartfile-9.0.5.tgz",
"integrity": "sha512-u7i2GmKPzjZZUNhl7y/vM8gubU23DIOSpGxxjN3T49fGOzc6LsjTenk7clVxpdR27eRzCsvRTy3rOxcyMLGOvQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@pushrocks/lik": "^5.0.0",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartfile-interfaces": "^1.0.7",
"@pushrocks/smarthash": "^2.1.10",
"@pushrocks/smartjson": "^4.0.6",
"@pushrocks/smartmime": "^1.0.5",
"@pushrocks/smartpath": "^4.0.3",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartrequest": "^1.1.52",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/js-yaml": "^4.0.5",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"js-yaml": "^4.1.0"
}
}, },
"node_modules/@gitzone/tsrun": { "node_modules/@gitzone/tsrun": {
"version": "1.2.18", "version": "1.2.18",
@ -1983,6 +2021,21 @@
"tstest": "cli.js" "tstest": "cli.js"
} }
}, },
"node_modules/@gitzone/tstest/node_modules/@pushrocks/tapbundle": {
"version": "3.2.15",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-3.2.15.tgz",
"integrity": "sha512-LE1VEU5qL0E7t1PZCxbHcuHa0Jp6PghLBM1Mj7gFKq2H1QwFcxkuaYmT8SPU0FH2iMxd72fDhG+qXA0WmTnGCA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@open-wc/testing-helpers": "^2.0.2",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smarttime": "^3.0.43",
"smartchai": "^2.0.1"
}
},
"node_modules/@iarna/toml": { "node_modules/@iarna/toml": {
"version": "2.2.5", "version": "2.2.5",
"resolved": "https://verdaccio.lossless.one/@iarna%2ftoml/-/toml-2.2.5.tgz", "resolved": "https://verdaccio.lossless.one/@iarna%2ftoml/-/toml-2.2.5.tgz",
@ -2228,7 +2281,6 @@
"version": "2.0.13", "version": "2.0.13",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartdelay/-/smartdelay-2.0.13.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartdelay/-/smartdelay-2.0.13.tgz",
"integrity": "sha512-s6Wh0BHWMfZ5VYONQwpxOYX1JeC9RKA0O9TxEzfZ6FCw2oNQb2QUPCixT9rsceKwva4+atKRw/RfU+Z7aJDmsA==", "integrity": "sha512-s6Wh0BHWMfZ5VYONQwpxOYX1JeC9RKA0O9TxEzfZ6FCw2oNQb2QUPCixT9rsceKwva4+atKRw/RfU+Z7aJDmsA==",
"dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pushrocks/smartpromise": "^3.0.6" "@pushrocks/smartpromise": "^3.0.6"
@ -2245,6 +2297,13 @@
"@types/node": "^14.11.2" "@types/node": "^14.11.2"
} }
}, },
"node_modules/@pushrocks/smartenv/node_modules/@types/node": {
"version": "14.18.10",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.18.10.tgz",
"integrity": "sha512-6iihJ/Pp5fsFJ/aEDGyvT4pHGmCpq7ToQ/yf4bl5SbVAvwpspYJ+v3jO7n8UyjhQVHTy+KNszOozDdv+O6sovQ==",
"dev": true,
"license": "MIT"
},
"node_modules/@pushrocks/smarterror": { "node_modules/@pushrocks/smarterror": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmarterror/-/smarterror-2.0.1.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmarterror/-/smarterror-2.0.1.tgz",
@ -2267,6 +2326,18 @@
"@pushrocks/smartdelay": "^2.0.3" "@pushrocks/smartdelay": "^2.0.3"
} }
}, },
"node_modules/@pushrocks/smartexpect": {
"version": "1.0.7",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpect/-/smartexpect-1.0.7.tgz",
"integrity": "sha512-xoYMslPRhOsA2/SPCY7gmRfzT2cL0D5a+wFPB0dVBLJ9jCoyYkRm5sZo02ty+YNqXUVN2zKxY+BZk9KM4HaHyw==",
"dev": true,
"license": "MIT",
"dependencies": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpromise": "^3.1.6",
"fast-deep-equal": "^3.1.3"
}
},
"node_modules/@pushrocks/smartexpress": { "node_modules/@pushrocks/smartexpress": {
"version": "3.0.108", "version": "3.0.108",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpress/-/smartexpress-3.0.108.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpress/-/smartexpress-3.0.108.tgz",
@ -2552,7 +2623,6 @@
"version": "3.1.6", "version": "3.1.6",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartpromise/-/smartpromise-3.1.6.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartpromise/-/smartpromise-3.1.6.tgz",
"integrity": "sha512-v+RyVpspzYuBcV/aWXqwC03TWYeFLj7aWMG3IBDFmH2ssgug+82KLW/gw2WB2aVOEvmSkfI9OVvOQz2OsLbYlA==", "integrity": "sha512-v+RyVpspzYuBcV/aWXqwC03TWYeFLj7aWMG3IBDFmH2ssgug+82KLW/gw2WB2aVOEvmSkfI9OVvOQz2OsLbYlA==",
"dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/@pushrocks/smartpuppeteer": { "node_modules/@pushrocks/smartpuppeteer": {
@ -2583,15 +2653,24 @@
} }
}, },
"node_modules/@pushrocks/smartrx": { "node_modules/@pushrocks/smartrx": {
"version": "2.0.19", "version": "2.0.25",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.19.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.25.tgz",
"integrity": "sha512-xKuN2qKpewq4LLwQfGRv6+hG+gFjzoKB6uij3M0NpaPcj/BbO3afnbOv+sczGThf/goMxTTKdQRPXYOp8Rt+Cw==", "integrity": "sha512-fryDJvjRdVYsH30xqR+bicp5poTdz7KYZ7Kqm+Yth0Qtk0x7NazENaTJATnWqGSiCbk9GrufVUTKWsT+uIT6kQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pushrocks/lik": "^4.0.17", "@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartpromise": "^3.0.6", "rxjs": "^7.5.2"
"rxjs": "^6.6.3" }
},
"node_modules/@pushrocks/smartrx/node_modules/rxjs": {
"version": "7.5.2",
"resolved": "https://verdaccio.lossless.one/rxjs/-/rxjs-7.5.2.tgz",
"integrity": "sha512-PwDt186XaL3QN5qXj/H9DGyHhP3/RYYgZZwqBv9Tv8rsAaiwFH1IsJJlcgD37J7UW5a6O67qX0KWKS3/pu0m4w==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
"tslib": "^2.1.0"
} }
}, },
"node_modules/@pushrocks/smartshell": { "node_modules/@pushrocks/smartshell": {
@ -2810,18 +2889,18 @@
} }
}, },
"node_modules/@pushrocks/tapbundle": { "node_modules/@pushrocks/tapbundle": {
"version": "3.2.15", "version": "4.0.0",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-3.2.15.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-4.0.0.tgz",
"integrity": "sha512-LE1VEU5qL0E7t1PZCxbHcuHa0Jp6PghLBM1Mj7gFKq2H1QwFcxkuaYmT8SPU0FH2iMxd72fDhG+qXA0WmTnGCA==", "integrity": "sha512-BPq1YyC1+oikfaoyJB2v5/riZzk+6VoPLtTkUjtEKCwlVK+GNp1Gixk5hmtMtInyS1aIriTG7bCMFBB4P2nMhQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@open-wc/testing-helpers": "^2.0.2", "@open-wc/testing-helpers": "^2.0.2",
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16", "@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartexpect": "^1.0.7",
"@pushrocks/smartpromise": "^3.1.6", "@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smarttime": "^3.0.43", "@pushrocks/smarttime": "^3.0.43"
"smartchai": "^2.0.1"
} }
}, },
"node_modules/@pushrocks/webrequest": { "node_modules/@pushrocks/webrequest": {
@ -2848,9 +2927,9 @@
} }
}, },
"node_modules/@rollup/plugin-commonjs": { "node_modules/@rollup/plugin-commonjs": {
"version": "20.0.0", "version": "21.0.1",
"resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-20.0.0.tgz", "resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-21.0.1.tgz",
"integrity": "sha512-5K0g5W2Ol8hAcTHqcTBHiA7M58tfmYi1o9KxeJuuRNpGaTa5iLjcyemBitCBcKXaHamOBBEH2dGom6v6Unmqjg==", "integrity": "sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -3276,9 +3355,9 @@
"license": "MIT" "license": "MIT"
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "14.18.9", "version": "17.0.14",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.18.9.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-17.0.14.tgz",
"integrity": "sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==", "integrity": "sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
@ -4647,9 +4726,9 @@
"license": "Apache-2.0" "license": "Apache-2.0"
}, },
"node_modules/chai": { "node_modules/chai": {
"version": "4.3.4", "version": "4.3.6",
"resolved": "https://verdaccio.lossless.one/chai/-/chai-4.3.4.tgz", "resolved": "https://verdaccio.lossless.one/chai/-/chai-4.3.6.tgz",
"integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -4657,6 +4736,7 @@
"check-error": "^1.0.2", "check-error": "^1.0.2",
"deep-eql": "^3.0.1", "deep-eql": "^3.0.1",
"get-func-name": "^2.0.0", "get-func-name": "^2.0.0",
"loupe": "^2.3.1",
"pathval": "^1.1.1", "pathval": "^1.1.1",
"type-detect": "^4.0.5" "type-detect": "^4.0.5"
}, },
@ -7055,7 +7135,6 @@
"version": "3.1.3", "version": "3.1.3",
"resolved": "https://verdaccio.lossless.one/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "resolved": "https://verdaccio.lossless.one/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",
"dev": true,
"license": "MIT" "license": "MIT"
}, },
"node_modules/fast-glob": { "node_modules/fast-glob": {
@ -9476,6 +9555,16 @@
"loose-envify": "cli.js" "loose-envify": "cli.js"
} }
}, },
"node_modules/loupe": {
"version": "2.3.1",
"resolved": "https://verdaccio.lossless.one/loupe/-/loupe-2.3.1.tgz",
"integrity": "sha512-EN1D3jyVmaX4tnajVlfbREU4axL647hLec1h/PXAb8CPDMJiYitcWF2UeLVNttRqaIqQs4x+mRvXf+d+TlDrCA==",
"dev": true,
"license": "MIT",
"dependencies": {
"get-func-name": "^2.0.0"
}
},
"node_modules/lower-case": { "node_modules/lower-case": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://verdaccio.lossless.one/lower-case/-/lower-case-1.1.4.tgz", "resolved": "https://verdaccio.lossless.one/lower-case/-/lower-case-1.1.4.tgz",
@ -12804,9 +12893,9 @@
} }
}, },
"node_modules/rollup": { "node_modules/rollup": {
"version": "2.64.0", "version": "2.66.1",
"resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.64.0.tgz", "resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.66.1.tgz",
"integrity": "sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==", "integrity": "sha512-crSgLhSkLMnKr4s9iZ/1qJCplgAgrRY+igWv8KhG/AjKOJ0YX/WpmANyn8oxrw+zenF3BXWDLa7Xl/QZISH+7w==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"bin": { "bin": {
@ -14620,8 +14709,7 @@
"resolved": "https://verdaccio.lossless.one/tslib/-/tslib-2.3.1.tgz", "resolved": "https://verdaccio.lossless.one/tslib/-/tslib-2.3.1.tgz",
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==",
"dev": true, "dev": true,
"license": "0BSD", "license": "0BSD"
"peer": true
}, },
"node_modules/tslint": { "node_modules/tslint": {
"version": "6.1.3", "version": "6.1.3",
@ -15787,9 +15875,9 @@
"dev": true "dev": true
}, },
"@babel/core": { "@babel/core": {
"version": "7.16.10", "version": "7.16.12",
"resolved": "https://verdaccio.lossless.one/@babel%2fcore/-/core-7.16.10.tgz", "resolved": "https://verdaccio.lossless.one/@babel%2fcore/-/core-7.16.12.tgz",
"integrity": "sha512-pbiIdZbCiMx/MM6toR+OfXarYix3uz0oVsnNtfdAGTcCTu3w/JGF8JhirevXLBJUu0WguSZI12qpKnx7EeMyLA==", "integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/code-frame": "^7.16.7", "@babel/code-frame": "^7.16.7",
@ -15797,7 +15885,7 @@
"@babel/helper-compilation-targets": "^7.16.7", "@babel/helper-compilation-targets": "^7.16.7",
"@babel/helper-module-transforms": "^7.16.7", "@babel/helper-module-transforms": "^7.16.7",
"@babel/helpers": "^7.16.7", "@babel/helpers": "^7.16.7",
"@babel/parser": "^7.16.10", "@babel/parser": "^7.16.12",
"@babel/template": "^7.16.7", "@babel/template": "^7.16.7",
"@babel/traverse": "^7.16.10", "@babel/traverse": "^7.16.10",
"@babel/types": "^7.16.8", "@babel/types": "^7.16.8",
@ -16096,9 +16184,9 @@
} }
}, },
"@babel/parser": { "@babel/parser": {
"version": "7.16.10", "version": "7.16.12",
"resolved": "https://verdaccio.lossless.one/@babel%2fparser/-/parser-7.16.10.tgz", "resolved": "https://verdaccio.lossless.one/@babel%2fparser/-/parser-7.16.12.tgz",
"integrity": "sha512-Sm/S9Or6nN8uiFsQU1yodyDW3MWXQhFeqzMPM+t8MJjM+pLsnFVxFZzkpXKvUXh+Gz9cbMoYYs484+Jw/NTEFQ==", "integrity": "sha512-VfaV15po8RiZssrkPweyvbGVSe4x2y+aciFCgn0n0/SJMR22cwofRV1mtnJQYcSB1wUTaA/X1LnA3es66MCO5A==",
"dev": true "dev": true
}, },
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": { "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
@ -16966,44 +17054,76 @@
} }
}, },
"@gitzone/tsbundle": { "@gitzone/tsbundle": {
"version": "1.0.88", "version": "1.0.89",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.88.tgz", "resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.89.tgz",
"integrity": "sha512-vBeW/ZntvXrW9YSWmQqk6KPh/xxzQc0skOjAQQeEPZG7mlM91wQ+B8R/htJGwDFcs1IyGrR51yfep7l2ntTpqg==", "integrity": "sha512-L4W3umYKzqIx+/VQXVSCtEydWPEV3GxHpt0g+dpG6k8HobpLCOZi/56zbBP5vuazak7dq15hPwJ6vP1LQPZeuA==",
"dev": true, "dev": true,
"requires": { "requires": {
"@babel/core": "^7.15.0", "@babel/core": "^7.16.12",
"@babel/plugin-proposal-class-properties": "^7.14.5", "@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.14.5", "@babel/plugin-proposal-decorators": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.15.0", "@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.15.0", "@babel/preset-env": "^7.16.11",
"@babel/runtime": "^7.15.3", "@babel/runtime": "^7.16.7",
"@pushrocks/early": "^3.0.6", "@pushrocks/early": "^3.0.6",
"@pushrocks/smartcli": "^3.0.14", "@pushrocks/smartcli": "^3.0.14",
"@pushrocks/smartfile": "^8.0.10", "@pushrocks/smartfile": "^9.0.5",
"@pushrocks/smartlog": "^2.0.44", "@pushrocks/smartlog": "^2.0.44",
"@pushrocks/smartlog-destination-local": "^8.0.8", "@pushrocks/smartlog-destination-local": "^8.0.8",
"@pushrocks/smartparcel": "^1.0.9", "@pushrocks/smartparcel": "^1.0.9",
"@pushrocks/smartpromise": "^3.1.6", "@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartspawn": "^2.0.9", "@pushrocks/smartspawn": "^2.0.9",
"@rollup/plugin-commonjs": "^20.0.0", "@rollup/plugin-commonjs": "^21.0.1",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^13.0.4", "@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.2.5", "@rollup/plugin-typescript": "^8.3.0",
"@types/html-minifier": "^4.0.1", "@types/html-minifier": "^4.0.2",
"@types/node": "^16.7.4", "@types/node": "^17.0.10",
"html-minifier": "^4.0.0", "html-minifier": "^4.0.0",
"rollup": "^2.56.3", "rollup": "^2.66.0",
"rollup-plugin-babel": "^4.4.0", "rollup-plugin-babel": "^4.4.0",
"rollup-plugin-sourcemaps": "^0.6.3", "rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2", "rollup-plugin-terser": "^7.0.2",
"typescript": "^4.4.2" "typescript": "^4.5.5"
}, },
"dependencies": { "dependencies": {
"@types/node": { "@pushrocks/lik": {
"version": "16.11.21", "version": "5.0.4",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-16.11.21.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2flik/-/lik-5.0.4.tgz",
"integrity": "sha512-Pf8M1XD9i1ksZEcCP8vuSNwooJ/bZapNmIzpmsMaL+jMI+8mEYU3PKvs+xDNuQcJWF/x24WzY4qxLtB0zNow9A==", "integrity": "sha512-Ydr1qwu/CYQiG9ZymhhNbyUQKIp6Yo6T9wsxR/D3iDs/h4vabkaFzcE47yNz+quMX/4kQaGthb77xxiXTnsVdQ==",
"dev": true "dev": true,
"requires": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartmatch": "^1.0.7",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartrx": "^2.0.25",
"@pushrocks/smarttime": "^3.0.43",
"@types/minimatch": "^3.0.5",
"symbol-tree": "^3.2.4"
}
},
"@pushrocks/smartfile": {
"version": "9.0.5",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartfile/-/smartfile-9.0.5.tgz",
"integrity": "sha512-u7i2GmKPzjZZUNhl7y/vM8gubU23DIOSpGxxjN3T49fGOzc6LsjTenk7clVxpdR27eRzCsvRTy3rOxcyMLGOvQ==",
"dev": true,
"requires": {
"@pushrocks/lik": "^5.0.0",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartfile-interfaces": "^1.0.7",
"@pushrocks/smarthash": "^2.1.10",
"@pushrocks/smartjson": "^4.0.6",
"@pushrocks/smartmime": "^1.0.5",
"@pushrocks/smartpath": "^4.0.3",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartrequest": "^1.1.52",
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/js-yaml": "^4.0.5",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"js-yaml": "^4.1.0"
}
} }
} }
}, },
@ -17037,6 +17157,22 @@
"@pushrocks/tapbundle": "^3.2.14", "@pushrocks/tapbundle": "^3.2.14",
"@types/figures": "^3.0.1", "@types/figures": "^3.0.1",
"figures": "^3.0.0" "figures": "^3.0.0"
},
"dependencies": {
"@pushrocks/tapbundle": {
"version": "3.2.15",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-3.2.15.tgz",
"integrity": "sha512-LE1VEU5qL0E7t1PZCxbHcuHa0Jp6PghLBM1Mj7gFKq2H1QwFcxkuaYmT8SPU0FH2iMxd72fDhG+qXA0WmTnGCA==",
"dev": true,
"requires": {
"@open-wc/testing-helpers": "^2.0.2",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smarttime": "^3.0.43",
"smartchai": "^2.0.1"
}
}
} }
}, },
"@iarna/toml": { "@iarna/toml": {
@ -17245,7 +17381,6 @@
"version": "2.0.13", "version": "2.0.13",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartdelay/-/smartdelay-2.0.13.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartdelay/-/smartdelay-2.0.13.tgz",
"integrity": "sha512-s6Wh0BHWMfZ5VYONQwpxOYX1JeC9RKA0O9TxEzfZ6FCw2oNQb2QUPCixT9rsceKwva4+atKRw/RfU+Z7aJDmsA==", "integrity": "sha512-s6Wh0BHWMfZ5VYONQwpxOYX1JeC9RKA0O9TxEzfZ6FCw2oNQb2QUPCixT9rsceKwva4+atKRw/RfU+Z7aJDmsA==",
"dev": true,
"requires": { "requires": {
"@pushrocks/smartpromise": "^3.0.6" "@pushrocks/smartpromise": "^3.0.6"
} }
@ -17258,6 +17393,14 @@
"requires": { "requires": {
"@pushrocks/smartpromise": "^3.0.6", "@pushrocks/smartpromise": "^3.0.6",
"@types/node": "^14.11.2" "@types/node": "^14.11.2"
},
"dependencies": {
"@types/node": {
"version": "14.18.10",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.18.10.tgz",
"integrity": "sha512-6iihJ/Pp5fsFJ/aEDGyvT4pHGmCpq7ToQ/yf4bl5SbVAvwpspYJ+v3jO7n8UyjhQVHTy+KNszOozDdv+O6sovQ==",
"dev": true
}
} }
}, },
"@pushrocks/smarterror": { "@pushrocks/smarterror": {
@ -17280,6 +17423,17 @@
"@pushrocks/smartdelay": "^2.0.3" "@pushrocks/smartdelay": "^2.0.3"
} }
}, },
"@pushrocks/smartexpect": {
"version": "1.0.7",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpect/-/smartexpect-1.0.7.tgz",
"integrity": "sha512-xoYMslPRhOsA2/SPCY7gmRfzT2cL0D5a+wFPB0dVBLJ9jCoyYkRm5sZo02ty+YNqXUVN2zKxY+BZk9KM4HaHyw==",
"dev": true,
"requires": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpromise": "^3.1.6",
"fast-deep-equal": "^3.1.3"
}
},
"@pushrocks/smartexpress": { "@pushrocks/smartexpress": {
"version": "3.0.108", "version": "3.0.108",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpress/-/smartexpress-3.0.108.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpress/-/smartexpress-3.0.108.tgz",
@ -17548,8 +17702,7 @@
"@pushrocks/smartpromise": { "@pushrocks/smartpromise": {
"version": "3.1.6", "version": "3.1.6",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartpromise/-/smartpromise-3.1.6.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartpromise/-/smartpromise-3.1.6.tgz",
"integrity": "sha512-v+RyVpspzYuBcV/aWXqwC03TWYeFLj7aWMG3IBDFmH2ssgug+82KLW/gw2WB2aVOEvmSkfI9OVvOQz2OsLbYlA==", "integrity": "sha512-v+RyVpspzYuBcV/aWXqwC03TWYeFLj7aWMG3IBDFmH2ssgug+82KLW/gw2WB2aVOEvmSkfI9OVvOQz2OsLbYlA=="
"dev": true
}, },
"@pushrocks/smartpuppeteer": { "@pushrocks/smartpuppeteer": {
"version": "1.0.36", "version": "1.0.36",
@ -17577,14 +17730,24 @@
} }
}, },
"@pushrocks/smartrx": { "@pushrocks/smartrx": {
"version": "2.0.19", "version": "2.0.25",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.19.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.25.tgz",
"integrity": "sha512-xKuN2qKpewq4LLwQfGRv6+hG+gFjzoKB6uij3M0NpaPcj/BbO3afnbOv+sczGThf/goMxTTKdQRPXYOp8Rt+Cw==", "integrity": "sha512-fryDJvjRdVYsH30xqR+bicp5poTdz7KYZ7Kqm+Yth0Qtk0x7NazENaTJATnWqGSiCbk9GrufVUTKWsT+uIT6kQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@pushrocks/lik": "^4.0.17", "@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smartpromise": "^3.0.6", "rxjs": "^7.5.2"
"rxjs": "^6.6.3" },
"dependencies": {
"rxjs": {
"version": "7.5.2",
"resolved": "https://verdaccio.lossless.one/rxjs/-/rxjs-7.5.2.tgz",
"integrity": "sha512-PwDt186XaL3QN5qXj/H9DGyHhP3/RYYgZZwqBv9Tv8rsAaiwFH1IsJJlcgD37J7UW5a6O67qX0KWKS3/pu0m4w==",
"dev": true,
"requires": {
"tslib": "^2.1.0"
}
}
} }
}, },
"@pushrocks/smartshell": { "@pushrocks/smartshell": {
@ -17783,17 +17946,17 @@
} }
}, },
"@pushrocks/tapbundle": { "@pushrocks/tapbundle": {
"version": "3.2.15", "version": "4.0.0",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-3.2.15.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-4.0.0.tgz",
"integrity": "sha512-LE1VEU5qL0E7t1PZCxbHcuHa0Jp6PghLBM1Mj7gFKq2H1QwFcxkuaYmT8SPU0FH2iMxd72fDhG+qXA0WmTnGCA==", "integrity": "sha512-BPq1YyC1+oikfaoyJB2v5/riZzk+6VoPLtTkUjtEKCwlVK+GNp1Gixk5hmtMtInyS1aIriTG7bCMFBB4P2nMhQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"@open-wc/testing-helpers": "^2.0.2", "@open-wc/testing-helpers": "^2.0.2",
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16", "@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartexpect": "^1.0.7",
"@pushrocks/smartpromise": "^3.1.6", "@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smarttime": "^3.0.43", "@pushrocks/smarttime": "^3.0.43"
"smartchai": "^2.0.1"
} }
}, },
"@pushrocks/webrequest": { "@pushrocks/webrequest": {
@ -17818,9 +17981,9 @@
} }
}, },
"@rollup/plugin-commonjs": { "@rollup/plugin-commonjs": {
"version": "20.0.0", "version": "21.0.1",
"resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-20.0.0.tgz", "resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-21.0.1.tgz",
"integrity": "sha512-5K0g5W2Ol8hAcTHqcTBHiA7M58tfmYi1o9KxeJuuRNpGaTa5iLjcyemBitCBcKXaHamOBBEH2dGom6v6Unmqjg==", "integrity": "sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg==",
"dev": true, "dev": true,
"requires": { "requires": {
"@rollup/pluginutils": "^3.1.0", "@rollup/pluginutils": "^3.1.0",
@ -18164,9 +18327,9 @@
"dev": true "dev": true
}, },
"@types/node": { "@types/node": {
"version": "14.18.9", "version": "17.0.14",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.18.9.tgz", "resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-17.0.14.tgz",
"integrity": "sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==", "integrity": "sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==",
"dev": true "dev": true
}, },
"@types/parcel-bundler": { "@types/parcel-bundler": {
@ -19214,15 +19377,16 @@
"dev": true "dev": true
}, },
"chai": { "chai": {
"version": "4.3.4", "version": "4.3.6",
"resolved": "https://verdaccio.lossless.one/chai/-/chai-4.3.4.tgz", "resolved": "https://verdaccio.lossless.one/chai/-/chai-4.3.6.tgz",
"integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==", "integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==",
"dev": true, "dev": true,
"requires": { "requires": {
"assertion-error": "^1.1.0", "assertion-error": "^1.1.0",
"check-error": "^1.0.2", "check-error": "^1.0.2",
"deep-eql": "^3.0.1", "deep-eql": "^3.0.1",
"get-func-name": "^2.0.0", "get-func-name": "^2.0.0",
"loupe": "^2.3.1",
"pathval": "^1.1.1", "pathval": "^1.1.1",
"type-detect": "^4.0.5" "type-detect": "^4.0.5"
} }
@ -21021,8 +21185,7 @@
"fast-deep-equal": { "fast-deep-equal": {
"version": "3.1.3", "version": "3.1.3",
"resolved": "https://verdaccio.lossless.one/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", "resolved": "https://verdaccio.lossless.one/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
"dev": true
}, },
"fast-glob": { "fast-glob": {
"version": "2.2.7", "version": "2.2.7",
@ -22764,6 +22927,15 @@
"js-tokens": "^3.0.0 || ^4.0.0" "js-tokens": "^3.0.0 || ^4.0.0"
} }
}, },
"loupe": {
"version": "2.3.1",
"resolved": "https://verdaccio.lossless.one/loupe/-/loupe-2.3.1.tgz",
"integrity": "sha512-EN1D3jyVmaX4tnajVlfbREU4axL647hLec1h/PXAb8CPDMJiYitcWF2UeLVNttRqaIqQs4x+mRvXf+d+TlDrCA==",
"dev": true,
"requires": {
"get-func-name": "^2.0.0"
}
},
"lower-case": { "lower-case": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://verdaccio.lossless.one/lower-case/-/lower-case-1.1.4.tgz", "resolved": "https://verdaccio.lossless.one/lower-case/-/lower-case-1.1.4.tgz",
@ -25234,9 +25406,9 @@
} }
}, },
"rollup": { "rollup": {
"version": "2.64.0", "version": "2.66.1",
"resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.64.0.tgz", "resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.66.1.tgz",
"integrity": "sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==", "integrity": "sha512-crSgLhSkLMnKr4s9iZ/1qJCplgAgrRY+igWv8KhG/AjKOJ0YX/WpmANyn8oxrw+zenF3BXWDLa7Xl/QZISH+7w==",
"dev": true, "dev": true,
"requires": { "requires": {
"fsevents": "~2.3.2" "fsevents": "~2.3.2"
@ -26579,8 +26751,7 @@
"version": "2.3.1", "version": "2.3.1",
"resolved": "https://verdaccio.lossless.one/tslib/-/tslib-2.3.1.tgz", "resolved": "https://verdaccio.lossless.one/tslib/-/tslib-2.3.1.tgz",
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==", "integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==",
"dev": true, "dev": true
"peer": true
}, },
"tslint": { "tslint": {
"version": "6.1.3", "version": "6.1.3",

View File

@ -1,6 +1,6 @@
{ {
"name": "@pushrocks/smartexpect", "name": "@pushrocks/smartexpect",
"version": "1.0.2", "version": "1.0.13",
"private": false, "private": false,
"description": "manage expectations in code", "description": "manage expectations in code",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",
@ -13,14 +13,18 @@
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.25", "@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.78", "@gitzone/tsbundle": "^1.0.89",
"@gitzone/tstest": "^1.0.44", "@gitzone/tstest": "^1.0.44",
"@pushrocks/tapbundle": "^3.2.9", "@pushrocks/tapbundle": "^4.0.0",
"@types/node": "^14.11.2", "@types/node": "^17.0.14",
"tslint": "^6.1.3", "tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0" "tslint-config-prettier": "^1.15.0"
}, },
"dependencies": {}, "dependencies": {
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpromise": "^3.1.6",
"fast-deep-equal": "^3.1.3"
},
"browserslist": [ "browserslist": [
"last 1 chrome versions" "last 1 chrome versions"
], ],

View File

@ -1,8 +1,47 @@
import { expect, tap } from '@pushrocks/tapbundle'; import { tap } from '@pushrocks/tapbundle';
import * as smartexpect from '../ts/index'; import * as smartexpect from '../ts/index';
tap.test('first test', async () => { tap.test('sync tests', async () => {
console.log(smartexpect.standardExport); smartexpect.expect('hello').toBeTypeofString();
smartexpect.expect(1).not.toBeTypeofString();
smartexpect.expect(true).toBeTypeofBoolean();
smartexpect.expect(true).not.toBeTypeofNumber();
}); });
tap.test('async tests', async (toolsArg) => {
const deferred = toolsArg.defer();
toolsArg.delayFor(4000).then(() => {
deferred.resolve('hello');
});
await smartexpect.expectAsync(deferred.promise).timeout(5000).toBeTypeofString();
await smartexpect.expectAsync(deferred.promise).not.toBeTypeofBoolean();
});
tap.test('should check equality', async () => {
smartexpect.expect('hithere').toEqual('hithere');
smartexpect.expect('hithere').not.toEqual('hithere2');
})
tap.test('should correctly state property presence', async () => {
const testObject = {
aprop: 'hello'
};
smartexpect.expect(testObject).toHaveProperty('aprop');
smartexpect.expect(testObject).not.toHaveProperty('aprop2');
});
tap.test('should be greater than', async () => {
smartexpect.expect(4).toBeGreaterThan(3);
smartexpect.expect(4).toBeLessThan(5);
})
tap.test('should correctly determine toContain', async () => {
const hello = {
socool: 'yes'
};
const testArray = [hello];
smartexpect.expect(testArray).toContain(hello);
})
tap.start(); tap.start();

View File

@ -1,3 +1,13 @@
import * as plugins from './smartexpect.plugins'; import * as plugins from './smartexpect.plugins';
export let standardExport = 'Hi there! :) This is an exported string'; import { Assertion } from './smartexpect.classes.assertion';
export const expect = (baseArg: any) => {
const assertion = new Assertion(baseArg, 'sync');
return assertion;
}
export const expectAsync = (baseArg: any) => {
const assertion = new Assertion(baseArg, 'async');
return assertion;
}

View File

@ -0,0 +1,236 @@
import * as plugins from './smartexpect.plugins';
export type TExecutionType = 'sync' | 'async';
export class Assertion {
executionMode: TExecutionType;
baseReference: any;
propertyDrillDown: string[] = [];
private notSetting = false;
private timeoutSetting = 0;
constructor(baseReferenceArg: any, executionModeArg: TExecutionType) {
this.baseReference = baseReferenceArg;
this.executionMode = executionModeArg;
}
private getObjectToTestReference() {
let returnObjectToTestReference = this.baseReference;
for (const property of this.propertyDrillDown) {
returnObjectToTestReference = returnObjectToTestReference[property];
}
return returnObjectToTestReference;
}
public get not() {
this.notSetting = true;
return this;
}
public timeout(millisArg: number) {
this.timeoutSetting = millisArg;
return this;
}
private runCheck(checkFunction: () => any) {
const runDirectOrNegated = (checkFunction: () => any) => {
if (!this.notSetting) {
return checkFunction();
} else {
let isOk = false;
try {
runDirectOrNegated(checkFunction());
} catch (e) {
isOk = true;
}
if (!isOk) {
throw new Error('Negated assertion is not ok!');
}
}
};
if (this.executionMode === 'async') {
const done = plugins.smartpromise.defer();
if (!(this.baseReference instanceof Promise)) {
done.reject(new Error(`${this.baseReference} is not of type promise.`));
} else {
if (this.timeoutSetting) {
plugins.smartdelay.delayFor(this.timeoutSetting).then(() => {
if (done.status === 'pending') {
done.reject(new Error(`${this.baseReference} timed out at ${this.timeoutSetting}!`));
}
});
}
this.baseReference.then((promiseResultArg) => {
this.baseReference = promiseResultArg;
done.resolve(runDirectOrNegated(checkFunction));
});
}
return done.promise;
} else {
return runDirectOrNegated(checkFunction);
}
}
public toBeTypeofString() {
return this.runCheck(() => {
if (typeof this.getObjectToTestReference() !== 'string') {
throw new Error(
`Assertion failed: ${this.baseReference} with drill down ${this.propertyDrillDown} is not of type string, but typeof ${typeof this
.baseReference}`
);
}
});
}
public toBeTypeofNumber() {
return this.runCheck(() => {
if (typeof this.getObjectToTestReference() !== 'number') {
throw new Error(
`Assertion failed: ${this.baseReference} with drill down ${this.propertyDrillDown} is not of type string, but typeof ${typeof this
.baseReference}`
);
}
});
}
public toBeTypeofBoolean() {
return this.runCheck(() => {
if (typeof this.getObjectToTestReference() !== 'boolean') {
throw new Error(
`Assertion failed: ${this.baseReference} with drill down ${this.propertyDrillDown} is not of type string, but typeof ${typeof this
.baseReference}`
);
}
});
}
public toEqual(comparisonObject: any) {
return this.runCheck(() => {
const result = plugins.fastDeepEqual(this.getObjectToTestReference(), comparisonObject);
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} does not equal ${comparisonObject}`);
}
});
}
public toBeTrue() {
return this.runCheck(() => {
const result = typeof this.getObjectToTestReference() === 'boolean' && this.getObjectToTestReference() === true;
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not true or not of type boolean`);
}
});
}
public toBeFalse() {
return this.runCheck(() => {
const result = typeof this.getObjectToTestReference() === 'boolean' && this.getObjectToTestReference() === false;
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not false or not of type boolean`);
}
});
}
public toBeInstanceOf(classArg: any) {
return this.runCheck(() => {
const result = this.getObjectToTestReference() instanceof classArg;
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not an instance of ${classArg}`);
}
});
}
public toHaveProperty(propertyArg: string) {
return this.runCheck(() => {
const result = !!this.getObjectToTestReference()[propertyArg];
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} does not have property ${propertyArg}`);
}
});
}
public toBeGreaterThan(numberArg: number) {
return this.runCheck(() => {
const result = this.getObjectToTestReference() > numberArg;
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not greater than ${numberArg}`);
}
});
}
public toBeLessThan(numberArg: number) {
return this.runCheck(() => {
const result = this.getObjectToTestReference() < numberArg;
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not less than ${numberArg}`);
}
});
}
public toBeNull() {
return this.runCheck(() => {
const result = this.getObjectToTestReference() === null;
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not null`);
}
});
}
public toBeUndefined() {
return this.runCheck(() => {
const result = this.getObjectToTestReference() === undefined;
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not undefined`);
}
});
}
public toBeNullOrUndefined() {
return this.runCheck(() => {
const result = this.getObjectToTestReference() === null || this.getObjectToTestReference() === undefined;
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not null or undefined`);
}
});
}
public toContain(itemArg: any) {
return this.runCheck(() => {
const result =
this.getObjectToTestReference() instanceof Array &&
this.getObjectToTestReference().includes(itemArg);
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not contain ${itemArg}`);
}
});
}
public toStartWith(itemArg: any) {
return this.runCheck(() => {
const testObject = this.getObjectToTestReference();
const result =
typeof testObject === 'string' &&
testObject.startsWith(itemArg);
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not contain ${itemArg}`);
}
});
}
public toEndWith(itemArg: any) {
return this.runCheck(() => {
const testObject = this.getObjectToTestReference();
const result =
typeof testObject === 'string' &&
testObject.endsWith(itemArg);
if (!result) {
throw new Error(`${this.baseReference} with drill down ${this.propertyDrillDown} is not contain ${itemArg}`);
}
});
}
public property(propertyNameArg: string) {
this.propertyDrillDown.push(propertyNameArg);
return this;
}
}

View File

@ -1,2 +1,14 @@
const removeme = {}; import * as smartdelay from '@pushrocks/smartdelay';
export { removeme }; import * as smartpromise from '@pushrocks/smartpromise';
export {
smartdelay,
smartpromise
}
// third party scope
import fastDeepEqual from 'fast-deep-equal';
export {
fastDeepEqual,
}