Skip to content

Commit

Permalink
chore: deps
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Jul 21, 2024
1 parent 530928c commit f650d9f
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 42 deletions.
7 changes: 0 additions & 7 deletions .eslintrc.js

This file was deleted.

9 changes: 9 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// prettier-ignore
module.exports = [
...require('@naturalcycles/dev-lib/cfg/eslint.config'),
{
rules: {
// '@typescript-eslint/return-await': 0,
},
},
]
4 changes: 0 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
module.exports = {
...require('@naturalcycles/dev-lib/cfg/jest.config'),
// transform: {
// // example (experimental):
// '^.+\\.ts$': '@naturalcycles/dev-lib/cfg/jest.esbuild.transformer.js',
// },
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@naturalcycles/bench-lib": "^3.0.0",
"@naturalcycles/dev-lib": "^13.0.0",
"@naturalcycles/dev-lib": "^14.0.1",
"@types/node": "^20.1.0",
"@types/yargs": "^16.0.0",
"jest": "^29.0.0"
Expand Down
1 change: 1 addition & 0 deletions src/fs/fs2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class FS2 {

async readJsonAsync<T = unknown>(filePath: string): Promise<T> {
const str = await fsp.readFile(filePath, 'utf8')
// eslint-disable-next-line @typescript-eslint/return-await
return _jsonParse(str)
}

Expand Down
2 changes: 1 addition & 1 deletion src/infra/process.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ProcessUtil {
const startIdle = stats1.idle
const startTotal = stats1.total

return new Promise<number>(resolve => {
return await new Promise<number>(resolve => {
setTimeout(() => {
const stats2 = this.getCPUInfo()
const endIdle = stats2.idle
Expand Down
72 changes: 43 additions & 29 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@
minimatch "^3.1.2"
strip-json-comments "^3.1.1"

"@eslint/[email protected]":
"@eslint/[email protected]", "@eslint/js@^9.7.0":
version "9.7.0"
resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.7.0.tgz#b712d802582f02b11cfdf83a85040a296afec3f0"
integrity sha512-ChuWDQenef8OSFnvuxv0TCVxEwmu3+hPNKvM9B34qpM0rDRbjL8t5QkQeHHeAfsKQjuH9wS82WeCi1J/owatng==
Expand Down Expand Up @@ -810,32 +810,30 @@
benchmark "^2.1.4"

"@naturalcycles/cli@^1.0.0":
version "1.5.0"
resolved "https://registry.yarnpkg.com/@naturalcycles/cli/-/cli-1.5.0.tgz#7b2aed87b54bc292447b1db35a81c160ff331753"
integrity sha512-RnKIvTUjBfRA1ft/NcZXt4djFGn/0zmkSI9qwoch4i3QJ8u51K8WYuP3eb8E2I+it71wwWL2G2lZS7quU0xomw==
version "1.6.0"
resolved "https://registry.yarnpkg.com/@naturalcycles/cli/-/cli-1.6.0.tgz#089e1acb3793958e9cd81380f964fd0bfbaaf032"
integrity sha512-8X//J9iS0oXENPH+Q9i8jtf++MMWw9HegUGlAhGdEztMAIY00i9i27zp9PUW1ZsuGXr0wjo7aaFHwL7g35Aauw==
dependencies:
"@naturalcycles/nodejs-lib" "^13.0.1"
chalk "^4.0.0"
dotenv "^16.0.0"
ts-node "^10.0.0"
tslib "^2.6.2"
typescript "^5.0.2"

"@naturalcycles/dev-lib@^13.0.0":
version "13.56.0"
resolved "https://registry.yarnpkg.com/@naturalcycles/dev-lib/-/dev-lib-13.56.0.tgz#e2d4958bb07cfabc1c77606888bf8ebe11ee6223"
integrity sha512-MOORGhXWk1k4qooSkDmNh1rIYkLg+61PU+coULPZwiSBwNw97prJd8/WoXIr1poJeQDHu4C6BBtNQLanlCTI0w==
"@naturalcycles/dev-lib@^14.0.1":
version "14.0.1"
resolved "https://registry.yarnpkg.com/@naturalcycles/dev-lib/-/dev-lib-14.0.1.tgz#023545268e2a44a6af15e4ca0422d4d6f93aecb6"
integrity sha512-KPqwIr5bG2RO7pLOgUznpBZ67oRSBfsVtAGTPWj+jrcXJlhy0ZReBtwV5pceCsREOOew5sDot9kt92v72LpUFw==
dependencies:
"@commitlint/cli" "^19.0.0"
"@commitlint/config-conventional" "^19.0.0"
"@eslint/js" "^9.7.0"
"@naturalcycles/cli" "^1.0.0"
"@naturalcycles/js-lib" "^14.0.0"
"@naturalcycles/nodejs-lib" "^13.0.1"
"@types/jest" "^29.0.0"
"@types/node" "^20.1.0"
"@types/yargs" "^16.0.0"
"@typescript-eslint/eslint-plugin" "^7.0.1"
"@typescript-eslint/parser" "^7.0.1"
eslint "^9.0.0"
eslint-config-prettier "^9.0.0"
eslint-plugin-import "^2.22.1"
Expand All @@ -846,6 +844,7 @@
eslint-plugin-unused-imports "^4.0.0"
eslint-plugin-vue "^9.0.0"
expect-type "^0.19.0"
globals "^15.8.0"
husky "^9.0.2"
jest-junit "^16.0.0"
lint-staged "^15.0.1"
Expand All @@ -855,20 +854,21 @@
timekeeper "^2.2.0"
ts-jest "^29.0.0"
typescript "^5.0.2"
typescript-eslint "^7.16.1"
yargs "^17.0.0"

"@naturalcycles/js-lib@^14.0.0", "@naturalcycles/js-lib@^14.244.0":
version "14.245.1"
resolved "https://registry.yarnpkg.com/@naturalcycles/js-lib/-/js-lib-14.245.1.tgz#67c02cf8958ee444dd49a173724156e5812cdcd0"
integrity sha512-5bU6dEw2I3DxtkDDx5X8UqCZ87CTCf0UQX/31yLOfuyes9MtD//UZ+w+KkBVkCtIgvVlEFPyt7cErruhCQ+s4A==
version "14.246.1"
resolved "https://registry.yarnpkg.com/@naturalcycles/js-lib/-/js-lib-14.246.1.tgz#768f9c5eae6bc5a00c74d7316c8a50c6b19f6d86"
integrity sha512-KpO8cJMlCWQ6o4iWoeTG1xFsV12Z0+tcF8to5vuuM8+ssOMjrn/HbNGhIJXf0b7EtHlO0TEdkYsFy6u9jgaSpw==
dependencies:
tslib "^2.0.0"
zod "^3.20.2"

"@naturalcycles/nodejs-lib@^13.0.1", "@naturalcycles/nodejs-lib@^13.0.2":
version "13.30.1"
resolved "https://registry.yarnpkg.com/@naturalcycles/nodejs-lib/-/nodejs-lib-13.30.1.tgz#01496cd70f69e0de77e1ac61d6dee91e81538f06"
integrity sha512-NuiBRjONENsKdV4u+gKlE9nQ+816i7oXe8sdr6+DOfYK5SSCQ5F77MLjCNCxD9vujgsWHX4Ucxbb/I+0+DKAFw==
version "13.30.2"
resolved "https://registry.yarnpkg.com/@naturalcycles/nodejs-lib/-/nodejs-lib-13.30.2.tgz#3be9cd4bf671337e1ff4862326375bff14bc0875"
integrity sha512-JLZWxWB3t9MRPLA2o1oFkECL4+huyyjrEescX8PoxRlhPsLd/HejSxWvHp3Tcz0qFhTYNNXmjhfG3PDeXJGgWQ==
dependencies:
"@naturalcycles/js-lib" "^14.244.0"
"@types/js-yaml" "^4.0.9"
Expand Down Expand Up @@ -1113,7 +1113,7 @@
dependencies:
"@types/yargs-parser" "*"

"@typescript-eslint/eslint-plugin@^7.0.1":
"@typescript-eslint/eslint-plugin@7.16.1":
version "7.16.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.16.1.tgz#f5f5da52db674b1f2cdb9d5f3644e5b2ec750465"
integrity sha512-SxdPak/5bO0EnGktV05+Hq8oatjAYVY3Zh2bye9pGZy6+jwyR3LG3YKkV4YatlsgqXP28BTeVm9pqwJM96vf2A==
Expand All @@ -1128,7 +1128,7 @@
natural-compare "^1.4.0"
ts-api-utils "^1.3.0"

"@typescript-eslint/parser@^7.0.1":
"@typescript-eslint/parser@7.16.1":
version "7.16.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.16.1.tgz#84c581cf86c8b2becd48d33ddc41a6303d57b274"
integrity sha512-u+1Qx86jfGQ5i4JjK33/FnawZRpsLxRnKzGE6EABZ40KxVT/vWsiZFEBBHjFOljmmV3MBYOHEKi0Jm9hbAOClA==
Expand Down Expand Up @@ -2030,9 +2030,9 @@ ejs@^3.1.10:
jake "^10.8.5"

electron-to-chromium@^1.4.820:
version "1.4.830"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.830.tgz#a11899bc3343bc28f57a87fcf83060e0d28038d4"
integrity sha512-TrPKKH20HeN0J1LHzsYLs2qwXrp8TF4nHdu4sq61ozGbzMpWhI7iIOPYPPkxeq1azMT9PZ8enPFcftbs/Npcjg==
version "1.4.832"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.832.tgz#d25882ce0a9237577b039bffa124ecef1822003b"
integrity sha512-cTen3SB0H2SGU7x467NRe1eVcQgcuS6jckKfWJHia2eo0cHIGOqHoAxevIYZD4eRHcWjkvFzo93bi3vJ9W+1lA==

emittery@^0.13.1:
version "0.13.1"
Expand Down Expand Up @@ -2234,9 +2234,9 @@ eslint-plugin-jest@^28.0.0:
"@typescript-eslint/utils" "^6.0.0 || ^7.0.0"

eslint-plugin-jsdoc@^48.0.1:
version "48.7.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-48.7.0.tgz#1450e5bccc320dee01a8d24ac71651a539857692"
integrity sha512-5oiVf7Y+ZxGYQTlLq81X72n+S+hjvS/u0upAdbpPEeaIZILK3MKN8lm/6QqKioBjm/qZ0B5XpMQUtc2fUkqXAg==
version "48.8.3"
resolved "https://registry.yarnpkg.com/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-48.8.3.tgz#0a651bc0ab5b0732c39e12b26771fca78c830c1c"
integrity sha512-AtIvwwW9D17MRkM0Z0y3/xZYaa9mdAvJrkY6fU/HNUwGbmMtHVvK4qRM9CDixGVtfNrQitb8c6zQtdh6cTOvLg==
dependencies:
"@es-joy/jsdoccomment" "~0.46.0"
are-docs-informative "^0.0.2"
Expand All @@ -2245,9 +2245,9 @@ eslint-plugin-jsdoc@^48.0.1:
escape-string-regexp "^4.0.0"
esquery "^1.6.0"
parse-imports "^2.1.1"
semver "^7.6.2"
semver "^7.6.3"
spdx-expression-parse "^4.0.0"
synckit "^0.9.0"
synckit "^0.9.1"

eslint-plugin-simple-import-sort@^12.1.1:
version "12.1.1"
Expand Down Expand Up @@ -2730,6 +2730,11 @@ globals@^14.0.0:
resolved "https://registry.yarnpkg.com/globals/-/globals-14.0.0.tgz#898d7413c29babcf6bafe56fcadded858ada724e"
integrity sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==

globals@^15.8.0:
version "15.8.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-15.8.0.tgz#e64bb47b619dd8cbf32b3c1a0a61714e33cbbb41"
integrity sha512-VZAJ4cewHTExBWDHR6yptdIBlx9YSSZuwojj9Nt5mBRXQzrKakDsVKQ1J63sklLvzAJm0X5+RpO4i3Y2hcOnFw==

globalthis@^1.0.3:
version "1.0.4"
resolved "https://registry.yarnpkg.com/globalthis/-/globalthis-1.0.4.tgz#7430ed3a975d97bfb59bcce41f5cabbafa651236"
Expand Down Expand Up @@ -4558,7 +4563,7 @@ semver@^6.3.0, semver@^6.3.1:
resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4"
integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==

semver@^7.3.2, semver@^7.3.6, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.1, semver@^7.6.2:
semver@^7.3.2, semver@^7.3.6, semver@^7.5.3, semver@^7.5.4, semver@^7.6.0, semver@^7.6.1, semver@^7.6.3:
version "7.6.3"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.3.tgz#980f7b5550bc175fb4dc09403085627f9eb33143"
integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
Expand Down Expand Up @@ -4857,7 +4862,7 @@ supports-preserve-symlinks-flag@^1.0.0:
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==

synckit@^0.9.0:
synckit@^0.9.1:
version "0.9.1"
resolved "https://registry.yarnpkg.com/synckit/-/synckit-0.9.1.tgz#febbfbb6649979450131f64735aa3f6c14575c88"
integrity sha512-7gr8p9TQP6RAHusBOSLs46F4564ZrjV8xFmw5zCmgmhGUcw2hxsShhJ6CEiHQMgPDwAQ1fWHPM0ypc4RMAig4A==
Expand Down Expand Up @@ -5061,6 +5066,15 @@ typed-array-length@^1.0.6:
is-typed-array "^1.1.13"
possible-typed-array-names "^1.0.0"

typescript-eslint@^7.16.1:
version "7.16.1"
resolved "https://registry.yarnpkg.com/typescript-eslint/-/typescript-eslint-7.16.1.tgz#4855e11985b3dbd13a94b4e7e6523b2ec5d1c759"
integrity sha512-889oE5qELj65q/tGeOSvlreNKhimitFwZqQ0o7PcWC7/lgRkAMknznsCsV8J8mZGTP/Z+cIbX8accf2DE33hrA==
dependencies:
"@typescript-eslint/eslint-plugin" "7.16.1"
"@typescript-eslint/parser" "7.16.1"
"@typescript-eslint/utils" "7.16.1"

typescript@^5.0.2:
version "5.5.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.5.3.tgz#e1b0a3c394190838a0b168e771b0ad56a0af0faa"
Expand Down

0 comments on commit f650d9f

Please sign in to comment.