[UPDATE] devel/esbuild 0.28.1 -> 0.28.2

"Igor Zornik" <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
Hello, ports.

A new version of esbuild with a few stylistic changes to the Makefile.
JS and CSS bundling tested on today's amd64 snap. QP-encoded diff below
the changelog. Someone please commit if OK.

Out of curiosity I ran make test and got the following error:

no required module provides package github.com/evanw/esbuild; to add it:
    go get github.com/evanw/esbuild
FAIL    github.com/evanw/esbuild [setup failed]

Does this make it a candidate for NO_TEST?

Changelog:
- Fix tree shaking bug due to TypeScript import alias.
- Fix CSS minification bug involving '&'.
- Avoid overwriting input files without '--allow-overwrite'.
- Fix incorrect code generated when using top-level await.
- Fix a minification bug with lowered logical assignment operators.
- Fix a potential deadlock when the JavaScript API is used incorrectly.
- Handle target collisions.
- Force '.mp3' files to use the 'audio/mpeg' MIME type.
- Add a new TypeScript syntax warning.
- Add support for formatting errors for Visual Studio.
- Fix a bug with CSS gamut mapping.

Detailed changelog is available at
https://github.com/evanw/esbuild/releases/tag/v0.28.2

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/esbuild/Makefile,v
retrieving revision 1.21
diff -u -p -u -p -r1.21 Makefile
--- Makefile	30 Jun 2026 17:20:17 -0000	1.21
+++ Makefile	25 Aug 2026 16:16:13 -0000
@@ -1,19 +1,20 @@
 COMMENT =	fast bundler for the web
 
 MODGO_MODNAME =	github.com/evanw/esbuild
-MODGO_VERSION =	v0.28.1
+MODGO_VERSION =	v0.28.2
 
 DISTNAME =	esbuild-${MODGO_VERSION}
-CATEGORIES =	devel
 
-MAINTAINER =	Igor Zornik <[email protected]>
+CATEGORIES =	devel
 
 HOMEPAGE =	https://esbuild.github.io/
 
+MAINTAINER =	Igor Zornik <[email protected]>
+
 # MIT
 PERMIT_PACKAGE =	Yes
 
-WANTLIB +=	c pthread
+WANTLIB += c pthread
 
 MODULES =	lang/go
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/esbuild/distinfo,v
retrieving revision 1.20
diff -u -p -u -p -r1.20 distinfo
--- distinfo	30 Jun 2026 17:20:17 -0000	1.20
+++ distinfo	25 Aug 2026 16:16:13 -0000
@@ -1,6 +1,6 @@
-SHA256 (esbuild-v0.28.1.zip) = zoWIu+ztbLJ6wybOMGFDfkd17rDo9aU64Pjcvid8Clw=
+SHA256 (esbuild-v0.28.2.zip) = 2w/CkY730XabF0btEj1A20+SY24lNt2k5A9dCArjDeI=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220715151400-c0bba94af5f8.mod) = 8DMzMJb+GY8xUd7tk/LeunTlC7/nc5E0BFvDt85KUCQ=
 SHA256 (go_modules/golang.org/x/sys/@v/v0.0.0-20220715151400-c0bba94af5f8.zip) = OxgJNyFuk1WfFrYHbQm69UpXBzePEbhntuuRTFawm5E=
-SIZE (esbuild-v0.28.1.zip) = 2155515
+SIZE (esbuild-v0.28.2.zip) = 2242951
 SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220715151400-c0bba94af5f8.mod) = 33
 SIZE (go_modules/golang.org/x/sys/@v/v0.0.0-20220715151400-c0bba94af5f8.zip) = 1798284
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.