summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/davecgh/go-spew/spew/bypasssafe.go38
-rw-r--r--vendor/vendor.json14
2 files changed, 45 insertions, 7 deletions
diff --git a/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go b/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
new file mode 100644
index 0000000000..1fe3cf3d5d
--- /dev/null
+++ b/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go
@@ -0,0 +1,38 @@
+// Copyright (c) 2015-2016 Dave Collins <dave@davec.name>
+//
+// Permission to use, copy, modify, and distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
+//
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+// NOTE: Due to the following build constraints, this file will only be compiled
+// when the code is running on Google App Engine, compiled by GopherJS, or
+// "-tags safe" is added to the go build command line. The "disableunsafe"
+// tag is deprecated and thus should not be used.
+// +build js appengine safe disableunsafe
+
+package spew
+
+import "reflect"
+
+const (
+ // UnsafeDisabled is a build-time constant which specifies whether or
+ // not access to the unsafe package is available.
+ UnsafeDisabled = true
+)
+
+// unsafeReflectValue typically converts the passed reflect.Value into a one
+// that bypasses the typical safety restrictions preventing access to
+// unaddressable and unexported data. However, doing this relies on access to
+// the unsafe package. This is a stub version which simply returns the passed
+// reflect.Value when the unsafe package is not available.
+func unsafeReflectValue(v reflect.Value) reflect.Value {
+ return v
+}
diff --git a/vendor/vendor.json b/vendor/vendor.json
index 1d6e29dfc3..162963b77d 100644
--- a/vendor/vendor.json
+++ b/vendor/vendor.json
@@ -390,7 +390,7 @@
"revisionTime": "2018-04-10T00:32:39Z"
},
{
- "checksumSHA1": "HZHDKs2ZV3FhKKTBfMzkv3+moaQ=",
+ "checksumSHA1": "mrz/kicZiUaHxkyfvC/DyQcr8Do=",
"path": "github.com/davecgh/go-spew/spew",
"revision": "ecdeabc65495df2dec95d7c4a4c3e021903035e5",
"revisionTime": "2017-10-02T20:02:53Z"
@@ -1369,18 +1369,18 @@
"revisionTime": "2016-03-11T05:04:36Z"
},
{
- "checksumSHA1": "NE1kNfAZ0AAXCUbwx196os/DSUE=",
- "path": "github.com/tstranex/u2f",
- "revision": "d21a03e0b1d9fc1df59ff54e7a513655c1748b0c",
- "revisionTime": "2018-05-05T18:51:14Z"
- },
- {
"checksumSHA1": "MfWqWj0xRPdk1DpXCN0EXyBCa4Q=",
"path": "github.com/tinylib/msgp/msgp",
"revision": "c8cf64dff2009d53fa8f8a16df54d1cdfc64c4a7",
"revisionTime": "2018-05-16T16:41:16Z"
},
{
+ "checksumSHA1": "NE1kNfAZ0AAXCUbwx196os/DSUE=",
+ "path": "github.com/tstranex/u2f",
+ "revision": "d21a03e0b1d9fc1df59ff54e7a513655c1748b0c",
+ "revisionTime": "2018-05-05T18:51:14Z"
+ },
+ {
"checksumSHA1": "76U6GiRZsKjr9OWohbsdfKPok/E=",
"path": "github.com/twinj/uuid",
"revision": "89173bcdda19db0eb88aef1e1cb1cb2505561d31",