deps: Upgrade github.com/evanw/esbuild v0.14.2 => v0.14.5

This commit is contained in:
Bjørn Erik Pedersen 2021-12-15 18:00:51 +01:00
parent a4b9f1a92c
commit 8ee6de6d96
3 changed files with 4 additions and 2 deletions

2
go.mod
View file

@ -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

2
go.sum
View file

@ -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=

View file

@ -133,7 +133,7 @@ TS2: {{ template "print" $ts2 }}
b.AssertFileContent("public/index.html", `
console.log("included");
if (hasSpace.test(string))
var React = __toModule(__require("react"));
var React = __toESM(__require("react"));
function greeter(person) {
`)
}