diff --git a/.eslintrc.js b/.eslintrc.js index a6526af38..85bedd805 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -24,5 +24,6 @@ module.exports = { "react/jsx-uses-react": "off", "react/react-in-jsx-scope": "off", "@typescript-eslint/no-var-requires": "warn", + "@typescript-eslint/no-require-imports": "warn", }, }; diff --git a/package.json b/package.json index 6c2ab4cb3..7ebe1bd98 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "devDependencies": { "@commitlint/cli": "^19.5.0", "@commitlint/config-lerna-scopes": "^19.5.0", - "@typescript-eslint/eslint-plugin": "^7.16.0", + "@typescript-eslint/eslint-plugin": "^8.6.0", "@typescript-eslint/parser": "^8.6.0", "cross-env": "^7.0.3", "eslint": "^8.56.0", diff --git a/packages/react-multi-crop/package.json b/packages/react-multi-crop/package.json index b92fb80f4..986db1513 100644 --- a/packages/react-multi-crop/package.json +++ b/packages/react-multi-crop/package.json @@ -54,7 +54,7 @@ "jest-environment-jsdom": "^29.7.0", "node-sass": "^9.0.0", "react-test-renderer": "^18.3.1", - "rollup": "^4.22.1", + "rollup": "^4.22.2", "rollup-plugin-delete": "^2.1.0", "rollup-plugin-peer-deps-external": "^2.2.4", "rollup-plugin-sizes": "^1.0.6", diff --git a/yarn.lock b/yarn.lock index a2013a5ca..ec6702b4e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3660,7 +3660,7 @@ __metadata: react: ^18.3.1 react-dom: ^18.3.1 react-test-renderer: ^18.3.1 - rollup: ^4.22.1 + rollup: ^4.22.2 rollup-plugin-delete: ^2.1.0 rollup-plugin-peer-deps-external: ^2.2.4 rollup-plugin-sizes: ^1.0.6 @@ -7337,6 +7337,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm-eabi@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.22.2" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@rollup/rollup-android-arm64@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-android-arm64@npm:4.22.1" @@ -7344,6 +7351,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-android-arm64@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-android-arm64@npm:4.22.2" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-darwin-arm64@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-darwin-arm64@npm:4.22.1" @@ -7351,6 +7365,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-darwin-arm64@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-darwin-arm64@npm:4.22.2" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-darwin-x64@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-darwin-x64@npm:4.22.1" @@ -7358,6 +7379,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-darwin-x64@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-darwin-x64@npm:4.22.2" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@rollup/rollup-linux-arm-gnueabihf@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.22.1" @@ -7365,6 +7393,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm-gnueabihf@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.22.2" + conditions: os=linux & cpu=arm & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-arm-musleabihf@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.22.1" @@ -7372,6 +7407,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm-musleabihf@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.22.2" + conditions: os=linux & cpu=arm & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-linux-arm64-gnu@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.22.1" @@ -7379,6 +7421,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm64-gnu@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.22.2" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-arm64-musl@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-arm64-musl@npm:4.22.1" @@ -7386,6 +7435,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-arm64-musl@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.22.2" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-linux-powerpc64le-gnu@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.22.1" @@ -7393,6 +7449,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.22.2" + conditions: os=linux & cpu=ppc64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-riscv64-gnu@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.22.1" @@ -7400,6 +7463,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-riscv64-gnu@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.22.2" + conditions: os=linux & cpu=riscv64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-s390x-gnu@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.22.1" @@ -7407,6 +7477,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-s390x-gnu@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.22.2" + conditions: os=linux & cpu=s390x & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-x64-gnu@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-x64-gnu@npm:4.22.1" @@ -7414,6 +7491,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-x64-gnu@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.22.2" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + "@rollup/rollup-linux-x64-musl@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-linux-x64-musl@npm:4.22.1" @@ -7421,6 +7505,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-linux-x64-musl@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.22.2" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + "@rollup/rollup-win32-arm64-msvc@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.22.1" @@ -7428,6 +7519,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-arm64-msvc@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.22.2" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@rollup/rollup-win32-ia32-msvc@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.22.1" @@ -7435,6 +7533,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-ia32-msvc@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.22.2" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@rollup/rollup-win32-x64-msvc@npm:4.22.1": version: 4.22.1 resolution: "@rollup/rollup-win32-x64-msvc@npm:4.22.1" @@ -7442,6 +7547,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-x64-msvc@npm:4.22.2": + version: 4.22.2 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.22.2" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@rushstack/eslint-patch@npm:^1.1.0": version: 1.3.2 resolution: "@rushstack/eslint-patch@npm:1.3.2" @@ -9699,26 +9811,26 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^7.16.0": - version: 7.16.1 - resolution: "@typescript-eslint/eslint-plugin@npm:7.16.1" +"@typescript-eslint/eslint-plugin@npm:^8.6.0": + version: 8.6.0 + resolution: "@typescript-eslint/eslint-plugin@npm:8.6.0" dependencies: "@eslint-community/regexpp": ^4.10.0 - "@typescript-eslint/scope-manager": 7.16.1 - "@typescript-eslint/type-utils": 7.16.1 - "@typescript-eslint/utils": 7.16.1 - "@typescript-eslint/visitor-keys": 7.16.1 + "@typescript-eslint/scope-manager": 8.6.0 + "@typescript-eslint/type-utils": 8.6.0 + "@typescript-eslint/utils": 8.6.0 + "@typescript-eslint/visitor-keys": 8.6.0 graphemer: ^1.4.0 ignore: ^5.3.1 natural-compare: ^1.4.0 ts-api-utils: ^1.3.0 peerDependencies: - "@typescript-eslint/parser": ^7.0.0 - eslint: ^8.56.0 + "@typescript-eslint/parser": ^8.0.0 || ^8.0.0-alpha.0 + eslint: ^8.57.0 || ^9.0.0 peerDependenciesMeta: typescript: optional: true - checksum: 131f20cf13e4b6ae788fcfd160116148e047fdd5137097165787d819f9a7628ae4c5929ebf8a4728f72fb9af273d68b5e4876ce1fdd407ce6b1e4d985c3fd5ce + checksum: 6acab71c3066b86ba19b081c44b7060df4468d932813a94ad3b60f0f88b78b97f3555a0605814e32f8399737c0789e72cb509a6cf6d70e4823a7cc8769d06fa4 languageName: node linkType: hard @@ -9778,16 +9890,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.16.1": - version: 7.16.1 - resolution: "@typescript-eslint/scope-manager@npm:7.16.1" - dependencies: - "@typescript-eslint/types": 7.16.1 - "@typescript-eslint/visitor-keys": 7.16.1 - checksum: 5575e24fecc88e5bd85fc0f44c3952f804dffcc99eca4b6aeaa44a31018d0d86286f608acc793d3e873508a571304f006b37fd23d768598e43afc44d35c55220 - languageName: node - linkType: hard - "@typescript-eslint/scope-manager@npm:8.6.0": version: 8.6.0 resolution: "@typescript-eslint/scope-manager@npm:8.6.0" @@ -9815,20 +9917,18 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.16.1": - version: 7.16.1 - resolution: "@typescript-eslint/type-utils@npm:7.16.1" +"@typescript-eslint/type-utils@npm:8.6.0": + version: 8.6.0 + resolution: "@typescript-eslint/type-utils@npm:8.6.0" dependencies: - "@typescript-eslint/typescript-estree": 7.16.1 - "@typescript-eslint/utils": 7.16.1 + "@typescript-eslint/typescript-estree": 8.6.0 + "@typescript-eslint/utils": 8.6.0 debug: ^4.3.4 ts-api-utils: ^1.3.0 - peerDependencies: - eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 6128d887189fdabff648931c2d385bd0ad2e8ba11b47a7e35ed962a432bff12611e011ea6137a59452d8ae9715a54c644557b1c00c7b1cf1e4a4f4e126954e9e + checksum: d395745176cc13d96759e4ad7b698058f4fc24b62d0bd3fe603f49546f369cbf3e46fefbcc6069c33b1b0d825e033e0a5a972fd0b1a05f7ce9e8588154a02b93 languageName: node linkType: hard @@ -9839,13 +9939,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:7.16.1": - version: 7.16.1 - resolution: "@typescript-eslint/types@npm:7.16.1" - checksum: 5fbcf214deda21fc3e0eaab8052d5f7bf30830bbb2c7fff93d39111091bf74fafc9afad2974937ae96b67e92e508c400c9108b4fa98761411db1c1e5aff19642 - languageName: node - linkType: hard - "@typescript-eslint/types@npm:8.6.0": version: 8.6.0 resolution: "@typescript-eslint/types@npm:8.6.0" @@ -9871,25 +9964,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.16.1": - version: 7.16.1 - resolution: "@typescript-eslint/typescript-estree@npm:7.16.1" - dependencies: - "@typescript-eslint/types": 7.16.1 - "@typescript-eslint/visitor-keys": 7.16.1 - debug: ^4.3.4 - globby: ^11.1.0 - is-glob: ^4.0.3 - minimatch: ^9.0.4 - semver: ^7.6.0 - ts-api-utils: ^1.3.0 - peerDependenciesMeta: - typescript: - optional: true - checksum: 2557c21f0645f9150020821db500b6be367f83e7e80be87fb04fcc7e2e0d5e5b8f413107873cf05485a4c5516f0cadc9b7754fa5b459a451effc98ccf27f4ce6 - languageName: node - linkType: hard - "@typescript-eslint/typescript-estree@npm:8.6.0": version: 8.6.0 resolution: "@typescript-eslint/typescript-estree@npm:8.6.0" @@ -9927,17 +10001,17 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.16.1": - version: 7.16.1 - resolution: "@typescript-eslint/utils@npm:7.16.1" +"@typescript-eslint/utils@npm:8.6.0": + version: 8.6.0 + resolution: "@typescript-eslint/utils@npm:8.6.0" dependencies: "@eslint-community/eslint-utils": ^4.4.0 - "@typescript-eslint/scope-manager": 7.16.1 - "@typescript-eslint/types": 7.16.1 - "@typescript-eslint/typescript-estree": 7.16.1 + "@typescript-eslint/scope-manager": 8.6.0 + "@typescript-eslint/types": 8.6.0 + "@typescript-eslint/typescript-estree": 8.6.0 peerDependencies: - eslint: ^8.56.0 - checksum: 129435ab63363c7bdfa0abbabc1e3b59b66b39ea54a018f7706bc703d233c3c98791bb32f69ddec4715f6ffd6c66554f55eb76b3b91fcea9e919734cf23f6ead + eslint: ^8.57.0 || ^9.0.0 + checksum: dbb2efe47c291d36d5ec147f8c8fe62d27e9db2a3368aefd9019fd1e118bd1a54c8b13b990bb0941c9510bc4e2049b336e9a26d6414a6239c020e36baa8797e2 languageName: node linkType: hard @@ -9951,16 +10025,6 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.16.1": - version: 7.16.1 - resolution: "@typescript-eslint/visitor-keys@npm:7.16.1" - dependencies: - "@typescript-eslint/types": 7.16.1 - eslint-visitor-keys: ^3.4.3 - checksum: 3d181d42dc9c29f6518343ae6d57b046743888e1d2dd0f3a547a1388564cdea7474c689ac17761a62effc57b3e7b90d5c51ae25e8bd411559a9ee8975094bd54 - languageName: node - linkType: hard - "@typescript-eslint/visitor-keys@npm:8.6.0": version: 8.6.0 resolution: "@typescript-eslint/visitor-keys@npm:8.6.0" @@ -24910,7 +24974,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.20.0, rollup@npm:^4.22.1": +"rollup@npm:^4.20.0": version: 4.22.1 resolution: "rollup@npm:4.22.1" dependencies: @@ -24973,13 +25037,76 @@ __metadata: languageName: node linkType: hard +"rollup@npm:^4.22.2": + version: 4.22.2 + resolution: "rollup@npm:4.22.2" + dependencies: + "@rollup/rollup-android-arm-eabi": 4.22.2 + "@rollup/rollup-android-arm64": 4.22.2 + "@rollup/rollup-darwin-arm64": 4.22.2 + "@rollup/rollup-darwin-x64": 4.22.2 + "@rollup/rollup-linux-arm-gnueabihf": 4.22.2 + "@rollup/rollup-linux-arm-musleabihf": 4.22.2 + "@rollup/rollup-linux-arm64-gnu": 4.22.2 + "@rollup/rollup-linux-arm64-musl": 4.22.2 + "@rollup/rollup-linux-powerpc64le-gnu": 4.22.2 + "@rollup/rollup-linux-riscv64-gnu": 4.22.2 + "@rollup/rollup-linux-s390x-gnu": 4.22.2 + "@rollup/rollup-linux-x64-gnu": 4.22.2 + "@rollup/rollup-linux-x64-musl": 4.22.2 + "@rollup/rollup-win32-arm64-msvc": 4.22.2 + "@rollup/rollup-win32-ia32-msvc": 4.22.2 + "@rollup/rollup-win32-x64-msvc": 4.22.2 + "@types/estree": 1.0.5 + fsevents: ~2.3.2 + dependenciesMeta: + "@rollup/rollup-android-arm-eabi": + optional: true + "@rollup/rollup-android-arm64": + optional: true + "@rollup/rollup-darwin-arm64": + optional: true + "@rollup/rollup-darwin-x64": + optional: true + "@rollup/rollup-linux-arm-gnueabihf": + optional: true + "@rollup/rollup-linux-arm-musleabihf": + optional: true + "@rollup/rollup-linux-arm64-gnu": + optional: true + "@rollup/rollup-linux-arm64-musl": + optional: true + "@rollup/rollup-linux-powerpc64le-gnu": + optional: true + "@rollup/rollup-linux-riscv64-gnu": + optional: true + "@rollup/rollup-linux-s390x-gnu": + optional: true + "@rollup/rollup-linux-x64-gnu": + optional: true + "@rollup/rollup-linux-x64-musl": + optional: true + "@rollup/rollup-win32-arm64-msvc": + optional: true + "@rollup/rollup-win32-ia32-msvc": + optional: true + "@rollup/rollup-win32-x64-msvc": + optional: true + fsevents: + optional: true + bin: + rollup: dist/bin/rollup + checksum: 61b73b4f3e1b808059cd73647840ac366d89ecb22d80427a6dbb351cfc50ab27d946401aff22ded76bc59723435d37e0b4a329f8c10fac8fb719372a195f2382 + languageName: node + linkType: hard + "root@workspace:.": version: 0.0.0-use.local resolution: "root@workspace:." dependencies: "@commitlint/cli": ^19.5.0 "@commitlint/config-lerna-scopes": ^19.5.0 - "@typescript-eslint/eslint-plugin": ^7.16.0 + "@typescript-eslint/eslint-plugin": ^8.6.0 "@typescript-eslint/parser": ^8.6.0 cross-env: ^7.0.3 eslint: ^8.56.0