From e054d48c8d4c63ad1259905e4f41b2fdf0df5544 Mon Sep 17 00:00:00 2001 From: Gavin Birkhoff Date: Thu, 22 Jun 2023 13:07:05 +0800 Subject: [PATCH] eslint by update lavy --- .eslintignore | 1 + gulpfile.js | 8 +- package.json | 5 +- .../__tests__/useDeepCompareEffect.test.ts | 2 +- .../__tests__/useDeepCompareMemoize.test.ts | 2 +- pnpm-lock.yaml | 181 +++++++++--------- tsconfig.json | 2 +- 7 files changed, 102 insertions(+), 99 deletions(-) diff --git a/.eslintignore b/.eslintignore index 363a9a0..c0cb9d0 100644 --- a/.eslintignore +++ b/.eslintignore @@ -2,4 +2,5 @@ build dist lib esm +es node_modules diff --git a/gulpfile.js b/gulpfile.js index 191a24e..dd81948 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -3,20 +3,20 @@ const babel = require('gulp-babel') const ts = require('gulp-typescript') const del = require('del') -gulp.task('clean', async function () { +gulp.task('clean', async () => { await del('lib/**') await del('es/**') await del('dist/**') }) -gulp.task('es', function () { +gulp.task('es', () => { const tsProject = ts.createProject('tsconfig.json', { module: 'ESNext' }) return tsProject.src().pipe(tsProject()).pipe(babel()).pipe(gulp.dest('es/')) }) -gulp.task('cjs', function () { +gulp.task('cjs', () => { return gulp .src(['./es/**/*.js']) .pipe( @@ -27,7 +27,7 @@ gulp.task('cjs', function () { .pipe(gulp.dest('lib/')) }) -gulp.task('declaration', function () { +gulp.task('declaration', () => { const tsProject = ts.createProject('tsconfig.json', { declaration: true, emitDeclarationOnly: true diff --git a/package.json b/package.json index 2596635..1039dd3 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "A high quality and reliable React Hooks library.", "scripts": { "init": "pnpm install && pnpm run build", + "lint": "eslint ./ --fix", "clean-dist": "rimraf 'packages/*/{lib,es,node_modules,dist}'", "clean": "pnpm run clean-dist && rimraf node_modules", "build": "pnpm -r --filter=./packages/* run build", @@ -23,7 +24,7 @@ "@types/react": "^18.2.5", "cross-env": "^7.0.3", "del": "^5.1.0", - "eslint-config-lavy": "1.0.1-Alpha.1", + "eslint-config-lavy": "1.0.2-Alpha", "fast-glob": "^3.2.12", "fs-extra": "^11.1.1", "gray-matter": "^4.0.3", @@ -32,7 +33,7 @@ "gulp-typescript": "6.0.0-alpha.1", "jest": "^29.5.0", "jest-environment-jsdom": "^29.5.0", - "lavy": "1.0.1-Alpha.1", + "lavy": "1.0.2-Alpha.0", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.0", diff --git a/packages/use-deep-compare/src/__tests__/useDeepCompareEffect.test.ts b/packages/use-deep-compare/src/__tests__/useDeepCompareEffect.test.ts index 1e3a57a..d4b3efb 100644 --- a/packages/use-deep-compare/src/__tests__/useDeepCompareEffect.test.ts +++ b/packages/use-deep-compare/src/__tests__/useDeepCompareEffect.test.ts @@ -3,7 +3,7 @@ import { useDeepCompareEffect } from '../index' describe('useDeepCompareEffect', () => { let originalWarn: any - let mockWarn = jest.fn() + const mockWarn = jest.fn() beforeEach(() => { originalWarn = console.warn diff --git a/packages/use-deep-compare/src/__tests__/useDeepCompareMemoize.test.ts b/packages/use-deep-compare/src/__tests__/useDeepCompareMemoize.test.ts index e49f196..49d86fb 100644 --- a/packages/use-deep-compare/src/__tests__/useDeepCompareMemoize.test.ts +++ b/packages/use-deep-compare/src/__tests__/useDeepCompareMemoize.test.ts @@ -50,7 +50,7 @@ describe('useDeepCompareMemoize', () => { return false } - for (let key of keys1) { + for (const key of keys1) { if (!keys2.includes(key) || !deepEqual(obj1[key], obj2[key])) { return false } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 19a705b..3812955 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -15,7 +15,7 @@ importers: '@types/react': ^18.2.5 cross-env: ^7.0.3 del: ^5.1.0 - eslint-config-lavy: 1.0.1-Alpha.1 + eslint-config-lavy: 1.0.2-Alpha fast-glob: ^3.2.12 fs-extra: ^11.1.1 gray-matter: ^4.0.3 @@ -24,7 +24,7 @@ importers: gulp-typescript: 6.0.0-alpha.1 jest: ^29.5.0 jest-environment-jsdom: ^29.5.0 - lavy: 1.0.1-Alpha.1 + lavy: 1.0.2-Alpha.0 react: ^18.2.0 react-dom: ^18.2.0 rimraf: ^5.0.0 @@ -41,7 +41,7 @@ importers: '@types/react': 18.2.11 cross-env: 7.0.3 del: 5.1.0 - eslint-config-lavy: 1.0.1-Alpha.1 + eslint-config-lavy: 1.0.2-Alpha fast-glob: 3.2.12 fs-extra: 11.1.1 gray-matter: 4.0.3 @@ -50,7 +50,7 @@ importers: gulp-typescript: 6.0.0-alpha.1 jest: 29.5.0_@types+node@20.3.0 jest-environment-jsdom: 29.5.0 - lavy: 1.0.1-Alpha.1 + lavy: 1.0.2-Alpha.0 react: 18.2.0 react-dom: 18.2.0_react@18.2.0 rimraf: 5.0.1 @@ -2018,8 +2018,8 @@ packages: '@types/yargs-parser': 21.0.0 dev: true - /@typescript-eslint/eslint-plugin/5.59.9_4fmxihdcopu4aswww3w4wmtreq: - resolution: {integrity: sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==} + /@typescript-eslint/eslint-plugin/5.60.0_5pcoq4sxmcjmnikpr2jte7e3f4: + resolution: {integrity: sha512-78B+anHLF1TI8Jn/cD0Q00TBYdMgjdOn980JfAVa9yw5sop8nyTfVOQAv6LWywkOGLclDBtv5z3oxN4w7jxyNg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -2030,24 +2030,24 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.5.1 - '@typescript-eslint/parser': 5.59.9_nydeehezxge4zglz7xgffbdlvu - '@typescript-eslint/scope-manager': 5.59.9 - '@typescript-eslint/type-utils': 5.59.9_nydeehezxge4zglz7xgffbdlvu - '@typescript-eslint/utils': 5.59.9_nydeehezxge4zglz7xgffbdlvu + '@typescript-eslint/parser': 5.60.0_cgdknpc562nnyruteofhkegnom + '@typescript-eslint/scope-manager': 5.60.0 + '@typescript-eslint/type-utils': 5.60.0_cgdknpc562nnyruteofhkegnom + '@typescript-eslint/utils': 5.60.0_cgdknpc562nnyruteofhkegnom debug: 4.3.4 eslint: 7.32.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 semver: 7.5.1 - tsutils: 3.21.0_typescript@5.1.3 - typescript: 5.1.3 + tsutils: 3.21.0_typescript@5.0.4 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/parser/5.59.9_nydeehezxge4zglz7xgffbdlvu: - resolution: {integrity: sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==} + /@typescript-eslint/parser/5.60.0_cgdknpc562nnyruteofhkegnom: + resolution: {integrity: sha512-jBONcBsDJ9UoTWrARkRRCgDz6wUggmH5RpQVlt7BimSwaTkTjwypGzKORXbR4/2Hqjk9hgwlon2rVQAjWNpkyQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2056,26 +2056,26 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.59.9 - '@typescript-eslint/types': 5.59.9 - '@typescript-eslint/typescript-estree': 5.59.9_typescript@5.1.3 + '@typescript-eslint/scope-manager': 5.60.0 + '@typescript-eslint/types': 5.60.0 + '@typescript-eslint/typescript-estree': 5.60.0_typescript@5.0.4 debug: 4.3.4 eslint: 7.32.0 - typescript: 5.1.3 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.59.9: - resolution: {integrity: sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==} + /@typescript-eslint/scope-manager/5.60.0: + resolution: {integrity: sha512-hakuzcxPwXi2ihf9WQu1BbRj1e/Pd8ZZwVTG9kfbxAMZstKz8/9OoexIwnmLzShtsdap5U/CoQGRCWlSuPbYxQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.59.9 - '@typescript-eslint/visitor-keys': 5.59.9 + '@typescript-eslint/types': 5.60.0 + '@typescript-eslint/visitor-keys': 5.60.0 dev: true - /@typescript-eslint/type-utils/5.59.9_nydeehezxge4zglz7xgffbdlvu: - resolution: {integrity: sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==} + /@typescript-eslint/type-utils/5.60.0_cgdknpc562nnyruteofhkegnom: + resolution: {integrity: sha512-X7NsRQddORMYRFH7FWo6sA9Y/zbJ8s1x1RIAtnlj6YprbToTiQnM6vxcMu7iYhdunmoC0rUWlca13D5DVHkK2g==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -2084,23 +2084,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.59.9_typescript@5.1.3 - '@typescript-eslint/utils': 5.59.9_nydeehezxge4zglz7xgffbdlvu + '@typescript-eslint/typescript-estree': 5.60.0_typescript@5.0.4 + '@typescript-eslint/utils': 5.60.0_cgdknpc562nnyruteofhkegnom debug: 4.3.4 eslint: 7.32.0 - tsutils: 3.21.0_typescript@5.1.3 - typescript: 5.1.3 + tsutils: 3.21.0_typescript@5.0.4 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types/5.59.9: - resolution: {integrity: sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==} + /@typescript-eslint/types/5.60.0: + resolution: {integrity: sha512-ascOuoCpNZBccFVNJRSC6rPq4EmJ2NkuoKnd6LDNyAQmdDnziAtxbCGWCbefG1CNzmDvd05zO36AmB7H8RzKPA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.59.9_typescript@5.1.3: - resolution: {integrity: sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==} + /@typescript-eslint/typescript-estree/5.60.0_typescript@5.0.4: + resolution: {integrity: sha512-R43thAuwarC99SnvrBmh26tc7F6sPa2B3evkXp/8q954kYL6Ro56AwASYWtEEi+4j09GbiNAHqYwNNZuNlARGQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -2108,20 +2108,20 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.59.9 - '@typescript-eslint/visitor-keys': 5.59.9 + '@typescript-eslint/types': 5.60.0 + '@typescript-eslint/visitor-keys': 5.60.0 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 semver: 7.5.1 - tsutils: 3.21.0_typescript@5.1.3 - typescript: 5.1.3 + tsutils: 3.21.0_typescript@5.0.4 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/utils/5.59.9_nydeehezxge4zglz7xgffbdlvu: - resolution: {integrity: sha512-1PuMYsju/38I5Ggblaeb98TOoUvjhRvLpLa1DoTOFaLWqaXl/1iQ1eGurTXgBY58NUdtfTXKP5xBq7q9NDaLKg==} + /@typescript-eslint/utils/5.60.0_cgdknpc562nnyruteofhkegnom: + resolution: {integrity: sha512-ba51uMqDtfLQ5+xHtwlO84vkdjrqNzOnqrnwbMHMRY8Tqeme8C2Q8Fc7LajfGR+e3/4LoYiWXUM6BpIIbHJ4hQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -2129,9 +2129,9 @@ packages: '@eslint-community/eslint-utils': 4.4.0_eslint@7.32.0 '@types/json-schema': 7.0.12 '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 5.59.9 - '@typescript-eslint/types': 5.59.9 - '@typescript-eslint/typescript-estree': 5.59.9_typescript@5.1.3 + '@typescript-eslint/scope-manager': 5.60.0 + '@typescript-eslint/types': 5.60.0 + '@typescript-eslint/typescript-estree': 5.60.0_typescript@5.0.4 eslint: 7.32.0 eslint-scope: 5.1.1 semver: 7.5.1 @@ -2140,11 +2140,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys/5.59.9: - resolution: {integrity: sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==} + /@typescript-eslint/visitor-keys/5.60.0: + resolution: {integrity: sha512-wm9Uz71SbCyhUKgcaPRauBdTegUyY/ZWl8gLwD/i/ybJqscrrdVSFImpvUz16BLPChIeKBK5Fa9s6KDQjsjyWw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.59.9 + '@typescript-eslint/types': 5.60.0 eslint-visitor-keys: 3.4.1 dev: true @@ -2518,10 +2518,10 @@ packages: engines: {node: '>=4'} dev: true - /axobject-query/3.1.1: - resolution: {integrity: sha512-goKlv8DZrK9hUh975fnHzhNIO4jUnFCfv/dszV5VwUGDFjI6vQ2VwoyjYjYNEbBE8AH87TduWP5uyDR1D+Iteg==} + /axobject-query/3.2.1: + resolution: {integrity: sha512-jsyHu61e6N4Vbz/v18DHwWYKK0bSWLqn47eeDSKPB7m8tqMHF9YJ+mhIk2lVteyZrY8tnSj/jHOv4YiTCuCJgg==} dependencies: - deep-equal: 2.2.1 + dequal: 2.0.3 dev: true /babel-jest/29.5.0_@babel+core@7.22.5: @@ -3210,7 +3210,7 @@ packages: supports-color: optional: true dependencies: - ms: 2.1.3 + ms: 2.1.2 dev: true /debug/4.3.4: @@ -3373,6 +3373,11 @@ packages: engines: {node: '>=0.4.0'} dev: true + /dequal/2.0.3: + resolution: {integrity: sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==} + engines: {node: '>=6'} + dev: true + /detect-file/1.0.0: resolution: {integrity: sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==} engines: {node: '>=0.10.0'} @@ -3463,8 +3468,8 @@ packages: once: 1.4.0 dev: true - /enhanced-resolve/5.14.1: - resolution: {integrity: sha512-Vklwq2vDKtl0y/vtwjSesgJ5MYS7Etuk5txS8VdKL4AOS1aUlD96zqIfsOSLQsdv3xgMRbtkWM8eG9XDfKUPow==} + /enhanced-resolve/5.15.0: + resolution: {integrity: sha512-LXYT42KJ7lpIKECr2mAXIaMldcNCh/7E0KBKOu4KSfkHmP+mZmSs+8V5gBAqisWBy0OO4W5Oyys0GO1Y8KtdKg==} engines: {node: '>=10.13.0'} dependencies: graceful-fs: 4.2.11 @@ -3634,27 +3639,27 @@ packages: source-map: 0.6.1 dev: true - /eslint-config-lavy/1.0.1-Alpha.1: - resolution: {integrity: sha512-xk7u/uRXcc8ssqzHBB7i/slP7/UvI5jjEhW2pS4U6Ye2mEMsnFw4inwWFpsGsa55mUalVy3k3gd0CNoLzr0CUg==} + /eslint-config-lavy/1.0.2-Alpha: + resolution: {integrity: sha512-yHXW9Eb98ckiehQY36+5O7ejPKD+i0fouSsrqw5lpwYOxlHcYRkus/acDUJZkSxHjsuZ7taT0R0RI+MWfEVB1g==} engines: {node: '>=16'} dependencies: '@babel/core': 7.22.5 '@babel/eslint-parser': 7.22.5_pzleuxjea4cy75xr62zqpq3vhy '@babel/preset-react': 7.22.5_@babel+core@7.22.5 - '@typescript-eslint/eslint-plugin': 5.59.9_4fmxihdcopu4aswww3w4wmtreq - '@typescript-eslint/parser': 5.59.9_nydeehezxge4zglz7xgffbdlvu + '@typescript-eslint/eslint-plugin': 5.60.0_5pcoq4sxmcjmnikpr2jte7e3f4 + '@typescript-eslint/parser': 5.60.0_cgdknpc562nnyruteofhkegnom eslint: 7.32.0 eslint-config-prettier: 8.8.0_eslint@7.32.0 - eslint-import-resolver-typescript: 3.5.5_y6wxuao7zudlpsieg6txpvveei - eslint-plugin-import: 2.27.5_qrfcfdlwu57uahf6jczcyhekvi + eslint-import-resolver-typescript: 3.5.5_7poji4v7owehwi7d5zf5czryne + eslint-plugin-import: 2.27.5_3qjqjlej6zimbtdt4a2iaiv6qu eslint-plugin-jsx-a11y: 6.7.1_eslint@7.32.0 eslint-plugin-jsx-plus: 0.1.0 eslint-plugin-prettier: 4.2.1_wbjvq5l5nilmuxvc4ylcjwialu eslint-plugin-react: 7.32.2_eslint@7.32.0 eslint-plugin-react-hooks: 4.6.0_eslint@7.32.0 - eslint-plugin-vue: 9.14.1_eslint@7.32.0 + eslint-plugin-vue: 9.15.0_eslint@7.32.0 prettier: 2.8.8 - typescript: 5.1.3 + typescript: 5.0.4 transitivePeerDependencies: - eslint-import-resolver-node - eslint-import-resolver-webpack @@ -3680,7 +3685,7 @@ packages: - supports-color dev: true - /eslint-import-resolver-typescript/3.5.5_y6wxuao7zudlpsieg6txpvveei: + /eslint-import-resolver-typescript/3.5.5_7poji4v7owehwi7d5zf5czryne: resolution: {integrity: sha512-TdJqPHs2lW5J9Zpe17DZNQuDnox4xo2o+0tE7Pggain9Rbc19ik8kFtXdxZ250FVx2kF4vlt2RSf4qlUpG7bhw==} engines: {node: ^14.18.0 || >=16.0.0} peerDependencies: @@ -3688,12 +3693,12 @@ packages: eslint-plugin-import: '*' dependencies: debug: 4.3.4 - enhanced-resolve: 5.14.1 + enhanced-resolve: 5.15.0 eslint: 7.32.0 - eslint-module-utils: 2.8.0_qrfcfdlwu57uahf6jczcyhekvi - eslint-plugin-import: 2.27.5_qrfcfdlwu57uahf6jczcyhekvi + eslint-module-utils: 2.8.0_3qjqjlej6zimbtdt4a2iaiv6qu + eslint-plugin-import: 2.27.5_3qjqjlej6zimbtdt4a2iaiv6qu get-tsconfig: 4.6.0 - globby: 13.1.4 + globby: 13.2.0 is-core-module: 2.12.1 is-glob: 4.0.3 synckit: 0.8.5 @@ -3704,7 +3709,7 @@ packages: - supports-color dev: true - /eslint-module-utils/2.8.0_7hzjgvljtpxpfg53zjfw6pgznu: + /eslint-module-utils/2.8.0_3qjqjlej6zimbtdt4a2iaiv6qu: resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -3725,16 +3730,15 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.59.9_nydeehezxge4zglz7xgffbdlvu + '@typescript-eslint/parser': 5.60.0_cgdknpc562nnyruteofhkegnom debug: 3.2.7 eslint: 7.32.0 - eslint-import-resolver-node: 0.3.7 - eslint-import-resolver-typescript: 3.5.5_y6wxuao7zudlpsieg6txpvveei + eslint-import-resolver-typescript: 3.5.5_7poji4v7owehwi7d5zf5czryne transitivePeerDependencies: - supports-color dev: true - /eslint-module-utils/2.8.0_qrfcfdlwu57uahf6jczcyhekvi: + /eslint-module-utils/2.8.0_4w44fmyrbbwpg3e7vf7tv67aji: resolution: {integrity: sha512-aWajIYfsqCKRDgUfjEXNN/JlrzauMuSEy5sbd7WXbtW3EH6A6MpwEh42c7qD+MqQo9QMJ6fWLAeIJynx0g6OAw==} engines: {node: '>=4'} peerDependencies: @@ -3755,15 +3759,16 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 5.59.9_nydeehezxge4zglz7xgffbdlvu + '@typescript-eslint/parser': 5.60.0_cgdknpc562nnyruteofhkegnom debug: 3.2.7 eslint: 7.32.0 - eslint-import-resolver-typescript: 3.5.5_y6wxuao7zudlpsieg6txpvveei + eslint-import-resolver-node: 0.3.7 + eslint-import-resolver-typescript: 3.5.5_7poji4v7owehwi7d5zf5czryne transitivePeerDependencies: - supports-color dev: true - /eslint-plugin-import/2.27.5_qrfcfdlwu57uahf6jczcyhekvi: + /eslint-plugin-import/2.27.5_3qjqjlej6zimbtdt4a2iaiv6qu: resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} engines: {node: '>=4'} peerDependencies: @@ -3773,7 +3778,7 @@ packages: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 5.59.9_nydeehezxge4zglz7xgffbdlvu + '@typescript-eslint/parser': 5.60.0_cgdknpc562nnyruteofhkegnom array-includes: 3.1.6 array.prototype.flat: 1.3.1 array.prototype.flatmap: 1.3.1 @@ -3781,7 +3786,7 @@ packages: doctrine: 2.1.0 eslint: 7.32.0 eslint-import-resolver-node: 0.3.7 - eslint-module-utils: 2.8.0_7hzjgvljtpxpfg53zjfw6pgznu + eslint-module-utils: 2.8.0_4w44fmyrbbwpg3e7vf7tv67aji has: 1.0.3 is-core-module: 2.12.1 is-glob: 4.0.3 @@ -3808,7 +3813,7 @@ packages: array.prototype.flatmap: 1.3.1 ast-types-flow: 0.0.7 axe-core: 4.7.2 - axobject-query: 3.1.1 + axobject-query: 3.2.1 damerau-levenshtein: 1.0.8 emoji-regex: 9.2.2 eslint: 7.32.0 @@ -3879,8 +3884,8 @@ packages: string.prototype.matchall: 4.0.8 dev: true - /eslint-plugin-vue/9.14.1_eslint@7.32.0: - resolution: {integrity: sha512-LQazDB1qkNEKejLe/b5a9VfEbtbczcOaui5lQ4Qw0tbRBbQYREyxxOV5BQgNDTqGPs9pxqiEpbMi9ywuIaF7vw==} + /eslint-plugin-vue/9.15.0_eslint@7.32.0: + resolution: {integrity: sha512-XYzpK6e2REli100+6iCeBA69v6Sm0D/yK2FZP+fCeNt0yH/m82qZQq+ztseyV0JsKdhFysuSEzeE1yCmSC92BA==} engines: {node: ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.2.0 || ^7.0.0 || ^8.0.0 @@ -4630,8 +4635,8 @@ packages: slash: 3.0.0 dev: true - /globby/13.1.4: - resolution: {integrity: sha512-iui/IiiW+QrJ1X1hKH5qwlMQyv34wJAYwH1vrf8b9kBA4sNiif3gKsMHa+BrdnOpEudWjpotfa7LrTzB1ERS/g==} + /globby/13.2.0: + resolution: {integrity: sha512-jWsQfayf13NvqKUIL3Ta+CIqMnvlaIDFveWE/dpOZ9+3AMEJozsxDvKA02zync9UuvOM8rOXzsD5GqKP4OnWPQ==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} dependencies: dir-glob: 3.0.1 @@ -6062,8 +6067,8 @@ packages: es6-weak-map: 2.0.3 dev: true - /lavy/1.0.1-Alpha.1: - resolution: {integrity: sha512-tHiqTXjae/nJA2qwdJ1DlnA67zLiKHm7JLrHqz9h7A1RAlh5fA12V9EsiMfGdGB/m6XOJvOma+zGByreJBATqg==} + /lavy/1.0.2-Alpha.0: + resolution: {integrity: sha512-gWF32IaCYTTONgYP4SUeRqXtD5ckkDQwCMZBQTtA3aNZhbn+quGMRVgelsRlKgsHDif41ox/Q2dkxMKq97fbIg==} engines: {node: '>=16'} hasBin: true dependencies: @@ -6075,7 +6080,7 @@ packages: inquirer: 8.2.5 prettier: 2.8.8 stylelint: 14.16.1 - typescript: 5.1.3 + typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true @@ -6410,10 +6415,6 @@ packages: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} dev: true - /ms/2.1.3: - resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} - dev: true - /mute-stdout/1.0.1: resolution: {integrity: sha512-kDcwXR4PS7caBpuRYYBUz9iVixUk3anO3f5OYFiIPwK/20vCzKCHyKoulbiDY1S53zD2bxUpxN/IJ+TnXjfvxg==} engines: {node: '>= 0.10'} @@ -8205,14 +8206,14 @@ packages: /tslib/2.5.3: resolution: {integrity: sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==} - /tsutils/3.21.0_typescript@5.1.3: + /tsutils/3.21.0_typescript@5.0.4: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} engines: {node: '>= 6'} peerDependencies: typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' dependencies: tslib: 1.14.1 - typescript: 5.1.3 + typescript: 5.0.4 dev: true /type-check/0.3.2: @@ -8279,9 +8280,9 @@ packages: resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} dev: true - /typescript/5.1.3: - resolution: {integrity: sha512-XH627E9vkeqhlZFQuL+UsyAXEnibT0kWR2FWONlr4sTjvxyJYnyefgrkyECLzM5NenmKzRAy2rR/OlYLA1HkZw==} - engines: {node: '>=14.17'} + /typescript/5.0.4: + resolution: {integrity: sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==} + engines: {node: '>=12.20'} hasBin: true dev: true diff --git a/tsconfig.json b/tsconfig.json index 67dda39..aff16f0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,5 @@ { - "extends": ["lavy/tsconfig.base.json"], + "extends": "lavy/tsconfig.base.json", "compilerOptions": { "target": "ESNEXT", "module": "commonjs",