Skip to content

Commit

Permalink
js cookie rc 4
Browse files Browse the repository at this point in the history
  • Loading branch information
fredclausen committed Jul 17, 2021
1 parent c5e2cff commit e296c46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion acarshub-typescript/js-other/js.cookie.min.mjs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/*! js-cookie v3.0.0-rc.3 | MIT */
/*! js-cookie v3.0.0-rc.4 | MIT */
function e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var t={read:function(e){return e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};var r=function r(n,o){function i(t,r,i){if("undefined"!=typeof document){"number"==typeof(i=e({},o,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),t=encodeURIComponent(t).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),r=n.write(r,t);var c="";for(var u in i)i[u]&&(c+="; "+u,!0!==i[u]&&(c+="="+i[u].split(";")[0]));return document.cookie=t+"="+r+c}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],o={},i=0;i<r.length;i++){var c=r[i].split("="),u=c.slice(1).join("=");'"'===u[0]&&(u=u.slice(1,-1));try{var a=t.read(c[0]);if(o[a]=n.read(u,a),e===a)break}catch(e){}}return e?o[e]:o}},remove:function(t,r){i(t,"",e({},r,{expires:-1}))},withAttributes:function(t){return r(this.converter,e({},this.attributes,t))},withConverter:function(t){return r(e({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(o)},converter:{value:Object.freeze(n)}})}(t,{path:"/"});export default r;
2 changes: 1 addition & 1 deletion docs/external-js-css-versions.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[jquery 3.6.0](https://www.jsdelivr.com/package/npm/jquery)
[socket.io 4.1.3](https://socket.io/docs/v4/client-installation/)
[socket.io 4.1.3 map](https://socket.io/docs/v4/client-installation/)
[js cookie v3.0.0-rc.2](https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js)
[js cookie v3.0.0-rc.4](https://cdn.jsdelivr.net/npm/js-cookie@rc/dist/js.cookie.min.js)
[showdown 1.9.1](https://cdnjs.com/libraries/showdown)
[showdown map 1.9.1](https://cdnjs.com/libraries/showdown)
[chart 3.4.1](https://www.jsdelivr.com/package/npm/chart.js)
Expand Down

0 comments on commit e296c46

Please sign in to comment.