diff --git a/lib/composer/installed.php b/lib/composer/installed.php index 36ca1d988..ca44e7d86 100644 --- a/lib/composer/installed.php +++ b/lib/composer/installed.php @@ -3,7 +3,7 @@ 'name' => 'combodo/itop', 'pretty_version' => 'dev-develop', 'version' => 'dev-develop', - 'reference' => '26e588c1c3f3c4c30b0da3f14e0c4726d49d659e', + 'reference' => '0160f81161a46c287e2f440f338335512f922ff5', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), @@ -22,7 +22,7 @@ 'combodo/itop' => array( 'pretty_version' => 'dev-develop', 'version' => 'dev-develop', - 'reference' => '26e588c1c3f3c4c30b0da3f14e0c4726d49d659e', + 'reference' => '0160f81161a46c287e2f440f338335512f922ff5', 'type' => 'project', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), diff --git a/node_modules/toastify-js/example/pattern.png b/node_modules/toastify-js/example/pattern.png deleted file mode 100644 index 310e8868d..000000000 Binary files a/node_modules/toastify-js/example/pattern.png and /dev/null differ diff --git a/node_modules/toastify-js/example/script.css b/node_modules/toastify-js/example/script.css deleted file mode 100644 index 8de04f531..000000000 --- a/node_modules/toastify-js/example/script.css +++ /dev/null @@ -1,95 +0,0 @@ -* { - box-sizing: border-box; -} - -html, body { - height: 100%; -} - -body { - font-family: Helvetica, Arial, sans-serif; - background-size: 100%; - margin: 0; - padding: 0; - color: #424242; -} - -.container { - overflow: hidden; - display: flex; - height: 100%; - justify-content: center; - flex-direction: column; - align-items: center; - background-color: whitesmoke; - background-image: url("./pattern.png"); -} - -.hidden { - display: none; -} - -.docs { - display: flex; - justify-content: center; - flex-direction: column; - align-items: center; - background-color: white; - border: 1px solid #e3e3e3; - padding: 20px 20px; - width: 60%; - border-radius: 4px; -} - -.docs h2 { - margin-top: 0px; -} - -code p { - margin: 2px; -} - -.pad-left { - padding-left: 20px; -} - -.buttons { - margin: 20px; - display: flex; - flex-wrap: wrap; - justify-content: center; -} - -.button { - overflow: hidden; - margin: 10px; - padding: 12px 12px; - cursor: pointer; - -webkit-transition: all 200ms ease-in-out; - transition: all 200ms ease-in-out; - text-align: center; - white-space: nowrap; - text-decoration: none; - text-transform: none; - text-transform: capitalize; - border-radius: 4px; - font-size: 13px; - font-weight: 500; - line-height: 1.3; - min-width: 100px; - display: inline-block; - box-shadow: 0 5px 20px rgba(22, 22, 22, 0.15); - color: #5477f5; - background-color: Snow; - border: 1px solid #5477f5; -} - -.button:hover { - color: #FFFFFF; - background: linear-gradient(135deg, #73a5ff, #5477f5); - border: 1px solid transparent; -} - -.repo { - margin: 10px; -} \ No newline at end of file diff --git a/node_modules/toastify-js/example/script.js b/node_modules/toastify-js/example/script.js deleted file mode 100644 index 8d290ff9c..000000000 --- a/node_modules/toastify-js/example/script.js +++ /dev/null @@ -1,72 +0,0 @@ -var bgColors = [ - "linear-gradient(to right, #00b09b, #96c93d)", - "linear-gradient(to right, #ff5f6d, #ffc371)", - ], - i = 0; - -Toastify({ - text: "Hi", - duration: 4500, - destination: "https://github.com/apvarun/toastify-js", - newWindow: true, - gravity: "top", - position: 'left', -}).showToast(); - -setTimeout(function() { - Toastify({ - text: "Simple JavaScript Toasts", - gravity: "top", - position: 'center', - style: { - background: '#0f3443' - } - }).showToast(); -}, 1000); - -// Options for the toast -var options = { - text: "Happy toasting!", - duration: 2500, - callback: function() { - console.log("Toast hidden"); - Toastify.reposition(); - }, - close: true, - style: { - background: "linear-gradient(to right, #00b09b, #96c93d)", - } -}; - -// Initializing the toast -var myToast = Toastify(options); - -// Toast after delay -setTimeout(function() { - myToast.showToast(); -}, 4500); - -setTimeout(function() { - Toastify({ - text: "Highly customizable", - gravity: "bottom", - position: 'left', - close: true, - style: { - background: "linear-gradient(to right, #ff5f6d, #ffc371)", - } - }).showToast(); -}, 3000); - -// Displaying toast on manual action `Try` -document.getElementById("new-toast").addEventListener("click", function() { - Toastify({ - text: "I am a toast", - duration: 3000, - close: i % 3 ? true : false, - style: { - background: bgColors[i % 2], - } - }).showToast(); - i++; -}); diff --git a/sources/Dependencies/AbstractHook.php b/sources/Dependencies/AbstractHook.php index c8450d62f..f3dcefbdb 100644 --- a/sources/Dependencies/AbstractHook.php +++ b/sources/Dependencies/AbstractHook.php @@ -31,7 +31,7 @@ abstract class AbstractHook * @since 3.2.0 N°7175 update regexp to also remove `examples` folder * @link https://www.regular-expressions.info/alternation.html RegExp alternation reference */ - public const QUESTIONNABLE_FOLDER_REGEXP = '/^(tests?|examples|htdocs?|demos?|external)$/i'; + public const QUESTIONNABLE_FOLDER_REGEXP = '/^(tests?|examples?|htdocs?|demos?|external)$/i'; /** * @return string Absolute path to the root folder of the dependencies (composer, npm, ...) diff --git a/sources/Dependencies/NPM/iTopNPM.php b/sources/Dependencies/NPM/iTopNPM.php index a7a636d2a..c38226f6b 100644 --- a/sources/Dependencies/NPM/iTopNPM.php +++ b/sources/Dependencies/NPM/iTopNPM.php @@ -81,6 +81,7 @@ class iTopNPM extends AbstractHook $APPROOT_WITH_SLASHES . '/select/test', $APPROOT_WITH_SLASHES . '/selectize-plugin-a11y/examples', $APPROOT_WITH_SLASHES . '/tiny-emitter/test', + $APPROOT_WITH_SLASHES . '/toastify-js/example', ]; } } \ No newline at end of file