N°5621 Move jquery.fileupload.js 9.22.0 (?) to NPM

Update to 9.22.1 to fix https://github.com/advisories/GHSA-4cj8-g9cp-v5wr
This commit is contained in:
Pierre Goiffon
2024-02-29 11:00:01 +01:00
parent 8490c2a22f
commit fe4233e218
53 changed files with 8094 additions and 6 deletions

48
node_modules/blueimp-tmpl/js/runtime.js generated vendored Normal file
View File

@@ -0,0 +1,48 @@
/*
* JavaScript Templates Runtime
* https://github.com/blueimp/JavaScript-Templates
*
* Copyright 2011, Sebastian Tschan
* https://blueimp.net
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/MIT
*/
/* global define */
;(function ($) {
'use strict'
var tmpl = function (id, data) {
var f = tmpl.cache[id]
return data ? f(data, tmpl) : function (data) {
return f(data, tmpl)
}
}
tmpl.cache = {}
tmpl.encReg = /[<>&"'\x00]/g // eslint-disable-line no-control-regex
tmpl.encMap = {
'<': '&lt;',
'>': '&gt;',
'&': '&amp;',
'"': '&quot;',
"'": '&#39;'
}
tmpl.encode = function (s) {
return (s == null ? '' : '' + s).replace(
tmpl.encReg,
function (c) {
return tmpl.encMap[c] || ''
}
)
}
if (typeof define === 'function' && define.amd) {
define(function () {
return tmpl
})
} else if (typeof module === 'object' && module.exports) {
module.exports = tmpl
} else {
$.tmpl = tmpl
}
}(this))