diff -Nru jqueryui-1.13.0+dfsg/AUTHORS.txt jqueryui-1.13.1+dfsg/AUTHORS.txt --- jqueryui-1.13.0+dfsg/AUTHORS.txt 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/AUTHORS.txt 2022-01-20 12:59:41.000000000 +0000 @@ -363,3 +363,5 @@ Mikolaj Wolicki Patrick McKay c-lambert <58025159+c-lambert@users.noreply.github.com> +Josep Sanz +Ben Mullins diff -Nru jqueryui-1.13.0+dfsg/bower.json jqueryui-1.13.1+dfsg/bower.json --- jqueryui-1.13.0+dfsg/bower.json 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/bower.json 2022-01-20 12:59:41.000000000 +0000 @@ -68,5 +68,5 @@ "jquery-migrate-1.4.1": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-1.4.1.tgz", "jquery-migrate-3.3.2": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-3.3.2.tgz" }, - "version": "1.13.0" + "version": "1.13.1" } diff -Nru jqueryui-1.13.0+dfsg/build/release.js jqueryui-1.13.1+dfsg/build/release.js --- jqueryui-1.13.0+dfsg/build/release.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/build/release.js 2022-01-20 12:59:41.000000000 +0000 @@ -104,8 +104,7 @@ Release.define( { npmPublish: true, - issueTracker: "trac", - contributorReportId: 22, + issueTracker: "github", changelogShell: function() { var monthNames = [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ], diff -Nru jqueryui-1.13.0+dfsg/CONTRIBUTING.md jqueryui-1.13.1+dfsg/CONTRIBUTING.md --- jqueryui-1.13.0+dfsg/CONTRIBUTING.md 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/CONTRIBUTING.md 2022-01-20 12:59:41.000000000 +0000 @@ -12,10 +12,6 @@ This is the best way to contribute to jQuery UI. Please read through the full guide detailing [How to Report Bugs](http://contribute.jquery.org/bug-reports/). -### Weekly Meetings - -Every week (unless otherwise noted) the jQuery UI team has a meeting to discuss the progress of current work and to bring forward possible new blockers for discussion. The meeting is held on [IRC](http://irc.jquery.org) in the #jquery-meeting channel at [Noon EST](http://www.timeanddate.com/worldclock/fixedtime.html?month=1&day=17&year=2011&hour=12&min=0&sec=0&p1=43) on Wednesdays. Meeting notes are posted on http://meetings.jquery.org/category/ui/ after each meeting. - ## Tips for Getting Started ### Environment: Minimum Required diff -Nru jqueryui-1.13.0+dfsg/debian/build_modules/grunt-contrib-requirejs/package.json jqueryui-1.13.1+dfsg/debian/build_modules/grunt-contrib-requirejs/package.json --- jqueryui-1.13.0+dfsg/debian/build_modules/grunt-contrib-requirejs/package.json 2021-11-08 10:21:20.000000000 +0000 +++ jqueryui-1.13.1+dfsg/debian/build_modules/grunt-contrib-requirejs/package.json 1970-01-01 00:00:00.000000000 +0000 @@ -1,35 +0,0 @@ -{ - "name": "grunt-contrib-requirejs", - "description": "Optimize RequireJS projects using r.js", - "version": "1.0.0", - "author": { - "name": "Grunt Team", - "url": "http://gruntjs.com/" - }, - "repository": "gruntjs/grunt-contrib-requirejs", - "license": "MIT", - "engines": { - "node": ">=0.10.0" - }, - "main": "tasks/requirejs.js", - "scripts": { - "test": "grunt test" - }, - "dependencies": { - "requirejs": "^2.1.0" - }, - "devDependencies": { - "grunt": "^0.4.5", - "grunt-cli": "^0.1.13", - "grunt-contrib-clean": "^0.6.0", - "grunt-contrib-internal": "^0.4.7", - "grunt-contrib-jshint": "^0.11.0", - "grunt-contrib-nodeunit": "^0.4.0" - }, - "keywords": [ - "gruntplugin" - ], - "files": [ - "tasks" - ] -} diff -Nru jqueryui-1.13.0+dfsg/debian/build_modules/grunt-contrib-requirejs/tasks/requirejs.js jqueryui-1.13.1+dfsg/debian/build_modules/grunt-contrib-requirejs/tasks/requirejs.js --- jqueryui-1.13.0+dfsg/debian/build_modules/grunt-contrib-requirejs/tasks/requirejs.js 2021-11-08 10:21:20.000000000 +0000 +++ jqueryui-1.13.1+dfsg/debian/build_modules/grunt-contrib-requirejs/tasks/requirejs.js 1970-01-01 00:00:00.000000000 +0000 @@ -1,64 +0,0 @@ -/* - * grunt-contrib-requirejs - * http://gruntjs.com/ - * - * Copyright (c) 2016 Tyler Kellen, contributors - * Licensed under the MIT license. - */ - -module.exports = function(grunt) { - 'use strict'; - - var requirejs = require('requirejs'); - var LOG_LEVEL_TRACE = 0, LOG_LEVEL_WARN = 2; - - // TODO: extend this to send build log to grunt.log.ok / grunt.log.error - // by overriding the r.js logger (or submit issue to r.js to expand logging support) - requirejs.define('node/print', [], function() { - return function print(msg) { - if (msg.substring(0, 5) === 'Error') { - grunt.log.errorlns(msg); - grunt.fail.warn('RequireJS failed.'); - } else { - grunt.log.oklns(msg); - } - }; - }); - - grunt.registerMultiTask('requirejs', 'Build a RequireJS project.', function() { - - var done = this.async(); - var options = this.options({ - logLevel: grunt.option('verbose') ? LOG_LEVEL_TRACE : LOG_LEVEL_WARN, - error: false, - done: function(done){ - done(); - } - }); - // The following catches errors in the user-defined `done` function and outputs them. - var tryCatchDone = function(fn, done, output) { - try { - fn(done, output); - } catch(e) { - grunt.fail.warn('There was an error while processing your done function: "' + e + '"'); - } - }; - - // The following catches errors in the user-defined `error` function and passes them. - // if the error function options is not set, this value should be undefined - var tryCatchError = function(fn, done, err) { - try { - fn(done, err); - } catch(e) { - grunt.fail.fatal('There was an error while processing your error function: "' + e + '"'); - } - }; - - requirejs.optimize( - options, - tryCatchDone.bind(null, options.done, done ), - options.error ? tryCatchError.bind(null, options.error, done ):undefined - ); - - }); -}; diff -Nru jqueryui-1.13.0+dfsg/debian/changelog jqueryui-1.13.1+dfsg/debian/changelog --- jqueryui-1.13.0+dfsg/debian/changelog 2021-11-08 11:23:18.000000000 +0000 +++ jqueryui-1.13.1+dfsg/debian/changelog 2022-02-18 11:31:10.000000000 +0000 @@ -1,3 +1,18 @@ +jqueryui (1.13.1+dfsg-1) unstable; urgency=medium + + * Team upload + + [ lintian-brush ] + * Remove 1 obsolete maintscript entry. + + [ Yadd ] + * New upstream version 1.13.1+dfsg + * Unfuzz patches + * Replace embedded build module by build dependency + * Add lintian overrides + + -- Yadd Fri, 18 Feb 2022 12:31:10 +0100 + jqueryui (1.13.0+dfsg-1) unstable; urgency=medium * Team upload diff -Nru jqueryui-1.13.0+dfsg/debian/control jqueryui-1.13.1+dfsg/debian/control --- jqueryui-1.13.0+dfsg/debian/control 2021-11-08 11:19:49.000000000 +0000 +++ jqueryui-1.13.1+dfsg/debian/control 2022-02-18 11:22:41.000000000 +0000 @@ -11,7 +11,7 @@ , node-jquery , node-load-grunt-tasks , node-requirejs - , nodejs + , node-grunt-contrib-requirejs , uglifyjs , yui-compressor Standards-Version: 4.6.0 diff -Nru jqueryui-1.13.0+dfsg/debian/copyright jqueryui-1.13.1+dfsg/debian/copyright --- jqueryui-1.13.0+dfsg/debian/copyright 2021-11-08 11:19:15.000000000 +0000 +++ jqueryui-1.13.1+dfsg/debian/copyright 2022-02-18 11:27:58.000000000 +0000 @@ -204,13 +204,9 @@ Files: debian/* Copyright: (c) 2009, Walter Cruz 2016 Paul Gevers - 2021 Yadd + 2021-2022 Yadd License: GPL-2 or Expat -Files: debian/build_modules/grunt-contrib-requirejs/* -Copyright: 2016 Tyler Kellen, contributors -License: Expat - License: GPL-2 On Debian systems the full text of the GNU General Public License can be found in the `/usr/share/common-licenses/GPL-2' file. diff -Nru jqueryui-1.13.0+dfsg/debian/libjs-jquery-ui.maintscript jqueryui-1.13.1+dfsg/debian/libjs-jquery-ui.maintscript --- jqueryui-1.13.0+dfsg/debian/libjs-jquery-ui.maintscript 2020-09-27 20:09:09.000000000 +0000 +++ jqueryui-1.13.1+dfsg/debian/libjs-jquery-ui.maintscript 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -dir_to_symlink /usr/share/javascript/jquery-ui/css/smoothness ../themes/base 1.12.1+dfsg-4~ diff -Nru jqueryui-1.13.0+dfsg/debian/patches/fix-build.patch jqueryui-1.13.1+dfsg/debian/patches/fix-build.patch --- jqueryui-1.13.0+dfsg/debian/patches/fix-build.patch 2021-11-08 10:40:15.000000000 +0000 +++ jqueryui-1.13.1+dfsg/debian/patches/fix-build.patch 2022-02-18 11:18:29.000000000 +0000 @@ -276,9 +276,9 @@ authors: { prior: [ -@@ -491,10 +238,10 @@ - } ); +@@ -492,10 +239,10 @@ + // Keep this task list in sync with the testing steps in our GitHub action test workflow file! grunt.registerTask( "default", [ "lint", "requirejs", "test" ] ); -grunt.registerTask( "jenkins", [ "default", "concat" ] ); -grunt.registerTask( "lint", [ "asciilint", "eslint", "csslint", "htmllint" ] ); diff -Nru jqueryui-1.13.0+dfsg/debian/source/lintian-overrides jqueryui-1.13.1+dfsg/debian/source/lintian-overrides --- jqueryui-1.13.0+dfsg/debian/source/lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ jqueryui-1.13.1+dfsg/debian/source/lintian-overrides 2022-02-18 11:27:38.000000000 +0000 @@ -0,0 +1,10 @@ +# Comparison files +very-long-line-length-in-source-file debian/intro.css line * +very-long-line-length-in-source-file debian/intro.js line * +very-long-line-length-in-source-file debian/reference-jquery-ui.css line * +very-long-line-length-in-source-file debian/reference-jquery-ui.js line * + +# Data +very-long-line-length-in-source-file demos/* line * +very-long-line-length-in-source-file *.html line * +very-long-line-length-in-source-file themes/base/progressbar.css line * diff -Nru jqueryui-1.13.0+dfsg/.github/workflows/test.yml jqueryui-1.13.1+dfsg/.github/workflows/test.yml --- jqueryui-1.13.0+dfsg/.github/workflows/test.yml 1970-01-01 00:00:00.000000000 +0000 +++ jqueryui-1.13.1+dfsg/.github/workflows/test.yml 2022-01-20 12:59:41.000000000 +0000 @@ -0,0 +1,59 @@ +name: Grunt tests + +on: [push, pull_request] + +jobs: + grunt: + name: Grunt based tests with Node.js ${{ matrix.node-version }} + + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [12.x, 14.x] + + steps: + - uses: actions/checkout@v2 + + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + + - name: Get npm cache directory + id: npm-cache-dir + run: | + echo "::set-output name=dir::$(npm config get cache)" + + - name: Cache npm dependencies + uses: actions/cache@v2 + with: + path: ${{ steps.npm-cache-dir.outputs.dir }} + key: ${{ runner.os }}-node-${{ matrix.node-version }}-npm-${{ hashFiles('**/package.json') }} + restore-keys: | + ${{ runner.os }}-node-${{ matrix.node-version }}-npm- + ${{ runner.os }}-node-${{ matrix.node-version }}- + ${{ runner.os }}-node- + ${{ runner.os }}- + + - name: Install npm dependencies + run: npm install + + # Keep these steps in sync with the default command tasks in our Gruntfile! + - name: Run lint + run: node_modules/.bin/grunt lint + + - name: Run RequireJS + run: node_modules/.bin/grunt requirejs + + - name: Run Qunit + run: node_modules/.bin/grunt test + + valid: + name: Build & tests + + needs: grunt + + runs-on: ubuntu-latest + + steps: + - name: Grunt based tests passed + run: echo "✅" diff -Nru jqueryui-1.13.0+dfsg/Gruntfile.js jqueryui-1.13.1+dfsg/Gruntfile.js --- jqueryui-1.13.0+dfsg/Gruntfile.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/Gruntfile.js 2022-01-20 12:59:41.000000000 +0000 @@ -490,6 +490,7 @@ } ); } ); +// Keep this task list in sync with the testing steps in our GitHub action test workflow file! grunt.registerTask( "default", [ "lint", "requirejs", "test" ] ); grunt.registerTask( "jenkins", [ "default", "concat" ] ); grunt.registerTask( "lint", [ "asciilint", "eslint", "csslint", "htmllint" ] ); diff -Nru jqueryui-1.13.0+dfsg/.mailmap jqueryui-1.13.1+dfsg/.mailmap --- jqueryui-1.13.0+dfsg/.mailmap 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/.mailmap 2022-01-20 12:59:41.000000000 +0000 @@ -34,6 +34,7 @@ Ethan Romba EungJun Yi Eyal Kobrigo +Felix Nagel Filippo Cavallarin Florian Gutmann Genie <386@mail.com> diff -Nru jqueryui-1.13.0+dfsg/.npmignore jqueryui-1.13.1+dfsg/.npmignore --- jqueryui-1.13.0+dfsg/.npmignore 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/.npmignore 2022-01-20 12:59:41.000000000 +0000 @@ -5,7 +5,6 @@ .eslintrc.json .eslintignore .mailmap -.travis.yml Gruntfile.js .csslintrc .gitattributes diff -Nru jqueryui-1.13.0+dfsg/package.json jqueryui-1.13.1+dfsg/package.json --- jqueryui-1.13.0+dfsg/package.json 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/package.json 2022-01-20 12:59:41.000000000 +0000 @@ -2,11 +2,11 @@ "name": "jquery-ui", "title": "jQuery UI", "description": "A curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library.", - "version": "1.13.0", + "version": "1.13.1", "homepage": "http://jqueryui.com", "author": { "name": "jQuery Foundation and other contributors", - "url": "https://github.com/jquery/jquery-ui/blob/1.13.0/AUTHORS.txt" + "url": "https://github.com/jquery/jquery-ui/blob/1.13.1/AUTHORS.txt" }, "main": "ui/widget.js", "maintainers": [ @@ -40,7 +40,9 @@ "type": "git", "url": "git://github.com/jquery/jquery-ui.git" }, - "bugs": "https://bugs.jqueryui.com/", + "bugs": { + "url": "https://github.com/jquery/jquery-ui/issues" + }, "license": "MIT", "scripts": { "test": "grunt" @@ -51,14 +53,14 @@ "devDependencies": { "commitplease": "3.2.0", "eslint-config-jquery": "3.0.0", - "glob": "7.1.7", + "glob": "7.2.0", "grunt": "1.4.1", "grunt-bowercopy": "1.2.5", "grunt-cli": "1.4.3", "grunt-compare-size": "0.4.2", "grunt-contrib-concat": "1.0.1", "grunt-contrib-csslint": "2.0.0", - "grunt-contrib-qunit": "5.0.1", + "grunt-contrib-qunit": "5.1.1", "grunt-contrib-requirejs": "1.0.0", "grunt-contrib-uglify": "5.0.1", "grunt-eslint": "23.0.0", diff -Nru jqueryui-1.13.0+dfsg/README.md jqueryui-1.13.1+dfsg/README.md --- jqueryui-1.13.0+dfsg/README.md 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/README.md 2022-01-20 12:59:41.000000000 +0000 @@ -4,7 +4,7 @@ If you want to use jQuery UI, go to [jqueryui.com](http://jqueryui.com) to get started, [jqueryui.com/demos/](http://jqueryui.com/demos/) for demos, [api.jqueryui.com](http://api.jqueryui.com/) for API documentation, or the [Using jQuery UI Forum](http://forum.jquery.com/using-jquery-ui) for discussions and questions. -If you want to report a bug/issue, please visit [bugs.jqueryui.com](http://bugs.jqueryui.com). +If you want to report a bug/issue, please visit [the GitHub issues page](https://github.com/jquery/jquery-ui/issues). Archive of older bug reports is kept for historical reasons in read-only mode at [bugs.jqueryui.com](http://bugs.jqueryui.com). If any of them still matters to you, please open a bug about it on GitHub, linking to the legacy [bugs.jqueryui.com](http://bugs.jqueryui.com) issue for context. If you are interested in helping develop jQuery UI, you are in the right place. To discuss development with team members and the community, visit the [Developing jQuery UI Forum](http://forum.jquery.com/developing-jquery-ui) or [#jqueryui-dev on irc.freenode.net](http://irc.jquery.org/). diff -Nru jqueryui-1.13.0+dfsg/tests/unit/autocomplete/core.js jqueryui-1.13.1+dfsg/tests/unit/autocomplete/core.js --- jqueryui-1.13.0+dfsg/tests/unit/autocomplete/core.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/tests/unit/autocomplete/core.js 2022-01-20 12:59:41.000000000 +0000 @@ -293,6 +293,7 @@ } ); QUnit.test( "ARIA", function( assert ) { + var ready = assert.async(); assert.expect( 13 ); var element = $( "#autocomplete" ).autocomplete( { source: [ "java", "javascript" ] @@ -308,43 +309,51 @@ "Live region's role attribute must be status" ); element.autocomplete( "search", "j" ); - assert.equal( liveRegion.children().first().text(), - "2 results are available, use up and down arrow keys to navigate.", - "Live region for multiple values" ); - - element.simulate( "keydown", { keyCode: $.ui.keyCode.DOWN } ); - assert.equal( liveRegion.children().filter( ":visible" ).text(), "java", - "Live region changed on keydown to announce the highlighted value" ); + setTimeout( function() { + assert.equal( liveRegion.children().first().text(), + "2 results are available, use up and down arrow keys to navigate.", + "Live region for multiple values" ); - element.one( "autocompletefocus", function( event ) { - event.preventDefault(); - } ); - element.simulate( "keydown", { keyCode: $.ui.keyCode.DOWN } ); - assert.equal( liveRegion.children().filter( ":visible" ).text(), "javascript", - "Live region updated when default focus is prevented" ); + element.simulate( "keydown", { keyCode: $.ui.keyCode.DOWN } ); + setTimeout( function() { + assert.equal( liveRegion.children().filter( ":visible" ).text(), "java", + "Live region changed on keydown to announce the highlighted value" ); - element.autocomplete( "search", "javas" ); - assert.equal( liveRegion.children().filter( ":visible" ).text(), - "1 result is available, use up and down arrow keys to navigate.", - "Live region for one value" ); - - element.autocomplete( "search", "z" ); - assert.equal( liveRegion.children().filter( ":visible" ).text(), "No search results.", - "Live region for no values" ); - - assert.equal( liveRegion.children().length, 5, - "Should be five children in the live region after the above" ); - assert.equal( liveRegion.children().filter( ":visible" ).length, 1, - "Only one should be still visible" ); - assert.ok( liveRegion.children().filter( ":visible" )[ 0 ] === liveRegion.children().last()[ 0 ], - "The last one should be the visible one" ); - - element.autocomplete( "destroy" ); - assert.equal( liveRegion.parent().length, 0, - "The liveRegion should be detached after destroy" ); + element.one( "autocompletefocus", function( event ) { + event.preventDefault(); + } ); + element.simulate( "keydown", { keyCode: $.ui.keyCode.DOWN } ); + setTimeout( function() { + assert.equal( liveRegion.children().filter( ":visible" ).text(), "javascript", + "Live region updated when default focus is prevented" ); + element.autocomplete( "search", "javas" ); + setTimeout( function() { + assert.equal( liveRegion.children().filter( ":visible" ).text(), + "1 result is available, use up and down arrow keys to navigate.", + "Live region for one value" ); + element.autocomplete( "search", "z" ); + setTimeout( function() { + assert.equal( liveRegion.children().filter( ":visible" ).text(), "No search results.", + "Live region for no values" ); + assert.equal( liveRegion.children().length, 1, + "Should be one child in the live region after the above" ); + assert.equal( liveRegion.children().filter( ":visible" ).length, 1, + "Only one should be still visible" ); + assert.ok( liveRegion.children().filter( ":visible" )[ 0 ] === liveRegion.children().last()[ 0 ], + "The last one should be the visible one" ); + element.autocomplete( "destroy" ); + assert.equal( liveRegion.parent().length, 0, + "The liveRegion should be detached after destroy" ); + ready(); + }, 110 ); + }, 110 ); + }, 110 ); + }, 110 ); + }, 110 ); } ); QUnit.test( "ARIA, aria-label announcement", function( assert ) { + var ready = assert.async(); assert.expect( 1 ); $.widget( "custom.catcomplete", $.ui.autocomplete, { _renderMenu: function( ul, items ) { @@ -361,8 +370,11 @@ liveRegion = element.catcomplete( "instance" ).liveRegion; element.catcomplete( "search", "a" ); element.simulate( "keydown", { keyCode: $.ui.keyCode.DOWN } ); - assert.equal( liveRegion.children().filter( ":visible" ).text(), "People : anders andersson", - "Live region changed on keydown to announce the highlighted value's aria-label attribute" ); + setTimeout( function() { + assert.equal( liveRegion.children().filter( ":visible" ).text(), "People : anders andersson", + "Live region changed on keydown to announce the highlighted value's aria-label attribute" ); + ready(); + }, 110 ); } ); QUnit.test( "ARIA, init on detached input", function( assert ) { @@ -431,4 +443,27 @@ } ); } ); +QUnit.test( "extra listeners created during typing (trac-15082, trac-15095)", function( assert ) { + assert.expect( 2 ); + + var origRemoveListenersCount; + var element = $( "#autocomplete" ).autocomplete( { + source: [ "java", "javascript" ], + delay: 0 + } ); + + element.val( "j" ).autocomplete( "search", "j" ); + origRemoveListenersCount = jQuery._data( element[ 0 ], "events" ).remove.length; + + element.val( "ja" ).autocomplete( "search", "ja" ); + assert.equal( jQuery._data( element[ 0 ], "events" ).remove.length, + origRemoveListenersCount, + "No extra listeners after typing multiple letters" ); + + element.val( "jav" ).autocomplete( "search", "jav" ); + assert.equal( jQuery._data( element[ 0 ], "events" ).remove.length, + origRemoveListenersCount, + "No extra listeners after typing multiple letters" ); +} ); + } ); diff -Nru jqueryui-1.13.0+dfsg/tests/unit/selectmenu/core.js jqueryui-1.13.1+dfsg/tests/unit/selectmenu/core.js --- jqueryui-1.13.0+dfsg/tests/unit/selectmenu/core.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/tests/unit/selectmenu/core.js 2022-01-20 12:59:41.000000000 +0000 @@ -404,4 +404,34 @@ } ); } ); +QUnit.test( "extra listeners created after selection (trac-15078, trac-15152)", function( assert ) { + assert.expect( 3 ); + + var origRemoveListenersCount; + var element = $( "#speed" ).selectmenu(); + var menu = element.selectmenu( "widget" ); + + element.val( "Slow" ); + element.selectmenu( "refresh" ); + origRemoveListenersCount = jQuery._data( menu[ 0 ], "events" ).remove.length; + + element.val( "Fast" ); + element.selectmenu( "refresh" ); + assert.equal( jQuery._data( menu[ 0 ], "events" ).remove.length, + origRemoveListenersCount, + "No extra listeners after typing multiple letters" ); + + element.val( "Faster" ); + element.selectmenu( "refresh" ); + assert.equal( jQuery._data( menu[ 0 ], "events" ).remove.length, + origRemoveListenersCount, + "No extra listeners after typing multiple letters" ); + + element.val( "Slow" ); + element.selectmenu( "refresh" ); + assert.equal( jQuery._data( menu[ 0 ], "events" ).remove.length, + origRemoveListenersCount, + "No extra listeners after typing multiple letters" ); +} ); + } ); diff -Nru jqueryui-1.13.0+dfsg/tests/unit/sortable/core.js jqueryui-1.13.1+dfsg/tests/unit/sortable/core.js --- jqueryui-1.13.0+dfsg/tests/unit/sortable/core.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/tests/unit/sortable/core.js 2022-01-20 12:59:41.000000000 +0000 @@ -42,4 +42,57 @@ assert.equal( el.find( ".ui-sortable-handle" ).length, 0, "class name removed on destroy" ); } ); +// gh-1998 +QUnit.test( "drag & drop works with a zero-height container", function( assert ) { + var ready = assert.async(); + assert.expect( 3 ); + + var el = $( "
    \n" + + " \n" + + "
  • Item 1
  • \n" + + "
  • Item 2
  • \n" + + "
  • Item 3
  • \n" + + "
" ) + .sortable() + .appendTo( "#qunit-fixture" ); + + function step1() { + el.find( "li" ).eq( 0 ).simulate( "drag", { + dx: 100, + dy: 3, + moves: 3 + } ); + setTimeout( step2 ); + } + + function step2() { + el.find( "li" ).eq( 2 ).simulate( "drag", { + dx: -200, + dy: -3, + moves: 3 + } ); + setTimeout( step3 ); + } + + function step3() { + assert.equal( el.find( "li" ).eq( 0 ).text(), "Item 3" ); + assert.equal( el.find( "li" ).eq( 1 ).text(), "Item 2" ); + assert.equal( el.find( "li" ).eq( 2 ).text(), "Item 1" ); + ready(); + } + + step1(); +} ); + } ); diff -Nru jqueryui-1.13.0+dfsg/tests/unit/sortable/options.js jqueryui-1.13.1+dfsg/tests/unit/sortable/options.js --- jqueryui-1.13.0+dfsg/tests/unit/sortable/options.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/tests/unit/sortable/options.js 2022-01-20 12:59:41.000000000 +0000 @@ -488,6 +488,63 @@ } ); } ); +// gh-2001 +// Sortable: Draggable items moved into a sortable had incorrect position +QUnit.test( "{ connectToSortable: Selector } positioning (gh-2001)", function( assert ) { + assert.expect( 1 ); + + // Code from jQuery Simulate with minor modifications. + function findCenter( elem ) { + var offset, + document = $( elem[ 0 ].ownerDocument ); + offset = elem.offset(); + + return { + x: Math.floor( offset.left + elem.outerWidth() / 2 - document.scrollLeft() ), + y: Math.floor( offset.top + elem.outerHeight() / 2 - document.scrollTop( ) ) + }; + } + + var sortableElem = $( "#sortable" ); + + sortableElem.css( "position", "relative" ); + + var item = $( "
" ) + .text( "6" ) + .insertBefore( "#sortable" ); + + // Padding + $( "
" ) + .css( { + width: "100px", + height: "100px" + } ) + .insertBefore( "#sortable" ); + + item.draggable( { + connectToSortable: "#sortable" + } ); + sortableElem.sortable(); + + // Simulate a drag without a drop. + var center = findCenter( item ); + item.simulate( "mousedown", { + clientX: center.x, + clientY: center.y + } ); + item.simulate( "mousemove", { + clientX: center.x, + clientY: center.y + 60 + } ); + item.simulate( "mousemove", { + clientX: center.x, + clientY: center.y + 120 + } ); + + assert.ok( item.offset().top > sortableElem.children().eq( 0 ).offset().top, + "Draggable offset correct after moving into a sortable" ); +} ); + /* Test("{ revert: false }, default", function() { ok(false, "missing test - untested code is broken code."); diff -Nru jqueryui-1.13.0+dfsg/tests/unit/tabs/core.js jqueryui-1.13.1+dfsg/tests/unit/tabs/core.js --- jqueryui-1.13.0+dfsg/tests/unit/tabs/core.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/tests/unit/tabs/core.js 2022-01-20 12:59:41.000000000 +0000 @@ -675,4 +675,56 @@ state( assert, element, 1 ); } ); + +QUnit.test( "extra listeners created when tabs are added/removed (trac-15136)", function( assert ) { + assert.expect( 3 ); + + var origRemoveListenersCount; + var element = $( "#tabs1" ).tabs(); + var tabCounter = 10; + + function addTab() { + var label = "Tab " + tabCounter; + var id = "tabs-" + tabCounter; + var li = $( + "
  • " + + " " + label + " " + + " Remove Tab" + + "
  • " + ); + var tabContentHtml = "Tab " + tabCounter + " content."; + + element.find( ".ui-tabs-nav" ).append( li ); + element.append( "

    " + tabContentHtml + "

    " ); + element.tabs( "refresh" ); + tabCounter++; + } + + function removeLastTab() { + element.find( ".ui-icon-close" ).last().trigger( "click" ); + } + + origRemoveListenersCount = jQuery._data( element[ 0 ], "events" ).remove.length; + + addTab(); + assert.equal( jQuery._data( element[ 0 ], "events" ).remove.length, + origRemoveListenersCount, + "No extra listeners after adding a new tab" ); + + addTab(); + addTab(); + addTab(); + assert.equal( jQuery._data( element[ 0 ], "events" ).remove.length, + origRemoveListenersCount, + "No extra listeners after adding multiple tabs" ); + + removeLastTab(); + removeLastTab(); + removeLastTab(); + removeLastTab(); + assert.equal( jQuery._data( element[ 0 ], "events" ).remove.length, + origRemoveListenersCount, + "No extra listeners after removing all the extra tabs" ); +} ); + } ); diff -Nru jqueryui-1.13.0+dfsg/tests/unit/tooltip/core.js jqueryui-1.13.1+dfsg/tests/unit/tooltip/core.js --- jqueryui-1.13.0+dfsg/tests/unit/tooltip/core.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/tests/unit/tooltip/core.js 2022-01-20 12:59:41.000000000 +0000 @@ -254,4 +254,74 @@ .tooltip( "open" ); } ); +// gh-1990 +QUnit.test( "don't crash on empty tooltip content", function( assert ) { + var ready = assert.async(); + assert.expect( 1 ); + + var anchor = $( "#tooltipped1" ), + input = anchor.next(), + actions = []; + + $( document ).tooltip( { + show: false, + hide: false, + content: function() { + var title = $( this ).attr( "title" ); + if ( title === "inputtitle" ) { + return ""; + } + return title; + }, + open: function( event, ui ) { + actions.push( "open:" + ui.tooltip.text() ); + }, + close: function( event, ui ) { + actions.push( "close:" + ui.tooltip.text() ); + } + } ); + + function step1() { + anchor.simulate( "mouseover" ); + setTimeout( step2 ); + } + + function step2() { + anchor.simulate( "mouseout" ); + setTimeout( step3 ); + } + + function step3() { + input.simulate( "focus" ); + setTimeout( step4 ); + } + + function step4() { + input.simulate( "blur" ); + setTimeout( step5 ); + } + + function step5() { + anchor.simulate( "mouseover" ); + setTimeout( step6 ); + } + + function step6() { + anchor.simulate( "mouseout" ); + setTimeout( step7 ); + } + + function step7() { + assert.deepEqual( actions, [ + "open:anchortitle", + "close:anchortitle", + "open:anchortitle", + "close:anchortitle" + ], "Tooltip opens and closes without crashing" ); + ready(); + } + + step1(); +} ); + } ); diff -Nru jqueryui-1.13.0+dfsg/tests/unit/widget/core.js jqueryui-1.13.1+dfsg/tests/unit/widget/core.js --- jqueryui-1.13.0+dfsg/tests/unit/widget/core.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/tests/unit/widget/core.js 2022-01-20 12:59:41.000000000 +0000 @@ -92,6 +92,18 @@ $.ui.testWidget(); } ); +QUnit.test( "contextless construction", function( assert ) { + assert.expect( 1 ); + var testWidget, + elem = $( "
    " ); + + $.widget( "ui.testWidget", {} ); + testWidget = $.ui.testWidget; + + testWidget( {}, elem ); + assert.ok( true, "No crash" ); +} ); + QUnit.test( "custom selector expression", function( assert ) { assert.expect( 1 ); var elem = $( "
    " ).appendTo( "#qunit-fixture" ); diff -Nru jqueryui-1.13.0+dfsg/themes/base/accordion.css jqueryui-1.13.1+dfsg/themes/base/accordion.css --- jqueryui-1.13.0+dfsg/themes/base/accordion.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/accordion.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Accordion 1.13.0 + * jQuery UI Accordion 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/all.css jqueryui-1.13.1+dfsg/themes/base/all.css --- jqueryui-1.13.0+dfsg/themes/base/all.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/all.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI CSS Framework 1.13.0 + * jQuery UI CSS Framework 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/autocomplete.css jqueryui-1.13.1+dfsg/themes/base/autocomplete.css --- jqueryui-1.13.0+dfsg/themes/base/autocomplete.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/autocomplete.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Autocomplete 1.13.0 + * jQuery UI Autocomplete 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/base.css jqueryui-1.13.1+dfsg/themes/base/base.css --- jqueryui-1.13.0+dfsg/themes/base/base.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/base.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI CSS Framework 1.13.0 + * jQuery UI CSS Framework 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/button.css jqueryui-1.13.1+dfsg/themes/base/button.css --- jqueryui-1.13.0+dfsg/themes/base/button.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/button.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Button 1.13.0 + * jQuery UI Button 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/checkboxradio.css jqueryui-1.13.1+dfsg/themes/base/checkboxradio.css --- jqueryui-1.13.0+dfsg/themes/base/checkboxradio.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/checkboxradio.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Checkboxradio 1.13.0 + * jQuery UI Checkboxradio 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/controlgroup.css jqueryui-1.13.1+dfsg/themes/base/controlgroup.css --- jqueryui-1.13.0+dfsg/themes/base/controlgroup.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/controlgroup.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Controlgroup 1.13.0 + * jQuery UI Controlgroup 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/core.css jqueryui-1.13.1+dfsg/themes/base/core.css --- jqueryui-1.13.0+dfsg/themes/base/core.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/core.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI CSS Framework 1.13.0 + * jQuery UI CSS Framework 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/datepicker.css jqueryui-1.13.1+dfsg/themes/base/datepicker.css --- jqueryui-1.13.0+dfsg/themes/base/datepicker.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/datepicker.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Datepicker 1.13.0 + * jQuery UI Datepicker 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/dialog.css jqueryui-1.13.1+dfsg/themes/base/dialog.css --- jqueryui-1.13.0+dfsg/themes/base/dialog.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/dialog.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Dialog 1.13.0 + * jQuery UI Dialog 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/draggable.css jqueryui-1.13.1+dfsg/themes/base/draggable.css --- jqueryui-1.13.0+dfsg/themes/base/draggable.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/draggable.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Draggable 1.13.0 + * jQuery UI Draggable 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/menu.css jqueryui-1.13.1+dfsg/themes/base/menu.css --- jqueryui-1.13.0+dfsg/themes/base/menu.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/menu.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Menu 1.13.0 + * jQuery UI Menu 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/progressbar.css jqueryui-1.13.1+dfsg/themes/base/progressbar.css --- jqueryui-1.13.0+dfsg/themes/base/progressbar.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/progressbar.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Progressbar 1.13.0 + * jQuery UI Progressbar 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/resizable.css jqueryui-1.13.1+dfsg/themes/base/resizable.css --- jqueryui-1.13.0+dfsg/themes/base/resizable.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/resizable.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Resizable 1.13.0 + * jQuery UI Resizable 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/selectable.css jqueryui-1.13.1+dfsg/themes/base/selectable.css --- jqueryui-1.13.0+dfsg/themes/base/selectable.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/selectable.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Selectable 1.13.0 + * jQuery UI Selectable 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/selectmenu.css jqueryui-1.13.1+dfsg/themes/base/selectmenu.css --- jqueryui-1.13.0+dfsg/themes/base/selectmenu.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/selectmenu.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Selectmenu 1.13.0 + * jQuery UI Selectmenu 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/slider.css jqueryui-1.13.1+dfsg/themes/base/slider.css --- jqueryui-1.13.0+dfsg/themes/base/slider.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/slider.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Slider 1.13.0 + * jQuery UI Slider 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/sortable.css jqueryui-1.13.1+dfsg/themes/base/sortable.css --- jqueryui-1.13.0+dfsg/themes/base/sortable.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/sortable.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Sortable 1.13.0 + * jQuery UI Sortable 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/spinner.css jqueryui-1.13.1+dfsg/themes/base/spinner.css --- jqueryui-1.13.0+dfsg/themes/base/spinner.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/spinner.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Spinner 1.13.0 + * jQuery UI Spinner 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/tabs.css jqueryui-1.13.1+dfsg/themes/base/tabs.css --- jqueryui-1.13.0+dfsg/themes/base/tabs.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/tabs.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Tabs 1.13.0 + * jQuery UI Tabs 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/theme.css jqueryui-1.13.1+dfsg/themes/base/theme.css --- jqueryui-1.13.0+dfsg/themes/base/theme.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/theme.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI CSS Framework 1.13.0 + * jQuery UI CSS Framework 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/themes/base/tooltip.css jqueryui-1.13.1+dfsg/themes/base/tooltip.css --- jqueryui-1.13.0+dfsg/themes/base/tooltip.css 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/themes/base/tooltip.css 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Tooltip 1.13.0 + * jQuery UI Tooltip 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/.travis.yml jqueryui-1.13.1+dfsg/.travis.yml --- jqueryui-1.13.0+dfsg/.travis.yml 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/.travis.yml 1970-01-01 00:00:00.000000000 +0000 @@ -1,13 +0,0 @@ -dist: bionic -language: java -jdk: - - openjdk8 -env: - - NODE_VERSION="10" - - NODE_VERSION="14" -install: - - nvm install "$NODE_VERSION" - - npm install -script: - - nvm use "$NODE_VERSION" - - npm test diff -Nru jqueryui-1.13.0+dfsg/ui/data.js jqueryui-1.13.1+dfsg/ui/data.js --- jqueryui-1.13.0+dfsg/ui/data.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/data.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI :data 1.13.0 + * jQuery UI :data 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/disable-selection.js jqueryui-1.13.1+dfsg/ui/disable-selection.js --- jqueryui-1.13.0+dfsg/ui/disable-selection.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/disable-selection.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Disable Selection 1.13.0 + * jQuery UI Disable Selection 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effect.js jqueryui-1.13.1+dfsg/ui/effect.js --- jqueryui-1.13.0+dfsg/ui/effect.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effect.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects 1.13.0 + * jQuery UI Effects 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -402,7 +402,7 @@ } $.extend( $.effects, { - version: "1.13.0", + version: "1.13.1", define: function( name, mode, effect ) { if ( !effect ) { diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-blind.js jqueryui-1.13.1+dfsg/ui/effects/effect-blind.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-blind.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-blind.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Blind 1.13.0 + * jQuery UI Effects Blind 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-bounce.js jqueryui-1.13.1+dfsg/ui/effects/effect-bounce.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-bounce.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-bounce.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Bounce 1.13.0 + * jQuery UI Effects Bounce 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-clip.js jqueryui-1.13.1+dfsg/ui/effects/effect-clip.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-clip.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-clip.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Clip 1.13.0 + * jQuery UI Effects Clip 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-drop.js jqueryui-1.13.1+dfsg/ui/effects/effect-drop.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-drop.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-drop.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Drop 1.13.0 + * jQuery UI Effects Drop 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-explode.js jqueryui-1.13.1+dfsg/ui/effects/effect-explode.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-explode.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-explode.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Explode 1.13.0 + * jQuery UI Effects Explode 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-fade.js jqueryui-1.13.1+dfsg/ui/effects/effect-fade.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-fade.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-fade.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Fade 1.13.0 + * jQuery UI Effects Fade 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-fold.js jqueryui-1.13.1+dfsg/ui/effects/effect-fold.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-fold.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-fold.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Fold 1.13.0 + * jQuery UI Effects Fold 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-highlight.js jqueryui-1.13.1+dfsg/ui/effects/effect-highlight.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-highlight.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-highlight.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Highlight 1.13.0 + * jQuery UI Effects Highlight 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-puff.js jqueryui-1.13.1+dfsg/ui/effects/effect-puff.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-puff.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-puff.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Puff 1.13.0 + * jQuery UI Effects Puff 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-pulsate.js jqueryui-1.13.1+dfsg/ui/effects/effect-pulsate.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-pulsate.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-pulsate.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Pulsate 1.13.0 + * jQuery UI Effects Pulsate 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-scale.js jqueryui-1.13.1+dfsg/ui/effects/effect-scale.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-scale.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-scale.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Scale 1.13.0 + * jQuery UI Effects Scale 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-shake.js jqueryui-1.13.1+dfsg/ui/effects/effect-shake.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-shake.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-shake.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Shake 1.13.0 + * jQuery UI Effects Shake 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-size.js jqueryui-1.13.1+dfsg/ui/effects/effect-size.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-size.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-size.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Size 1.13.0 + * jQuery UI Effects Size 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-slide.js jqueryui-1.13.1+dfsg/ui/effects/effect-slide.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-slide.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-slide.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Slide 1.13.0 + * jQuery UI Effects Slide 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/effects/effect-transfer.js jqueryui-1.13.1+dfsg/ui/effects/effect-transfer.js --- jqueryui-1.13.0+dfsg/ui/effects/effect-transfer.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/effects/effect-transfer.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Effects Transfer 1.13.0 + * jQuery UI Effects Transfer 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/focusable.js jqueryui-1.13.1+dfsg/ui/focusable.js --- jqueryui-1.13.0+dfsg/ui/focusable.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/focusable.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Focusable 1.13.0 + * jQuery UI Focusable 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/form-reset-mixin.js jqueryui-1.13.1+dfsg/ui/form-reset-mixin.js --- jqueryui-1.13.0+dfsg/ui/form-reset-mixin.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/form-reset-mixin.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Form Reset Mixin 1.13.0 + * jQuery UI Form Reset Mixin 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/jquery-patch.js jqueryui-1.13.1+dfsg/ui/jquery-patch.js --- jqueryui-1.13.0+dfsg/ui/jquery-patch.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/jquery-patch.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Support for jQuery core 1.8.x and newer 1.13.0 + * jQuery UI Support for jQuery core 1.8.x and newer 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/keycode.js jqueryui-1.13.1+dfsg/ui/keycode.js --- jqueryui-1.13.0+dfsg/ui/keycode.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/keycode.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Keycode 1.13.0 + * jQuery UI Keycode 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/labels.js jqueryui-1.13.1+dfsg/ui/labels.js --- jqueryui-1.13.0+dfsg/ui/labels.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/labels.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Labels 1.13.0 + * jQuery UI Labels 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/position.js jqueryui-1.13.1+dfsg/ui/position.js --- jqueryui-1.13.0+dfsg/ui/position.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/position.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Position 1.13.0 + * jQuery UI Position 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/scroll-parent.js jqueryui-1.13.1+dfsg/ui/scroll-parent.js --- jqueryui-1.13.0+dfsg/ui/scroll-parent.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/scroll-parent.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Scroll Parent 1.13.0 + * jQuery UI Scroll Parent 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/tabbable.js jqueryui-1.13.1+dfsg/ui/tabbable.js --- jqueryui-1.13.0+dfsg/ui/tabbable.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/tabbable.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Tabbable 1.13.0 + * jQuery UI Tabbable 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/unique-id.js jqueryui-1.13.1+dfsg/ui/unique-id.js --- jqueryui-1.13.0+dfsg/ui/unique-id.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/unique-id.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Unique ID 1.13.0 + * jQuery UI Unique ID 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors diff -Nru jqueryui-1.13.0+dfsg/ui/version.js jqueryui-1.13.1+dfsg/ui/version.js --- jqueryui-1.13.0+dfsg/ui/version.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/version.js 2022-01-20 12:59:41.000000000 +0000 @@ -15,6 +15,6 @@ $.ui = $.ui || {}; -return $.ui.version = "1.13.0"; +return $.ui.version = "1.13.1"; } ); diff -Nru jqueryui-1.13.0+dfsg/ui/widget.js jqueryui-1.13.1+dfsg/ui/widget.js --- jqueryui-1.13.0+dfsg/ui/widget.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/widget.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Widget 1.13.0 + * jQuery UI Widget 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -77,7 +77,7 @@ constructor = $[ namespace ][ name ] = function( options, element ) { // Allow instantiation without "new" keyword - if ( !this._createWidget ) { + if ( !this || !this._createWidget ) { return new constructor( options, element ); } @@ -499,6 +499,8 @@ }, options ); function bindRemoveEvent() { + var nodesToBind = []; + options.element.each( function( _, element ) { var isTracked = $.map( that.classesElementLookup, function( elements ) { return elements; @@ -508,11 +510,13 @@ } ); if ( !isTracked ) { - that._on( $( element ), { - remove: "_untrackClassesElement" - } ); + nodesToBind.push( element ); } } ); + + that._on( $( nodesToBind ), { + remove: "_untrackClassesElement" + } ); } function processClassString( classes, checkOption ) { diff -Nru jqueryui-1.13.0+dfsg/ui/widgets/accordion.js jqueryui-1.13.1+dfsg/ui/widgets/accordion.js --- jqueryui-1.13.0+dfsg/ui/widgets/accordion.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/widgets/accordion.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Accordion 1.13.0 + * jQuery UI Accordion 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -40,7 +40,7 @@ "use strict"; return $.widget( "ui.accordion", { - version: "1.13.0", + version: "1.13.1", options: { active: 0, animate: {}, diff -Nru jqueryui-1.13.0+dfsg/ui/widgets/autocomplete.js jqueryui-1.13.1+dfsg/ui/widgets/autocomplete.js --- jqueryui-1.13.0+dfsg/ui/widgets/autocomplete.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/widgets/autocomplete.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Autocomplete 1.13.0 + * jQuery UI Autocomplete 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -40,7 +40,7 @@ "use strict"; $.widget( "ui.autocomplete", { - version: "1.13.0", + version: "1.13.1", defaultElement: "", options: { appendTo: null, @@ -66,6 +66,7 @@ requestIndex: 0, pending: 0, + liveRegionTimer: null, _create: function() { @@ -267,8 +268,10 @@ // Announce the value in the liveRegion label = ui.item.attr( "aria-label" ) || item.value; if ( label && String.prototype.trim.call( label ).length ) { - this.liveRegion.children().hide(); - $( "
    " ).text( label ).appendTo( this.liveRegion ); + clearTimeout( this.liveRegionTimer ); + this.liveRegionTimer = this._delay( function() { + this.liveRegion.html( $( "
    " ).text( label ) ); + }, 100 ); } }, menuselect: function( event, ui ) { @@ -663,8 +666,10 @@ } else { message = this.options.messages.noResults; } - this.liveRegion.children().hide(); - $( "
    " ).text( message ).appendTo( this.liveRegion ); + clearTimeout( this.liveRegionTimer ); + this.liveRegionTimer = this._delay( function() { + this.liveRegion.html( $( "
    " ).text( message ) ); + }, 100 ); } } ); diff -Nru jqueryui-1.13.0+dfsg/ui/widgets/button.js jqueryui-1.13.1+dfsg/ui/widgets/button.js --- jqueryui-1.13.0+dfsg/ui/widgets/button.js 2021-10-07 14:05:16.000000000 +0000 +++ jqueryui-1.13.1+dfsg/ui/widgets/button.js 2022-01-20 12:59:41.000000000 +0000 @@ -1,5 +1,5 @@ /*! - * jQuery UI Button 1.13.0 + * jQuery UI Button 1.13.1 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors @@ -42,7 +42,7 @@ "use strict"; $.widget( "ui.button", { - version: "1.13.0", + version: "1.13.1", defaultElement: "