diagnostic-languageserver
MEDIUM
maintainer ilovemikael
4 votes
scanned 2026-10-26 11:44:54.928123
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>
2
pkgname=diagnostic-languageserver
3
pkgver=1.14.2
4
pkgrel=1
5
pkgdesc="General purpose Language Server that integrates with linters to support diagnostic features"
6
arch=('any')
7
url="https://www.npmjs.com/package/diagnostic-languageserver"
8
license=('MIT')
9
depends=('nodejs')
10
makedepends=('npm')
11
source=("https://registry.npmjs.org/$pkgname/-/$pkgname-$pkgver.tgz")
12
sha256sums=('7a83cb6e2c928c15adc5c8dbb2ed149d0ce4da61ce30f260e08bc9ba0f5f562c')
13
14
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-10-26 11:44:54 | Medium | 1 |
| 2026-06-18 16:11:54 | Clean | 0 |