Commit aef8e20c authored by jrockowitz's avatar jrockowitz Committed by Jacob Rockowitz
Browse files

Issue #3264301 by jrockowitz: Evaluate all the URLs in the composer.libraries.json

parent 7c4076e0
......@@ -87,7 +87,7 @@
"installer-name": "choices"
},
"dist": {
"url": "https://github.com/jshjohnson/Choices/archive/v9.0.1.zip",
"url": "https://github.com/jshjohnson/Choices/archive/refs/tags/v9.0.1.zip",
"type": "zip"
}
}
......@@ -177,7 +177,7 @@
"installer-name": "codemirror"
},
"dist": {
"url": "https://github.com/components/codemirror/archive/5.61.1.zip",
"url": "https://github.com/components/codemirror/archive/refs/tags/5.61.1.zip",
"type": "zip"
}
}
......@@ -207,7 +207,7 @@
"installer-name": "jquery.geocomplete"
},
"dist": {
"url": "https://github.com/ubilabs/geocomplete/archive/1.7.0.zip",
"url": "https://github.com/ubilabs/geocomplete/archive/refs/tags/1.7.0.zip",
"type": "zip"
}
}
......@@ -222,7 +222,7 @@
"installer-name": "jquery.hotkeys"
},
"dist": {
"url": "https://github.com/jeresig/jquery.hotkeys/archive/0.2.0.zip",
"url": "https://github.com/jeresig/jquery.hotkeys/archive/refs/tags/0.2.0.zip",
"type": "zip"
}
}
......@@ -237,7 +237,7 @@
"installer-name": "jquery.icheck"
},
"dist": {
"url": "https://github.com/dargullin/icheck/archive/refs/tags/1.0.2.zip",
"url": "https://github.com/dargullin/icheck/archive/refs/tags/refs/tags/1.0.2.zip",
"type": "zip"
}
}
......@@ -252,7 +252,7 @@
"installer-name": "jquery.image-picker"
},
"dist": {
"url": "https://github.com/rvera/image-picker/archive/0.3.1.zip",
"url": "https://github.com/rvera/image-picker/archive/refs/tags/0.3.1.zip",
"type": "zip"
}
}
......@@ -267,7 +267,7 @@
"installer-name": "jquery.inputmask"
},
"dist": {
"url": "https://github.com/RobinHerbots/jquery.inputmask/archive/5.0.6.zip",
"url": "https://github.com/RobinHerbots/jquery.inputmask/archive/refs/tags/5.0.6.zip",
"type": "zip"
}
}
......@@ -282,7 +282,7 @@
"installer-name": "jquery.intl-tel-input"
},
"dist": {
"url": "https://github.com/jackocnr/intl-tel-input/archive/v16.1.0.zip",
"url": "https://github.com/jackocnr/intl-tel-input/archive/refs/tags/v16.1.0.zip",
"type": "zip"
}
}
......@@ -297,7 +297,7 @@
"installer-name": "jquery.rateit"
},
"dist": {
"url": "https://github.com/gjunge/rateit.js/archive/1.1.3.zip",
"url": "https://github.com/gjunge/rateit.js/archive/refs/tags/1.1.3.zip",
"type": "zip"
}
}
......@@ -312,7 +312,7 @@
"installer-name": "jquery.select2"
},
"dist": {
"url": "https://github.com/select2/select2/archive/4.0.13.zip",
"url": "https://github.com/select2/select2/archive/refs/tags/4.0.13.zip",
"type": "zip"
}
}
......@@ -327,7 +327,7 @@
"installer-name": "jquery.textcounter"
},
"dist": {
"url": "https://github.com/ractoon/jQuery-Text-Counter/archive/0.9.0.zip",
"url": "https://github.com/ractoon/jQuery-Text-Counter/archive/refs/tags/0.9.0.zip",
"type": "zip"
}
}
......@@ -342,7 +342,7 @@
"installer-name": "jquery.timepicker"
},
"dist": {
"url": "https://github.com/jonthornton/jquery-timepicker/archive/1.13.18.zip",
"url": "https://github.com/jonthornton/jquery-timepicker/archive/refs/tags/1.13.18.zip",
"type": "zip"
}
}
......@@ -357,7 +357,7 @@
"installer-name": "jquery.toggles"
},
"dist": {
"url": "https://github.com/simontabor/jquery-toggles/archive/v4.0.0.zip",
"url": "https://github.com/simontabor/jquery-toggles/archive/refs/tags/v4.0.0.zip",
"type": "zip"
}
}
......@@ -372,7 +372,7 @@
"installer-name": "progress-tracker"
},
"dist": {
"url": "https://github.com/NigelOToole/progress-tracker/archive/2.0.7.zip",
"url": "https://github.com/NigelOToole/progress-tracker/archive/refs/tags/2.0.7.zip",
"type": "zip"
}
}
......@@ -387,7 +387,7 @@
"installer-name": "signature_pad"
},
"dist": {
"url": "https://github.com/szimek/signature_pad/archive/v2.3.0.zip",
"url": "https://github.com/szimek/signature_pad/archive/refs/tags/v2.3.0.zip",
"type": "zip"
}
}
......@@ -402,7 +402,7 @@
"installer-name": "svg-pan-zoom"
},
"dist": {
"url": "https://github.com/ariutta/svg-pan-zoom/archive/3.6.1.zip",
"url": "https://github.com/ariutta/svg-pan-zoom/archive/refs/tags/3.6.1.zip",
"type": "zip"
}
}
......@@ -417,7 +417,7 @@
"installer-name": "tabby"
},
"dist": {
"url": "https://github.com/cferdinandi/tabby/archive/v12.0.3.zip",
"url": "https://github.com/cferdinandi/tabby/archive/refs/tags/v12.0.3.zip",
"type": "zip"
}
}
......
......@@ -19,7 +19,7 @@ function webform_icheck_webform_libraries_info() {
'description' => t('Highly customizable checkboxes and radio buttons.'),
'notes' => t('iCheck is used to optionally enhance checkboxes and radio buttons.'),
'homepage_url' => Url::fromUri('http://icheck.fronteed.com/'),
'download_url' => Url::fromUri('https://github.com/dargullin/icheck/archive/refs/tags/1.0.2.zip'),
'download_url' => Url::fromUri('https://github.com/dargullin/icheck/archive/refs/tags/refs/tags/1.0.2.zip'),
'version' => '1.0.2 ',
'optional' => FALSE,
'deprecated' => t('The iCheck library is not being maintained. It has been <a href=":href">deprecated</a> and will be removed in Webform 7.0.', [':href' => 'https://www.drupal.org/project/webform/issues/2931154']),
......
......@@ -34,7 +34,7 @@ function webform_image_select_webform_libraries_info() {
'description' => t('A simple jQuery plugin that transforms a select element into a more user friendly graphical interface.'),
'notes' => t('Image Picker is used by the Image select element.'),
'homepage_url' => Url::fromUri('https://rvera.github.io/image-picker/'),
'download_url' => Url::fromUri('https://github.com/rvera/image-picker/archive/0.3.1.zip'),
'download_url' => Url::fromUri('https://github.com/rvera/image-picker/archive/refs/tags/0.3.1.zip'),
'version' => '0.3.1',
'elements' => ['webform_image_select'],
'optional' => FALSE,
......
......@@ -19,7 +19,7 @@ function webform_location_geocomplete_webform_libraries_info() {
'description' => t("Geocomple is an advanced jQuery plugin that wraps the Google Maps API's Geocoding and Places Autocomplete services."),
'notes' => t('Geocomplete is used by the location element.'),
'homepage_url' => Url::fromUri('http://ubilabs.github.io/geocomplete/'),
'download_url' => Url::fromUri('https://github.com/ubilabs/geocomplete/archive/1.7.0.zip'),
'download_url' => Url::fromUri('https://github.com/ubilabs/geocomplete/archive/refs/tags/1.7.0.zip'),
'version' => '1.7.0',
'elements' => ['webform_location_geocomplete'],
'optional' => FALSE,
......
......@@ -45,7 +45,7 @@ function webform_options_custom_webform_libraries_info() {
'description' => t('Simple pan/zoom solution for SVGs in HTML.'),
'notes' => t('Svg-pan-zoom is used by custom options elements.'),
'homepage_url' => Url::fromUri('https://github.com/ariutta/svg-pan-zoom'),
'download_url' => Url::fromUri('https://github.com/ariutta/svg-pan-zoom/archive/3.6.1.zip'),
'download_url' => Url::fromUri('https://github.com/ariutta/svg-pan-zoom/archive/refs/tags/3.6.1.zip'),
'version' => '3.6.1',
'optional' => FALSE,
];
......
......@@ -19,7 +19,7 @@ function webform_shortcuts_webform_libraries_info() {
'description' => t('jQuery Hotkeys is a plug-in that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.'),
'notes' => t('jQuery Hotkeys is used by the form builder to quickly add and save elements.'),
'homepage_url' => Url::fromUri('https://github.com/jeresig/jquery.hotkeys'),
'download_url' => Url::fromUri('https://github.com/jeresig/jquery.hotkeys/archive/0.2.0.zip'),
'download_url' => Url::fromUri('https://github.com/jeresig/jquery.hotkeys/archive/refs/tags/0.2.0.zip'),
'version' => '0.2.0',
'optional' => FALSE,
];
......
......@@ -17,7 +17,7 @@ function webform_toggles_webform_libraries_info() {
'description' => t('Toggles is a lightweight jQuery plugin that creates easy-to-style toggle buttons.'),
'notes' => t('Toggles is used to provide a toggle element.'),
'homepage_url' => Url::fromUri('https://github.com/simontabor/jquery-toggles/'),
'download_url' => Url::fromUri('https://github.com/simontabor/jquery-toggles/archive/v4.0.0.zip'),
'download_url' => Url::fromUri('https://github.com/simontabor/jquery-toggles/archive/refs/tags/v4.0.0.zip'),
'version' => '4.0.0',
'elements' => ['webform_toggle', 'webform_toggles'],
'optional' => FALSE,
......
......@@ -381,7 +381,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'notes' => $this->t('Code Mirror is used to provide a text editor for YAML, HTML, CSS, and JavaScript configuration settings and messages.'),
'homepage_url' => Url::fromUri('http://codemirror.net/'),
// Issue #3177233: CodeMirror 5.70.0 is displaying vertical scrollbar.
'download_url' => Url::fromUri('https://github.com/components/codemirror/archive/5.61.1.zip'),
'download_url' => Url::fromUri('https://github.com/components/codemirror/archive/refs/tags/5.61.1.zip'),
'issues_url' => Url::fromUri('https://github.com/codemirror/codemirror/issues'),
'version' => '5.61.1',
];
......@@ -403,7 +403,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t('Input masks ensures a predefined format is entered. This can be useful for dates, numerics, phone numbers, etc…'),
'notes' => $this->t('Input masks are used to ensure predefined and custom formats for text fields.'),
'homepage_url' => Url::fromUri('https://robinherbots.github.io/Inputmask/'),
'download_url' => Url::fromUri('https://github.com/RobinHerbots/jquery.inputmask/archive/5.0.6.zip'),
'download_url' => Url::fromUri('https://github.com/RobinHerbots/jquery.inputmask/archive/refs/tags/5.0.6.zip'),
'version' => '5.0.6',
];
$libraries['jquery.intl-tel-input'] = [
......@@ -411,7 +411,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t("A jQuery plugin for entering and validating international telephone numbers. It adds a flag dropdown to any input, detects the user's country, displays a relevant placeholder and provides formatting/validation methods."),
'notes' => $this->t('International Telephone Input is used by the Telephone element.'),
'homepage_url' => Url::fromUri('https://github.com/jackocnr/intl-tel-input'),
'download_url' => Url::fromUri('https://github.com/jackocnr/intl-tel-input/archive/v16.1.0.zip'),
'download_url' => Url::fromUri('https://github.com/jackocnr/intl-tel-input/archive/refs/tags/v16.1.0.zip'),
'version' => '16.1.0',
];
$libraries['jquery.rateit'] = [
......@@ -419,7 +419,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t("Rating plugin for jQuery. Fast, progressive enhancement, touch support, customizable (just swap out the images, or change some CSS), unobtrusive JavaScript (using HTML5 data-* attributes), RTL support. The Rating plugin supports as many stars as you'd like, and also any step size."),
'notes' => $this->t('RateIt is used to provide a customizable rating element.'),
'homepage_url' => Url::fromUri('https://github.com/gjunge/rateit.js'),
'download_url' => Url::fromUri('https://github.com/gjunge/rateit.js/archive/1.1.3.zip'),
'download_url' => Url::fromUri('https://github.com/gjunge/rateit.js/archive/refs/tags/1.1.3.zip'),
'version' => '1.1.3',
'elements' => ['webform_rating'],
];
......@@ -428,7 +428,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t('A jQuery plugin for counting and limiting characters/words on text input, or textarea, elements.'),
'notes' => $this->t('Word or character counting, with server-side validation, is available for text fields and text areas.'),
'homepage_url' => Url::fromUri('https://github.com/ractoon/jQuery-Text-Counter'),
'download_url' => Url::fromUri('https://github.com/ractoon/jQuery-Text-Counter/archive/0.9.0.zip'),
'download_url' => Url::fromUri('https://github.com/ractoon/jQuery-Text-Counter/archive/refs/tags/0.9.0.zip'),
'version' => '0.9.0',
];
$libraries['jquery.timepicker'] = [
......@@ -436,7 +436,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t('A lightweight, customizable javascript timepicker plugin for jQuery, inspired by Google Calendar.'),
'notes' => $this->t('Timepicker is used to provide a polyfill for HTML 5 time elements.'),
'homepage_url' => Url::fromUri('https://github.com/jonthornton/jquery-timepicker'),
'download_url' => Url::fromUri('https://github.com/jonthornton/jquery-timepicker/archive/1.13.18.zip'),
'download_url' => Url::fromUri('https://github.com/jonthornton/jquery-timepicker/archive/refs/tags/1.13.18.zip'),
'version' => '1.13.18',
];
$libraries['progress-tracker'] = [
......@@ -444,7 +444,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t("A flexible SASS component to illustrate the steps in a multi-step process e.g. a multi-step form, a timeline or a quiz."),
'notes' => $this->t('Progress Tracker is used by multi-step wizard forms.'),
'homepage_url' => Url::fromUri('http://nigelotoole.github.io/progress-tracker/'),
'download_url' => Url::fromUri('https://github.com/NigelOToole/progress-tracker/archive/2.0.7.zip'),
'download_url' => Url::fromUri('https://github.com/NigelOToole/progress-tracker/archive/refs/tags/2.0.7.zip'),
'version' => '2.0.7',
];
$libraries['signature_pad'] = [
......@@ -452,7 +452,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t("Signature Pad is a JavaScript library for drawing smooth signatures. It is HTML5 canvas based and uses variable width Bézier curve interpolation. It works in all modern desktop and mobile browsers and doesn't depend on any external libraries."),
'notes' => $this->t('Signature Pad is used to provide a signature element.'),
'homepage_url' => Url::fromUri('https://github.com/szimek/signature_pad'),
'download_url' => Url::fromUri('https://github.com/szimek/signature_pad/archive/v2.3.0.zip'),
'download_url' => Url::fromUri('https://github.com/szimek/signature_pad/archive/refs/tags/v2.3.0.zip'),
'version' => '2.3.0',
'elements' => ['webform_signature'],
];
......@@ -461,7 +461,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t("Tabby provides lightweight, accessible vanilla JS toggle tabs."),
'notes' => $this->t('Tabby is used to display tabs in the administrative UI'),
'homepage_url' => Url::fromUri('https://github.com/cferdinandi/tabby'),
'download_url' => Url::fromUri('https://github.com/cferdinandi/tabby/archive/v12.0.3.zip'),
'download_url' => Url::fromUri('https://github.com/cferdinandi/tabby/archive/refs/tags/v12.0.3.zip'),
'version' => '12.0.3',
];
// Drupal 8 and 9 supports different version of PopperJS which is a
......@@ -490,7 +490,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t('Select2 gives you a customizable select box with support for searching and tagging.'),
'notes' => $this->t('Select2 is used to improve the user experience for select menus. Select2 is the recommended select menu enhancement library.'),
'homepage_url' => Url::fromUri('https://select2.github.io/'),
'download_url' => Url::fromUri('https://github.com/select2/select2/archive/4.0.13.zip'),
'download_url' => Url::fromUri('https://github.com/select2/select2/archive/refs/tags/4.0.13.zip'),
'version' => '4.0.13',
'module' => $this->moduleHandler->moduleExists('select2') ? 'select2' : '',
];
......@@ -499,7 +499,7 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
'description' => $this->t('Choices.js is a lightweight, configurable select box/text input plugin. Similar to Select2 and Selectize but without the jQuery dependency.'),
'notes' => $this->t('Choices.js is used to improve the user experience for select menus. Choices.js is an alternative to Select2.'),
'homepage_url' => Url::fromUri('https://joshuajohnson.co.uk/Choices/'),
'download_url' => Url::fromUri('https://github.com/jshjohnson/Choices/archive/v9.0.1.zip'),
'download_url' => Url::fromUri('https://github.com/jshjohnson/Choices/archive/refs/tags/v9.0.1.zip'),
'version' => '9.0.1',
];
$libraries['jquery.chosen'] = [
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment