Commit b60164aa authored by jrockowitz's avatar jrockowitz Committed by jrockowitz
Browse files

Issue #3108266 by jrockowitz: Update external libraries

parent 8e83f7be
......@@ -28,13 +28,13 @@
"type": "package",
"package": {
"name": "algolia/places",
"version": "1.17.0",
"version": "1.17.1",
"type": "drupal-library",
"extra": {
"installer-name": "algolia.places"
},
"dist": {
"url": "https://registry.npmjs.org/places.js/-/places.js-1.17.0.tgz",
"url": "https://registry.npmjs.org/places.js/-/places.js-1.17.1.tgz",
"type": "tar"
},
"require": {
......@@ -186,6 +186,24 @@
}
}
},
"jquery.geocomplete": {
"type": "package",
"package": {
"name": "jquery/geocomplete",
"version": "1.7.0",
"type": "drupal-library",
"extra": {
"installer-name": "jquery.geocomplete"
},
"dist": {
"url": "https://github.com/ubilabs/geocomplete/archive/1.7.0.zip",
"type": "zip"
},
"require": {
"composer/installers": "~1.0"
}
}
},
"jquery.hotkeys": {
"type": "package",
"package": {
......@@ -244,13 +262,13 @@
"type": "package",
"package": {
"name": "jquery/inputmask",
"version": "4.0.9",
"version": "5.0.3",
"type": "drupal-library",
"extra": {
"installer-name": "jquery.inputmask"
},
"dist": {
"url": "https://github.com/RobinHerbots/jquery.inputmask/archive/4.0.9.zip",
"url": "https://github.com/RobinHerbots/jquery.inputmask/archive/5.0.3.zip",
"type": "zip"
},
"require": {
......@@ -280,13 +298,13 @@
"type": "package",
"package": {
"name": "jquery/rateit",
"version": "1.1.2",
"version": "1.1.3",
"type": "drupal-library",
"extra": {
"installer-name": "jquery.rateit"
},
"dist": {
"url": "https://github.com/gjunge/rateit.js/archive/1.1.2.zip",
"url": "https://github.com/gjunge/rateit.js/archive/1.1.3.zip",
"type": "zip"
},
"require": {
......@@ -334,13 +352,13 @@
"type": "package",
"package": {
"name": "jquery/timepicker",
"version": "1.11.15",
"version": "1.13.0",
"type": "drupal-library",
"extra": {
"installer-name": "jquery.timepicker"
},
"dist": {
"url": "https://github.com/jonthornton/jquery-timepicker/archive/1.11.15.zip",
"url": "https://github.com/jonthornton/jquery-timepicker/archive/1.13.0.zip",
"type": "zip"
},
"require": {
......@@ -431,6 +449,7 @@
"ckeditor/link": "*",
"codemirror/codemirror": "*",
"jquery/chosen": "*",
"jquery/geocomplete": "*",
"jquery/hotkeys": "*",
"jquery/icheck": "*",
"jquery/image-picker": "*",
......
......@@ -342,8 +342,8 @@ class WebformLibrariesManager implements WebformLibrariesManagerInterface {
// NOTE: Using NPM/JsDelivr because it contains the '/dist/cdn/' directory.
// @see https://asset-packagist.org/package/detail?fullname=npm-asset/places.js
// @see https://www.jsdelivr.com/package/npm/places.js
'download_url' => Url::fromUri('https://registry.npmjs.org/places.js/-/places.js-1.17.0.tgz'),
'version' => '1.17.0',
'download_url' => Url::fromUri('https://registry.npmjs.org/places.js/-/places.js-1.17.1.tgz'),
'version' => '1.17.1',
'elements' => ['webform_location_places'],
];
$libraries['jquery.inputmask'] = [
......@@ -351,8 +351,8 @@ 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/4.0.9.zip'),
'version' => '4.0.9',
'download_url' => Url::fromUri('https://github.com/RobinHerbots/jquery.inputmask/archive/5.0.3.zip'),
'version' => '5.0.3',
];
$libraries['jquery.intl-tel-input'] = [
'title' => $this->t('jQuery: International Telephone Input'),
......@@ -367,8 +367,8 @@ 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.2.zip'),
'version' => '1.1.2',
'download_url' => Url::fromUri('https://github.com/gjunge/rateit.js/archive/1.1.3.zip'),
'version' => '1.1.3',
'elements' => ['webform_rating'],
];
$libraries['jquery.textcounter'] = [
......@@ -384,8 +384,8 @@ 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.11.15.zip'),
'version' => '1.11.15',
'download_url' => Url::fromUri('https://github.com/jonthornton/jquery-timepicker/archive/1.13.0.zip'),
'version' => '1.13.0',
];
$libraries['progress-tracker'] = [
'title' => $this->t('Progress Tracker'),
......
......@@ -51,7 +51,7 @@ class WebformLibrariesTest extends WebformBrowserTestBase {
$this->assertRaw('/chosen.jquery.min.js');
$this->assertRaw('/textcounter.min.js');
$this->assertRaw('/intlTelInput.min.js');
$this->assertRaw('/jquery.inputmask.bundle.min.js');
$this->assertRaw('/jquery.inputmask.min.js');
$this->assertRaw('/codemirror.js');
$this->assertRaw('/jquery.timepicker.min.js');
......@@ -84,7 +84,7 @@ class WebformLibrariesTest extends WebformBrowserTestBase {
$this->assertNoRaw('/chosen.jquery.min.js');
$this->assertNoRaw('/textcounter.min.js');
$this->assertNoRaw('/intlTelInput.min.js');
$this->assertNoRaw('/jquery.inputmask.bundle.min.js');
$this->assertNoRaw('/jquery.inputmask.min.js');
$this->assertNoRaw('/codemirror.js');
$this->assertNoRaw('/jquery.timepicker.min.js');
......
......@@ -1055,27 +1055,27 @@ libraries.codemirror.twig:
libraries.algolia.places:
remote: https://github.com/algolia/places
version: '1.17.0'
version: '1.17.1'
license:
name: MIT
url: https://github.com/algolia/places/blob/master/LICENSE
gpl-compatible: true
cdn:
/libraries/algolia.places/dist/cdn/: https://cdn.jsdelivr.net/npm/places.js@1.17.0/dist/cdn/
/libraries/algolia.places/dist/cdn/: https://cdn.jsdelivr.net/npm/places.js@1.17.1/dist/cdn/
js:
/libraries/algolia.places/dist/cdn/places.js: {}
libraries.jquery.inputmask:
remote: https://github.com/RobinHerbots/jquery.inputmask
version: '4.0.9'
version: '5.0.3'
license:
name: MIT
url: http://opensource.org/licenses/mit-license.php
gpl-compatible: true
cdn:
/libraries/jquery.inputmask/: https://cdn.jsdelivr.net/gh/RobinHerbots/Inputmask@4.0.9/
/libraries/jquery.inputmask/: https://cdn.jsdelivr.net/gh/RobinHerbots/Inputmask@5.0.3/
js:
/libraries/jquery.inputmask/dist/min/jquery.inputmask.bundle.min.js: { minified: true }
/libraries/jquery.inputmask/dist/jquery.inputmask.min.js: { minified: true }
dependencies:
- core/jquery
......@@ -1100,13 +1100,13 @@ libraries.jquery.intl-tel-input:
libraries.jquery.rateit:
remote: https://github.com/gjunge/rateit.js
version: '1.1.2'
version: '1.1.3'
license:
name: MIT
url: https://github.com/gjunge/rateit.js/blob/master/LICENSE.md
gpl-compatible: true
cdn:
/libraries/jquery.rateit/: https://cdn.jsdelivr.net/gh/gjunge/rateit.js@1.1.2/
/libraries/jquery.rateit/: https://cdn.jsdelivr.net/gh/gjunge/rateit.js@1.1.3/
css:
component:
/libraries/jquery.rateit/scripts/rateit.css: {}
......@@ -1165,13 +1165,13 @@ libraries.jquery.textcounter:
libraries.jquery.timepicker:
remote: https://github.com/jonthornton/jquery-timepicker
version: '1.11.15'
version: '1.13.0'
license:
name: MIT
url: http://opensource.org/licenses/mit-license.php
gpl-compatible: true
cdn:
/libraries/jquery.timepicker/: https://cdn.jsdelivr.net/gh/jonthornton/jquery-timepicker@1.11.15/
/libraries/jquery.timepicker/: https://cdn.jsdelivr.net/gh/jonthornton/jquery-timepicker@1.13.0/
css:
component:
/libraries/jquery.timepicker/jquery.timepicker.min.css: { minified: true }
......
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