From 267bc0deba32c7953026c6106549e2e7a70046a5 Mon Sep 17 00:00:00 2001 From: nobody Date: Thu, 11 Mar 2021 06:40:36 +0100 Subject: [PATCH] Updated: clipboard.js v2.0.6 -> v2.0.8 (#306) --- THIRD_PARTY.txt | 2 +- modules/internal/targets.js | 2 +- pages/updates/updates.html | 1 + resources/clipboard.js/2.0.6/clipboard.min.jsm | 7 ------- resources/clipboard.js/2.0.8/clipboard.min.jsm | 7 +++++++ 5 files changed, 10 insertions(+), 9 deletions(-) delete mode 100644 resources/clipboard.js/2.0.6/clipboard.min.jsm create mode 100644 resources/clipboard.js/2.0.8/clipboard.min.jsm diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index a6ac600b..86c17088 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -220,7 +220,7 @@ https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.bundle.min.js https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.4/Chart.min.css https://cdnjs.cloudflare.com/ajax/libs/chosen/1.8.7/chosen.jquery.min.js https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/1.7.1/clipboard.min.js -https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.6/clipboard.min.js +https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.8/clipboard.min.js https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js https://cdnjs.cloudflare.com/ajax/libs/d3/3.5.17/d3.min.js diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 4ad6bcf3..5e9c0518 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -178,7 +178,7 @@ targets.setLastVersion = function (type, version) { } else if (type.startsWith('/clipboard.js/1.')) { return '1.7.1'; } else if (type.startsWith('/clipboard.js/2.')) { - return '2.0.6'; + return '2.0.8'; } else if (type.startsWith('/cookieconsent2/3.')) { return '3.1.1'; } else if (type.startsWith('/d3/3.')) { diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 78ce5a53..150012aa 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -52,6 +52,7 @@
  • Updated: algoliasearch v4.8.5 -> v4.8.6 (#303)
  • Updated: p5.js v1.2.0 -> v1.3.0 (#304)
  • Added: socket.io v4.0.0 (#305)
  • +
  • Updated: clipboard.js v2.0.6 -> v2.0.8 (#306)
  • diff --git a/resources/clipboard.js/2.0.6/clipboard.min.jsm b/resources/clipboard.js/2.0.6/clipboard.min.jsm deleted file mode 100644 index 28650f3c..00000000 --- a/resources/clipboard.js/2.0.6/clipboard.min.jsm +++ /dev/null @@ -1,7 +0,0 @@ -/*! - * clipboard.js v2.0.6 - * https://clipboardjs.com/ - * - * Licensed MIT © Zeno Rocha - */ -!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return o={},r.m=n=[function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o