|
| 1 | +/** |
| 2 | + * Copyright 2026 GitProxy Contributors |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | + * you may not use this file except in compliance with the License. |
| 6 | + * You may obtain a copy of the License at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * Unless required by applicable law or agreed to in writing, software |
| 11 | + * distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | + * See the License for the specific language governing permissions and |
| 14 | + * limitations under the License. |
| 15 | + */ |
| 16 | + |
| 17 | +/** |
| 18 | + * Popular Go modules for typosquat detection. |
| 19 | + * @type {string[]} |
| 20 | + */ |
| 21 | +export const GO_POPULAR = [ |
| 22 | + 'golang.org/x/net', |
| 23 | + 'golang.org/x/sys', |
| 24 | + 'golang.org/x/text', |
| 25 | + 'golang.org/x/crypto', |
| 26 | + 'golang.org/x/tools', |
| 27 | + 'golang.org/x/mod', |
| 28 | + 'golang.org/x/sync', |
| 29 | + 'golang.org/x/time', |
| 30 | + 'golang.org/x/term', |
| 31 | + 'golang.org/x/oauth2', |
| 32 | + 'golang.org/x/exp', |
| 33 | + 'google.golang.org/grpc', |
| 34 | + 'google.golang.org/protobuf', |
| 35 | + 'google.golang.org/api', |
| 36 | + 'google.golang.org/genproto', |
| 37 | + 'cloud.google.com/go', |
| 38 | + 'github.com/stretchr/testify', |
| 39 | + 'github.com/stretchr/objx', |
| 40 | + 'github.com/davecgh/go-spew', |
| 41 | + 'github.com/pmezard/go-difflib', |
| 42 | + 'github.com/sirupsen/logrus', |
| 43 | + 'github.com/rs/zerolog', |
| 44 | + 'go.uber.org/zap', |
| 45 | + 'go.uber.org/multierr', |
| 46 | + 'go.uber.org/atomic', |
| 47 | + 'github.com/pkg/errors', |
| 48 | + 'github.com/spf13/cobra', |
| 49 | + 'github.com/spf13/viper', |
| 50 | + 'github.com/spf13/pflag', |
| 51 | + 'github.com/spf13/cast', |
| 52 | + 'github.com/spf13/afero', |
| 53 | + 'github.com/gin-gonic/gin', |
| 54 | + 'github.com/gorilla/mux', |
| 55 | + 'github.com/gorilla/websocket', |
| 56 | + 'github.com/go-chi/chi', |
| 57 | + 'github.com/labstack/echo', |
| 58 | + 'github.com/gofiber/fiber', |
| 59 | + 'github.com/valyala/fasthttp', |
| 60 | + 'github.com/julienschmidt/httprouter', |
| 61 | + 'github.com/urfave/cli', |
| 62 | + 'github.com/mitchellh/mapstructure', |
| 63 | + 'github.com/google/uuid', |
| 64 | + 'github.com/google/go-cmp', |
| 65 | + 'github.com/google/go-github', |
| 66 | + 'github.com/gofrs/uuid', |
| 67 | + 'github.com/golang/protobuf', |
| 68 | + 'github.com/golang/mock', |
| 69 | + 'github.com/gogo/protobuf', |
| 70 | + 'github.com/golang-jwt/jwt', |
| 71 | + 'github.com/dgrijalva/jwt-go', |
| 72 | + 'github.com/go-sql-driver/mysql', |
| 73 | + 'github.com/lib/pq', |
| 74 | + 'github.com/jackc/pgx', |
| 75 | + 'github.com/jmoiron/sqlx', |
| 76 | + 'github.com/mattn/go-sqlite3', |
| 77 | + 'gorm.io/gorm', |
| 78 | + 'github.com/redis/go-redis', |
| 79 | + 'github.com/go-redis/redis', |
| 80 | + 'go.mongodb.org/mongo-driver', |
| 81 | + 'github.com/aws/aws-sdk-go', |
| 82 | + 'github.com/aws/aws-sdk-go-v2', |
| 83 | + 'github.com/azure/azure-sdk-for-go', |
| 84 | + 'k8s.io/client-go', |
| 85 | + 'k8s.io/api', |
| 86 | + 'k8s.io/apimachinery', |
| 87 | + 'sigs.k8s.io/yaml', |
| 88 | + 'gopkg.in/yaml', |
| 89 | + 'gopkg.in/check', |
| 90 | + 'github.com/prometheus/client_golang', |
| 91 | + 'go.opentelemetry.io/otel', |
| 92 | + 'github.com/grpc-ecosystem/grpc-gateway', |
| 93 | + 'github.com/hashicorp/vault', |
| 94 | + 'github.com/hashicorp/consul', |
| 95 | + 'github.com/hashicorp/go-multierror', |
| 96 | + 'github.com/hashicorp/hcl', |
| 97 | + 'github.com/hashicorp/go-retryablehttp', |
| 98 | + 'github.com/fsnotify/fsnotify', |
| 99 | + 'github.com/joho/godotenv', |
| 100 | + 'github.com/kelseyhightower/envconfig', |
| 101 | + 'github.com/fatih/color', |
| 102 | + 'github.com/cenkalti/backoff', |
| 103 | + 'github.com/patrickmn/go-cache', |
| 104 | + 'github.com/robfig/cron', |
| 105 | + 'github.com/shopspring/decimal', |
| 106 | + 'github.com/pelletier/go-toml', |
| 107 | + 'github.com/burntsushi/toml', |
| 108 | + 'github.com/klauspost/compress', |
| 109 | + 'github.com/miekg/dns', |
| 110 | + 'github.com/nats-io/nats.go', |
| 111 | + 'github.com/segmentio/kafka-go', |
| 112 | + 'github.com/go-playground/validator', |
| 113 | + 'github.com/docker/docker', |
| 114 | +]; |
0 commit comments