Ver código fonte

update bootstrap CSS library from 5.3.7 to 5.3.8

El RIDO 9 meses atrás
pai
commit
06496a1b0e

+ 1 - 1
CHANGELOG.md

@@ -5,7 +5,7 @@
 * ADDED: Added `shortenviashlink` endpoint with an `shlink` configuration section
 * ADDED: Password peek (#1254)
 * CHANGED: CSP recommendation around bootstrap5 template resolved in Firefox 131 (#1613)
-* CHANGED: Upgrading libraries to: DOMpurify 3.2.7
+* CHANGED: Upgrading libraries to: bootstrap 5.3.8 & DOMpurify 3.2.7
 * FIXED: Allow pasting a password for decrypting a paste (#1620)
 * FIXED: Allow copying the shortened link after using a URL shortener (#1624)
 * FIXED: URL extraction fails when frame-ancestors is set in CSP (#1644)

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 4
css/bootstrap5/bootstrap-5.3.7.css


Diferenças do arquivo suprimidas por serem muito extensas
+ 4 - 0
css/bootstrap5/bootstrap-5.3.8.css


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 4
css/bootstrap5/bootstrap.rtl-5.3.7.css


Diferenças do arquivo suprimidas por serem muito extensas
+ 4 - 0
css/bootstrap5/bootstrap.rtl-5.3.8.css


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 5
js/bootstrap-5.3.7.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 5 - 0
js/bootstrap-5.3.8.js


+ 1 - 1
js/test/Prompt.js

@@ -23,7 +23,7 @@ describe('Prompt', function () {
                 $.PrivateBin.Model.reset();
                 $.PrivateBin.Model.init();
                 // eslint-disable-next-line global-require
-                global.bootstrap = require('../bootstrap-5.3.7');
+                global.bootstrap = require('../bootstrap-5.3.8');
                 $.PrivateBin.Prompt.init();
                 $.PrivateBin.Prompt.requestPassword();
                 $('#passworddecrypt').val(password);

+ 1 - 1
lib/Configuration.php

@@ -115,7 +115,7 @@ class Configuration
         'sri' => array(
             'js/base-x-5.0.1.js'     => 'sha512-FmhlnjIxQyxkkxQmzf0l6IRGsGbgyCdgqPxypFsEtHMF1naRqaLLo6mcyN5rEaT16nKx1PeJ4g7+07D6gnk/Tg==',
             'js/bootstrap-3.4.1.js'  => 'sha512-oBTprMeNEKCnqfuqKd6sbvFzmFQtlXS3e0C/RGFV0hD6QzhHV+ODfaQbAlmY6/q0ubbwlAM/nCJjkrgA3waLzg==',
-            'js/bootstrap-5.3.7.js'  => 'sha512-UqmrCkPcp6WOB9cC/NB5GB7vQd2/sB70bLpFk0bqHz/WQIFucjAM0vFNI4xp8B7jJ8KIUWPblNAS/M30AHKSzA==',
+            'js/bootstrap-5.3.8.js'  => 'sha512-BkZvJ5rZ3zbDCod5seWHpRGg+PRd6ZgE8Nua/OMtcxqm8Wtg0PqwhUUXK5bqvl3oclMt5O+3zjRVX0L+L2j7fA==',
             'js/dark-mode-switch.js' => 'sha512-BhY7dNU14aDN5L+muoUmA66x0CkYUWkQT0nxhKBLP/o2d7jE025+dvWJa4OiYffBGEFgmhrD/Sp+QMkxGMTz2g==',
             'js/jquery-3.7.1.js'     => 'sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==',
             'js/kjua-0.10.0.js'      => 'sha512-BYj4xggowR7QD150VLSTRlzH62YPfhpIM+b/1EUEr7RQpdWAGKulxWnOvjFx1FUlba4m6ihpNYuQab51H6XlYg==',

+ 2 - 2
tpl/bootstrap5.php

@@ -10,7 +10,7 @@ use PrivateBin\I18n;
 		<meta name="robots" content="noindex" />
 		<meta name="google" content="notranslate">
 		<title><?php echo I18n::_($NAME); ?></title>
-		<link type="text/css" rel="stylesheet" href="css/bootstrap5/bootstrap<?php echo I18n::isRtl() ? '.rtl' : ''; ?>-5.3.7.css" />
+		<link type="text/css" rel="stylesheet" href="css/bootstrap5/bootstrap<?php echo I18n::isRtl() ? '.rtl' : ''; ?>-5.3.8.css" />
 		<link type="text/css" rel="stylesheet" href="css/bootstrap5/privatebin.css?<?php echo rawurlencode($VERSION); ?>" />
 <?php
 if ($SYNTAXHIGHLIGHTING) :
@@ -35,7 +35,7 @@ endif;
 ?>
 		<?php $this->_scriptTag('js/zlib-1.3.1-1.js', 'defer'); ?>
 		<?php $this->_scriptTag('js/base-x-5.0.1.js', 'defer'); ?>
-		<?php $this->_scriptTag('js/bootstrap-5.3.7.js', 'defer'); ?>
+		<?php $this->_scriptTag('js/bootstrap-5.3.8.js', 'defer'); ?>
 		<?php $this->_scriptTag('js/dark-mode-switch.js', 'defer'); ?>
 <?php
 if ($SYNTAXHIGHLIGHTING) :

Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff