From a9773bfa91d35326a8d5f43f744ac4f454caf1d7 Mon Sep 17 00:00:00 2001 From: nobody Date: Mon, 19 Jun 2023 17:38:28 +0200 Subject: [PATCH] dayjs v1.11.7 -> v1.11.8 (#1445) --- THIRD_PARTY.txt | 2 +- modules/internal/targets.js | 2 +- pages/updates/updates.html | 1 + resources/dayjs/{1.11.7 => 1.11.8}/dayjs.min.jsm | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) rename resources/dayjs/{1.11.7 => 1.11.8}/dayjs.min.jsm (76%) diff --git a/THIRD_PARTY.txt b/THIRD_PARTY.txt index baebb495..60b3296a 100644 --- a/THIRD_PARTY.txt +++ b/THIRD_PARTY.txt @@ -328,7 +328,7 @@ https://cdnjs.cloudflare.com/ajax/libs/d3/5.16.0/d3.min.js https://cdnjs.cloudflare.com/ajax/libs/d3/6.7.0/d3.min.js https://cdnjs.cloudflare.com/ajax/libs/d3/7.8.5/d3.min.js https://cdnjs.cloudflare.com/ajax/libs/d3-legend/2.25.6/d3-legend.min.js -https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.11.7/dayjs.min.js +https://cdnjs.cloudflare.com/ajax/libs/dayjs/1.11.8/dayjs.min.js https://cdnjs.cloudflare.com/ajax/libs/dexie/3.2.3/dexie.min.js https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.css https://cdnjs.cloudflare.com/ajax/libs/docsearch.js/2.6.3/docsearch.min.js diff --git a/modules/internal/targets.js b/modules/internal/targets.js index 61b4e8da..54c8cb81 100644 --- a/modules/internal/targets.js +++ b/modules/internal/targets.js @@ -186,7 +186,7 @@ targets.setLastVersion = function (type, version) { if (type.startsWith('/d3/7.')) return '7.8.5'; if (type.startsWith('/d3-legend/2.')) return '2.25.6'; if (type.startsWith('/datatables/1.')) return '1.11.0'; - if (type.startsWith('/dayjs/1.')) return '1.11.7'; + if (type.startsWith('/dayjs/1.')) return '1.11.8'; if (type.startsWith('/dexie/3.') || type.startsWith('/dexie/latest')) return '3.2.3'; if (type.startsWith('/docsearch.js/2.')) return '2.6.3'; if (type.startsWith('/docsify/4.') || type.startsWith('/docsify/')) return '4.13.0'; diff --git a/pages/updates/updates.html b/pages/updates/updates.html index 4be194e2..be9bff7f 100644 --- a/pages/updates/updates.html +++ b/pages/updates/updates.html @@ -33,6 +33,7 @@
  • d3 v7.8.4 -> v7.8.5 (#1442)
  • socket.io v4.6.1 -> v4.6.2 (#1443)
  • react-router v6.11.2 -> v6.13.0 (#1444)
  • +
  • dayjs v1.11.7 -> v1.11.8 (#1445)
  • diff --git a/resources/dayjs/1.11.7/dayjs.min.jsm b/resources/dayjs/1.11.8/dayjs.min.jsm similarity index 76% rename from resources/dayjs/1.11.7/dayjs.min.jsm rename to resources/dayjs/1.11.8/dayjs.min.jsm index ba16e658..55889907 100644 --- a/resources/dayjs/1.11.7/dayjs.min.jsm +++ b/resources/dayjs/1.11.8/dayjs.min.jsm @@ -1 +1 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).dayjs=e()}(this,(function(){"use strict";var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",f="month",h="quarter",c="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()1)return t(u[0])}else{var a=e.name;D[a]=e,i=a}return!r&&i&&(g=i),i||!r&&g},w=function(t,e){if(p(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},O=v;O.l=S,O.i=p,O.w=function(t,e){return w(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=S(t.locale,null,!0),this.parse(t)}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(O.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.$x=t.x||{},this.init()},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},m.$utils=function(){return O},m.isValid=function(){return!(this.$d.toString()===l)},m.isSame=function(t,e){var n=w(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return w(t)