diff --git a/package-lock.json b/package-lock.json index b9707f85..5e693888 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,7 @@ "@aws-sdk/client-s3": "^3.1041.0", "@aws-sdk/lib-storage": "^3.1045.0", "@better-auth/drizzle-adapter": "^1.6.20", + "@eslint-community/regexpp": "^4.12.2", "@internationalized/date": "^3.11.0", "@smithy/node-http-handler": "4.9.1", "adm-zip": "^0.6.1", @@ -27,7 +28,6 @@ "pino": "^10.3.1", "pretty-bytes": "^7.1.0", "prom-client": "^15.1.3", - "regexpp": "^3.2.0", "tar-stream": "^3.2.0", "undici": "^7.24.4" }, @@ -1615,7 +1615,6 @@ "version": "4.12.2", "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", - "dev": true, "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" @@ -13837,18 +13836,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/regexpp": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-3.2.0.tgz", - "integrity": "sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==", - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/mysticatea" - } - }, "node_modules/require-dir": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/require-dir/-/require-dir-1.2.0.tgz", diff --git a/package.json b/package.json index 254dff91..e270eba2 100644 --- a/package.json +++ b/package.json @@ -85,6 +85,7 @@ "@aws-sdk/client-s3": "^3.1041.0", "@aws-sdk/lib-storage": "^3.1045.0", "@better-auth/drizzle-adapter": "^1.6.20", + "@eslint-community/regexpp": "^4.12.2", "@internationalized/date": "^3.11.0", "@smithy/node-http-handler": "4.9.1", "adm-zip": "^0.6.1", @@ -100,7 +101,6 @@ "pino": "^10.3.1", "pretty-bytes": "^7.1.0", "prom-client": "^15.1.3", - "regexpp": "^3.2.0", "tar-stream": "^3.2.0", "undici": "^7.24.4" }, diff --git a/src/lib/storage/search-regex.ts b/src/lib/storage/search-regex.ts index c3a6b5e6..397d329c 100644 --- a/src/lib/storage/search-regex.ts +++ b/src/lib/storage/search-regex.ts @@ -1,5 +1,5 @@ -import { RegExpParser } from 'regexpp'; -import type { AST } from 'regexpp'; +import { RegExpParser } from '@eslint-community/regexpp'; +import type { AST } from '@eslint-community/regexpp'; const MAX_PATTERN_LENGTH = 512; const MAX_AST_NODES = 200;