Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Commit 75ba35c

Browse files
Merge pull request #1 from Formcentric/release/10.32.2
Release/10.32.2
2 parents 71c48b0 + 31ee2de commit 75ba35c

File tree

3 files changed

+6833
-6830
lines changed

3 files changed

+6833
-6830
lines changed

js/vendor/jquery.ui.widget.js

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
/*! jQuery UI - v1.13.2 - 2023-02-09
2-
* http://jqueryui.com
1+
/*! jQuery UI - v1.14.1 - 2024-10-30
2+
* https://jqueryui.com
33
* Includes: widget.js
4-
* Copyright jQuery Foundation and other contributors; Licensed MIT */
4+
* Copyright OpenJS Foundation and other contributors; Licensed MIT */
55

66
( function( factory ) {
77
"use strict";
8-
8+
99
if ( typeof define === "function" && define.amd ) {
1010

1111
// AMD. Register as an anonymous module.
@@ -20,23 +20,23 @@
2020

2121
$.ui = $.ui || {};
2222

23-
var version = $.ui.version = "1.13.2";
23+
var version = $.ui.version = "1.14.1";
2424

2525

2626
/*!
27-
* jQuery UI Widget 1.13.2
28-
* http://jqueryui.com
27+
* jQuery UI Widget 1.14.1
28+
* https://jqueryui.com
2929
*
30-
* Copyright jQuery Foundation and other contributors
30+
* Copyright OpenJS Foundation and other contributors
3131
* Released under the MIT license.
32-
* http://jquery.org/license
32+
* https://jquery.org/license
3333
*/
3434

3535
//>>label: Widget
3636
//>>group: Core
3737
//>>description: Provides a factory for creating stateful widgets with a common API.
38-
//>>docs: http://api.jqueryui.com/jQuery.widget/
39-
//>>demos: http://jqueryui.com/widget/
38+
//>>docs: https://api.jqueryui.com/jQuery.widget/
39+
//>>demos: https://jqueryui.com/widget/
4040

4141

4242
var widgetUuid = 0;
@@ -67,6 +67,9 @@ $.widget = function( name, base, prototype ) {
6767

6868
var namespace = name.split( "." )[ 0 ];
6969
name = name.split( "." )[ 1 ];
70+
if ( name === "__proto__" || name === "constructor" ) {
71+
return $.error( "Invalid widget name: " + name );
72+
}
7073
var fullName = namespace + "-" + name;
7174

7275
if ( !prototype ) {

0 commit comments

Comments
 (0)