From b08077d155a2d12936b3c54323fc0b51919b08d3 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Fri, 13 Nov 2020 14:26:56 +0100 Subject: [PATCH] DEV: uses jquery 3.5.1 (#11230) https://blog.jquery.com/2020/05/04/jquery-3-5-1-released-fixing-a-regression/ --- package.json | 2 +- vendor/assets/javascripts/jquery.js | 8 ++++---- yarn.lock | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index aec7bf0ef97..bc68a43701a 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "handlebars": "^4.7.0", "highlight.js": "https://github.com/highlightjs/highlight.js", "intersection-observer": "^0.5.1", - "jquery": "3.5.0", + "jquery": "3.5.1", "jquery-color": "3.0.0-alpha.1", "jquery-resize": "https://github.com/cowboy/jquery-resize/", "jquery-tags-input": "1.3.5", diff --git a/vendor/assets/javascripts/jquery.js b/vendor/assets/javascripts/jquery.js index 21707563986..50937333b99 100644 --- a/vendor/assets/javascripts/jquery.js +++ b/vendor/assets/javascripts/jquery.js @@ -1,5 +1,5 @@ /*! - * jQuery JavaScript Library v3.5.0 + * jQuery JavaScript Library v3.5.1 * https://jquery.com/ * * Includes Sizzle.js @@ -9,7 +9,7 @@ * Released under the MIT license * https://jquery.org/license * - * Date: 2020-04-10T15:07Z + * Date: 2020-05-04T22:49Z */ ( function( global, factory ) { @@ -147,7 +147,7 @@ function toType( obj ) { var - version = "3.5.0", + version = "3.5.1", // Define a local copy of jQuery jQuery = function( selector, context ) { @@ -4244,7 +4244,7 @@ Data.prototype = { // If not, create one if ( !value ) { - value = Object.create( null ); + value = {}; // We can accept data for non-element nodes in modern browsers, // but we should not, see #8335. diff --git a/yarn.lock b/yarn.lock index 13a9629ba47..9d7b9ebf803 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1772,10 +1772,10 @@ jquery-tags-input@1.3.5: version "0.0.0" resolved "https://github.com/pvdspek/jquery.autoellipsis#756391145c09ec11ae2b88a0ca0c3b5fdf8d21a1" -jquery@3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.5.0.tgz#9980b97d9e4194611c36530e7dc46a58d7340fc9" - integrity sha512-Xb7SVYMvygPxbFMpTFQiHh1J7HClEaThguL15N/Gg37Lri/qKyhRGZYzHRyLH8Stq3Aow0LsHO2O2ci86fCrNQ== +jquery@3.5.1: + version "3.5.1" + resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.5.1.tgz#d7b4d08e1bfdb86ad2f1a3d039ea17304717abb5" + integrity sha512-XwIBPqcMn57FxfT+Go5pzySnm4KWkT1Tv7gjrpT1srtf8Weynl6R273VJ5GjkRb51IzMp5nbaPjJXMWeju2MKg== js-reporters@1.2.1: version "1.2.1"