diff --git a/package.json b/package.json index 25248a4..e48e852 100644 --- a/package.json +++ b/package.json @@ -24,21 +24,21 @@ "@push.rocks/smartfile": "^11.0.0", "@push.rocks/smartpath": "^5.0.11", "@push.rocks/smartpromise": "^4.0.3", - "@push.rocks/smartrequest": "^2.0.20", + "@push.rocks/smartrequest": "^2.0.21", "@push.rocks/smartrx": "^3.0.7", - "@push.rocks/smartstream": "^3.0.12", + "@push.rocks/smartstream": "^3.0.14", "@push.rocks/smartunique": "^3.0.6", "@push.rocks/smarturl": "^3.0.7", "@types/tar-stream": "^3.1.3", "fflate": "^0.8.1", - "file-type": "^18.6.0", + "file-type": "^18.7.0", "tar-stream": "^3.1.6", "through": "^2.3.8" }, "devDependencies": { "@git.zone/tsbuild": "^2.1.66", "@git.zone/tsrun": "^1.2.44", - "@git.zone/tstest": "^1.0.77", + "@git.zone/tstest": "^1.0.84", "@push.rocks/tapbundle": "^5.0.15" }, "private": false, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 238d6d8..3202aa4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,14 +15,14 @@ dependencies: specifier: ^4.0.3 version: 4.0.3 '@push.rocks/smartrequest': - specifier: ^2.0.20 - version: 2.0.20 + specifier: ^2.0.21 + version: 2.0.21 '@push.rocks/smartrx': specifier: ^3.0.7 version: 3.0.7 '@push.rocks/smartstream': - specifier: ^3.0.12 - version: 3.0.12 + specifier: ^3.0.14 + version: 3.0.14 '@push.rocks/smartunique': specifier: ^3.0.6 version: 3.0.6 @@ -36,8 +36,8 @@ dependencies: specifier: ^0.8.1 version: 0.8.1 file-type: - specifier: ^18.6.0 - version: 18.6.0 + specifier: ^18.7.0 + version: 18.7.0 tar-stream: specifier: ^3.1.6 version: 3.1.6 @@ -53,8 +53,8 @@ devDependencies: specifier: ^1.2.44 version: 1.2.46(@types/node@20.9.0) '@git.zone/tstest': - specifier: ^1.0.77 - version: 1.0.81(@types/node@20.9.0)(sinon@17.0.1) + specifier: ^1.0.84 + version: 1.0.84(@types/node@20.9.0)(sinon@17.0.1) '@push.rocks/tapbundle': specifier: ^5.0.15 version: 5.0.15(sinon@17.0.1) @@ -70,7 +70,7 @@ packages: dependencies: '@api.global/typedrequest-interfaces': 3.0.1 '@push.rocks/isounique': 1.0.5 - '@push.rocks/lik': 6.0.5 + '@push.rocks/lik': 6.0.6 '@push.rocks/smartdelay': 3.0.5 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/webrequest': 3.0.34 @@ -82,10 +82,10 @@ packages: '@api.global/typedrequest': 3.0.2 '@api.global/typedrequest-interfaces': 3.0.1 '@api.global/typedsocket': 3.0.0 - '@push.rocks/lik': 6.0.5 + '@push.rocks/lik': 6.0.6 '@push.rocks/smartchok': 1.0.23 '@push.rocks/smartdelay': 3.0.5 - '@push.rocks/smartenv': 5.0.10 + '@push.rocks/smartenv': 5.0.12 '@push.rocks/smartfeed': 1.0.11 '@push.rocks/smartfile': 11.0.0 '@push.rocks/smartlog': 3.0.3 @@ -95,13 +95,13 @@ packages: '@push.rocks/smartopen': 2.0.0 '@push.rocks/smartpath': 5.0.11 '@push.rocks/smartpromise': 4.0.3 - '@push.rocks/smartrequest': 2.0.20 + '@push.rocks/smartrequest': 2.0.21 '@push.rocks/smartrx': 3.0.7 '@push.rocks/smartsitemap': 2.0.3 '@push.rocks/smarttime': 4.0.6 '@push.rocks/webstore': 2.0.13 '@tsclass/tsclass': 4.0.46 - '@types/express': 4.17.20 + '@types/express': 4.17.21 body-parser: 1.20.2 cors: 2.8.5 express: 4.18.2 @@ -392,7 +392,7 @@ packages: '@push.rocks/smartpath': 5.0.11 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smartspawn': 3.0.2 - '@types/html-minifier': 4.0.4 + '@types/html-minifier': 4.0.5 esbuild: 0.19.5 html-minifier: 4.0.0 typescript: 5.2.2 @@ -414,8 +414,8 @@ packages: - '@types/node' dev: true - /@git.zone/tstest@1.0.81(@types/node@20.9.0)(sinon@17.0.1): - resolution: {integrity: sha512-OUTACsOmvvzbKay4i1hbBaToLzo/OaCYV1PiYpoK9S2BJMbVJAik+ZbdixbJugoLrw7bR9velYgT66lnS6OZUA==} + /@git.zone/tstest@1.0.84(@types/node@20.9.0)(sinon@17.0.1): + resolution: {integrity: sha512-HQQvloUWGj4fPxOuhO7Dfxw83szRlIMNJpaJtIgDUWiMm6vF9ygvcMTgpUUkEmWjxQ/t/SkXvHqHjtfp0l4l2g==} hasBin: true dependencies: '@api.global/typedserver': 3.0.9 @@ -424,12 +424,14 @@ packages: '@push.rocks/consolecolor': 2.0.1 '@push.rocks/smartbrowser': 2.0.6 '@push.rocks/smartdelay': 3.0.5 - '@push.rocks/smartfile': 10.0.41 + '@push.rocks/smartfile': 11.0.0 '@push.rocks/smartlog': 3.0.3 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smartshell': 3.0.3 '@push.rocks/tapbundle': 5.0.15(sinon@17.0.1) - figures: 5.0.0 + '@types/ws': 8.5.9 + figures: 6.0.1 + ws: 8.14.2 transitivePeerDependencies: - '@swc/core' - '@swc/wasm' @@ -607,6 +609,19 @@ packages: '@types/symbol-tree': 3.2.4 symbol-tree: 3.2.4 + /@push.rocks/lik@6.0.6: + resolution: {integrity: sha512-5NVFbtR2XsGHxNqUbjFPp91J7mCWFPUc8bVfXIY2YgzhK/I5XI7yT+QBM+Bc2IvGLxjvQPkueRfPKl1IEnegeA==} + dependencies: + '@push.rocks/smartdelay': 3.0.5 + '@push.rocks/smartmatch': 2.0.0 + '@push.rocks/smartpromise': 4.0.3 + '@push.rocks/smartrx': 3.0.7 + '@push.rocks/smarttime': 4.0.6 + '@types/minimatch': 5.1.2 + '@types/symbol-tree': 3.2.5 + symbol-tree: 3.2.4 + dev: true + /@push.rocks/smartbrowser@2.0.6: resolution: {integrity: sha512-Ne+KCVhV/DROc1rHRRw59K6h0+LpQAK9fdOUtgDZ7laLPmB/tmnbUh3IuRDNcIY1iVA9pydoobwjnTjVgio9eQ==} dependencies: @@ -662,6 +677,12 @@ packages: dependencies: '@push.rocks/smartpromise': 4.0.3 + /@push.rocks/smartenv@5.0.12: + resolution: {integrity: sha512-tDEFwywzq0FNzRYc9qY2dRl2pgQuZG0G2/yml2RLWZWSW+Fn1EHshnKOGHz8o77W7zvu4hTgQQX42r/JY5XHTg==} + dependencies: + '@push.rocks/smartpromise': 4.0.3 + dev: true + /@push.rocks/smartexpect@1.0.21: resolution: {integrity: sha512-SelJxXMYeF5VEZk0oPgcjTCM2D7vqOTUgVX/vnnGxZAl9d068LD12/BWLwKCEp0dsV3NT8rBuXJTFPZYjdsApg==} dependencies: @@ -692,7 +713,7 @@ packages: '@push.rocks/smartmime': 1.0.6 '@push.rocks/smartpath': 5.0.11 '@push.rocks/smartpromise': 4.0.3 - '@push.rocks/smartrequest': 2.0.20 + '@push.rocks/smartrequest': 2.0.21 '@push.rocks/smartstream': 2.0.8 '@types/fs-extra': 11.0.3 '@types/glob': 8.1.0 @@ -713,8 +734,8 @@ packages: '@push.rocks/smartmime': 1.0.6 '@push.rocks/smartpath': 5.0.11 '@push.rocks/smartpromise': 4.0.3 - '@push.rocks/smartrequest': 2.0.20 - '@push.rocks/smartstream': 3.0.12 + '@push.rocks/smartrequest': 2.0.21 + '@push.rocks/smartstream': 3.0.14 '@types/fs-extra': 11.0.3 '@types/glob': 8.1.0 '@types/js-yaml': 4.0.8 @@ -790,7 +811,7 @@ packages: '@types/default-gateway': 3.0.1 isopen: 1.3.0 public-ip: 6.0.1 - systeminformation: 5.21.15 + systeminformation: 5.21.16 dev: true /@push.rocks/smartopen@2.0.0: @@ -821,7 +842,7 @@ packages: '@push.rocks/smartpuppeteer': 2.0.2 '@push.rocks/smartunique': 3.0.6 '@tsclass/tsclass': 4.0.46 - '@types/express': 4.17.20 + '@types/express': 4.17.21 express: 4.18.2 pdf-merger-js: 3.4.0 pdf2json: 2.1.0 @@ -849,8 +870,8 @@ packages: - utf-8-validate dev: true - /@push.rocks/smartrequest@2.0.20: - resolution: {integrity: sha512-7Y22kOS9CGJLjayjpRbkoDxd5kqmnG9WDY1WWR3/kqo63WFhdgHueatmJjT/v1QqvKSG88gL36kG4f7YG/0xTA==} + /@push.rocks/smartrequest@2.0.21: + resolution: {integrity: sha512-btk9GbiMNxNcEgJEqTq9qMFJ/6ua6oG4q49v+8ujKAXU50vFn1WQ/H0VAyeu9LMa5GCcRwUhNNDdwpLVGVbrBg==} dependencies: '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smarturl': 3.0.7 @@ -892,9 +913,9 @@ packages: '@api.global/typedserver': 3.0.9 '@push.rocks/isohash': 2.0.1 '@push.rocks/isounique': 1.0.5 - '@push.rocks/lik': 6.0.5 + '@push.rocks/lik': 6.0.6 '@push.rocks/smartdelay': 3.0.5 - '@push.rocks/smartenv': 5.0.10 + '@push.rocks/smartenv': 5.0.12 '@push.rocks/smartjson': 5.0.10 '@push.rocks/smartlog': 3.0.3 '@push.rocks/smartpromise': 4.0.3 @@ -931,8 +952,8 @@ packages: through2: 4.0.2 dev: true - /@push.rocks/smartstream@3.0.12: - resolution: {integrity: sha512-lAlHb69JBsU47vjkV8tut6R21CKjjdBg2UFwWLKoz1U1y9j9/WR4+L4dcHm7/6AqNTVDd/hwv3Kku82o5U/39Q==} + /@push.rocks/smartstream@3.0.14: + resolution: {integrity: sha512-Z8jysAB/rit9P+vGHwuyNzpD7jGwb5BW+ueYPxWXfcRwQMqhhyGaXyix1CAjJBJ0dOlbKiBoq+tG8Vv8SHzYxA==} dependencies: '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smartrx': 3.0.7 @@ -981,7 +1002,7 @@ packages: /@push.rocks/smartyaml@2.0.5: resolution: {integrity: sha512-tBcf+HaOIfeEsTMwgUZDtZERCxXQyRsWO8Ar5DjBdiSRchbhVGZQEBzXswMS0W5ZoRenjgPK+4tPW3JQGRTfbg==} dependencies: - '@types/js-yaml': 3.12.9 + '@types/js-yaml': 3.12.10 js-yaml: 3.14.1 dev: true @@ -1005,7 +1026,7 @@ packages: resolution: {integrity: sha512-3gqJb58ZukPsOcS26ya2M/nAEOP7lMYyc2Syh45ljgwdM3X8PwHquk5pdc1MMdDWAo1aiYrxReEw6BgMCJUlNQ==} dependencies: '@push.rocks/smartdelay': 3.0.5 - '@push.rocks/smartenv': 5.0.10 + '@push.rocks/smartenv': 5.0.12 '@push.rocks/smartjson': 5.0.10 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/webstore': 2.0.13 @@ -1015,8 +1036,8 @@ packages: resolution: {integrity: sha512-w5Q3g1TT5SDIXukAAoYVuWud+Y5ysS8qiBqPU00/re895VVZhUOSNJMNU6jyneZigmbWtwSLsxDkZHlsHWpfuA==} dependencies: '@apiglobal/typedrequest-interfaces': 2.0.1 - '@push.rocks/lik': 6.0.5 - '@push.rocks/smartenv': 5.0.10 + '@push.rocks/lik': 6.0.6 + '@push.rocks/smartenv': 5.0.12 '@push.rocks/smartjson': 5.0.10 '@push.rocks/smartpromise': 4.0.3 '@push.rocks/smartrx': 3.0.7 @@ -1086,7 +1107,7 @@ packages: '@pushrocks/smartrx': 3.0.2 '@pushrocks/smarttime': 4.0.1 '@types/minimatch': 5.1.2 - '@types/symbol-tree': 3.2.4 + '@types/symbol-tree': 3.2.5 symbol-tree: 3.2.4 dev: true @@ -1133,7 +1154,7 @@ packages: dependencies: '@pushrocks/smartjson': 5.0.6 '@pushrocks/smartpromise': 3.1.10 - '@types/through2': 2.0.40 + '@types/through2': 2.0.41 through2: 4.0.2 dev: true @@ -1142,7 +1163,7 @@ packages: deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartjson dependencies: '@pushrocks/smartstring': 4.0.7 - '@types/buffer-json': 2.0.2 + '@types/buffer-json': 2.0.3 buffer-json: 2.0.0 fast-json-stable-stringify: 2.1.0 lodash.clonedeep: 4.5.0 @@ -1180,7 +1201,7 @@ packages: resolution: {integrity: sha512-VM2gfS1sTuycj/jHyDa0lDntkPe7/JT0b2kGsy265RkichAJZkoEp3fboRJH/WAdzM8T4Du64JYgZkc8v2HHQg==} deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartping dependencies: - '@types/ping': 0.4.3 + '@types/ping': 0.4.4 ping: 0.4.4 dev: true @@ -1228,7 +1249,7 @@ packages: dependencies: '@pushrocks/isounique': 1.0.5 '@pushrocks/smartenv': 5.0.5 - '@types/randomatic': 3.1.4 + '@types/randomatic': 3.1.5 buffer: 6.0.3 crypto-random-string: 5.0.0 js-base64: 3.7.5 @@ -1269,7 +1290,7 @@ packages: deprecated: This package has been deprecated in favour of the new package at @push.rocks/smartunique dependencies: '@types/shortid': 0.0.29 - '@types/uuid': 7.0.7 + '@types/uuid': 7.0.8 shortid: 2.2.16 uuid: 7.0.3 dev: true @@ -1345,7 +1366,7 @@ packages: /@tsclass/tsclass@4.0.46: resolution: {integrity: sha512-UovPUvlozv1ftJp4KW5tt4MP/LQCNP3lSCinjyIrLkopOymczyzONUGvSAAwOBf1XBE9bO0tI4KtRuXWN9XBXQ==} dependencies: - type-fest: 4.6.0 + type-fest: 4.7.1 dev: true /@tsconfig/node10@1.0.9: @@ -1381,9 +1402,20 @@ packages: '@types/node': 20.8.10 dev: true + /@types/body-parser@1.19.5: + resolution: {integrity: sha512-fB3Zu92ucau0iQ0JMCFQE7b/dv8Ot07NI3KaZIkIUNXq82k4eBAqUaneXfleGY9JWskeS9y+u0nXMyspcuQrCg==} + dependencies: + '@types/connect': 3.4.38 + '@types/node': 20.9.0 + dev: true + /@types/buffer-json@2.0.2: resolution: {integrity: sha512-ypA1MmZb3NBma+R0qOnXryMU8tIQf27+TQ6PLgXaGQy0G0C1WkjmIjzPbKS84RoZJXOz88AV9AQnSEwhY/4PwA==} + /@types/buffer-json@2.0.3: + resolution: {integrity: sha512-ItD4UfF3Q5jA+PEV6ZUWEHvlWaXJbd0rpuBKOIrEebM053FHaJddKsgUf0vy7nLSTs44nqFj3Mh8J3TiT0xv4g==} + dev: true + /@types/chai-dom@0.0.9: resolution: {integrity: sha512-jj4F2NJog2/GBYsyJ8+NvhnWUBbPY4MUAKLdPJE6+568rw12GGXvj0ycUuP5nndVrnJgozmJAoMTvxvjJATXWw==} dependencies: @@ -1401,10 +1433,10 @@ packages: chokidar: 3.5.3 dev: true - /@types/clean-css@4.2.9: - resolution: {integrity: sha512-pjzJ4n5eAXAz/L5Zur4ZymuJUvyo0Uh0iRnRI/1kADFLs76skDky0K0dX1rlv4iXXrJXNk3sxRWVJR7CMDroWA==} + /@types/clean-css@4.2.10: + resolution: {integrity: sha512-/wop6SNAATELCIvTQEbPdxaIvXQDS+Gewx2rtkB1h8PrttLpYVDI18nH9927fIMO1dJsV01JEm0go4vTimpDxQ==} dependencies: - '@types/node': 20.8.10 + '@types/node': 20.9.0 source-map: 0.6.1 dev: true @@ -1421,6 +1453,12 @@ packages: '@types/node': 20.8.10 dev: true + /@types/connect@3.4.38: + resolution: {integrity: sha512-K6uROf1LD88uDQqJCktA4yzL1YYAK6NgfsI0v/mTgyPKWsX1CnJ0XPSDhViejru1GcRkLWb8RlzFYJRqGUbaug==} + dependencies: + '@types/node': 20.9.0 + dev: true + /@types/content-disposition@0.5.7: resolution: {integrity: sha512-V9/5u21RHFR1zfdm3rQ6pJUKV+zSSVQt+yq16i1YhdivVzWgPEoKedc3GdT8aFjsqQbakdxuy3FnEdePUQOamQ==} dev: true @@ -1442,10 +1480,10 @@ packages: '@types/node': 20.8.10 dev: true - /@types/cors@2.8.15: - resolution: {integrity: sha512-n91JxbNLD8eQIuXDIChAN1tCKNWCEgpceU9b7ZMbFA+P+Q4yIeh80jizFLEvolRPc1ES0VdwFlGv+kJTSirogw==} + /@types/cors@2.8.16: + resolution: {integrity: sha512-Trx5or1Nyg1Fq138PCuWqoApzvoSLWzZ25ORBiHMbbUT42g578lH1GT4TwYDbiUOLFuDsCkfLneT2105fsFWGg==} dependencies: - '@types/node': 20.8.10 + '@types/node': 20.9.0 dev: true /@types/debounce@1.2.3: @@ -1465,6 +1503,15 @@ packages: '@types/send': 0.17.3 dev: true + /@types/express-serve-static-core@4.17.41: + resolution: {integrity: sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA==} + dependencies: + '@types/node': 20.9.0 + '@types/qs': 6.9.10 + '@types/range-parser': 1.2.7 + '@types/send': 0.17.4 + dev: true + /@types/express@4.17.20: resolution: {integrity: sha512-rOaqlkgEvOW495xErXMsmyX3WKBInbhG5eqojXYi3cGUaLoRDlXa5d52fkfWZT963AZ3v2eZ4MbKE6WpDAGVsw==} dependencies: @@ -1474,6 +1521,15 @@ packages: '@types/serve-static': 1.15.4 dev: true + /@types/express@4.17.21: + resolution: {integrity: sha512-ejlPM315qwLpaQlQDTjPdsUFSc6ZsP4AN6AlWnogPjQ7CVi7PYF3YVz+CY3jE2pwYf7E/7HlDAN0rV2GxTG0HQ==} + dependencies: + '@types/body-parser': 1.19.5 + '@types/express-serve-static-core': 4.17.41 + '@types/qs': 6.9.10 + '@types/serve-static': 1.15.5 + dev: true + /@types/from2@2.3.4: resolution: {integrity: sha512-Ofj/U9ytMjG5FIfFlTokSyGQdLgX8js+hbw9/qxZQbsGRjcjQPzoLGZhe6OEzrg7Sd98Il57iyxDtU1ArvCSTw==} dependencies: @@ -1492,26 +1548,30 @@ packages: '@types/minimatch': 5.1.2 '@types/node': 20.8.10 - /@types/html-minifier@4.0.4: - resolution: {integrity: sha512-kvzPbhN6CM+zFdOmLaGKF1DUnn9oYZteTiltHRFhsnj3vcnCZj1qVA0x1E7FTZvLT8e4WsHTSXk/0YV2NgOWOw==} + /@types/html-minifier@4.0.5: + resolution: {integrity: sha512-LfE7f7MFd+YUfZnlBz8W43P4NgSObWiqyKapANsWCj63Aqeqli8/9gVsGP4CwC8jPpTTYlTopKCk9rJSuht/ew==} dependencies: - '@types/clean-css': 4.2.9 - '@types/relateurl': 0.2.31 - '@types/uglify-js': 3.17.3 + '@types/clean-css': 4.2.10 + '@types/relateurl': 0.2.32 + '@types/uglify-js': 3.17.4 dev: true /@types/http-assert@1.5.4: resolution: {integrity: sha512-/6M9aaVk+avzCsrv1lt39AlFw4faCNI6aGll91Rxj38ZE5JI8AxApyQIRy+i1McjiJiuQ0sfuoMLxqq374ZIbA==} dev: true - /@types/http-cache-semantics@4.0.3: - resolution: {integrity: sha512-V46MYLFp08Wf2mmaBhvgjStM3tPa+2GAdy/iqoX+noX1//zje2x4XmrIU0cAwyClATsTmahbtoQ2EwP7I5WSiA==} + /@types/http-cache-semantics@4.0.4: + resolution: {integrity: sha512-1m0bIFVc7eJWyve9S0RnuRgcQqF/Xd5QsUZAZeQFr1Q3/p9JWoQQEqmVy+DPTNpGXwhgIetAoYF8JSc33q29QA==} dev: true /@types/http-errors@2.0.3: resolution: {integrity: sha512-pP0P/9BnCj1OVvQR2lF41EkDG/lWWnDyA203b/4Fmi2eTyORnBtcDoKDwjWQthELrBvWkMOrvSOnZ8OVlW6tXA==} dev: true + /@types/http-errors@2.0.4: + resolution: {integrity: sha512-D0CFMMtydbJAegzOyHjtiKPLlvnm3iTZyZRSZoLq2mRhDdmLfIWOCYPfQJ4cu2erKghU++QvjcUjp/5h7hESpA==} + dev: true + /@types/istanbul-lib-coverage@2.0.5: resolution: {integrity: sha512-zONci81DZYCZjiLe0r6equvZut0b+dBRPBN5kBDjsONnutYNtJMoWQ9uR2RkL1gLG9NMTzvf+29e5RFfPbeKhQ==} dev: true @@ -1528,8 +1588,8 @@ packages: '@types/istanbul-lib-report': 3.0.2 dev: true - /@types/js-yaml@3.12.9: - resolution: {integrity: sha512-s5v3+2RB96nd7AOZXLScwHDRClor83+0E5q+5fzq0fTFXw8spF3QWHAUmHwItmmlr7XnDjpM0FkAgNKHzDTXtg==} + /@types/js-yaml@3.12.10: + resolution: {integrity: sha512-/Mtaq/wf+HxXpvhzFYzrzCqNRcA958sW++7JOFC8nPrZcvfi/TrzOaaGbvt27ltJB2NQbHVAg5a1wUCsyMH7NA==} dev: true /@types/js-yaml@4.0.8: @@ -1570,10 +1630,18 @@ packages: resolution: {integrity: sha512-1Gjee59G25MrQGk8bsNvC6fxNiRgUlGn2wlhGf95a59DrprnnHk80FIMMFG9XHMdrfsuA119ht06QPDXA1Z7tw==} dev: true + /@types/mime@1.3.5: + resolution: {integrity: sha512-/pyBZWSLD2n0dcHE3hq8s8ZvcETHtEuF+3E7XVt0Ig2nvsVQXdghHVcEkIWjy9A0wKfTn97a/PSDYohKIlnP/w==} + dev: true + /@types/mime@3.0.3: resolution: {integrity: sha512-i8MBln35l856k5iOhKk2XJ4SeAWg75mLIpZB4v6imOagKL6twsukBZGDMNhdOVk7yRFTMPpfILocMos59Q1otQ==} dev: true + /@types/mime@3.0.4: + resolution: {integrity: sha512-iJt33IQnVRkqeqC7PzBHPTC6fDlRNRW8vjrgqtScAhrmMwe8c4Eo7+fUGTa+XdWrpEgpyKWMYmi2dIwMAYRzPw==} + dev: true + /@types/minimatch@3.0.5: resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==} dev: true @@ -1599,8 +1667,12 @@ packages: resolution: {integrity: sha512-SuT16Q1K51EAVPz1K29DJ/sXjhSQ0zjvsypYJ6tlwVsRV9jwW5Adq2ch8Dq8kDBCkYnELS7N7VNCSB5nC56t/g==} dev: true - /@types/ping@0.4.3: - resolution: {integrity: sha512-fKV3KngvYWltNCONhskiGVpRJGsFsvwAbr1pS5udaSKIZGh2+cTXVK+ZvoTHeMTda2e3zi2l3Ct+qy0ZYQtiOA==} + /@types/ping@0.4.4: + resolution: {integrity: sha512-ifvo6w2f5eJYlXm+HiVx67iJe8WZp87sfa683nlqED5Vnt9Z93onkokNoWqOG21EaE8fMxyKPobE+mkPEyxsdw==} + dev: true + + /@types/qs@6.9.10: + resolution: {integrity: sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw==} dev: true /@types/qs@6.9.9: @@ -1610,12 +1682,20 @@ packages: /@types/randomatic@3.1.4: resolution: {integrity: sha512-5rUCiT0eXmwMdlNnpFVBtk7MDZcSREOI0T5ijplCbtMlxIyphW/ftfcK9mRi/tP9CFwYowjpK2m+6sACt/F3BQ==} + /@types/randomatic@3.1.5: + resolution: {integrity: sha512-VCwCTw6qh1pRRw+5rNTAwqPmf6A+hdrkdM7dBpZVmhl7g+em3ONXlYK/bWPVKqVGMWgP0d1bog8Vc/X6zRwRRQ==} + dev: true + /@types/range-parser@1.2.6: resolution: {integrity: sha512-+0autS93xyXizIYiyL02FCY8N+KkKPhILhcUSA276HxzreZ16kl+cmwvV2qAM/PuCCwPXzOXOWhiPcw20uSFcA==} dev: true - /@types/relateurl@0.2.31: - resolution: {integrity: sha512-vpqphbm0l/+6qWraFPDB2dq+vkJYFHKSdogLaOqdqjLZ6v4q/0HEBv3HGeEVlCdWXo8HEdAzA2vBNk7ZRXo2Cw==} + /@types/range-parser@1.2.7: + resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==} + dev: true + + /@types/relateurl@0.2.32: + resolution: {integrity: sha512-S3RXiF4jV2ECprVGfKLyRHbObSV2UOfpml1pHzqSgBLj/jd79siRtyR1Qyv/I57P079DVHaMOj4UwDOqYh3vQA==} dev: true /@types/send@0.17.3: @@ -1625,6 +1705,13 @@ packages: '@types/node': 20.8.10 dev: true + /@types/send@0.17.4: + resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==} + dependencies: + '@types/mime': 1.3.5 + '@types/node': 20.9.0 + dev: true + /@types/serve-static@1.15.4: resolution: {integrity: sha512-aqqNfs1XTF0HDrFdlY//+SGUxmdSUbjeRXb5iaZc3x0/vMbYmdw9qvOgHWOyyLFxSSRnUuP5+724zBgfw8/WAw==} dependencies: @@ -1633,6 +1720,14 @@ packages: '@types/node': 20.8.10 dev: true + /@types/serve-static@1.15.5: + resolution: {integrity: sha512-PDRk21MnK70hja/YF8AHfC7yIsiQHn1rcXx7ijCFBX/k+XQJhQT/gw3xekXKJvx+5SXaMMS8oqQy09Mzvz2TuQ==} + dependencies: + '@types/http-errors': 2.0.4 + '@types/mime': 3.0.4 + '@types/node': 20.9.0 + dev: true + /@types/shortid@0.0.29: resolution: {integrity: sha1-gJPuBBam4r8qpjOBCRFLP7/6Dps=} dev: true @@ -1657,6 +1752,10 @@ packages: /@types/symbol-tree@3.2.4: resolution: {integrity: sha512-j9qIwMi0fGQLssA0/06i8XfqCq9eKsbTu+c9uPx1T9zWisSaFWEE2CwJccn/idKCllXUeHaMSeH/i4HQ6JKEAg==} + /@types/symbol-tree@3.2.5: + resolution: {integrity: sha512-zXnnyENt1TYQcS21MkPaJCVjfcPq7p7yc5mo5JACuumXp6sly5jnlS0IokHd+xmmuCbx6V7JqkMBpswR+nZAcw==} + dev: true + /@types/tar-stream@3.1.3: resolution: {integrity: sha512-Zbnx4wpkWBMBSu5CytMbrT5ZpMiF55qgM+EpHzR4yIDu7mv52cej8hTkOc6K+LzpkOAbxwn/m7j3iO+/l42YkQ==} dependencies: @@ -1668,18 +1767,24 @@ packages: dependencies: '@types/node': 20.8.10 - /@types/trusted-types@2.0.5: - resolution: {integrity: sha512-I3pkr8j/6tmQtKV/ZzHtuaqYSQvyjGRKH4go60Rr0IDLlFxuRT5V32uvB1mecM5G1EVAUyF/4r4QZ1GHgz+mxA==} + /@types/through2@2.0.41: + resolution: {integrity: sha512-ryQ0tidWkb1O1JuYvWKyMLYEtOWDqF5mHerJzKz/gQpoAaJq2l/dsMPBF0B5BNVT34rbARYJ5/tsZwLfUi2kwQ==} + dependencies: + '@types/node': 20.9.0 dev: true - /@types/uglify-js@3.17.3: - resolution: {integrity: sha512-ToldSfJ6wxO21cakcz63oFD1GjqQbKzhZCD57eH7zWuYT5UEZvfUoqvrjX5d+jB9g4a/sFO0n6QSVzzn5sMsjg==} + /@types/trusted-types@2.0.6: + resolution: {integrity: sha512-HYtNooPvUY9WAVRBr4u+4Qa9fYD1ze2IUlAD3HoA6oehn1taGwBx3Oa52U4mTslTS+GAExKpaFu39Y5xUEwfjg==} + dev: true + + /@types/uglify-js@3.17.4: + resolution: {integrity: sha512-Hm/T0kV3ywpJyMGNbsItdivRhYNCQQf1IIsYsXnoVPES4t+FMLyDe0/K+Ea7ahWtMtSNb22ZdY7MIyoD9rqARg==} dependencies: source-map: 0.6.1 dev: true - /@types/uuid@7.0.7: - resolution: {integrity: sha512-xlbA6IkLhAK9G0hn6qli0ygl8KOKhONfuEvfoBrs9QX++g6v2qF//xGTYx+AKs5e151s2V1J7qWuABqaT+lGXw==} + /@types/uuid@7.0.8: + resolution: {integrity: sha512-95N4tyM4B5u1sj2m8Tht09qWHju2ht413GBFz8CHtxp8aIiJUF6t51MsR7jC9OF4rRVf93AxE++WJe7+Puc1UA==} dev: true /@types/uuid@9.0.6: @@ -1699,6 +1804,12 @@ packages: '@types/node': 20.8.10 dev: true + /@types/ws@8.5.9: + resolution: {integrity: sha512-jbdrY0a8lxfdTp/+r7Z4CkycbOFN8WX+IOchLJr3juT/xzbJ8URyTVSJ/hvNdadTgM1mnedb47n+Y31GsFnQlg==} + dependencies: + '@types/node': 20.9.0 + dev: true + /@types/yauzl@2.10.3: resolution: {integrity: sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q==} requiresBuild: true @@ -2118,7 +2229,7 @@ packages: resolution: {integrity: sha512-zkDT5WAF4hSSoUgyfg5tFIxz8XQK+25W/TLVojJTMKBaxevLBBtLxgqguAuVQB8PVW79FVjHcU+GJ9tVbDZ9mQ==} engines: {node: '>=14.16'} dependencies: - '@types/http-cache-semantics': 4.0.3 + '@types/http-cache-semantics': 4.0.4 get-stream: 6.0.1 http-cache-semantics: 4.1.1 keyv: 4.5.4 @@ -2595,8 +2706,8 @@ packages: once: 1.4.0 dev: true - /engine.io-client@6.5.2: - resolution: {integrity: sha512-CQZqbrpEYnrpGqC07a9dJDz4gePZUgTPMU3NKJPSeQOyw27Tst4Pl3FemKoFGAlHzgZmKjoRmiJvbWfhCXUlIg==} + /engine.io-client@6.5.3: + resolution: {integrity: sha512-9Z0qLB0NIisTRt1DZ/8U2k12RJn8yls/nXMZLn+/N8hANT3TcYjKFKcwbw5zFQiN4NTde3TSY9zb79e1ij6j9Q==} dependencies: '@socket.io/component-emitter': 3.1.0 debug: 4.3.4 @@ -2619,8 +2730,8 @@ packages: engines: {node: '>=10.2.0'} dependencies: '@types/cookie': 0.4.1 - '@types/cors': 2.8.15 - '@types/node': 20.8.10 + '@types/cors': 2.8.16 + '@types/node': 20.9.0 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 @@ -2895,16 +3006,15 @@ packages: resolution: {integrity: sha512-/exOvEuc+/iaUm105QIiOt4LpBdMTWsXxqR0HDF35vx3fmaKzw7354gTilCh5rkzEt8WYyG//ku3h3nRmd7CHQ==} dev: false - /figures@5.0.0: - resolution: {integrity: sha512-ej8ksPF4x6e5wvK9yevct0UCXh8TTFlWGVLlgjZuoBH1HwjIfKE/IdL5mq89sFA7zELi1VhKpmtDnrs7zWyeyg==} - engines: {node: '>=14'} + /figures@6.0.1: + resolution: {integrity: sha512-0oY/olScYD4IhQ8u//gCPA4F3mlTn2dacYmiDm/mbDQvpmLjV4uH+zhsQ5IyXRyvqkvtUkXkNdGvg5OFJTCsuQ==} + engines: {node: '>=18'} dependencies: - escape-string-regexp: 5.0.0 - is-unicode-supported: 1.3.0 + is-unicode-supported: 2.0.0 dev: true - /file-type@18.6.0: - resolution: {integrity: sha512-uLqXnIAIyy8K9rnvdU9IYi3WIL+6qVBWn24kThYOPlnyU+6yrr2oarn+j7seMLh1wOEG4hEjRP6a30IiKR9OaA==} + /file-type@18.7.0: + resolution: {integrity: sha512-ihHtXRzXEziMrQ56VSgU7wkxh55iNchFkosu7Y9/S+tXHdKyrGjVK0ujbqNnsxzea+78MaLhN6PGmfYSAv1ACw==} engines: {node: '>=14.16'} dependencies: readable-web-to-node-stream: 3.0.2 @@ -3160,7 +3270,7 @@ packages: decompress-response: 6.0.0 form-data-encoder: 2.1.4 get-stream: 6.0.1 - http2-wrapper: 2.2.0 + http2-wrapper: 2.2.1 lowercase-keys: 3.0.0 p-cancelable: 3.0.0 responselike: 3.0.0 @@ -3281,8 +3391,8 @@ packages: toidentifier: 1.0.1 dev: true - /http2-wrapper@2.2.0: - resolution: {integrity: sha512-kZB0wxMo0sh1PehyjJUWRFEd99KC5TLjZ2cULC4f9iqJBAmKQQXEICjxl5iPJRwP40dpeHFqqhm7tYCvODpqpQ==} + /http2-wrapper@2.2.1: + resolution: {integrity: sha512-V5nVw1PAOgfI3Lmeaj2Exmeg7fenjhRUgz1lPSezy1CuhPYbgQtbQj4jZfEAEMlaL+vupsvhjqCyjzob0yxsmQ==} engines: {node: '>=10.19.0'} dependencies: quick-lru: 5.1.1 @@ -3530,9 +3640,9 @@ packages: which-typed-array: 1.1.13 dev: true - /is-unicode-supported@1.3.0: - resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==} - engines: {node: '>=12'} + /is-unicode-supported@2.0.0: + resolution: {integrity: sha512-FRdAyx5lusK1iHG0TWpVtk9+1i+GjrzRffhDg4ovQ7mcidMQ6mj+MhKPmvh7Xwyv5gIS06ns49CA7Sqg7lC22Q==} + engines: {node: '>=18'} dev: true /is-weakref@1.0.2: @@ -3759,7 +3869,7 @@ packages: /lit-html@3.0.2: resolution: {integrity: sha512-Q1A5lHza3bnmxoWJn6yS6vQZQdExl4fghk8W1G+jnAEdoFNYo5oeBBb/Ol7zSEdKd3TR7+r0zsJQyuWEVguiyQ==} dependencies: - '@types/trusted-types': 2.0.5 + '@types/trusted-types': 2.0.6 dev: true /lit@3.0.2: @@ -4878,7 +4988,7 @@ packages: dependencies: '@socket.io/component-emitter': 3.1.0 debug: 4.3.4 - engine.io-client: 6.5.2 + engine.io-client: 6.5.3 socket.io-parser: 4.2.4 transitivePeerDependencies: - bufferutil @@ -5102,8 +5212,8 @@ packages: /symbol-tree@3.2.4: resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} - /systeminformation@5.21.15: - resolution: {integrity: sha512-vMLwsGgJZW6GvoBXVWNZuRQG0MPxlfQnIIIY9ZxoogWftUpJ9C33qD+32e1meFlXuWpN0moNApPFLpbsSi4OaQ==} + /systeminformation@5.21.16: + resolution: {integrity: sha512-WJZdc5RbmDF1VOJcS+G2oIBeNgmMTyJ8+enHe9stIyBg2XhboUTsSfN9HrFMDV+fgXwJ50kNKgD3TzodsFgB+g==} engines: {node: '>=8.0.0'} os: [darwin, linux, win32, freebsd, openbsd, netbsd, sunos, android] hasBin: true @@ -5257,8 +5367,8 @@ packages: resolution: {integrity: sha512-RAH822pAdBgcNMAfWnCBU3CFZcfZ/i1eZjwFU/dsLKumyuuP3niueg2UAukXYF0E2AAoc82ZSSf9J0WQBinzHA==} engines: {node: '>=12.20'} - /type-fest@4.6.0: - resolution: {integrity: sha512-rLjWJzQFOq4xw7MgJrCZ6T1jIOvvYElXT12r+y0CC6u67hegDHaxcPqb2fZHOGlqxugGQPNB1EnTezjBetkwkw==} + /type-fest@4.7.1: + resolution: {integrity: sha512-iWr8RUmzAJRfhZugX9O7nZE6pCxDU8CZ3QxsLuTnGcBLJpCaP2ll3s4eMTBoFnU/CeXY/5rfQSuAEsTGJO4y8A==} engines: {node: '>=16'} dev: true @@ -5567,6 +5677,19 @@ packages: optional: true dev: true + /ws@8.14.2: + resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + /ws@8.8.0: resolution: {integrity: sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ==} engines: {node: '>=10.0.0'} diff --git a/test/test.ts b/test/test.ts index 5722b37..29d7c1e 100644 --- a/test/test.ts +++ b/test/test.ts @@ -38,7 +38,7 @@ tap.test('should extract existing files on disk', async () => { await testSmartarchive.exportToFs(testPaths.nogitDir); }); -tap.skip.test('should extract a b2zip', async () => { +tap.test('should extract a b2zip', async () => { const dataUrl = 'https://daten.offeneregister.de/de_companies_ocdata.jsonl.bz2'; const testArchive = await smartarchive.SmartArchive.fromArchiveUrl(dataUrl); await testArchive.exportToFs( diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index ce2c9cc..2a1685b 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartarchive', - version: '4.0.7', + version: '4.0.8', description: 'work with archives' }