From bb3e229941078a402896fbcaf8eef2f4f9d6df9a Mon Sep 17 00:00:00 2001 From: Laszlo Fogas Date: Fri, 5 Apr 2019 15:53:28 +0200 Subject: [PATCH] Locking down drone-ui version --- .drone.yml | 1 - BUILDING | 1 - vendor/github.com/laszlocph/drone-ui/LICENSE | 14 + .../laszlocph/drone-ui/dist/dist.go | 3 + .../laszlocph/drone-ui/dist/dist_gen.go | 10575 ++++++++++++++++ vendor/vendor.json | 8 +- 6 files changed, 10599 insertions(+), 3 deletions(-) create mode 100644 vendor/github.com/laszlocph/drone-ui/LICENSE create mode 100644 vendor/github.com/laszlocph/drone-ui/dist/dist.go create mode 100644 vendor/github.com/laszlocph/drone-ui/dist/dist_gen.go diff --git a/.drone.yml b/.drone.yml index e4ad934a4..dbe6cb740 100644 --- a/.drone.yml +++ b/.drone.yml @@ -6,7 +6,6 @@ pipeline: test: image: golang:1.8 commands: - - go get -u github.com/laszlocph/drone-ui/dist - go get -u golang.org/x/tools/cmd/cover - go get -u golang.org/x/net/context - go get -u golang.org/x/net/context/ctxhttp diff --git a/BUILDING b/BUILDING index 2c68e7a71..d7ef8996e 100644 --- a/BUILDING +++ b/BUILDING @@ -1,7 +1,6 @@ 1. Install go 1.9 or later 2. Install dependencies - go get -u github.com/laszlocph/drone-ui/dist go get -u golang.org/x/net/context go get -u golang.org/x/net/context/ctxhttp go get -u github.com/golang/protobuf/proto diff --git a/vendor/github.com/laszlocph/drone-ui/LICENSE b/vendor/github.com/laszlocph/drone-ui/LICENSE new file mode 100644 index 000000000..b81ba8d3a --- /dev/null +++ b/vendor/github.com/laszlocph/drone-ui/LICENSE @@ -0,0 +1,14 @@ +Copyright 2017 Drone.IO Inc + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. + diff --git a/vendor/github.com/laszlocph/drone-ui/dist/dist.go b/vendor/github.com/laszlocph/drone-ui/dist/dist.go new file mode 100644 index 000000000..7fb13feee --- /dev/null +++ b/vendor/github.com/laszlocph/drone-ui/dist/dist.go @@ -0,0 +1,3 @@ +package dist + +//go:generate togo http -package dist -output dist_gen.go diff --git a/vendor/github.com/laszlocph/drone-ui/dist/dist_gen.go b/vendor/github.com/laszlocph/drone-ui/dist/dist_gen.go new file mode 100644 index 000000000..28571c312 --- /dev/null +++ b/vendor/github.com/laszlocph/drone-ui/dist/dist_gen.go @@ -0,0 +1,10575 @@ +package dist + +import ( + "bytes" + "net/http" + "os" + "strings" + "time" +) + +type fileSystem struct { + files map[string]file +} + +func (fs *fileSystem) Open(name string) (http.File, error) { + name = strings.Replace(name, "//", "/", -1) + f, ok := fs.files[name] + if ok { + return newHTTPFile(f, false), nil + } + index := strings.Replace(name+"/index.html", "//", "/", -1) + f, ok = fs.files[index] + if !ok { + return nil, os.ErrNotExist + } + return newHTTPFile(f, true), nil +} + +type file struct { + os.FileInfo + data []byte +} + +type fileInfo struct { + name string + size int64 + mode os.FileMode + modTime time.Time + isDir bool + + files []os.FileInfo +} + +func (f *fileInfo) Name() string { + return f.name +} + +func (f *fileInfo) Size() int64 { + return f.size +} + +func (f *fileInfo) Mode() os.FileMode { + return f.mode +} + +func (f *fileInfo) ModTime() time.Time { + return f.modTime +} + +func (f *fileInfo) IsDir() bool { + return f.isDir +} + +func (f *fileInfo) Readdir(count int) ([]os.FileInfo, error) { + return make([]os.FileInfo, 0), nil +} + +func (f *fileInfo) Sys() interface{} { + return nil +} + +func newHTTPFile(file file, isDir bool) *httpFile { + return &httpFile{ + file: file, + reader: bytes.NewReader(file.data), + isDir: isDir, + } +} + +type httpFile struct { + file + + reader *bytes.Reader + isDir bool +} + +func (f *httpFile) Read(p []byte) (n int, err error) { + return f.reader.Read(p) +} + +func (f *httpFile) Seek(offset int64, whence int) (ret int64, err error) { + return f.reader.Seek(offset, whence) +} + +func (f *httpFile) Stat() (os.FileInfo, error) { + return f, nil +} + +func (f *httpFile) IsDir() bool { + return f.isDir +} + +func (f *httpFile) Readdir(count int) ([]os.FileInfo, error) { + return make([]os.FileInfo, 0), nil +} + +func (f *httpFile) Close() error { + return nil +} + +// New returns an embedded http.FileSystem +func New() http.FileSystem { + return &fileSystem{ + files: files, + } +} + +// Lookup returns the file at the specified path +func Lookup(path string) ([]byte, error) { + f, ok := files[path] + if !ok { + return nil, os.ErrNotExist + } + return f.data, nil +} + +// MustLookup returns the file at the specified path +// and panics if the file is not found. +func MustLookup(path string) []byte { + d, err := Lookup(path) + if err != nil { + panic(err) + } + return d +} + +// Index of all files +var files = map[string]file{ + "/static/vendor.6afb9cd80d6805636b5b.js": { + data: file0, + FileInfo: &fileInfo{ + name: "vendor.6afb9cd80d6805636b5b.js", + size: 272281, + modTime: time.Unix(1554402953, 0), + }, + }, + "/static/bundle.33c56cb213a811af383b.js": { + data: file1, + FileInfo: &fileInfo{ + name: "bundle.33c56cb213a811af383b.js", + size: 354438, + modTime: time.Unix(1554402953, 0), + }, + }, + "/favicon.png": { + data: file2, + FileInfo: &fileInfo{ + name: "favicon.png", + size: 1374, + modTime: time.Unix(1554402953, 0), + }, + }, + "/index.html": { + data: file3, + FileInfo: &fileInfo{ + name: "index.html", + size: 388, + modTime: time.Unix(1554402953, 0), + }, + }, +} + +// +// embedded files. +// + +// /static/vendor.6afb9cd80d6805636b5b.js +var file0 = []byte(`!function(t){function e(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,i,a){for(var u,c,s,f=0,l=[];r.length>f;f++)c=r[f],o[c]&&l.push(o[c][0]),o[c]=0;for(u in i)Object.prototype.hasOwnProperty.call(i,u)&&(t[u]=i[u]);for(n&&n(r,i,a);l.length;)l.shift()();if(a)for(f=0;a.length>f;f++)s=e(e.s=a[f]);return s};var r={},o={1:0};e.e=function(t){function n(){u.onerror=u.onload=null,clearTimeout(c);var e=o[t];0!==e&&(e&&e[1](Error("Loading chunk "+t+" failed.")),o[t]=void 0)}var r=o[t];if(0===r)return new Promise(function(t){t()});if(r)return r[2];var i=new Promise(function(e,n){r=o[t]=[e,n]});r[2]=i;var a=document.getElementsByTagName("head")[0],u=document.createElement("script");u.type="text/javascript",u.charset="utf-8",u.async=!0,u.timeout=12e4,e.nc&&u.setAttribute("nonce",e.nc),u.src=e.p+""+t+".static/bundle."+{0:"33c56cb213a811af383b"}[t]+".js";var c=setTimeout(n,12e4);return u.onerror=u.onload=n,a.appendChild(u),i},e.m=t,e.c=r,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="/",e.oe=function(t){throw t},e(e.s=585)}([function(t,e,n){var r=n(5),o=n(32),i=n(18),a=n(19),u=n(27),c=function(t,e,n){var s,f,l,p,h=t&c.F,d=t&c.G,v=t&c.S,y=t&c.P,m=t&c.B,g=d?r:v?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),_=b.prototype||(b.prototype={});d&&(n=e);for(s in n)f=!h&&g&&void 0!==g[s],l=(f?g:n)[s],p=m&&f?u(l,r):y&&"function"==typeof l?u(Function.call,l):l,g&&a(g,s,l,t&c.U),b[s]!=l&&i(b,s,p),y&&_[s]!=l&&(_[s]=l)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){(function(e){!function(e,r){t.exports=r(n(12),n(119))}(0,function(t,n){function r(){return null}function o(t){var e=t.nodeName,n=t.attributes;t.attributes={},e.defaultProps&&w(t.attributes,e.defaultProps),n&&w(t.attributes,n)}function i(t,e){var n,r,o;if(e){for(o in e)if(n=B.test(o))break;if(n){r=t.attributes={};for(o in e)e.hasOwnProperty(o)&&(r[B.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=e[o])}}}function a(t,e,r){var o=e&&e._preactCompatRendered&&e._preactCompatRendered.base;o&&o.parentNode!==e&&(o=null),!o&&e&&(o=e.firstElementChild);for(var i=e.childNodes.length;i--;)e.childNodes[i]!==o&&e.removeChild(e.childNodes[i]);var a=n.render(t,e,o);return e&&(e._preactCompatRendered=a&&(a._component||{base:a})),"function"==typeof r&&r(),a&&a._component||a}function u(t,e,r,o){var i=n.h(Y,{context:t.context},e),u=a(i,r),c=u._component||u.base;return o&&o.call(c,u),c}function c(t){var e=t._preactCompatRendered&&t._preactCompatRendered.base;return!(!e||e.parentNode!==t)&&(n.render(n.h(r),t,e),!0)}function s(t){return d.bind(null,t)}function f(t,e){for(var n=e||0;t.length>n;n++){var r=t[n];Array.isArray(r)?f(r):r&&"object"==typeof r&&!m(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(t[n]=d(r.type||r.nodeName,r.props||r.attributes,r.children))}}function l(t){return"function"==typeof t&&!(t.prototype&&t.prototype.render)}function p(t){return E({displayName:t.displayName||t.name,render:function(){return t(this.props,this.context)}})}function h(t){var e=t[U];return e?!0===e?t:e:(e=p(t),Object.defineProperty(e,U,{configurable:!0,value:!0}),e.displayName=t.displayName,e.propTypes=t.propTypes,e.defaultProps=t.defaultProps,Object.defineProperty(t,U,{configurable:!0,value:e}),e)}function d(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];return f(t,2),v(n.h.apply(void 0,t))}function v(t){t.preactCompatNormalized=!0,_(t),l(t.nodeName)&&(t.nodeName=h(t.nodeName));var e=t.attributes.ref,n=e&&typeof e;return!$||"string"!==n&&"number"!==n||(t.attributes.ref=g(e,$)),b(t),t}function y(t,e){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];if(!m(t))return t;var i=t.attributes||t.props,a=n.h(t.nodeName||t.type,i,t.children||i&&i.children),u=[a,e];return r&&r.length?u.push(r):e&&e.children&&u.push(e.children),v(n.cloneElement.apply(void 0,u))}function m(t){return t&&(t instanceof V||t.$$typeof===D)}function g(t,e){return e._refProxies[t]||(e._refProxies[t]=function(n){e&&e.refs&&(e.refs[t]=n,null===n&&(delete e._refProxies[t],e=null))})}function b(t){var e=t.nodeName,n=t.attributes;if(n&&"string"==typeof e){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.ondoubleclick&&(n.ondblclick=n[r.ondoubleclick],delete n[r.ondoubleclick]),r.onchange&&("textarea"===e||"input"===e.toLowerCase()&&!/^fil|che|rad/i.test(n.type))){var i=r.oninput||"oninput";n[i]||(n[i]=C([n[i],n[r.onchange]]),delete n[r.onchange])}}}function _(t){var e=t.attributes||(t.attributes={});Z.enumerable="className"in e,e.className&&(e.class=e.className),Object.defineProperty(e,"className",Z)}function w(t){for(var e=arguments,n=1,r=void 0;arguments.length>n;n++)if(r=e[n])for(var o in r)r.hasOwnProperty(o)&&(t[o]=r[o]);return t}function O(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}function x(t){return t&&t.base||t}function P(){}function E(t){function e(t,e){S(this),L.call(this,t,e,z),M.call(this,t,e)}return t=w({constructor:e},t),t.mixins&&j(t,k(t.mixins)),t.statics&&w(e,t.statics),t.propTypes&&(e.propTypes=t.propTypes),t.defaultProps&&(e.defaultProps=t.defaultProps),t.getDefaultProps&&(e.defaultProps=t.getDefaultProps()),P.prototype=L.prototype,e.prototype=w(new P,t),e.displayName=t.displayName||"Component",e}function k(t){for(var e={},n=0;t.length>n;n++){var r=t[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(e[o]||(e[o]=[])).push(r[o])}return e}function j(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=C(e[n].concat(t[n]||K),"getDefaultProps"===n||"getInitialState"===n||"getChildContext"===n))}function S(t){for(var e in t){var n=t[e];"function"!=typeof n||n.__bound||W.hasOwnProperty(e)||((t[e]=n.bind(t)).__bound=!0)}}function T(t,e,n){if("string"==typeof e&&(e=t.constructor.prototype[e]),"function"==typeof e)return e.apply(t,n)}function C(t,e){return function(){for(var n,r=arguments,o=this,i=0;t.length>i;i++){var a=T(o,t[i],r);if(e&&null!=a){n||(n={});for(var u in a)a.hasOwnProperty(u)&&(n[u]=a[u])}else void 0!==a&&(n=a)}return n}}function M(t,e){N.call(this,t,e),this.componentWillReceiveProps=C([N,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=C([N,R,this.render||"render",A])}function N(e){if(e){var n=e.children;if(n&&Array.isArray(n)&&1===n.length&&("string"==typeof n[0]||"function"==typeof n[0]||n[0]instanceof V)&&(e.children=n[0])&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children),q){var r="function"==typeof this?this:this.constructor,o=this.propTypes||r.propTypes,i=this.displayName||r.name;o&&t.checkPropTypes(o,e,"prop",i)}}}function R(){$=this}function A(){$===this&&($=null)}function L(t,e,r){n.Component.call(this,t,e),this.state=this.getInitialState?this.getInitialState():{},this.refs={},this._refProxies={},r!==z&&M.call(this,t,e)}function I(t,e){L.call(this,t,e)}t="default"in t?t.default:t;var F="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),D="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,U="undefined"!=typeof Symbol?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",W={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},B=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vector|vert|word|writing|x)[A-Z]/,z={},q=void 0===e||!e.env||"production"!==e.env.NODE_ENV,V=n.h("a",null).constructor;V.prototype.$$typeof=D,V.prototype.preactCompatUpgraded=!1,V.prototype.preactCompatNormalized=!1,Object.defineProperty(V.prototype,"type",{get:function(){return this.nodeName},set:function(t){this.nodeName=t},configurable:!0}),Object.defineProperty(V.prototype,"props",{get:function(){return this.attributes},set:function(t){this.attributes=t},configurable:!0});var G=n.options.event;n.options.event=function(t){return G&&(t=G(t)),t.persist=Object,t.nativeEvent=t,t};var H=n.options.vnode;n.options.vnode=function(t){if(!t.preactCompatUpgraded){t.preactCompatUpgraded=!0;var e=t.nodeName,n=t.attributes=w({},t.attributes);"function"==typeof e?(!0===e[U]||e.prototype&&"isReactComponent"in e.prototype)&&(t.children&&t.children+""==""&&(t.children=void 0),t.children&&(n.children=t.children),t.preactCompatNormalized||v(t),o(t)):(t.children&&t.children+""==""&&(t.children=void 0),t.children&&(n.children=t.children),n.defaultValue&&(n.value||0===n.value||(n.value=n.defaultValue),delete n.defaultValue),i(t,n))}H&&H(t)};var Y=function(){};Y.prototype.getChildContext=function(){return this.props.context},Y.prototype.render=function(t){return t.children[0]};for(var $,K=[],J={map:function(t,e,n){return null==t?null:(t=J.toArray(t),n&&n!==t&&(e=e.bind(n)),t.map(e))},forEach:function(t,e,n){if(null==t)return null;t=J.toArray(t),n&&n!==t&&(e=e.bind(n)),t.forEach(e)},count:function(t){return t&&t.length||0},only:function(t){if(t=J.toArray(t),1!==t.length)throw Error("Children.only() expects only one child.");return t[0]},toArray:function(t){return null==t?[]:K.concat(t)}},Q={},X=F.length;X--;)Q[F[X]]=s(F[X]);var Z={configurable:!0,get:function(){return this.class},set:function(t){this.class=t}};return w(L.prototype=new n.Component,{constructor:L,isReactComponent:{},replaceState:function(t,e){var n=this;this.setState(t,e);for(var r in n.state)r in t||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),P.prototype=L.prototype,I.prototype=new P,I.prototype.isPureReactComponent=!0,I.prototype.shouldComponentUpdate=function(t,e){return O(this.props,t)||O(this.state,e)},{version:"15.1.0",DOM:Q,PropTypes:t,Children:J,render:a,createClass:E,createFactory:s,createElement:d,cloneElement:y,isValidElement:m,findDOMNode:x,unmountComponentAtNode:c,Component:L,PureComponent:I,unstable_renderSubtreeIntoContainer:u,__spread:w}})}).call(e,n(21))},function(t,e,n){var r=n(7);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},,,function(t){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(69)("wks"),o=n(44),i=n(5).Symbol,a="function"==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)("Symbol."+t))}).store=r},function(t,e,n){t.exports=!n(6)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(2),o=n(134),i=n(33),a=Object.defineProperty;e.f=n(9)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(35),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){(function(e){if("production"!==e.env.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,o=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r};t.exports=n(404)(o,!0)}else t.exports=n(406)()}).call(e,n(21))},function(t,e,n){var r=n(34);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";(function(e){var n=function(){};"production"!==e.env.NODE_ENV&&(n=function(t,e,n){var r=arguments.length;n=Array(r>2?r-2:0);for(var o=2;r>o;o++)n[o-2]=arguments[o];if(void 0===e)throw Error("` + "`" + `warning(condition, format, ...args)` + "`" + ` requires a warning message argument");if(10>e.length||/^[s\W]*$/.test(e))throw Error("The warning format should be able to uniquely identify this warning. Please, use a more descriptive format than: "+e);if(!t){var i=0,a="Warning: "+e.replace(/%s/g,function(){return n[i++]});try{throw Error(a)}catch(t){}}}),t.exports=n}).call(e,n(21))},function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(408);e.root=r.root,e.branch=r.branch},function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,e,n){var r=n(10),o=n(43);t.exports=n(9)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(5),o=n(18),i=n(17),a=n(44)("src"),u=Function.toString,c=(""+u).split("toString");n(32).inspectSource=function(t){return u.call(t)},(t.exports=function(t,e,n,u){var s="function"==typeof n;s&&(i(n,"name")||o(n,"name",e)),t[e]!==n&&(s&&(i(n,a)||o(n,a,t[e]?""+t[e]:c.join(e+""))),t===r?t[e]=n:u?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype,"toString",function(){return"function"==typeof this&&this[a]||u.call(this)})},function(t,e,n){var r=n(0),o=n(6),i=n(34),a=/"/g,u=function(t,e,n,r){var o=i(t)+"",u="<"+e;return""!==n&&(u+=" "+n+'="'+(r+"").replace(a,""")+'"'),u+">"+o+""};t.exports=function(t,e){var n={};n[t]=e(u),r(r.P+r.F*o(function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}),"String",n)}},function(t){function e(){throw Error("setTimeout has not been defined")}function n(){throw Error("clearTimeout has not been defined")}function r(t){if(s===setTimeout)return setTimeout(t,0);if((s===e||!s)&&setTimeout)return s=setTimeout,setTimeout(t,0);try{return s(t,0)}catch(e){try{return s.call(null,t,0)}catch(e){return s.call(this,t,0)}}}function o(t){if(f===clearTimeout)return clearTimeout(t);if((f===n||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function i(){d&&p&&(d=!1,p.length?h=p.concat(h):v=-1,h.length&&a())}function a(){if(!d){var t=r(i);d=!0;for(var e=h.length;e;){for(p=h,h=[];++v1)for(var n=1;arguments.length>n;n++)e[n-1]=arguments[n];h.push(new u(t,e)),1!==h.length||d||r(a)},u.prototype.run=function(){this.fun.apply(null,this.array)},l.title="browser",l.browser=!0,l.env={},l.argv=[],l.version="",l.versions={},l.on=c,l.addListener=c,l.once=c,l.off=c,l.removeListener=c,l.removeAllListeners=c,l.emit=c,l.prependListener=c,l.prependOnceListener=c,l.listeners=function(){return[]},l.binding=function(){throw Error("process.binding is not supported")},l.cwd=function(){return"/"},l.chdir=function(){throw Error("process.chdir is not supported")},l.umask=function(){return 0}},,,function(t,e,n){var r=n(59),o=n(34);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(60),o=n(43),i=n(24),a=n(33),u=n(17),c=n(134),s=Object.getOwnPropertyDescriptor;e.f=n(9)?s:function(t,e){if(t=i(t),e=a(e,!0),c)try{return s(t,e)}catch(t){}if(u(t,e))return o(!r.f.call(t,e),t[e])}},function(t,e,n){var r=n(17),o=n(13),i=n(92)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=o(t),r(t,i)?t[i]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(15);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(425);n.d(e,"BrowserRouter",function(){return r.a});var o=n(427);n.d(e,"HashRouter",function(){return o.a});var i=n(177);n.d(e,"Link",function(){return i.a});var a=n(429);n.d(e,"MemoryRouter",function(){return a.a});var u=n(431);n.d(e,"NavLink",function(){return u.a});var c=n(434);n.d(e,"Prompt",function(){return c.a});var s=n(435);n.d(e,"Redirect",function(){return s.a});var f=n(179);n.d(e,"Route",function(){return f.a});var l=n(124);n.d(e,"Router",function(){return l.a});var p=n(440);n.d(e,"StaticRouter",function(){return p.a});var h=n(441);n.d(e,"Switch",function(){return h.a});var d=n(442);n.d(e,"matchPath",function(){return d.a});var v=n(443);n.d(e,"withRouter",function(){return v.a})},function(t,e,n){"use strict";(function(e){t.exports=function(t,n,r,o,i,a,u,c){if("production"!==e.env.NODE_ENV&&void 0===n)throw Error("invariant requires an error message argument");if(!t){var s;if(void 0===n)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var f=[r,o,i,a,u,c],l=0;s=Error(n.replace(/%s/g,function(){return f[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}}}).call(e,n(21))},function(t){var e=t.exports={version:"2.5.1"};"number"==typeof __e&&(__e=e)},function(t,e,n){var r=n(7);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},function(t,e,n){var r=n(0),o=n(32),i=n(6);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],a={};a[t]=e(n),r(r.S+r.F*i(function(){n(1)}),"Object",a)}},function(t,e,n){var r=n(27),o=n(59),i=n(13),a=n(11),u=n(109);t.exports=function(t,e){var n=1==t,c=2==t,s=3==t,f=4==t,l=6==t,p=5==t||l,h=e||u;return function(e,u,d){for(var v,y,m=i(e),g=o(m),b=r(u,d,3),_=a(g.length),w=0,O=n?h(e,_):c?h(e,0):void 0;_>w;w++)if((p||w in g)&&(v=g[w],y=b(v,w,m),t))if(n)O[w]=y;else if(y)switch(t){case 3:return!0;case 5:return v;case 6:return w;case 2:O.push(v)}else if(f)return!1;return l?-1:s||f?f:O}}},function(t,e,n){"use strict";if(n(9)){var r=n(45),o=n(5),i=n(6),a=n(0),u=n(79),c=n(115),s=n(27),f=n(51),l=n(43),p=n(18),h=n(53),d=n(35),v=n(11),y=n(160),m=n(47),g=n(33),b=n(17),_=n(61),w=n(7),O=n(13),x=n(106),P=n(48),E=n(26),k=n(49).f,j=n(108),S=n(44),T=n(8),C=n(37),M=n(70),N=n(77),R=n(111),A=n(56),L=n(74),I=n(50),F=n(110),D=n(150),U=n(10),W=n(25),B=U.f,z=W.f,q=o.RangeError,V=o.TypeError,G=o.Uint8Array,H=Array.prototype,Y=c.ArrayBuffer,$=c.DataView,K=C(0),J=C(2),Q=C(3),X=C(4),Z=C(5),tt=C(6),et=M(!0),nt=M(!1),rt=R.values,ot=R.keys,it=R.entries,at=H.lastIndexOf,ut=H.reduce,ct=H.reduceRight,st=H.join,ft=H.sort,lt=H.slice,pt=H.toString,ht=H.toLocaleString,dt=T("iterator"),vt=T("toStringTag"),yt=S("typed_constructor"),mt=S("def_constructor"),gt=u.CONSTR,bt=u.TYPED,_t=u.VIEW,wt=C(1,function(t,e){return kt(N(t,t[mt]),e)}),Ot=i(function(){return 1===new G(new Uint16Array([1]).buffer)[0]}),xt=!!G&&!!G.prototype.set&&i(function(){new G(1).set({})}),Pt=function(t,e){var n=d(t);if(0>n||n%e)throw q("Wrong offset!");return n},Et=function(t){if(w(t)&&bt in t)return t;throw V(t+" is not a typed array!")},kt=function(t,e){if(!(w(t)&&yt in t))throw V("It is not a typed array constructor!");return new t(e)},jt=function(t,e){return St(N(t,t[mt]),e)},St=function(t,e){for(var n=0,r=e.length,o=kt(t,r);r>n;)o[n]=e[n++];return o},Tt=function(t,e,n){B(t,e,{get:function(){return this._d[n]}})},Ct=function(t){var e,n,r,o,i,a,u=O(t),c=arguments.length,f=c>1?arguments[1]:void 0,l=void 0!==f,p=j(u);if(void 0!=p&&!x(p)){for(a=p.call(u),r=[],e=0;!(i=a.next()).done;e++)r.push(i.value);u=r}for(l&&c>2&&(f=s(f,arguments[2],2)),e=0,n=v(u.length),o=kt(this,n);n>e;e++)o[e]=l?f(u[e],e):u[e];return o},Mt=function(){for(var t=0,e=arguments.length,n=kt(this,e);e>t;)n[t]=arguments[t++];return n},Nt=!!G&&i(function(){ht.call(new G(1))}),Rt=function(){return ht.apply(Nt?lt.call(Et(this)):Et(this),arguments)},At={copyWithin:function(t,e){return D.call(Et(this),t,e,arguments.length>2?arguments[2]:void 0)},every:function(t){return X(Et(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(){return F.apply(Et(this),arguments)},filter:function(t){return jt(this,J(Et(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Z(Et(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Et(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){K(Et(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return nt(Et(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return et(Et(this),t,arguments.length>1?arguments[1]:void 0)},join:function(){return st.apply(Et(this),arguments)},lastIndexOf:function(){return at.apply(Et(this),arguments)},map:function(t){return wt(Et(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(){return ut.apply(Et(this),arguments)},reduceRight:function(){return ct.apply(Et(this),arguments)},reverse:function(){for(var t,e=this,n=Et(e).length,r=Math.floor(n/2),o=0;r>o;)t=e[o],e[o++]=e[--n],e[n]=t;return e},some:function(t){return Q(Et(this),t,arguments.length>1?arguments[1]:void 0)},sort:function(t){return ft.call(Et(this),t)},subarray:function(t,e){var n=Et(this),r=n.length,o=m(t,r);return new(N(n,n[mt]))(n.buffer,n.byteOffset+o*n.BYTES_PER_ELEMENT,v((void 0===e?r:m(e,r))-o))}},Lt=function(t,e){return jt(this,lt.call(Et(this),t,e))},It=function(t){Et(this);var e=Pt(arguments[1],1),n=this.length,r=O(t),o=v(r.length),i=0;if(o+e>n)throw q("Wrong length!");for(;o>i;)this[e+i]=r[i++]},Ft={entries:function(){return it.call(Et(this))},keys:function(){return ot.call(Et(this))},values:function(){return rt.call(Et(this))}},Dt=function(t,e){return w(t)&&t[bt]&&"symbol"!=typeof e&&e in t&&+e+""==e+""},Ut=function(t,e){return Dt(t,e=g(e,!0))?l(2,t[e]):z(t,e)},Wt=function(t,e,n){return!(Dt(t,e=g(e,!0))&&w(n)&&b(n,"value"))||b(n,"get")||b(n,"set")||n.configurable||b(n,"writable")&&!n.writable||b(n,"enumerable")&&!n.enumerable?B(t,e,n):(t[e]=n.value,t)};gt||(W.f=Ut,U.f=Wt),a(a.S+a.F*!gt,"Object",{getOwnPropertyDescriptor:Ut,defineProperty:Wt}),i(function(){pt.call({})})&&(pt=ht=function(){return st.call(this)});var Bt=h({},At);h(Bt,Ft),p(Bt,dt,Ft.values),h(Bt,{slice:Lt,set:It,constructor:function(){},toString:pt,toLocaleString:Rt}),Tt(Bt,"buffer","b"),Tt(Bt,"byteOffset","o"),Tt(Bt,"byteLength","l"),Tt(Bt,"length","e"),B(Bt,vt,{get:function(){return this[bt]}}),t.exports=function(t,e,n,c){c=!!c;var s=t+(c?"Clamped":"")+"Array",l="get"+t,h="set"+t,d=o[s],m=d||{},g=d&&E(d),b=!d||!u.ABV,O={},x=d&&d.prototype,j=function(t,n){var r=t._d;return r.v[l](n*e+r.o,Ot)},S=function(t,n,r){var o=t._d;c&&(r=0>(r=Math.round(r))?0:r>255?255:255&r),o.v[h](n*e+o.o,r,Ot)},T=function(t,e){B(t,e,{get:function(){return j(this,e)},set:function(t){return S(this,e,t)},enumerable:!0})};b?(d=n(function(t,n,r,o){f(t,d,s,"_d");var i,a,u,c,l=0,h=0;if(w(n)){if(!(n instanceof Y||"ArrayBuffer"==(c=_(n))||"SharedArrayBuffer"==c))return bt in n?St(d,n):Ct.call(d,n);i=n,h=Pt(r,e);var m=n.byteLength;if(void 0===o){if(m%e)throw q("Wrong length!");if(0>(a=m-h))throw q("Wrong length!")}else if((a=v(o)*e)+h>m)throw q("Wrong length!");u=a/e}else u=y(n),a=u*e,i=new Y(a);for(p(t,"_d",{b:i,o:h,l:a,e:u,v:new $(i)});u>l;)T(t,l++)}),x=d.prototype=P(Bt),p(x,"constructor",d)):i(function(){d(1)})&&i(function(){new d(-1)})&&L(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=n(function(t,n,r,o){f(t,d,s);var i;return w(n)?n instanceof Y||"ArrayBuffer"==(i=_(n))||"SharedArrayBuffer"==i?void 0!==o?new m(n,Pt(r,e),o):void 0!==r?new m(n,Pt(r,e)):new m(n):bt in n?St(d,n):Ct.call(d,n):new m(y(n))}),K(g!==Function.prototype?k(m).concat(k(g)):k(m),function(t){t in d||p(d,t,m[t])}),d.prototype=x,r||(x.constructor=d));var C=x[dt],M=!!C&&("values"==C.name||void 0==C.name),N=Ft.values;p(d,yt,!0),p(x,bt,s),p(x,_t,!0),p(x,mt,d),(c?new d(1)[vt]==s:vt in x)||B(x,vt,{get:function(){return s}}),O[s]=d,a(a.G+a.W+a.F*(d!=m),O),a(a.S,s,{BYTES_PER_ELEMENT:e}),a(a.S+a.F*i(function(){m.of.call(d,1)}),s,{from:Ct,of:Mt}),"BYTES_PER_ELEMENT"in x||p(x,"BYTES_PER_ELEMENT",e),a(a.P,s,At),I(s),a(a.P+a.F*xt,s,{set:It}),a(a.P+a.F*!M,s,Ft),r||x.toString==pt||(x.toString=pt),a(a.P+a.F*i(function(){new d(1).slice()}),s,{slice:Lt}),a(a.P+a.F*(i(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!i(function(){x.toLocaleString.call([1,2])})),s,{toLocaleString:Rt}),A[s]=M?C:N,r||M||p(x,dt,N)}}else t.exports=function(){}},function(t,e,n){var r=n(155),o=n(0),i=n(69)("metadata"),a=i.store||(i.store=new(n(158))),u=function(t,e,n){var o=a.get(t);if(!o){if(!n)return;a.set(t,o=new r)}var i=o.get(e);if(!i){if(!n)return;o.set(e,i=new r)}return i};t.exports={store:a,map:u,has:function(t,e,n){var r=u(e,n,!1);return void 0!==r&&r.has(t)},get:function(t,e,n){var r=u(e,n,!1);return void 0===r?void 0:r.get(t)},set:function(t,e,n,r){u(n,r,!0).set(t,e)},keys:function(t,e){var n=u(t,e,!1),r=[];return n&&n.forEach(function(t,e){r.push(e)}),r},key:function(t){return void 0===t||"symbol"==typeof t?t:t+""},exp:function(t){o(o.S,"Reflect",t)}}},function(t,e,n){var r=n(44)("meta"),o=n(7),i=n(17),a=n(10).f,u=0,c=Object.isExtensible||function(){return!0},s=!n(6)(function(){return c(Object.preventExtensions({}))}),f=function(t){a(t,r,{value:{i:"O"+ ++u,w:{}}})},l=function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,r)){if(!c(t))return"F";if(!e)return"E";f(t)}return t[r].i},p=function(t,e){if(!i(t,r)){if(!c(t))return!0;if(!e)return!1;f(t)}return t[r].w},h=function(t){return s&&d.NEED&&c(t)&&!i(t,r)&&f(t),t},d=t.exports={KEY:r,NEED:!1,fastKey:l,getWeak:p,onFreeze:h}},function(t,e,n){var r=n(8)("unscopables"),o=Array.prototype;void 0==o[r]&&n(18)(o,r,{}),t.exports=function(t){o[r][t]=!0}},,function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+n).toString(36))}},function(t){t.exports=!1},function(t,e,n){var r=n(136),o=n(93);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(35),o=Math.max,i=Math.min;t.exports=function(t,e){return t=r(t),0>t?o(t+e,0):i(t,e)}},function(t,e,n){var r=n(2),o=n(137),i=n(93),a=n(92)("IE_PROTO"),u=function(){},c=function(){var t,e=n(90)("iframe"),r=i.length;for(e.style.display="none",n(94).appendChild(e),e.src="javascript:",t=e.contentWindow.document,t.open(),t.write(" + +`) diff --git a/vendor/vendor.json b/vendor/vendor.json index e0518c5bc..e36e5ce6c 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -1,6 +1,6 @@ { "comment": "", - "ignore": "test github.com/drone/mq/ github.com/tidwall/redlog/ google.golang.org/appengine/ github.com/syndtr/goleveldb/ github.com/laszlocph/drone-ui/ github.com/bradrydzewski/drone-ui-unit/dist/ github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes/any golang.org/x/net/context golang.org/x/net/context/ctxhttp", + "ignore": "test github.com/drone/mq/ github.com/tidwall/redlog/ google.golang.org/appengine/ github.com/syndtr/goleveldb/ github.com/golang/protobuf/proto github.com/golang/protobuf/ptypes/any golang.org/x/net/context golang.org/x/net/context/ctxhttp", "package": [ { "path": "appengine/cloudsql", @@ -738,6 +738,12 @@ "revision": "7cafcd837844e784b526369c9bce262804aebc60", "revisionTime": "2016-05-04T02:26:26Z" }, + { + "checksumSHA1": "BHLxPdoL/EG9cs6ssNGoxv/+IEA=", + "path": "github.com/laszlocph/drone-ui/dist", + "revision": "f7cf9a3d815b309b7f7e875e839a583f4a7d09e5", + "revisionTime": "2019-04-03T18:46:32Z" + }, { "path": "github.com/lib/pq", "revision": "83c4f410d0aed80a0f44bac6a576a7f2435791f3",