mobile-debug
Advanced tools
Comparing version 0.3.0 to 0.4.0
@@ -6,2 +6,9 @@ # Change log | ||
## 0.4.0 - 2017-05-05 | ||
### Added | ||
- Touch version of mobile-debug library | ||
### Changed | ||
- Build tasks | ||
## 0.3.0 - 2017-04-25 | ||
@@ -8,0 +15,0 @@ ### Changed |
@@ -21,3 +21,3 @@ (function() { | ||
__$styleInject( | ||
'@import url("https://fonts.googleapis.com/css?family=PT+Sans+Narrow");#mobile-debug-counter{position:fixed;z-index:1;bottom:0;right:0;background-color:#31363f;color:#d9dce1;display:inline-block;font-family:sans-serif}#mobile-debug-counter span{display:inline-block;padding:10px}#mobile-debug-counter span.warn{background-color:#ac7b1f}#mobile-debug-counter span.error{background-color:#cf3c34}#mobile-debug{display:none}#mobile-debug:target{display:block;position:fixed;z-index:2;top:5px;left:5px;bottom:5px;right:5px;margin:0;padding:10px;color:#333;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRv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MTE6b/rOPj4/r/+mlpaZD/l3z/hf4SKwMDA0pKSmpqaqf/rYD+iIH/iY+PjwD9AMT/yP9gcnT/ffr6+nBwcP9tfTIzMsnJyf4UL/4AF4n/kJWVlaCgoN7/4LW1tfHx8SkpKX3/hpz9ojk5OTMzM/+Wo0v+VxwcHAD9AP9Xaf+5wZeXl5+wof+Kl03+WUhISP+fqgD9ANra2rCwsIqKiv+jrqf+rTU1Ndvb2+Xl5f9xgVVVVf4WMMjIyHeFeJD6ltzc3AD9ALv/v15eXq2trf4HIwD9AFX+YP4RKk1NTc3NzTc3N+rq6sX/yQICAv4GIqurq2T/bisrK//FzBEREXh4eAwMDGxsbA4ODv+psxgYGBISEgsLC/4TLLX/usv/zlZWVv+DkM7/0f4JJP+ttv9neOD/4gD9AP+Om6qqqv/EyyEhIXr/goaGhnFxcYGDgSIiIv+PnNbW1v///7RbquQAAADgdFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8At6MSngAAA1xJREFUeNrs2+dT1EAUAPDnIEUPFeGYAUGqlEEBEekgVan23nvvvYy99zp2x951LGPvvXdjb/uvmN1wMMfcHbmdze0MvPchyeaSe7+77NvNhwSI5AAEIAABuo66+9bkdMzeLQxwsAy4wrReDMCnBMD8x9vZeKgS0oQA9gM8KXX+4m7IA5iUIgAQANCar38lAfQVAPgF4MYHWPIYLgoARAKc4CyxrRAmABAC0IIT4AuRAgAN+AHu0FAMgHeU6yQKkO/JF89FAfijrgCyGvPFfVGAKM5OeEMUwE12GSIAAQhAgD1AwkC22pUgCdBlZrm/ujpw9fJHKYBPHmr4kzi6+iIDMIFmftWSLj0i6I4h6T7W0R0KqrbTo8Rfgg4elvjG2ofNza3jNsyq2jZ7GdAJIz6w9CsfaM1eDu9NehhRhjsZYG9l66dDQLABgLg7DHDaX2s+cgj4Kh7w19IFViWzdtdmNcIMT6sbvYUDWP8vX1ZdBa4uw0XaODCcrvpIGQnVvyBZq8ZnkuaCk0fY6t02nI4RgAAE1HtA8Ty5gFaKslkHINUowHxFjXO1Ao4HCQdMfk+X02l+5ai6VRrgZx0bIdzPLyCUHZyRKPwSdFaUEYREs/wVdEeS7XuxPHZ0doZogHrllTETh7H87dme37YBSw3qhPuUqmin7RlpG7AjyKAqyK2Rn5y1DZhmWBle0fLfsrT3LPe1jhJ44esebuA4EEPzL5Q5EuZa+l/tgEBjRsKcuTrngvhUyZNREE7HrgekxcsFJAZK/geysQ8gwJWA7TFyAR0VJVYmoB+dlKNlAFa/rvz9alxQt6a6GKDelb4h5B7Lv07CJSimiQdpd+WFMjphTvVdcVtXl2Ebtoy15C8kcgBksePf74Iy/EHzD5A5Em5SlM9yh+IZFTgZIQABCEAAAuoHgDM/2SIKcKkRX/THZ0pFAdZ68YV3nXmwGccB+4DgovAFMgH/HDwg5BLAGgo4JRFwiAI8DQaEAEyx91nUNQDTTbunHhPyhkUYwFD7n17PcnDqaCHvmGQCnOerwkCzjheEageMAujJB8gHGCcAQDtBEcdQFDoWYDwRAUjppnb1702djZeg6/UcPRNNaAHfXFx2hogBELIis4nTMWewrq/GVz4RgAAE/BdgAN4nPE81y23tAAAAAElFTkSuQmCC") hsla(0,0%,100%,.95) no-repeat right 10px;background-size:48px;overflow:scroll;font-family:PT Sans Narrow,sans-serif;box-shadow:0 0 10px #000}#mobile-debug a{text-decoration:none;border:1px solid #000;padding:2px;color:#000;margin-bottom:5px;display:inline-block}#mobile-debug .title{font-size:20px}#mobile-debug p,#mobile-debug span{font-size:16px;margin:0}#mobile-debug p.input{color:#417ad6;font-weight:700;font-size:14px}#mobile-debug .value{color:#404040;margin-bottom:10px}#mobile-debug .warn.warn{color:#d0a889}#mobile-debug .error.error{color:#cf3c34;font-weight:700}', | ||
'@import url("https://fonts.googleapis.com/css?family=PT+Sans+Narrow");#mobile-debug-counter{position:fixed;z-index:1;bottom:0;right:0;background-color:#31363f;color:#d9dce1;display:inline-block;font-family:sans-serif}#mobile-debug-counter span{display:inline-block;padding:10px}#mobile-debug-counter span.warn{background-color:#ac7b1f}#mobile-debug-counter span.error{background-color:#cf3c34}#mobile-debug{display:none}#mobile-debug:target{display:block;position:fixed;z-index:2;top:5px;left:5px;bottom:5px;right:5px;margin:0;padding:10px;color:#333;background:url(../logo.png) hsla(0,0%,100%,.95) no-repeat right 10px;background-size:48px;overflow:scroll;font-family:PT Sans Narrow,sans-serif;box-shadow:0 0 10px #000}#mobile-debug a{text-decoration:none;border:1px solid #000;padding:2px;color:#000;margin-bottom:5px;display:inline-block}#mobile-debug .title{font-size:20px}#mobile-debug p,#mobile-debug span{font-size:16px;margin:0}#mobile-debug p.input{color:#417ad6;font-weight:700;font-size:14px}#mobile-debug .value{color:#404040;margin-bottom:10px}#mobile-debug .warn.warn{color:#d0a889}#mobile-debug .error.error{color:#cf3c34;font-weight:700}', | ||
undefined | ||
@@ -36,9 +36,2 @@ ); | ||
var button = document.createElement("a"); | ||
button.href = "#mobile-debug"; | ||
button.id = "mobile-debug-counter"; | ||
button.innerHTML = | ||
'<span class="error">X</span><span class="warn">X</span><span>X</span>'; | ||
document.body.appendChild(button); | ||
/** | ||
@@ -105,3 +98,3 @@ ********** Console handler ********** | ||
var debugMessage = | ||
'<span class="error">×</span> JavaScript error: ' + | ||
'<span class="error">×</span>JavaScript error: ' + | ||
message + | ||
@@ -114,2 +107,9 @@ " on line " + | ||
}; | ||
var button = document.createElement("a"); | ||
button.href = "#mobile-debug"; | ||
button.id = "mobile-debug-counter"; | ||
button.innerHTML = | ||
'<span class="error">X</span><span class="warn">X</span><span>X</span>'; | ||
document.body.appendChild(button); | ||
})(); |
@@ -1,1 +0,1 @@ | ||
!function(){"use strict";function e(e,n){for(var o=Array.prototype.slice.call(e),i=0;i<o.length;i+=1)!function(){var e=new Date,l=document.createElement("p");l.innerHTML=e.getHours()+"h"+("0"+e.getMinutes()).slice(-2),l.classList.add("input"),document.getElementById("mobile-debug").appendChild(l);var t=document.createElement("p");t.innerHTML=o[i],t.classList.add("value"),n.forEach(function(e){t.classList.add(e)}),document.getElementById("mobile-debug").appendChild(t)}()}!function(e,n){if("undefined"==typeof document)return n;e=e||"";var o=document.head||document.getElementsByTagName("head")[0],i=document.createElement("style");i.type="text/css",i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e)),o.appendChild(i)}('@import url("https://fonts.googleapis.com/css?family=PT+Sans+Narrow");#mobile-debug-counter{position:fixed;z-index:1;bottom:0;right:0;background-color:#31363f;color:#d9dce1;display:inline-block;font-family:sans-serif}#mobile-debug-counter span{display:inline-block;padding:10px}#mobile-debug-counter span.warn{background-color:#ac7b1f}#mobile-debug-counter span.error{background-color:#cf3c34}#mobile-debug{display:none}#mobile-debug:target{display:block;position:fixed;z-index:2;top:5px;left:5px;bottom:5px;right:5px;margin:0;padding:10px;color:#333;background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDY3IDc5LjE1Nzc0NywgMjAxNS8wMy8zMC0yMzo0MDo0MiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc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D/l3z/hf4SKwMDA0pKSmpqaqf/rYD+iIH/iY+PjwD9AMT/yP9gcnT/ffr6+nBwcP9tfTIzMsnJyf4UL/4AF4n/kJWVlaCgoN7/4LW1tfHx8SkpKX3/hpz9ojk5OTMzM/+Wo0v+VxwcHAD9AP9Xaf+5wZeXl5+wof+Kl03+WUhISP+fqgD9ANra2rCwsIqKiv+jrqf+rTU1Ndvb2+Xl5f9xgVVVVf4WMMjIyHeFeJD6ltzc3AD9ALv/v15eXq2trf4HIwD9AFX+YP4RKk1NTc3NzTc3N+rq6sX/yQICAv4GIqurq2T/bisrK//FzBEREXh4eAwMDGxsbA4ODv+psxgYGBISEgsLC/4TLLX/usv/zlZWVv+DkM7/0f4JJP+ttv9neOD/4gD9AP+Om6qqqv/EyyEhIXr/goaGhnFxcYGDgSIiIv+PnNbW1v///7RbquQAAADgdFJOU/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8At6MSngAAA1xJREFUeNrs2+dT1EAUAPDnIEUPFeGYAUGqlEEBEekgVan23nvvvYy99zp2x951LGPvvXdjb/uvmN1wMMfcHbmdze0MvPchyeaSe7+77NvNhwSI5AAEIAABuo66+9bkdMzeLQxwsAy4wrReDMCnBMD8x9vZeKgS0oQA9gM8KXX+4m7IA5iUIgAQANCar38lAfQVAPgF4MYHWPIYLgoARAKc4CyxrRAmABAC0IIT4AuRAgAN+AHu0FAMgHeU6yQKkO/JF89FAfijrgCyGvPFfVGAKM5OeEMUwE12GSIAAQhAgD1AwkC22pUgCdBlZrm/ujpw9fJHKYBPHmr4kzi6+iIDMIFmftWSLj0i6I4h6T7W0R0KqrbTo8Rfgg4elvjG2ofNza3jNsyq2jZ7GdAJIz6w9CsfaM1eDu9NehhRhjsZYG9l66dDQLABgLg7DHDaX2s+cgj4Kh7w19IFViWzdtdmNcIMT6sbvYUDWP8vX1ZdBa4uw0XaODCcrvpIGQnVvyBZq8ZnkuaCk0fY6t02nI4RgAAE1HtA8Ty5gFaKslkHINUowHxFjXO1Ao4HCQdMfk+X02l+5ai6VRrgZx0bIdzPLyCUHZyRKPwSdFaUEYREs/wVdEeS7XuxPHZ0doZogHrllTETh7H87dme37YBSw3qhPuUqmin7RlpG7AjyKAqyK2Rn5y1DZhmWBle0fLfsrT3LPe1jhJ44esebuA4EEPzL5Q5EuZa+l/tgEBjRsKcuTrngvhUyZNREE7HrgekxcsFJAZK/geysQ8gwJWA7TFyAR0VJVYmoB+dlKNlAFa/rvz9alxQt6a6GKDelb4h5B7Lv07CJSimiQdpd+WFMjphTvVdcVtXl2Ebtoy15C8kcgBksePf74Iy/EHzD5A5Em5SlM9yh+IZFTgZIQABCEAAAuoHgDM/2SIKcKkRX/THZ0pFAdZ68YV3nXmwGccB+4DgovAFMgH/HDwg5BLAGgo4JRFwiAI8DQaEAEyx91nUNQDTTbunHhPyhkUYwFD7n17PcnDqaCHvmGQCnOerwkCzjheEageMAujJB8gHGCcAQDtBEcdQFDoWYDwRAUjppnb1702djZeg6/UcPRNNaAHfXFx2hogBELIis4nTMWewrq/GVz4RgAAE/BdgAN4nPE81y23tAAAAAElFTkSuQmCC") hsla(0,0%,100%,.95) no-repeat right 10px;background-size:48px;overflow:scroll;font-family:PT Sans Narrow,sans-serif;box-shadow:0 0 10px #000}#mobile-debug a{text-decoration:none;border:1px solid #000;padding:2px;color:#000;margin-bottom:5px;display:inline-block}#mobile-debug .title{font-size:20px}#mobile-debug p,#mobile-debug span{font-size:16px;margin:0}#mobile-debug p.input{color:#417ad6;font-weight:700;font-size:14px}#mobile-debug .value{color:#404040;margin-bottom:10px}#mobile-debug .warn.warn{color:#d0a889}#mobile-debug .error.error{color:#cf3c34;font-weight:700}',void 0);var n=document.createElement("div");n.id="mobile-debug",n.innerHTML='<p><a href="#">× Close</a></p><p class="title">Debug console</p>',document.body.appendChild(n);var o=document.createElement("a");o.href="#mobile-debug",o.id="mobile-debug-counter",o.innerHTML='<span class="error">X</span><span class="warn">X</span><span>X</span>',document.body.appendChild(o);var i=console.log,l=console.warn;console.warn=function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];l.apply(console,o),e(o,["warn"])},console.log=function(){for(var n=arguments.length,o=Array(n),l=0;l<n;l++)o[l]=arguments[l];i.apply(console,o),e(o,[])},window.onerror=function(e,n,o){var i='<span class="error">×</span> JavaScript error: '+e+" on line "+o+" for "+n;console.log(i)}}(); | ||
!function(){"use strict";function e(e,o){for(var n=Array.prototype.slice.call(e),t=0;t<n.length;t+=1)!function(){var e=new Date,r=document.createElement("p");r.innerHTML=e.getHours()+"h"+("0"+e.getMinutes()).slice(-2),r.classList.add("input"),document.getElementById("mobile-debug").appendChild(r);var a=document.createElement("p");a.innerHTML=n[t],a.classList.add("value"),o.forEach(function(e){a.classList.add(e)}),document.getElementById("mobile-debug").appendChild(a)}()}!function(e,o){if("undefined"==typeof document)return o;e=e||"";var n=document.head||document.getElementsByTagName("head")[0],t=document.createElement("style");t.type="text/css",t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),n.appendChild(t)}('@import url("https://fonts.googleapis.com/css?family=PT+Sans+Narrow");#mobile-debug-counter{position:fixed;z-index:1;bottom:0;right:0;background-color:#31363f;color:#d9dce1;display:inline-block;font-family:sans-serif}#mobile-debug-counter span{display:inline-block;padding:10px}#mobile-debug-counter span.warn{background-color:#ac7b1f}#mobile-debug-counter span.error{background-color:#cf3c34}#mobile-debug{display:none}#mobile-debug:target{display:block;position:fixed;z-index:2;top:5px;left:5px;bottom:5px;right:5px;margin:0;padding:10px;color:#333;background:url(../logo.png) hsla(0,0%,100%,.95) no-repeat right 10px;background-size:48px;overflow:scroll;font-family:PT Sans Narrow,sans-serif;box-shadow:0 0 10px #000}#mobile-debug a{text-decoration:none;border:1px solid #000;padding:2px;color:#000;margin-bottom:5px;display:inline-block}#mobile-debug .title{font-size:20px}#mobile-debug p,#mobile-debug span{font-size:16px;margin:0}#mobile-debug p.input{color:#417ad6;font-weight:700;font-size:14px}#mobile-debug .value{color:#404040;margin-bottom:10px}#mobile-debug .warn.warn{color:#d0a889}#mobile-debug .error.error{color:#cf3c34;font-weight:700}',void 0);var o=document.createElement("div");o.id="mobile-debug",o.innerHTML='<p><a href="#">× Close</a></p><p class="title">Debug console</p>',document.body.appendChild(o);var n=console.log,t=console.warn;console.warn=function(){for(var o=arguments.length,n=Array(o),r=0;r<o;r++)n[r]=arguments[r];t.apply(console,n),e(n,["warn"])},console.log=function(){for(var o=arguments.length,t=Array(o),r=0;r<o;r++)t[r]=arguments[r];n.apply(console,t),e(t,[])},window.onerror=function(e,o,n){var t='<span class="error">×</span>JavaScript error: '+e+" on line "+n+" for "+o;console.log(t)};var r=document.createElement("a");r.href="#mobile-debug",r.id="mobile-debug-counter",r.innerHTML='<span class="error">X</span><span class="warn">X</span><span>X</span>',document.body.appendChild(r)}(); |
{ | ||
"name": "mobile-debug", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Mobile debug UI helper", | ||
"main": "dist/index.js", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"build:prod": "NODE_ENV=production rollup -c", | ||
"postbuild": "prettier --write dist/index.js", | ||
"test": "eslint src/*.js" | ||
"build": "npm-run-all --parallel build:* build:prod:*", | ||
"build:default": "rollup -c", | ||
"build:prod:default": "NODE_ENV=production rollup -c", | ||
"postbuild:default": "prettier --write dist/index.js", | ||
"build:touch": "rollup -c --environment version:touch", | ||
"build:prod:touch": "NODE_ENV=production rollup -c --environment version:touch", | ||
"postbuild:touch": "prettier --write dist/touch/index.js", | ||
"test": "eslint src/**/*.js" | ||
}, | ||
@@ -54,2 +58,3 @@ "repository": { | ||
"eslint-plugin-react": "^6.10.3", | ||
"npm-run-all": "^4.0.2", | ||
"postcss-url": "^6.0.4", | ||
@@ -56,0 +61,0 @@ "prettier": "^1.2.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25486
12
370
21
1