From: jenkins-bot Date: Wed, 10 Apr 2019 16:38:55 +0000 (+0000) Subject: Merge "Bump Mustache from 1.0.0 to 3.0.1" X-Git-Tag: 1.34.0-rc.0~2066 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22config_fonctions%22%2C%20%22image_process=%24process%22%29%20.%20%22?a=commitdiff_plain;h=08e27d6d40ed2f6eea8abc509254e11c92212a8d;hp=0d58c1dddadfc97a3c56c77dd0fdfb84f8b5bd3f;p=lhc%2Fweb%2Fwiklou.git Merge "Bump Mustache from 1.0.0 to 3.0.1" --- diff --git a/resources/lib/foreign-resources.yaml b/resources/lib/foreign-resources.yaml index 651acc81a0..dc7379ad44 100644 --- a/resources/lib/foreign-resources.yaml +++ b/resources/lib/foreign-resources.yaml @@ -192,11 +192,11 @@ mustache: type: multi-file files: mustache.js: - src: https://raw.githubusercontent.com/janl/mustache.js/v1.0.0/mustache.js - integrity: sha384-k2UYqmzoiq/qgIzZvcYBxbXQW4YdPAsXDOTkHTGb9TCZ9sjCkyT4TlaUN0wQRkql + src: https://raw.githubusercontent.com/janl/mustache.js/v3.0.1/mustache.js + integrity: sha384-YjAj6Nll7fkEWzxTlE9o3NWC9qdZt1Upat6Afjib9eLs8lTODpSKEBHeXq8o/VUH LICENSE: - src: https://raw.githubusercontent.com/janl/mustache.js/v1.0.0/LICENSE - integrity: sha384-MYVwXwula9+YkyXexOJVZ0v0DaVvG22uX57mNq5Di+7u8OH9EG9q3yuXkp1Iehiq + src: https://raw.githubusercontent.com/janl/mustache.js/v3.0.1/LICENSE + integrity: sha384-j2EDj6YtCRgFvYDtzo6pXzbskIj/K1Yg65BL0j3/L6UIHxbMtRMJwC/W+XoYx0FZ oojs: type: tar diff --git a/resources/lib/mustache/LICENSE b/resources/lib/mustache/LICENSE index aa1b831603..4df7d1aae6 100644 --- a/resources/lib/mustache/LICENSE +++ b/resources/lib/mustache/LICENSE @@ -2,6 +2,7 @@ The MIT License Copyright (c) 2009 Chris Wanstrath (Ruby) Copyright (c) 2010-2014 Jan Lehnardt (JavaScript) +Copyright (c) 2010-2015 The mustache.js community Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/resources/lib/mustache/mustache.js b/resources/lib/mustache/mustache.js index c7ffbef007..8ec1b44cca 100644 --- a/resources/lib/mustache/mustache.js +++ b/resources/lib/mustache/mustache.js @@ -3,54 +3,86 @@ * http://github.com/janl/mustache.js */ -/*global define: false*/ +/*global define: false Mustache: true*/ -(function (global, factory) { - if (typeof exports === "object" && exports) { +(function defineMustache (global, factory) { + if (typeof exports === 'object' && exports && typeof exports.nodeName !== 'string') { factory(exports); // CommonJS - } else if (typeof define === "function" && define.amd) { + } else if (typeof define === 'function' && define.amd) { define(['exports'], factory); // AMD } else { - factory(global.Mustache = {}); //