vendor: update all dependencies to latest versions
This commit is contained in:
+1
-1
@@ -59,7 +59,7 @@ func genTables() {
|
||||
log.Fatalf("Too many Class constants (%#x > 0x0F).", numClass)
|
||||
}
|
||||
w := gen.NewCodeWriter()
|
||||
defer w.WriteGoFile(*outputFile, "bidi")
|
||||
defer w.WriteVersionedGoFile(*outputFile, "bidi")
|
||||
|
||||
gen.WriteUnicodeVersion(w)
|
||||
|
||||
|
||||
Generated
Vendored
+2
@@ -1,5 +1,7 @@
|
||||
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
|
||||
|
||||
// +build go1.10
|
||||
|
||||
package bidi
|
||||
|
||||
// UnicodeVersion is the Unicode version from which the tables in this package are derived.
|
||||
+1781
File diff suppressed because it is too large
Load Diff
+5
@@ -62,6 +62,11 @@ func (e *Common) Default() string {
|
||||
return ""
|
||||
}
|
||||
|
||||
// Element returns the XML element name.
|
||||
func (e *Common) Element() string {
|
||||
return e.name
|
||||
}
|
||||
|
||||
// GetCommon returns e. It is provided such that Common implements Elem.
|
||||
func (e *Common) GetCommon() *Common {
|
||||
return e
|
||||
|
||||
+1
-1
@@ -47,7 +47,7 @@ type Loader interface {
|
||||
Reader(i int) (io.ReadCloser, error)
|
||||
}
|
||||
|
||||
var fileRe = regexp.MustCompile(".*/(.*)/(.*)\\.xml")
|
||||
var fileRe = regexp.MustCompile(`.*[/\\](.*)[/\\](.*)\.xml`)
|
||||
|
||||
// Decode loads and decodes the files represented by l.
|
||||
func (d *Decoder) Decode(l Loader) (cldr *CLDR, err error) {
|
||||
|
||||
+8
-1
@@ -636,6 +636,13 @@ type SupplementalData struct {
|
||||
Path string `xml:"path,attr"`
|
||||
} `xml:"rgPath"`
|
||||
} `xml:"rgScope"`
|
||||
LanguageGroups *struct {
|
||||
Common
|
||||
LanguageGroup []*struct {
|
||||
Common
|
||||
Parent string `xml:"parent,attr"`
|
||||
} `xml:"languageGroup"`
|
||||
} `xml:"languageGroups"`
|
||||
}
|
||||
|
||||
// LDML is the top-level type for locale-specific data.
|
||||
@@ -1484,4 +1491,4 @@ type Numbers struct {
|
||||
}
|
||||
|
||||
// Version is the version of CLDR from which the XML definitions are generated.
|
||||
const Version = "31"
|
||||
const Version = "32"
|
||||
|
||||
+7424
File diff suppressed because it is too large
Load Diff
+7409
File diff suppressed because it is too large
Load Diff
+2
-2
@@ -795,7 +795,7 @@ func makeTables() {
|
||||
}
|
||||
|
||||
fmt.Fprintf(w, "// Total size of tables: %dKB (%d bytes)\n", (size+512)/1024, size)
|
||||
gen.WriteGoFile("tables.go", "norm", w.Bytes())
|
||||
gen.WriteVersionedGoFile("tables.go", "norm", w.Bytes())
|
||||
}
|
||||
|
||||
func printChars() {
|
||||
@@ -972,5 +972,5 @@ func printTestdata() {
|
||||
}
|
||||
}
|
||||
fmt.Fprintln(w, "}")
|
||||
gen.WriteGoFile("data_test.go", "norm", w.Bytes())
|
||||
gen.WriteVersionedGoFile("data_test.go", "norm", w.Bytes())
|
||||
}
|
||||
|
||||
-14
@@ -1,14 +0,0 @@
|
||||
// Copyright 2011 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package norm_test
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestPlaceHolder(t *testing.T) {
|
||||
// Does nothing, just allows the Makefile to be canonical
|
||||
// while waiting for the package itself to be written.
|
||||
}
|
||||
+1
-1
@@ -720,7 +720,7 @@ var appendTestsNFC = []AppendTest{
|
||||
}
|
||||
|
||||
var appendTestsNFD = []AppendTest{
|
||||
// TODO: Move some of the tests here.
|
||||
// TODO: Move some of the tests here.
|
||||
}
|
||||
|
||||
var appendTestsNFKC = []AppendTest{
|
||||
|
||||
Generated
Vendored
+2
@@ -1,5 +1,7 @@
|
||||
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
|
||||
|
||||
// +build go1.10
|
||||
|
||||
package norm
|
||||
|
||||
const (
|
||||
+7633
File diff suppressed because it is too large
Load Diff
+1
-1
@@ -95,7 +95,7 @@ func main() {
|
||||
|
||||
fmt.Fprintf(w, "// Total size %d bytes (%d KiB)\n", size, size/1024)
|
||||
|
||||
gen.WriteGoFile("tables.go", "rangetable", w.Bytes())
|
||||
gen.WriteVersionedGoFile("tables.go", "rangetable", w.Bytes())
|
||||
}
|
||||
|
||||
func print(w io.Writer, rt *unicode.RangeTable) {
|
||||
|
||||
Generated
Vendored
+2
@@ -1,5 +1,7 @@
|
||||
// Code generated by running "go generate" in golang.org/x/text. DO NOT EDIT.
|
||||
|
||||
// +build go1.10
|
||||
|
||||
package rangetable
|
||||
|
||||
//go:generate go run gen.go --versions=4.1.0,5.1.0,5.2.0,5.0.0,6.1.0,6.2.0,6.3.0,6.0.0,7.0.0,8.0.0,9.0.0,10.0.0
|
||||
+5737
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user