Skip to content

Commit

Permalink
publicsuffix: update table to version 20230804
Browse files Browse the repository at this point in the history
using version 63cbc63
last update was done in 2022

Change-Id: Ic4634caf5c9dfd97211a5dff966a3ea2ed6a461e
GitHub-Last-Rev: 5b94982
GitHub-Pull-Request: #187
Reviewed-on: https://go-review.googlesource.com/c/net/+/515895
Auto-Submit: Damien Neil <dneil@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
  • Loading branch information
peczenyj authored and gopherbot committed Aug 9, 2023
1 parent c8c0290 commit 1e23797
Show file tree
Hide file tree
Showing 6 changed files with 497 additions and 1,188 deletions.
Binary file modified publicsuffix/data/children
Binary file not shown.
Binary file modified publicsuffix/data/nodes
Binary file not shown.
2 changes: 1 addition & 1 deletion publicsuffix/data/text

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion publicsuffix/example_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func ExamplePublicSuffix_manager() {
// > golang.dev dev is ICANN Managed
// > golang.net net is ICANN Managed
// > play.golang.org org is ICANN Managed
// > gophers.in.space.museum space.museum is ICANN Managed
// > gophers.in.space.museum museum is ICANN Managed
// >
// > 0emm.com com is ICANN Managed
// > a.0emm.com a.0emm.com is Privately Managed
Expand Down
14 changes: 7 additions & 7 deletions publicsuffix/table.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ package publicsuffix

import _ "embed"

const version = "publicsuffix.org's public_suffix_list.dat, git revision e248cbc92a527a166454afe9914c4c1b4253893f (2022-11-15T18:02:38Z)"
const version = "publicsuffix.org's public_suffix_list.dat, git revision 63cbc63d470d7b52c35266aa96c4c98c96ec499c (2023-08-03T10:01:25Z)"

const (
nodesBits = 40
Expand All @@ -26,7 +26,7 @@ const (
)

// numTLD is the number of top level domains.
const numTLD = 1494
const numTLD = 1474

// text is the combined text of all labels.
//
Expand Down Expand Up @@ -63,8 +63,8 @@ var nodes uint40String
//go:embed data/children
var children uint32String

// max children 718 (capacity 1023)
// max text offset 32976 (capacity 65535)
// max text length 36 (capacity 63)
// max hi 9656 (capacity 16383)
// max lo 9651 (capacity 16383)
// max children 743 (capacity 1023)
// max text offset 30876 (capacity 65535)
// max text length 31 (capacity 63)
// max hi 9322 (capacity 16383)
// max lo 9317 (capacity 16383)

0 comments on commit 1e23797

Please sign in to comment.