diagnostic-languageserver

MEDIUM
maintainer ilovemikael 4 votes scanned 2026-10-26 11:44:54.928123
View on AUR
Why flagged

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

Triggered rules

Medium Recently orphaned & re-adopted orphaned_readopted

This package was orphaned and re-adopted within the last 30 days — a window where ownership transfers can introduce malicious changes.

PKGBUILD

1# Maintainer of this PKGBUILD file: Martino Pilia <martino.pilia@gmail.com>
2pkgname=diagnostic-languageserver
3pkgver=1.14.2
4pkgrel=1
5pkgdesc="General purpose Language Server that integrates with linters to support diagnostic features"
6arch=('any')
7url="https://www.npmjs.com/package/diagnostic-languageserver"
8license=('MIT')
9depends=('nodejs')
10makedepends=('npm')
11source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
12sha256sums=('7a83cb6e2c928c15adc5c8dbb2ed149d0ce4da61ce30f260e08bc9ba0f5f562c')
13
14package() {
15 npm install -g \
16 --prefix "$pkgdir"/usr \
17 "$srcdir"/$pkgname-$pkgver.tgz
18
19 # Non-deterministic race in npm gives 777 permissions to random directories.
20 # See https://github.com/npm/cli/issues/1103 for details.
21 find "${pkgdir}"/usr -type d -exec chmod 755 {} +
22
23 # Fix ownership
24 # npm gives ownership of ALL FILES to build user
25 # https://bugs.archlinux.org/task/63396
26 chown -R root:root "${pkgdir}"
27
28 install -D -m644 \
29 "${srcdir}/package/LICENSE" \
30 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
31}
32

Scan history

Scanned at (UTC)SeverityRules
2026-10-26 11:44:54 Medium 1
2026-06-18 16:11:54 Clean 0

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion