From 4e829e2f1951380baac35d3c65adc2f05537263a Mon Sep 17 00:00:00 2001 From: linsui <2873532-linsui@users.noreply.gitlab.com> Date: Mon, 2 Sep 2024 17:07:53 +0800 Subject: [PATCH] scanner: fix npm lock file name --- fdroidserver/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index 573df30d..cf586f45 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -53,7 +53,7 @@ MAVEN_URL_REGEX = re.compile( DEPFILE = { "Cargo.toml": ["Cargo.lock"], "pubspec.yaml": ["pubspec.lock"], - "package.json": ["package.lock", "yarn.lock", "pnpm-lock.yaml"], + "package.json": ["package-lock.json", "yarn.lock", "pnpm-lock.yaml"], } SCANNER_CACHE_VERSION = 1