Projects
openEuler:Mainline
python-sphinx
Sign Up
Log In
Username
Password
We truncated the diff of some files because they were too big. If you want to see the full diff for every file,
click here
.
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 9
View file
_service:tar_scm:python-sphinx.spec
Changed
@@ -1,12 +1,14 @@ Name: python-sphinx Version: 4.4.0 -Release: 1 +Release: 2 Epoch: 1 Summary: Python documentation generator License: BSD and MIT URL: http://sphinx-doc.org/ Source0: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz +Patch6000: backport-html-Updated-jQuery-version-from-3.5.1-to-3.6.0.patch + BuildArch: noarch BuildRequires: python3-devel @@ -224,6 +226,9 @@ %{_mandir}/man1/* %changelog +* Thu Jul 20 2023 shixuantong <shixuantong1@huawei.com> - 1:4.4.0-2 +- html: Updated jQuery version from 3.5.1 to 3.6.0 + * Thu Jun 16 2022 zhangy1317 <zhangy1317@foxmail.com> - 1:4.4.0-1 - Upgrade version for openstack yoga
View file
_service:tar_scm:backport-html-Updated-jQuery-version-from-3.5.1-to-3.6.0.patch
Added
@@ -0,0 +1,588 @@ +From 541fcfc557d488e3fd41b11aef4bb812b1b35688 Mon Sep 17 00:00:00 2001 +From: Takeshi KOMIYA <i.tkomiya@gmail.com> +Date: Sat, 7 May 2022 22:18:00 +0900 +Subject: PATCH Close #9974: html: Updated jQuery version from 3.5.1 to 3.6.0 + +--- + .../{jquery-3.5.1.js => jquery-3.6.0.js} | 227 +++++++++--------- + sphinx/themes/basic/static/jquery.js | 4 +- + tests/test_theming.py | 2 +- + 3 files changed, 121 insertions(+), 112 deletions(-) + rename sphinx/themes/basic/static/{jquery-3.5.1.js => jquery-3.6.0.js} (98%) + +diff --git a/sphinx/themes/basic/static/jquery-3.5.1.js b/sphinx/themes/basic/static/jquery-3.6.0.js +similarity index 98% +rename from sphinx/themes/basic/static/jquery-3.5.1.js +rename to sphinx/themes/basic/static/jquery-3.6.0.js +index 5093733..fc6c299 100644 +--- a/sphinx/themes/basic/static/jquery-3.5.1.js ++++ b/sphinx/themes/basic/static/jquery-3.6.0.js +@@ -1,15 +1,15 @@ + /*! +- * jQuery JavaScript Library v3.5.1 ++ * jQuery JavaScript Library v3.6.0 + * https://jquery.com/ + * + * Includes Sizzle.js + * https://sizzlejs.com/ + * +- * Copyright JS Foundation and other contributors ++ * Copyright OpenJS Foundation and other contributors + * Released under the MIT license + * https://jquery.org/license + * +- * Date: 2020-05-04T22:49Z ++ * Date: 2021-03-02T17:08Z + */ + ( function( global, factory ) { + +@@ -76,12 +76,16 @@ var support = {}; + + var isFunction = function isFunction( obj ) { + +- // Support: Chrome <=57, Firefox <=52 +- // In some browsers, typeof returns "function" for HTML <object> elements +- // (i.e., `typeof document.createElement( "object" ) === "function"`). +- // We don't want to classify *any* DOM node as a function. +- return typeof obj === "function" && typeof obj.nodeType !== "number"; +- }; ++ // Support: Chrome <=57, Firefox <=52 ++ // In some browsers, typeof returns "function" for HTML <object> elements ++ // (i.e., `typeof document.createElement( "object" ) === "function"`). ++ // We don't want to classify *any* DOM node as a function. ++ // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 ++ // Plus for old WebKit, typeof returns "function" for HTML collections ++ // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) ++ return typeof obj === "function" && typeof obj.nodeType !== "number" && ++ typeof obj.item !== "function"; ++ }; + + + var isWindow = function isWindow( obj ) { +@@ -147,7 +151,7 @@ function toType( obj ) { + + + var +- version = "3.5.1", ++ version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { +@@ -401,7 +405,7 @@ jQuery.extend( { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? +- arr : arr ++ arr : arr + ); + } else { + push.call( ret, arr ); +@@ -496,9 +500,9 @@ if ( typeof Symbol === "function" ) { + + // Populate the class2type map + jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), +-function( _i, name ) { +- class2type "object " + name + "" = name.toLowerCase(); +-} ); ++ function( _i, name ) { ++ class2type "object " + name + "" = name.toLowerCase(); ++ } ); + + function isArrayLike( obj ) { + +@@ -518,14 +522,14 @@ function isArrayLike( obj ) { + } + var Sizzle = + /*! +- * Sizzle CSS Selector Engine v2.3.5 ++ * Sizzle CSS Selector Engine v2.3.6 + * https://sizzlejs.com/ + * + * Copyright JS Foundation and other contributors + * Released under the MIT license + * https://js.foundation/ + * +- * Date: 2020-03-14 ++ * Date: 2021-02-16 + */ + ( function( window ) { + var i, +@@ -1108,8 +1112,8 @@ support = Sizzle.support = {}; + * @returns {Boolean} True iff elem is a non-HTML XML node + */ + isXML = Sizzle.isXML = function( elem ) { +- var namespace = elem.namespaceURI, +- docElem = ( elem.ownerDocument || elem ).documentElement; ++ var namespace = elem && elem.namespaceURI, ++ docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes +@@ -3024,9 +3028,9 @@ var rneedsContext = jQuery.expr.match.needsContext; + + function nodeName( elem, name ) { + +- return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); ++ return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +-}; ++} + var rsingleTag = ( /^<(a-z^\/\0>:\x20\t\r\n\f*)\x20\t\r\n\f*\/?>(?:<\/\1>|)$/i ); + + +@@ -3997,8 +4001,8 @@ jQuery.extend( { + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + +- // the master Deferred +- master = jQuery.Deferred(), ++ // the primary Deferred ++ primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { +@@ -4006,30 +4010,30 @@ jQuery.extend( { + resolveContexts i = this; + resolveValues i = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { +- master.resolveWith( resolveContexts, resolveValues ); ++ primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { +- adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject, ++ adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) +- if ( master.state() === "pending" || ++ if ( primary.state() === "pending" || + isFunction( resolveValues i && resolveValues i .then ) ) { + +- return master.then(); ++ return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { +- adoptValue( resolveValues i , updateFunc( i ), master.reject ); ++ adoptValue( resolveValues i , updateFunc( i ), primary.reject ); + } + +- return master.promise(); ++ return primary.promise(); + } + } ); + +@@ -4180,8 +4184,8 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + for ( ; i < len; i++ ) { + fn( + elems i , key, raw ? +- value : +- value.call( elems i , i, fn( elems i , key ) ) ++ value : ++ value.call( elems i , i, fn( elems i , key ) ) + ); + } + } +@@ -5089,10 +5093,7 @@ function buildFragment( elems, context, scripts, selection, ignored ) { + } + + +-var +- rkeyEvent = /^key/, +- rmouseEvent = /^(?:mouse|pointer|contextmenu|drag|drop)|click/, +- rtypenamespace = /^(^.*)(?:\.(.+)|)/;
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2