diff --git a/.env.development b/.env.development index 6320849..e643641 100755 --- a/.env.development +++ b/.env.development @@ -1,4 +1,4 @@ -VUE_APP_ERUDA=true +VUE_APP_ERUDA=false NODE_ENV="development"; BASE_URL='/' VUE_APP_BASE_API="/dev-api" diff --git a/README.md b/README.md index 184613c..a580498 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# dou-yin +# 视频类WebApp ## Project setup ``` diff --git a/package.json b/package.json index 318ef0a..80865f3 100755 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "lint": "vue-cli-service lint" }, "dependencies": { + "axios": "^0.21.1", "babel-plugin-import": "^1.13.0", "core-js": "^3.6.5", "lib-flexible": "^0.3.2", diff --git a/src/assets/img/1.jpeg b/public/assets/img/1.png similarity index 100% rename from src/assets/img/1.jpeg rename to public/assets/img/1.png diff --git a/src/assets/img/2.jpg b/public/assets/img/2.png similarity index 100% rename from src/assets/img/2.jpg rename to public/assets/img/2.png diff --git a/src/assets/img/3.jpg b/public/assets/img/3.png similarity index 100% rename from src/assets/img/3.jpg rename to public/assets/img/3.png diff --git a/public/static/data.json b/public/static/data.json new file mode 100644 index 0000000..3571440 --- /dev/null +++ b/public/static/data.json @@ -0,0 +1,44 @@ +{ + "list": [ + { + "id": "1", + "url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4", + "perLikes": "7008", + "perComments": "81", + "perForward": "391", + "perName": "@小孟儿", + "perDesc": "女柚子的比赛之路,报告大家,目前一路顺畅", + "perMusicName": "@小孟儿创作的原生" + }, + { + "id": "2", + "url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4", + "perLikes": "238", + "perComments": "6", + "perForward": "", + "perName": "@克拉拉ClaraLee", + "perDesc": "你进今天健身了吗", + "perMusicName": "@克拉拉创作的原生" + }, + { + "id": "3", + "url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4", + "perLikes": "5.4w", + "perComments": "1401", + "perForward": "784", + "perName": "@普通闲话", + "perDesc": "普通百姓买房子是资产保值增值的最好方面是吗", + "perMusicName": "@普通闲话创作的原生" + }, + { + "id": "4", + "url": "http://video.jishiyoo.com/161b9562c780479c95bbdec1a9fbebcc/8d63913b46634b069e13188b03073c09-d25c062412ee3c4a0758b1c48fc8c642-ld.mp4", + "perLikes": "2640", + "perComments": "734", + "perForward": "43", + "perName": "@萌宠动漫社", + "perDesc": "这哪还是龙啊,就是一只二哈", + "perMusicName": "@萌宠动漫社创作的原生" + } + ] +} \ No newline at end of file diff --git a/public/static/me.json b/public/static/me.json new file mode 100644 index 0000000..6c34127 --- /dev/null +++ b/public/static/me.json @@ -0,0 +1,89 @@ +{ + "userInfo": { + "name": "前端逗逗飞", + "sn": "201509094607", + "sub": "带你走进前端开发", + "age": "23", + "desc": "公众号前端逗逗飞", + "tag": "标签", + "like": "2", + "fans": "20000" + + }, + "vlist": { + "works": [{ + "id": "001", + "url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4", + "icon": "/assets/img/1.png" + }, + { + "id": "002", + "url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4", + "icon": "/assets/img/1.png" + }, + { + "id": "002", + "url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4", + "icon": "/assets/img/1.png" + }, + { + "id": "003", + "url": "http://video.jishiyoo.com/3720932b9b474f51a4cf79f245325118/913d4790b8f046bfa1c9a966cd75099f-8ef4af9b34003bd0bc0261cda372521f-ld.mp4", + "icon": "/assets/img/1.png" + } + ], + "movs": [ + { + "id": "001", + "url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4", + "icon": "/assets/img/2.png" + }, + { + "id": "002", + "url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4", + "icon": "/assets/img/2.png" + }, + { + "id": "003", + "url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4", + "icon": "/assets/img/2.png" + }, { + "id": "004", + "url": "http://video.jishiyoo.com/1eedc49bba7b4eaebe000e3721149807/d5ab221b92c74af8976bd3c1473bfbe2-4518fe288016ee98c8783733da0e2da4-ld.mp4", + "icon": "/assets/img/2.png" + } + ], + "likes": [ + { + "id": "001", + "url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4", + "icon": "/assets/img/3.png" + }, + { + "id": "002", + "url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4", + "icon": "/assets/img/3.png" + }, + { + "id": "003", + "url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4", + "icon": "/assets/img/3.png" + }, + { + "id": "004", + "url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4", + "icon": "/assets/img/3.png" + }, + { + "id": "005", + "url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4", + "icon": "/assets/img/3.png" + }, + { + "id": "006", + "url": "http://video.jishiyoo.com/549ed372c9d14b029bfb0512ba879055/8e2dc540573d496cb0942273c4a4c78c-15844fe70971f715c01d57c0c6595f45-ld.mp4", + "icon": "/assets/img/3.png" + } + ] + } + } diff --git a/src/assets/fonts/iconfont.css b/src/assets/fonts/iconfont.css index e430868..82a7331 100644 --- a/src/assets/fonts/iconfont.css +++ b/src/assets/fonts/iconfont.css @@ -1,10 +1,10 @@ @font-face {font-family: "iconfont"; - src: url('iconfont.eot?t=1599093955247'); /* IE9 */ - src: url('iconfont.eot?t=1599093955247#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA1kAAsAAAAAF2AAAA0VAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGDgqcbJcoATYCJANcCzAABCAFhG0HghIbohMjEeaUVRjZXyZwh+QWHmQgULafQ9GzeS7ZlaXXtwa1gTraxAPP/t778D0p7izCWWxQXXWJZJpjXVyU05Kupzl/X+5idzHECwmaimMW1EqEOh6qUPPLp3qpJg6VtANeFazqkW+afvfsT9efiI0My5n9VXfdaS+06aekD8JZADQg5pXtAghAYJM5rPy8mqa0VGpoVs+dGRBTeCt5rDvpXNb93qVVuXfoMWqAeTJc+rRTqpxSCgtMaAJQJoB0wlAM1iYHqzALseO3uDMBkBVmMtSXXyoHDpxkBhi1sEhdBxxfCVwQG+AUsDjXjEXoIDBxwj2MJ8CO+e2DV2gNOAAhZgTSXY005zWCzA2P7RjloWAe1g7nypM4XQ9EQD0Qg+CbW/UFs3m9aRE8O+4OUENC/50YD0x3lFvqjndnuPPc29xa90G3wX3T/fAN503Km4I37R6PB3iIFC9HOreBCJNNlW8f5PHhT4CNRYTLlxCObLOJRut/PAze/PB5gSAJjKIHCKpYdwV4AFXjlj4goNKHYEAX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woIwiiSMYaOYLEGHr8eWdxmw3zGNKPy/hG24DmtPeILdxGITBjAnpgxsxvPTNBN1fcI2RDMYhoSPsDEsMvA/tsofQxlj7Av5QrCsHIcvFKb9xiE/pA/drJ1/2yz9r6hH//bTpOoAfP0OwHUA/x59I8RKK+PPkGWoa/fcnPvb6M+j15RUqQGYHSGQlfeAL+C6Eh+2J788de4/gHw/l4TYQkmEIyo0jpxMEkhxJIkjk2RNUnD9HB8rAYNiLoBaOwhBRM4QBoFRghF5GopHfkCY/H1HWEQBRghK5OOTFHOL2Hi1IBkuIngIDMkopZwb1ugviLyW1ptnxv+Bddgq1otVsPcTDNgyPNw12jAroSyl4oPcHWhNIrOUQMiLmDl7WS4Vz3MRUppr5F4tSNbTX4TgkR1DMupgboS+/hdEXksrWPCR/Q+sw9MLawurFKGflkm1YFvs7hptMJVKqNMtpcIHlaDlLhIy/vkSCHkhztGRvVjSjVRaa1F/frodrLD4FpU++l8QJVlRNd0wLdtxvf2Dw6Pjk9MzFZYmltRjlCZBqY2gd7Rgyg80yjfnzu6AV+vDtnrnP2yUYENaS7e5BsWlQIb/ZUgpwc4djUTtjHPlAzCVyEsTYDVDE2lvik9ZfcZhqWS7DEbqtM16HlL2qAlxXay5YXAhXycPYitdjArUNaSk8QrlUr0rjrzzVH7GGFCFfdaW4lwOAAA=') format('woff2'), - url('iconfont.woff?t=1599093955247') format('woff'), - url('iconfont.ttf?t=1599093955247') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ - url('iconfont.svg?t=1599093955247#iconfont') format('svg'); /* iOS 4.1- */ + src: url('iconfont.eot?t=1614668528569'); /* IE9 */ + src: url('iconfont.eot?t=1614668528569#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA2oAAsAAAAAF7wAAA1aAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGHAqdLJdZATYCJANgCzIABCAFhG0Hghob7RMjE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u6k3snKKKKqY4kooqZTSyiirnPILi0vLK6tr6xsq14PPOZmqkyaW3HckTUJSKxHnZNFUFmSUb42hM0e3vXO4V5v7P0WUUFNay7MNjcqVAxl+VDDlhLr5kCQpyg3lAzTVyEsTUC0jE2lvSp6itozdQslOHhaLm3Z3NkLOFvVQ2imV3DecsC+TB4FteUwClLWgrGmKlVz9qzn73HNlGVPAVeezujQAAA==') format('woff2'), + url('iconfont.woff?t=1614668528569') format('woff'), + url('iconfont.ttf?t=1614668528569') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1614668528569#iconfont') format('svg'); /* iOS 4.1- */ } .iconfont { @@ -15,6 +15,10 @@ -moz-osx-font-smoothing: grayscale; } +.icon-bqxin:before { + content: "\e68c"; +} + .icon-tanhao:before { content: "\e690"; } diff --git a/src/assets/fonts/iconfont.eot b/src/assets/fonts/iconfont.eot index bb05476..c66340f 100644 Binary files a/src/assets/fonts/iconfont.eot and b/src/assets/fonts/iconfont.eot differ diff --git a/src/assets/fonts/iconfont.js b/src/assets/fonts/iconfont.js index ca7a770..282bbe2 100644 --- a/src/assets/fonts/iconfont.js +++ b/src/assets/fonts/iconfont.js @@ -1 +1 @@ -!function(c){var t,l,a,o,i,e,n,s='',h=(t=document.getElementsByTagName("script"))[t.length-1].getAttribute("data-injectcss");if(h&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}function d(){e||(e=!0,o())}l=function(){var c,t,l,a,o,i=document.createElement("div");i.innerHTML=s,s=null,(c=i.getElementsByTagName("svg")[0])&&(c.setAttribute("aria-hidden","true"),c.style.position="absolute",c.style.width=0,c.style.height=0,c.style.overflow="hidden",t=c,(l=document.body).firstChild?(a=t,(o=l.firstChild).parentNode.insertBefore(a,o)):l.appendChild(t))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(l,0):(a=function(){document.removeEventListener("DOMContentLoaded",a,!1),l()},document.addEventListener("DOMContentLoaded",a,!1)):document.attachEvent&&(o=l,i=c.document,e=!1,(n=function(){try{i.documentElement.doScroll("left")}catch(c){return void setTimeout(n,50)}d()})(),i.onreadystatechange=function(){"complete"==i.readyState&&(i.onreadystatechange=null,d())})}(window); \ No newline at end of file +!function(c){var t,l,a,o,i,e,n='',s=(s=document.getElementsByTagName("script"))[s.length-1].getAttribute("data-injectcss");if(s&&!c.__iconfont__svg__cssinject__){c.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}function h(){i||(i=!0,a())}t=function(){var c,t,l,a;(a=document.createElement("div")).innerHTML=n,n=null,(l=a.getElementsByTagName("svg")[0])&&(l.setAttribute("aria-hidden","true"),l.style.position="absolute",l.style.width=0,l.style.height=0,l.style.overflow="hidden",c=l,(t=document.body).firstChild?(a=c,(l=t.firstChild).parentNode.insertBefore(a,l)):t.appendChild(c))},document.addEventListener?~["complete","loaded","interactive"].indexOf(document.readyState)?setTimeout(t,0):(l=function(){document.removeEventListener("DOMContentLoaded",l,!1),t()},document.addEventListener("DOMContentLoaded",l,!1)):document.attachEvent&&(a=t,o=c.document,i=!1,(e=function(){try{o.documentElement.doScroll("left")}catch(c){return void setTimeout(e,50)}h()})(),o.onreadystatechange=function(){"complete"==o.readyState&&(o.onreadystatechange=null,h())})}(window); \ No newline at end of file diff --git a/src/assets/fonts/iconfont.json b/src/assets/fonts/iconfont.json index e1f6654..41a6bf9 100644 --- a/src/assets/fonts/iconfont.json +++ b/src/assets/fonts/iconfont.json @@ -5,6 +5,13 @@ "css_prefix_text": "icon-", "description": "", "glyphs": [ + { + "icon_id": "106851", + "name": "心", + "font_class": "bqxin", + "unicode": "e68c", + "unicode_decimal": 59020 + }, { "icon_id": "2057047", "name": "叹号", diff --git a/src/assets/fonts/iconfont.svg b/src/assets/fonts/iconfont.svg index 4b6754c..4e417f6 100644 --- a/src/assets/fonts/iconfont.svg +++ b/src/assets/fonts/iconfont.svg @@ -20,6 +20,9 @@ Created by iconfont /> + + + diff --git a/src/assets/fonts/iconfont.ttf b/src/assets/fonts/iconfont.ttf index 26c9ef6..f3d5640 100644 Binary files a/src/assets/fonts/iconfont.ttf and b/src/assets/fonts/iconfont.ttf differ diff --git a/src/assets/fonts/iconfont.woff b/src/assets/fonts/iconfont.woff index 488e60a..1d2566c 100644 Binary files a/src/assets/fonts/iconfont.woff and b/src/assets/fonts/iconfont.woff differ diff --git a/src/assets/fonts/iconfont.woff2 b/src/assets/fonts/iconfont.woff2 index 2849a32..8c124b0 100644 Binary files a/src/assets/fonts/iconfont.woff2 and b/src/assets/fonts/iconfont.woff2 differ diff --git a/src/common/components/index/InfoBar.vue b/src/common/components/index/InfoBar.vue index e212195..3a3024c 100755 --- a/src/common/components/index/InfoBar.vue +++ b/src/common/components/index/InfoBar.vue @@ -1,11 +1,11 @@ - diff --git a/src/views/TPSign.vue b/src/views/TPSign.vue index 90fbb42..43c2e35 100755 --- a/src/views/TPSign.vue +++ b/src/views/TPSign.vue @@ -65,7 +65,7 @@ export default { this.phone = e.target.value; const regTel = /^[1][3456789][0-9]{9}$/; if (!regTel.test(this.phone)) { - console.log('不附和正则表达式'); + this.$toast('手机号格式不正确'); this.btnBg = false; this.disabled = true; } @@ -77,15 +77,25 @@ export default { // eslint-disable-next-line no-useless-escape const regTel = /^[1][3456789][0-9]{9}$/; if (this.phone === '') { - console.log('手机号不能为空'); + this.$toast({ + message: '手机号不能为空', + type: 'error', + duration: 20000, + }); this.disabled = true; this.btnBg = false; } else if (!regTel.test(this.phone)) { - console.log('请填写正确的手机号'); + this.$toast({ + message: '请填写正确的手机号', + type: 'error', + }); this.disabled = true; this.btnBg = false; } else if (this.password === '') { - console.log('密码不能为空'); + this.$toast({ + message: '密码不能为空', + type: 'error', + }); this.disabled = true; this.btnBg = false; } else { diff --git a/src/views/index/Index.vue b/src/views/index/Index.vue index 52b4df5..3f0448a 100755 --- a/src/views/index/Index.vue +++ b/src/views/index/Index.vue @@ -1,41 +1,17 @@ diff --git a/src/views/me/Me.vue b/src/views/me/Me.vue index 9a94068..93e9c59 100755 --- a/src/views/me/Me.vue +++ b/src/views/me/Me.vue @@ -8,25 +8,25 @@
-
-

爱学习的孩子

- 抖音号:xxxxxx -

越努力越幸运

+

{{useInfo.name}}

+ 抖音号:{{useInfo.sn}} +

{{useInfo.sub}}

- 23岁 - 中国最富垃圾车 - +添加学校等标签 + {{useInfo.age}}岁 + {{useInfo.desc}} + +{{useInfo.tag}}
- 2获赞 + {{useInfo.like}}获赞 543关注 - 2.0W+粉丝 + {{useInfo.fans}}W+粉丝
好好学习,天天向上 @@ -40,24 +40,18 @@
-
- - - +
+
-
- - - +
+
-
- - - +
+
@@ -67,8 +61,10 @@ @@ -206,8 +212,18 @@ export default { } } .tab-wrap { - .tab-con img { - width: 30%; + background-color: #000; + .tab-con { + display: flex; + flex-direction: row; + justify-content: space-between; + flex-wrap: wrap; + .tab-img { + width: 33%; + &:nth-child(3n) { + border-right: 0; + } + } } } } diff --git "a/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md" "b/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md" index 02b16a8..0059973 100644 --- "a/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md" +++ "b/vue 2.5\345\256\236\347\216\260\350\247\206\351\242\221\347\261\273webApp\345\244\247\347\272\262.md" @@ -26,33 +26,34 @@ ### 首页视频详情: -### 点击评论分享: +### 点击评论分享:2 -### 视频自动播放和播放与暂停: +### 视频自动播放和播放与暂停:2 -### 上滑播放和下拉播放: +### 上滑播放和下拉播放:3 -### 评论列表: +### 评论列表:完结 -### 注册登录: +### 注册登录:3月8日 -### 验证码页面: +### 验证码页面:3月8日 -### 登录鉴权: +### 登录鉴权:5 -### 自定义弹出框组件: +### 自定义弹出框组件:6 -### 用户信息页面: +### 用户信息页面:7 -### header组件: +### header组件:8 -### 编辑信息页面: +### 编辑信息页面:9 -### 我的消息页面: +### 我的消息页面:10 -### 发布页面获取电脑摄像头:火力全开完成最后的组件: +### 发布页面获取电脑摄像头:火力全开完成最后的组件:11 +### 打包发布 12 -### 项目总结 +### 项目总结 13 diff --git a/vue.config.js b/vue.config.js index c773879..8c00bc4 100755 --- a/vue.config.js +++ b/vue.config.js @@ -20,16 +20,19 @@ module.exports = { warnings: false, errors: true }, - // host:'0.0.0.0', - // hot: true, + host:'0.0.0.0', + hot: true, // hotOnly: false, // https: false, //代理 proxy: { '/api': { - target: 'http://192.168.43.154:8080', + target: 'http://192.168.88.15:10086', ws: true, - changeOrigin: true + changeOrigin: true, + pathRewrite: { + "^/api": "/" + } }, } diff --git a/yarn.lock b/yarn.lock index 5c5cd97..9a7232a 100755 --- a/yarn.lock +++ b/yarn.lock @@ -1917,6 +1917,13 @@ aws4@^1.8.0: resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.10.1.tgz#e1e82e4f3e999e2cfd61b161280d16a111f86428" integrity sha512-zg7Hz2k5lI8kb7U32998pRRFin7zJlkfezGJjUc2heaD4Pw2wObakCDVzkKztTm/Ln7eiVvYsjqak0Ed4LkMDA== +axios@^0.21.1: + version "0.21.1" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.1.tgz#22563481962f4d6bde9a76d516ef0e5d3c09b2b8" + integrity sha512-dKQiRHxGD9PPRIUNIWvZhPTPpl1rf/OxTYKsqKUDjBwYylTvV7SjSHJb9ratfyzM6wCdLCOYLzs73qpg5c4iGA== + dependencies: + follow-redirects "^1.10.0" + babel-eslint@^10.1.0: version "10.1.0" resolved "https://registry.yarnpkg.com/babel-eslint/-/babel-eslint-10.1.0.tgz#6968e568a910b78fb3779cdd8b6ac2f479943232" @@ -4150,6 +4157,11 @@ follow-redirects@^1.0.0: resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.0.tgz#b42e8d93a2a7eea5ed88633676d6597bc8e384db" integrity sha512-aq6gF1BEKje4a9i9+5jimNFIpq4Q1WiwBToeRK5NvZBd/TRsmW8BsJfOEGkr76TbOyPVD3OVDN910EcUNtRYEA== +follow-redirects@^1.10.0: + version "1.13.3" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.13.3.tgz#e5598ad50174c1bc4e872301e82ac2cd97f90267" + integrity sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA== + for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"