fix(core): update

This commit is contained in:
Philipp Kunz 2022-02-02 02:45:45 +01:00
parent 3bd650dc2c
commit 9e92b8cff4
4 changed files with 327 additions and 114 deletions

394
package-lock.json generated
View File

@ -15,10 +15,10 @@
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.78",
"@gitzone/tsbundle": "^1.0.89",
"@gitzone/tstest": "^1.0.44",
"@pushrocks/tapbundle": "^3.2.9",
"@types/node": "^14.11.2",
"@pushrocks/tapbundle": "^4.0.0",
"@types/node": "^17.0.14",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
}
@ -99,9 +99,9 @@
}
},
"node_modules/@babel/core": {
"version": "7.16.10",
"resolved": "https://verdaccio.lossless.one/@babel%2fcore/-/core-7.16.10.tgz",
"integrity": "sha512-pbiIdZbCiMx/MM6toR+OfXarYix3uz0oVsnNtfdAGTcCTu3w/JGF8JhirevXLBJUu0WguSZI12qpKnx7EeMyLA==",
"version": "7.16.12",
"resolved": "https://verdaccio.lossless.one/@babel%2fcore/-/core-7.16.12.tgz",
"integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -110,7 +110,7 @@
"@babel/helper-compilation-targets": "^7.16.7",
"@babel/helper-module-transforms": "^7.16.7",
"@babel/helpers": "^7.16.7",
"@babel/parser": "^7.16.10",
"@babel/parser": "^7.16.12",
"@babel/template": "^7.16.7",
"@babel/traverse": "^7.16.10",
"@babel/types": "^7.16.8",
@ -537,9 +537,9 @@
}
},
"node_modules/@babel/parser": {
"version": "7.16.10",
"resolved": "https://verdaccio.lossless.one/@babel%2fparser/-/parser-7.16.10.tgz",
"integrity": "sha512-Sm/S9Or6nN8uiFsQU1yodyDW3MWXQhFeqzMPM+t8MJjM+pLsnFVxFZzkpXKvUXh+Gz9cbMoYYs484+Jw/NTEFQ==",
"version": "7.16.12",
"resolved": "https://verdaccio.lossless.one/@babel%2fparser/-/parser-7.16.12.tgz",
"integrity": "sha512-VfaV15po8RiZssrkPweyvbGVSe4x2y+aciFCgn0n0/SJMR22cwofRV1mtnJQYcSB1wUTaA/X1LnA3es66MCO5A==",
"dev": true,
"license": "MIT",
"bin": {
@ -1904,49 +1904,82 @@
}
},
"node_modules/@gitzone/tsbundle": {
"version": "1.0.88",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.88.tgz",
"integrity": "sha512-vBeW/ZntvXrW9YSWmQqk6KPh/xxzQc0skOjAQQeEPZG7mlM91wQ+B8R/htJGwDFcs1IyGrR51yfep7l2ntTpqg==",
"version": "1.0.89",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.89.tgz",
"integrity": "sha512-L4W3umYKzqIx+/VQXVSCtEydWPEV3GxHpt0g+dpG6k8HobpLCOZi/56zbBP5vuazak7dq15hPwJ6vP1LQPZeuA==",
"dev": true,
"license": "MIT",
"dependencies": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@babel/core": "^7.16.12",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"@babel/runtime": "^7.16.7",
"@pushrocks/early": "^3.0.6",
"@pushrocks/smartcli": "^3.0.14",
"@pushrocks/smartfile": "^8.0.10",
"@pushrocks/smartfile": "^9.0.5",
"@pushrocks/smartlog": "^2.0.44",
"@pushrocks/smartlog-destination-local": "^8.0.8",
"@pushrocks/smartparcel": "^1.0.9",
"@pushrocks/smartpromise": "^3.1.6",
"@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-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^8.2.5",
"@types/html-minifier": "^4.0.1",
"@types/node": "^16.7.4",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0",
"@types/html-minifier": "^4.0.2",
"@types/node": "^17.0.10",
"html-minifier": "^4.0.0",
"rollup": "^2.56.3",
"rollup": "^2.66.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.4.2"
"typescript": "^4.5.5"
},
"bin": {
"tsbundle": "cli.js"
}
},
"node_modules/@gitzone/tsbundle/node_modules/@types/node": {
"version": "16.11.21",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-16.11.21.tgz",
"integrity": "sha512-Pf8M1XD9i1ksZEcCP8vuSNwooJ/bZapNmIzpmsMaL+jMI+8mEYU3PKvs+xDNuQcJWF/x24WzY4qxLtB0zNow9A==",
"node_modules/@gitzone/tsbundle/node_modules/@pushrocks/lik": {
"version": "5.0.4",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2flik/-/lik-5.0.4.tgz",
"integrity": "sha512-Ydr1qwu/CYQiG9ZymhhNbyUQKIp6Yo6T9wsxR/D3iDs/h4vabkaFzcE47yNz+quMX/4kQaGthb77xxiXTnsVdQ==",
"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": {
"version": "1.2.18",
@ -1988,6 +2021,21 @@
"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": {
"version": "2.2.5",
"resolved": "https://verdaccio.lossless.one/@iarna%2ftoml/-/toml-2.2.5.tgz",
@ -2249,6 +2297,13 @@
"@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": {
"version": "2.0.1",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmarterror/-/smarterror-2.0.1.tgz",
@ -2271,6 +2326,18 @@
"@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": {
"version": "3.0.108",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpress/-/smartexpress-3.0.108.tgz",
@ -2586,15 +2653,24 @@
}
},
"node_modules/@pushrocks/smartrx": {
"version": "2.0.19",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.19.tgz",
"integrity": "sha512-xKuN2qKpewq4LLwQfGRv6+hG+gFjzoKB6uij3M0NpaPcj/BbO3afnbOv+sczGThf/goMxTTKdQRPXYOp8Rt+Cw==",
"version": "2.0.25",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.25.tgz",
"integrity": "sha512-fryDJvjRdVYsH30xqR+bicp5poTdz7KYZ7Kqm+Yth0Qtk0x7NazENaTJATnWqGSiCbk9GrufVUTKWsT+uIT6kQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@pushrocks/lik": "^4.0.17",
"@pushrocks/smartpromise": "^3.0.6",
"rxjs": "^6.6.3"
"@pushrocks/smartpromise": "^3.1.6",
"rxjs": "^7.5.2"
}
},
"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": {
@ -2813,18 +2889,18 @@
}
},
"node_modules/@pushrocks/tapbundle": {
"version": "3.2.15",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-3.2.15.tgz",
"integrity": "sha512-LE1VEU5qL0E7t1PZCxbHcuHa0Jp6PghLBM1Mj7gFKq2H1QwFcxkuaYmT8SPU0FH2iMxd72fDhG+qXA0WmTnGCA==",
"version": "4.0.0",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-4.0.0.tgz",
"integrity": "sha512-BPq1YyC1+oikfaoyJB2v5/riZzk+6VoPLtTkUjtEKCwlVK+GNp1Gixk5hmtMtInyS1aIriTG7bCMFBB4P2nMhQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"@open-wc/testing-helpers": "^2.0.2",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartexpect": "^1.0.7",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smarttime": "^3.0.43",
"smartchai": "^2.0.1"
"@pushrocks/smarttime": "^3.0.43"
}
},
"node_modules/@pushrocks/webrequest": {
@ -2851,9 +2927,9 @@
}
},
"node_modules/@rollup/plugin-commonjs": {
"version": "20.0.0",
"resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-20.0.0.tgz",
"integrity": "sha512-5K0g5W2Ol8hAcTHqcTBHiA7M58tfmYi1o9KxeJuuRNpGaTa5iLjcyemBitCBcKXaHamOBBEH2dGom6v6Unmqjg==",
"version": "21.0.1",
"resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-21.0.1.tgz",
"integrity": "sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -3279,9 +3355,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
"version": "14.18.9",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.18.9.tgz",
"integrity": "sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==",
"version": "17.0.14",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-17.0.14.tgz",
"integrity": "sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==",
"dev": true,
"license": "MIT"
},
@ -4650,9 +4726,9 @@
"license": "Apache-2.0"
},
"node_modules/chai": {
"version": "4.3.4",
"resolved": "https://verdaccio.lossless.one/chai/-/chai-4.3.4.tgz",
"integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==",
"version": "4.3.6",
"resolved": "https://verdaccio.lossless.one/chai/-/chai-4.3.6.tgz",
"integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==",
"dev": true,
"license": "MIT",
"dependencies": {
@ -4660,6 +4736,7 @@
"check-error": "^1.0.2",
"deep-eql": "^3.0.1",
"get-func-name": "^2.0.0",
"loupe": "^2.3.1",
"pathval": "^1.1.1",
"type-detect": "^4.0.5"
},
@ -9478,6 +9555,16 @@
"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": {
"version": "1.1.4",
"resolved": "https://verdaccio.lossless.one/lower-case/-/lower-case-1.1.4.tgz",
@ -12806,9 +12893,9 @@
}
},
"node_modules/rollup": {
"version": "2.64.0",
"resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.64.0.tgz",
"integrity": "sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==",
"version": "2.66.1",
"resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.66.1.tgz",
"integrity": "sha512-crSgLhSkLMnKr4s9iZ/1qJCplgAgrRY+igWv8KhG/AjKOJ0YX/WpmANyn8oxrw+zenF3BXWDLa7Xl/QZISH+7w==",
"dev": true,
"license": "MIT",
"bin": {
@ -14622,8 +14709,7 @@
"resolved": "https://verdaccio.lossless.one/tslib/-/tslib-2.3.1.tgz",
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==",
"dev": true,
"license": "0BSD",
"peer": true
"license": "0BSD"
},
"node_modules/tslint": {
"version": "6.1.3",
@ -15789,9 +15875,9 @@
"dev": true
},
"@babel/core": {
"version": "7.16.10",
"resolved": "https://verdaccio.lossless.one/@babel%2fcore/-/core-7.16.10.tgz",
"integrity": "sha512-pbiIdZbCiMx/MM6toR+OfXarYix3uz0oVsnNtfdAGTcCTu3w/JGF8JhirevXLBJUu0WguSZI12qpKnx7EeMyLA==",
"version": "7.16.12",
"resolved": "https://verdaccio.lossless.one/@babel%2fcore/-/core-7.16.12.tgz",
"integrity": "sha512-dK5PtG1uiN2ikk++5OzSYsitZKny4wOCD0nrO4TqnW4BVBTQ2NGS3NgilvT/TEyxTST7LNyWV/T4tXDoD3fOgg==",
"dev": true,
"requires": {
"@babel/code-frame": "^7.16.7",
@ -15799,7 +15885,7 @@
"@babel/helper-compilation-targets": "^7.16.7",
"@babel/helper-module-transforms": "^7.16.7",
"@babel/helpers": "^7.16.7",
"@babel/parser": "^7.16.10",
"@babel/parser": "^7.16.12",
"@babel/template": "^7.16.7",
"@babel/traverse": "^7.16.10",
"@babel/types": "^7.16.8",
@ -16098,9 +16184,9 @@
}
},
"@babel/parser": {
"version": "7.16.10",
"resolved": "https://verdaccio.lossless.one/@babel%2fparser/-/parser-7.16.10.tgz",
"integrity": "sha512-Sm/S9Or6nN8uiFsQU1yodyDW3MWXQhFeqzMPM+t8MJjM+pLsnFVxFZzkpXKvUXh+Gz9cbMoYYs484+Jw/NTEFQ==",
"version": "7.16.12",
"resolved": "https://verdaccio.lossless.one/@babel%2fparser/-/parser-7.16.12.tgz",
"integrity": "sha512-VfaV15po8RiZssrkPweyvbGVSe4x2y+aciFCgn0n0/SJMR22cwofRV1mtnJQYcSB1wUTaA/X1LnA3es66MCO5A==",
"dev": true
},
"@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression": {
@ -16968,44 +17054,76 @@
}
},
"@gitzone/tsbundle": {
"version": "1.0.88",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.88.tgz",
"integrity": "sha512-vBeW/ZntvXrW9YSWmQqk6KPh/xxzQc0skOjAQQeEPZG7mlM91wQ+B8R/htJGwDFcs1IyGrR51yfep7l2ntTpqg==",
"version": "1.0.89",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftsbundle/-/tsbundle-1.0.89.tgz",
"integrity": "sha512-L4W3umYKzqIx+/VQXVSCtEydWPEV3GxHpt0g+dpG6k8HobpLCOZi/56zbBP5vuazak7dq15hPwJ6vP1LQPZeuA==",
"dev": true,
"requires": {
"@babel/core": "^7.15.0",
"@babel/plugin-proposal-class-properties": "^7.14.5",
"@babel/plugin-proposal-decorators": "^7.14.5",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/runtime": "^7.15.3",
"@babel/core": "^7.16.12",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-decorators": "^7.16.7",
"@babel/plugin-transform-runtime": "^7.16.10",
"@babel/preset-env": "^7.16.11",
"@babel/runtime": "^7.16.7",
"@pushrocks/early": "^3.0.6",
"@pushrocks/smartcli": "^3.0.14",
"@pushrocks/smartfile": "^8.0.10",
"@pushrocks/smartfile": "^9.0.5",
"@pushrocks/smartlog": "^2.0.44",
"@pushrocks/smartlog-destination-local": "^8.0.8",
"@pushrocks/smartparcel": "^1.0.9",
"@pushrocks/smartpromise": "^3.1.6",
"@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-node-resolve": "^13.0.4",
"@rollup/plugin-typescript": "^8.2.5",
"@types/html-minifier": "^4.0.1",
"@types/node": "^16.7.4",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.0",
"@types/html-minifier": "^4.0.2",
"@types/node": "^17.0.10",
"html-minifier": "^4.0.0",
"rollup": "^2.56.3",
"rollup": "^2.66.0",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-terser": "^7.0.2",
"typescript": "^4.4.2"
"typescript": "^4.5.5"
},
"dependencies": {
"@types/node": {
"version": "16.11.21",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-16.11.21.tgz",
"integrity": "sha512-Pf8M1XD9i1ksZEcCP8vuSNwooJ/bZapNmIzpmsMaL+jMI+8mEYU3PKvs+xDNuQcJWF/x24WzY4qxLtB0zNow9A==",
"dev": true
"@pushrocks/lik": {
"version": "5.0.4",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2flik/-/lik-5.0.4.tgz",
"integrity": "sha512-Ydr1qwu/CYQiG9ZymhhNbyUQKIp6Yo6T9wsxR/D3iDs/h4vabkaFzcE47yNz+quMX/4kQaGthb77xxiXTnsVdQ==",
"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"
}
}
}
},
@ -17039,6 +17157,22 @@
"@pushrocks/tapbundle": "^3.2.14",
"@types/figures": "^3.0.1",
"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": {
@ -17259,6 +17393,14 @@
"requires": {
"@pushrocks/smartpromise": "^3.0.6",
"@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": {
@ -17281,6 +17423,17 @@
"@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": {
"version": "3.0.108",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpress/-/smartexpress-3.0.108.tgz",
@ -17577,14 +17730,24 @@
}
},
"@pushrocks/smartrx": {
"version": "2.0.19",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.19.tgz",
"integrity": "sha512-xKuN2qKpewq4LLwQfGRv6+hG+gFjzoKB6uij3M0NpaPcj/BbO3afnbOv+sczGThf/goMxTTKdQRPXYOp8Rt+Cw==",
"version": "2.0.25",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartrx/-/smartrx-2.0.25.tgz",
"integrity": "sha512-fryDJvjRdVYsH30xqR+bicp5poTdz7KYZ7Kqm+Yth0Qtk0x7NazENaTJATnWqGSiCbk9GrufVUTKWsT+uIT6kQ==",
"dev": true,
"requires": {
"@pushrocks/lik": "^4.0.17",
"@pushrocks/smartpromise": "^3.0.6",
"rxjs": "^6.6.3"
"@pushrocks/smartpromise": "^3.1.6",
"rxjs": "^7.5.2"
},
"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": {
@ -17783,17 +17946,17 @@
}
},
"@pushrocks/tapbundle": {
"version": "3.2.15",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-3.2.15.tgz",
"integrity": "sha512-LE1VEU5qL0E7t1PZCxbHcuHa0Jp6PghLBM1Mj7gFKq2H1QwFcxkuaYmT8SPU0FH2iMxd72fDhG+qXA0WmTnGCA==",
"version": "4.0.0",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2ftapbundle/-/tapbundle-4.0.0.tgz",
"integrity": "sha512-BPq1YyC1+oikfaoyJB2v5/riZzk+6VoPLtTkUjtEKCwlVK+GNp1Gixk5hmtMtInyS1aIriTG7bCMFBB4P2nMhQ==",
"dev": true,
"requires": {
"@open-wc/testing-helpers": "^2.0.2",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartexpect": "^1.0.7",
"@pushrocks/smartpromise": "^3.1.6",
"@pushrocks/smarttime": "^3.0.43",
"smartchai": "^2.0.1"
"@pushrocks/smarttime": "^3.0.43"
}
},
"@pushrocks/webrequest": {
@ -17818,9 +17981,9 @@
}
},
"@rollup/plugin-commonjs": {
"version": "20.0.0",
"resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-20.0.0.tgz",
"integrity": "sha512-5K0g5W2Ol8hAcTHqcTBHiA7M58tfmYi1o9KxeJuuRNpGaTa5iLjcyemBitCBcKXaHamOBBEH2dGom6v6Unmqjg==",
"version": "21.0.1",
"resolved": "https://verdaccio.lossless.one/@rollup%2fplugin-commonjs/-/plugin-commonjs-21.0.1.tgz",
"integrity": "sha512-EA+g22lbNJ8p5kuZJUYyhhDK7WgJckW5g4pNN7n4mAFUM96VuwUnNT3xr2Db2iCZPI1pJPbGyfT5mS9T1dHfMg==",
"dev": true,
"requires": {
"@rollup/pluginutils": "^3.1.0",
@ -18164,9 +18327,9 @@
"dev": true
},
"@types/node": {
"version": "14.18.9",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-14.18.9.tgz",
"integrity": "sha512-j11XSuRuAlft6vLDEX4RvhqC0KxNxx6QIyMXNb0vHHSNPXTPeiy3algESWmOOIzEtiEL0qiowPU3ewW9hHVa7Q==",
"version": "17.0.14",
"resolved": "https://verdaccio.lossless.one/@types%2fnode/-/node-17.0.14.tgz",
"integrity": "sha512-SbjLmERksKOGzWzPNuW7fJM7fk3YXVTFiZWB/Hs99gwhk+/dnrQRPBQjPW9aO+fi1tAffi9PrwFvsmOKmDTyng==",
"dev": true
},
"@types/parcel-bundler": {
@ -19214,15 +19377,16 @@
"dev": true
},
"chai": {
"version": "4.3.4",
"resolved": "https://verdaccio.lossless.one/chai/-/chai-4.3.4.tgz",
"integrity": "sha512-yS5H68VYOCtN1cjfwumDSuzn/9c+yza4f3reKXlE5rUg7SFcCEy90gJvydNgOYtblyf4Zi6jIWRnXOgErta0KA==",
"version": "4.3.6",
"resolved": "https://verdaccio.lossless.one/chai/-/chai-4.3.6.tgz",
"integrity": "sha512-bbcp3YfHCUzMOvKqsztczerVgBKSsEijCySNlHHbX3VG1nskvqjz5Rfso1gGwD6w6oOV3eI60pKuMOV5MV7p3Q==",
"dev": true,
"requires": {
"assertion-error": "^1.1.0",
"check-error": "^1.0.2",
"deep-eql": "^3.0.1",
"get-func-name": "^2.0.0",
"loupe": "^2.3.1",
"pathval": "^1.1.1",
"type-detect": "^4.0.5"
}
@ -22763,6 +22927,15 @@
"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": {
"version": "1.1.4",
"resolved": "https://verdaccio.lossless.one/lower-case/-/lower-case-1.1.4.tgz",
@ -25233,9 +25406,9 @@
}
},
"rollup": {
"version": "2.64.0",
"resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.64.0.tgz",
"integrity": "sha512-+c+lbw1lexBKSMb1yxGDVfJ+vchJH3qLbmavR+awDinTDA2C5Ug9u7lkOzj62SCu0PKUExsW36tpgW7Fmpn3yQ==",
"version": "2.66.1",
"resolved": "https://verdaccio.lossless.one/rollup/-/rollup-2.66.1.tgz",
"integrity": "sha512-crSgLhSkLMnKr4s9iZ/1qJCplgAgrRY+igWv8KhG/AjKOJ0YX/WpmANyn8oxrw+zenF3BXWDLa7Xl/QZISH+7w==",
"dev": true,
"requires": {
"fsevents": "~2.3.2"
@ -26578,8 +26751,7 @@
"version": "2.3.1",
"resolved": "https://verdaccio.lossless.one/tslib/-/tslib-2.3.1.tgz",
"integrity": "sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==",
"dev": true,
"peer": true
"dev": true
},
"tslint": {
"version": "6.1.3",

View File

@ -13,10 +13,10 @@
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.25",
"@gitzone/tsbundle": "^1.0.78",
"@gitzone/tsbundle": "^1.0.89",
"@gitzone/tstest": "^1.0.44",
"@pushrocks/tapbundle": "^3.2.9",
"@types/node": "^14.11.2",
"@pushrocks/tapbundle": "^4.0.0",
"@types/node": "^17.0.14",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.15.0"
},

View File

@ -22,4 +22,18 @@ tap.test('should check equality', async () => {
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.start();

View File

@ -127,4 +127,31 @@ export class Assertion {
}
});
}
public toHaveProperty(propertyArg: string) {
return this.runCheck(() => {
const result = !!this.baseReference[propertyArg];
if (!result) {
throw new Error(`${this.baseReference} does not have property ${propertyArg}`);
}
});
}
public toBeGreaterThan(numberArg: number) {
return this.runCheck(() => {
const result = this.baseReference > numberArg;
if (!result) {
throw new Error(`${this.baseReference} is not greater than ${numberArg}`);
}
});
}
public toBeLessThan(numberArg: number) {
return this.runCheck(() => {
const result = this.baseReference < numberArg;
if (!result) {
throw new Error(`${this.baseReference} is not less than ${numberArg}`);
}
});
}
}