From ba9732e8328761ab1295ab3adda4f26597bbb243 Mon Sep 17 00:00:00 2001 From: Philip Jonas Ullrich Date: Thu, 31 Oct 2019 17:28:25 +0100 Subject: [PATCH] chore: upgrade dependencies --- index.js | 2 +- package-lock.json | 489 +++++++++++++++++++++------------------------- package.json | 12 +- 3 files changed, 230 insertions(+), 273 deletions(-) diff --git a/index.js b/index.js index 3e471f0..9094155 100644 --- a/index.js +++ b/index.js @@ -1 +1 @@ -!function n(a,r,u){function c(e,t){if(!r[e]){if(!a[e]){var s="function"==typeof require&&require;if(!t&&s)return s(e,!0);if(d)return d(e,!0);var o=new Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}var i=r[e]={exports:{}};a[e][0].call(i.exports,function(t){return c(a[e][1][t]||t)},i,i.exports,n,a,r,u)}return r[e].exports}for(var d="function"==typeof require&&require,t=0;tthis.hookUpdatedLive?"outdated":this.statusLive}},methods:{triggerHook:function(){var s=this,t=this.hook.url;(0,i.request)(t,this.hook.method,function(t){var e=t.response?JSON.parse(t.response):null;s.setStatus("progress",e),s.log("hook "+s.hook.name+" started")},function(t){s.setStatus("error",t.response),s.log("could not reach webhook URL",!0)},this.hook.payload)},getStatus:function(){var s=this,t="/"+this.endpoint+"/"+this.hook.name+"/status";(0,i.request)(t,"GET",function(t){var e=JSON.parse(t.response);e&&e.status!==s.statusLive&&(s.statusLive=e.status,s.updateTime())},function(){return s.log("there was an error with checking the status :(",!0)})},getSiteModified:function(){var s=this,t="/"+this.endpoint+"/site-modified";(0,i.request)(t,"GET",function(t){var e=JSON.parse(t.response);e&&e.modified&&(s.siteModifiedLive=e.modified)},function(){return s.log("could not get the time the site was last modified :(",!0)})},setStatus:function(t){var e=this,s=1this.hookUpdatedLive?"outdated":this.statusLive}},methods:{triggerHook:function(){var s=this,t=this.hook.url;(0,n.request)(t,this.hook.method,function(t){var e=t.response?JSON.parse(t.response):null;s.setStatus("progress",e),s.log("hook "+s.hook.name+" started")},function(t){s.setStatus("error",t.response),s.log("could not reach webhook URL",!0)},this.hook.payload)},getStatus:function(){var s=this,t="/"+this.endpoint+"/"+this.hook.name+"/status";(0,n.request)(t,"GET",function(t){var e=JSON.parse(t.response);e&&e.status!==s.statusLive&&(s.statusLive=e.status,s.updateTime())},function(){return s.log("there was an error with checking the status :(",!0)})},getSiteModified:function(){var s=this,t="/"+this.endpoint+"/site-modified";(0,n.request)(t,"GET",function(t){var e=JSON.parse(t.response);e&&e.modified&&(s.siteModifiedLive=e.modified)},function(){return s.log("could not get the time the site was last modified :(",!0)})},setStatus:function(t,e){var s=this,o=1 index.js", - "build": "cross-env NODE_ENV=production browserify -g envify -p [ vueify/plugins/extract-css -o index.css ] -p bundle-collapser/plugin -e src/main.js | uglifyjs -c warnings=false -m > index.js" + "build": "cross-env NODE_ENV=production browserify -g envify -p [ vueify/plugins/extract-css -o index.css ] -p bundle-collapser/plugin -e src/main.js | uglifyjs -c -m > index.js" }, "browserify": { "transform": [ @@ -29,12 +29,12 @@ "babel-plugin-transform-runtime": "^6.23.0", "babel-preset-env": "^1.7.0", "babelify": "^8.0.0", - "browserify": "^16.2.2", + "browserify": "^16.5.0", "bundle-collapser": "^1.3.0", - "cross-env": "^5.2.0", + "cross-env": "^5.2.1", "envify": "^4.1.0", - "node-sass": "^4.12.0", - "uglify-js": "^3.5.9", + "node-sass": "^4.13.0", + "uglify-js": "^3.6.5", "vue": "^2.6.7", "vueify": "^9.4.1", "watchify": "^3.11.0"