summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-12-15 18:00:51 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2021-12-17 08:26:45 +0100
commit8ee6de6d96a64395d27416d4f2ad7d172a2686d0 (patch)
treeec469fdd08b43b8edf7cbccec941e7d94f3b54e6
parenta4b9f1a92c600830f42f89e89d07450f08adabd3 (diff)
deps: Upgrade github.com/evanw/esbuild v0.14.2 => v0.14.5
-rw-r--r--go.mod2
-rw-r--r--go.sum2
-rw-r--r--hugolib/js_test.go2
3 files changed, 4 insertions, 2 deletions
diff --git a/go.mod b/go.mod
index 09c7e8144..dac742ec7 100644
--- a/go.mod
+++ b/go.mod
@@ -17,7 +17,7 @@ require (
github.com/cli/safeexec v1.0.0
github.com/disintegration/gift v1.2.1
github.com/dustin/go-humanize v1.0.0
- github.com/evanw/esbuild v0.14.2
+ github.com/evanw/esbuild v0.14.5
github.com/fortytw2/leaktest v1.3.0
github.com/frankban/quicktest v1.14.0
github.com/fsnotify/fsnotify v1.5.1
diff --git a/go.sum b/go.sum
index 35571b9db..90699fa2a 100644
--- a/go.sum
+++ b/go.sum
@@ -203,6 +203,8 @@ github.com/evanw/esbuild v0.13.12 h1:q8fmywXq1vIKlbA6XSxdU9LCLzMdrsD3wfM2gz2d8JU
github.com/evanw/esbuild v0.13.12/go.mod h1:GG+zjdi59yh3ehDn4ZWfPcATxjPDUH53iU4ZJbp7dkY=
github.com/evanw/esbuild v0.14.2 h1:vAvIfHk0SxXE6OV+LzZHnlvUk6RigWOFAl7GyS7J9tY=
github.com/evanw/esbuild v0.14.2/go.mod h1:GG+zjdi59yh3ehDn4ZWfPcATxjPDUH53iU4ZJbp7dkY=
+github.com/evanw/esbuild v0.14.5 h1:Gh/vGvDL/g++7erzQZofohZqFBzQblWfLdtYCf15zcQ=
+github.com/evanw/esbuild v0.14.5/go.mod h1:GG+zjdi59yh3ehDn4ZWfPcATxjPDUH53iU4ZJbp7dkY=
github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
diff --git a/hugolib/js_test.go b/hugolib/js_test.go
index 69f528758..aaffee27b 100644
--- a/hugolib/js_test.go
+++ b/hugolib/js_test.go
@@ -133,7 +133,7 @@ TS2: {{ template "print" $ts2 }}
b.AssertFileContent("public/index.html", `
console.log(&#34;included&#34;);
if (hasSpace.test(string))
-var React = __toModule(__require(&#34;react&#34;));
+var React = __toESM(__require(&#34;react&#34;));
function greeter(person) {
`)
}