tailscale/tstest/jsdeps/jsdeps.go
Joe Tsai 6248c1ceca all: use "github.com/go-json-experiment/json/v1" over "encoding/json"
DO NOT SUBMIT: experiment to check how much breaks.

Signed-off-by: Joe Tsai <joetsai@digital-static.net>
2025-07-14 14:45:45 -07:00

36 lines
895 B
Go

// Copyright (c) Tailscale Inc & AUTHORS
// SPDX-License-Identifier: BSD-3-Clause
// Package jsdeps is a just a list of the packages we import in the
// JavaScript/WASM build, to let us test that our transitive closure of
// dependencies doesn't accidentally grow too large, since binary size
// is more of a concern.
package jsdeps
import (
_ "bytes"
_ "context"
_ "encoding/hex"
_ "github.com/go-json-experiment/json/v1"
_ "fmt"
_ "log"
_ "math/rand/v2"
_ "net"
_ "strings"
_ "time"
_ "golang.org/x/crypto/ssh"
_ "tailscale.com/control/controlclient"
_ "tailscale.com/ipn"
_ "tailscale.com/ipn/ipnserver"
_ "tailscale.com/net/netaddr"
_ "tailscale.com/net/netns"
_ "tailscale.com/net/tsdial"
_ "tailscale.com/safesocket"
_ "tailscale.com/tailcfg"
_ "tailscale.com/types/logger"
_ "tailscale.com/wgengine"
_ "tailscale.com/wgengine/netstack"
_ "tailscale.com/words"
)