Plugin Directory

Changeset 3257268


Ignore:
Timestamp:
03/17/2025 04:04:49 PM (13 months ago)
Author:
ilovepdf
Message:

Update to version 2.1.9 from GitHub

Location:
ilovepdf
Files:
2 added
42 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ilovepdf/tags/2.1.9/README.txt

    r3238602 r3257268  
    11=== PDF Compressor & Watermark - iLovePDF ===
    22Plugin Name: Image Compressor & Optimizer - iLovePDF
    3 Version: 2.1.8
     3Version: 2.1.9
    44Author: iLovePDF
    55Author URI: https://www.ilovepdf.com/
     
    88Requires at least: 5.3
    99Tested up to: 6.7
    10 Stable tag: 2.1.8
     10Stable tag: 2.1.9
    1111Requires PHP: 7.4
    1212License: GPLv2 or later
     
    8181
    8282== Changelog ==
     83
     84= 2.1.9 =
     85Improved
     86* Improved library compatibility with PHP 7.4
    8387
    8488= 2.1.8 =
  • ilovepdf/tags/2.1.9/composer.json

    r3220398 r3257268  
    1919        "szepeviktor/phpstan-wordpress": "^2.0",
    2020        "phpstan/extension-installer": "^1.4",
    21         "wp-coding-standards/wpcs": "^3.0"
     21        "wp-coding-standards/wpcs": "^3.1"
    2222    },
    2323    "config": {
    24         "platform-check": false,
     24        "platform": {
     25            "php": "7.4"
     26        },
    2527        "allow-plugins": {
    2628            "phpstan/extension-installer": true,
  • ilovepdf/tags/2.1.9/gulpfile.mjs

    r3238602 r3257268  
    77import rename from 'gulp-rename';
    88import merge from 'merge-stream';
     9import sourcemaps from 'gulp-sourcemaps';
     10import gulpIf from 'gulp-if';
    911import babel from 'gulp-babel';
    1012
    1113const sass = gulpSass(dartSass);
    1214
     15const config = {
     16    sourceMaps: process.env.NODE_ENV === 'development'
     17}
     18
    1319// Task to compile Sass and minify CSS
    1420gulp.task('build-css', function() {
    1521    return gulp.src('dev/scss/**/*.scss')
     22        .pipe(gulpIf(config.sourceMaps, sourcemaps.init()))
    1623        .pipe(sass().on('error', sass.logError))
    1724        .pipe(autoprefixer({
     
    2128        .pipe(cleanCSS())
    2229        .pipe(rename({ suffix: '.min' }))
     30        .pipe(gulpIf(config.sourceMaps, sourcemaps.write()))
    2331        .pipe(gulp.dest('assets/css'));
    2432});
  • ilovepdf/tags/2.1.9/ilove-pdf.php

    r3238602 r3257268  
    1111 * Plugin URI:        https://iloveapi.com/
    1212 * Description:       Compress your PDF files and Stamp Images or text into PDF files. This is the Official iLovePDF plugin for WordPress. You can optimize all your PDF and stamp them automatically as you do in ilovepdf.com.
    13  * Version:           2.1.8
     13 * Version:           2.1.9
    1414 * Requires at least: 5.3
    1515 * Requires PHP:      7.4
  • ilovepdf/tags/2.1.9/includes/Ilove_Pdf.php

    r3238602 r3257268  
    7575
    7676        $this->plugin_name = 'ilove-pdf';
    77         $this->version     = 'wp.2.1.8';
     77        $this->version     = 'wp.2.1.9';
    7878
    7979        $this->load_dependencies();
  • ilovepdf/tags/2.1.9/package.json

    r3238602 r3257268  
    55  "main": "index.js",
    66  "scripts": {
    7     "dev": "gulp"
     7    "dev": "NODE_ENV='development' gulp",
     8    "build": "NODE_ENV='production' gulp"
    89  },
    910  "author": "ilovepdf",
    1011  "license": "ISC",
    1112  "devDependencies": {
    12     "@babel/core": "^7.26.7",
    13     "@babel/preset-env": "^7.26.7",
     13    "@babel/core": "^7.26",
     14    "@babel/preset-env": "^7.26",
    1415    "gulp": "^5.0.0",
    1516    "gulp-autoprefixer": "^9.0.0",
    1617    "gulp-babel": "^8.0.0",
    1718    "gulp-clean-css": "^4.3.0",
     19    "gulp-if": "^3.0.0",
    1820    "gulp-rename": "^2.0.0",
    19     "gulp-sass": "^6.0.0",
     21    "gulp-sass": "^6.0.1",
     22    "gulp-sourcemaps": "^3.0.0",
    2023    "gulp-uglify": "^3.0.2",
    2124    "merge-stream": "^2.0.0",
    22     "sass": "^1.84"
     25    "sass": "^1.85"
    2326  }
    2427}
  • ilovepdf/tags/2.1.9/vendor/autoload.php

    r3220398 r3257268  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit52f8510a30b66ec23034f2df95e5df31::getLoader();
     25return ComposerAutoloaderInitc8c93814224bd6d38e781da2d69243f3::getLoader();
  • ilovepdf/tags/2.1.9/vendor/composer/InstalledVersions.php

    r3220398 r3257268  
    3232     */
    3333    private static $installed;
     34
     35    /**
     36     * @var bool
     37     */
     38    private static $installedIsLocalDir;
    3439
    3540    /**
     
    310315        self::$installed = $data;
    311316        self::$installedByVendor = array();
     317
     318        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     319        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     320        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     321        // all installed packages for example
     322        self::$installedIsLocalDir = false;
    312323    }
    313324
     
    326337
    327338        if (self::$canGetVendors) {
     339            $selfDir = strtr(__DIR__, '\\', '/');
    328340            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     341                $vendorDir = strtr($vendorDir, '\\', '/');
    329342                if (isset(self::$installedByVendor[$vendorDir])) {
    330343                    $installed[] = self::$installedByVendor[$vendorDir];
     
    334347                    self::$installedByVendor[$vendorDir] = $required;
    335348                    $installed[] = $required;
    336                     if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
     349                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
    337350                        self::$installed = $required;
    338                         $copiedLocalDir = true;
     351                        self::$installedIsLocalDir = true;
    339352                    }
     353                }
     354                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     355                    $copiedLocalDir = true;
    340356                }
    341357            }
  • ilovepdf/tags/2.1.9/vendor/composer/autoload_real.php

    r3220398 r3257268  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit52f8510a30b66ec23034f2df95e5df31
     5class ComposerAutoloaderInitc8c93814224bd6d38e781da2d69243f3
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit52f8510a30b66ec23034f2df95e5df31', 'loadClassLoader'), true, true);
     25        require __DIR__ . '/platform_check.php';
     26
     27        spl_autoload_register(array('ComposerAutoloaderInitc8c93814224bd6d38e781da2d69243f3', 'loadClassLoader'), true, true);
    2628        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit52f8510a30b66ec23034f2df95e5df31', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitc8c93814224bd6d38e781da2d69243f3', 'loadClassLoader'));
    2830
    2931        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::getInitializer($loader));
    3133
    3234        $loader->register(true);
    3335
    34         $filesToLoad = \Composer\Autoload\ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::$files;
     36        $filesToLoad = \Composer\Autoload\ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::$files;
    3537        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3638            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • ilovepdf/tags/2.1.9/vendor/composer/autoload_static.php

    r3220398 r3257268  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit52f8510a30b66ec23034f2df95e5df31
     7class ComposerStaticInitc8c93814224bd6d38e781da2d69243f3
    88{
    99    public static $files = array (
     
    8484    {
    8585        return \Closure::bind(function () use ($loader) {
    86             $loader->prefixLengthsPsr4 = ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::$prefixLengthsPsr4;
    87             $loader->prefixDirsPsr4 = ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::$prefixDirsPsr4;
    88             $loader->classMap = ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::$classMap;
     86            $loader->prefixLengthsPsr4 = ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::$prefixLengthsPsr4;
     87            $loader->prefixDirsPsr4 = ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::$prefixDirsPsr4;
     88            $loader->classMap = ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::$classMap;
    8989
    9090        }, null, ClassLoader::class);
  • ilovepdf/tags/2.1.9/vendor/composer/installed.json

    r3220398 r3257268  
    8484        {
    8585            "name": "firebase/php-jwt",
    86             "version": "v6.10.2",
    87             "version_normalized": "6.10.2.0",
     86            "version": "v6.10.0",
     87            "version_normalized": "6.10.0.0",
    8888            "source": {
    8989                "type": "git",
    9090                "url": "https://github.com/firebase/php-jwt.git",
    91                 "reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b"
    92             },
    93             "dist": {
    94                 "type": "zip",
    95                 "url": "https://api.github.com/repos/firebase/php-jwt/zipball/30c19ed0f3264cb660ea496895cfb6ef7ee3653b",
    96                 "reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b",
    97                 "shasum": ""
    98             },
    99             "require": {
    100                 "php": "^8.0"
     91                "reference": "a49db6f0a5033aef5143295342f1c95521b075ff"
     92            },
     93            "dist": {
     94                "type": "zip",
     95                "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff",
     96                "reference": "a49db6f0a5033aef5143295342f1c95521b075ff",
     97                "shasum": ""
     98            },
     99            "require": {
     100                "php": "^7.4||^8.0"
    101101            },
    102102            "require-dev": {
    103                 "guzzlehttp/guzzle": "^7.4",
     103                "guzzlehttp/guzzle": "^6.5||^7.4",
    104104                "phpspec/prophecy-phpunit": "^2.0",
    105105                "phpunit/phpunit": "^9.5",
    106                 "psr/cache": "^2.0||^3.0",
     106                "psr/cache": "^1.0||^2.0",
    107107                "psr/http-client": "^1.0",
    108108                "psr/http-factory": "^1.0"
     
    112112                "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present"
    113113            },
    114             "time": "2024-11-24T11:22:49+00:00",
     114            "time": "2023-12-01T16:26:39+00:00",
    115115            "type": "library",
    116116            "installation-source": "dist",
     
    144144            "support": {
    145145                "issues": "https://github.com/firebase/php-jwt/issues",
    146                 "source": "https://github.com/firebase/php-jwt/tree/v6.10.2"
     146                "source": "https://github.com/firebase/php-jwt/tree/v6.10.0"
    147147            },
    148148            "install-path": "../firebase/php-jwt"
     
    535535        {
    536536            "name": "php-stubs/wordpress-stubs",
    537             "version": "v6.7.1",
    538             "version_normalized": "6.7.1.0",
     537            "version": "v6.7.2",
     538            "version_normalized": "6.7.2.0",
    539539            "source": {
    540540                "type": "git",
    541541                "url": "https://github.com/php-stubs/wordpress-stubs.git",
    542                 "reference": "83448e918bf06d1ed3d67ceb6a985fc266a02fd1"
    543             },
    544             "dist": {
    545                 "type": "zip",
    546                 "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/83448e918bf06d1ed3d67ceb6a985fc266a02fd1",
    547                 "reference": "83448e918bf06d1ed3d67ceb6a985fc266a02fd1",
     542                "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4"
     543            },
     544            "dist": {
     545                "type": "zip",
     546                "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/c04f96cb232fab12a3cbcccf5a47767f0665c3f4",
     547                "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4",
    548548                "shasum": ""
    549549            },
     
    564564                "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
    565565            },
    566             "time": "2024-11-24T03:57:09+00:00",
     566            "time": "2025-02-12T04:51:58+00:00",
    567567            "type": "library",
    568568            "installation-source": "dist",
     
    580580            "support": {
    581581                "issues": "https://github.com/php-stubs/wordpress-stubs/issues",
    582                 "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.7.1"
     582                "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.7.2"
    583583            },
    584584            "install-path": "../php-stubs/wordpress-stubs"
     
    809809        {
    810810            "name": "phpstan/phpstan",
    811             "version": "2.1.1",
    812             "version_normalized": "2.1.1.0",
     811            "version": "2.1.8",
     812            "version_normalized": "2.1.8.0",
    813813            "source": {
    814814                "type": "git",
    815815                "url": "https://github.com/phpstan/phpstan.git",
    816                 "reference": "cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7"
    817             },
    818             "dist": {
    819                 "type": "zip",
    820                 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7",
    821                 "reference": "cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7",
     816                "reference": "f9adff3b87c03b12cc7e46a30a524648e497758f"
     817            },
     818            "dist": {
     819                "type": "zip",
     820                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f9adff3b87c03b12cc7e46a30a524648e497758f",
     821                "reference": "f9adff3b87c03b12cc7e46a30a524648e497758f",
    822822                "shasum": ""
    823823            },
     
    828828                "phpstan/phpstan-shim": "*"
    829829            },
    830             "time": "2025-01-05T16:43:48+00:00",
     830            "time": "2025-03-09T09:30:48+00:00",
    831831            "bin": [
    832832                "phpstan",
     
    10861086        {
    10871087            "name": "squizlabs/php_codesniffer",
    1088             "version": "3.11.2",
    1089             "version_normalized": "3.11.2.0",
     1088            "version": "3.11.3",
     1089            "version_normalized": "3.11.3.0",
    10901090            "source": {
    10911091                "type": "git",
    10921092                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
    1093                 "reference": "1368f4a58c3c52114b86b1abe8f4098869cb0079"
    1094             },
    1095             "dist": {
    1096                 "type": "zip",
    1097                 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/1368f4a58c3c52114b86b1abe8f4098869cb0079",
    1098                 "reference": "1368f4a58c3c52114b86b1abe8f4098869cb0079",
     1093                "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10"
     1094            },
     1095            "dist": {
     1096                "type": "zip",
     1097                "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10",
     1098                "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10",
    10991099                "shasum": ""
    11001100            },
     
    11081108                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    11091109            },
    1110             "time": "2024-12-11T16:04:26+00:00",
     1110            "time": "2025-01-23T17:04:15+00:00",
    11111111            "bin": [
    11121112                "bin/phpcbf",
     
    11631163                    "url": "https://opencollective.com/php_codesniffer",
    11641164                    "type": "open_collective"
     1165                },
     1166                {
     1167                    "url": "https://thanks.dev/phpcsstandards",
     1168                    "type": "thanks_dev"
    11651169                }
    11661170            ],
     
    11691173        {
    11701174            "name": "symfony/deprecation-contracts",
    1171             "version": "v3.5.1",
    1172             "version_normalized": "3.5.1.0",
     1175            "version": "v2.5.4",
     1176            "version_normalized": "2.5.4.0",
    11731177            "source": {
    11741178                "type": "git",
    11751179                "url": "https://github.com/symfony/deprecation-contracts.git",
    1176                 "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
    1177             },
    1178             "dist": {
    1179                 "type": "zip",
    1180                 "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
    1181                 "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
    1182                 "shasum": ""
    1183             },
    1184             "require": {
    1185                 "php": ">=8.1"
    1186             },
    1187             "time": "2024-09-25T14:20:29+00:00",
     1180                "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918"
     1181            },
     1182            "dist": {
     1183                "type": "zip",
     1184                "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918",
     1185                "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918",
     1186                "shasum": ""
     1187            },
     1188            "require": {
     1189                "php": ">=7.1"
     1190            },
     1191            "time": "2024-09-25T14:11:13+00:00",
    11881192            "type": "library",
    11891193            "extra": {
     
    11931197                },
    11941198                "branch-alias": {
    1195                     "dev-main": "3.5-dev"
     1199                    "dev-main": "2.5-dev"
    11961200                }
    11971201            },
     
    12191223            "homepage": "https://symfony.com",
    12201224            "support": {
    1221                 "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
     1225                "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4"
    12221226            },
    12231227            "funding": [
  • ilovepdf/tags/2.1.9/vendor/composer/installed.php

    r3220398 r3257268  
    44        'pretty_version' => 'dev-develop',
    55        'version' => 'dev-develop',
    6         'reference' => '7f4c5eee2d7205b8ff3b601e5845e6457c8cf675',
     6        'reference' => '3b5561f85fde0fc33df4646dbec24277ba7fe8fa',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'firebase/php-jwt' => array(
    23             'pretty_version' => 'v6.10.2',
    24             'version' => '6.10.2.0',
    25             'reference' => '30c19ed0f3264cb660ea496895cfb6ef7ee3653b',
     23            'pretty_version' => 'v6.10.0',
     24            'version' => '6.10.0.0',
     25            'reference' => 'a49db6f0a5033aef5143295342f1c95521b075ff',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../firebase/php-jwt',
     
    6868            'pretty_version' => 'dev-develop',
    6969            'version' => 'dev-develop',
    70             'reference' => '7f4c5eee2d7205b8ff3b601e5845e6457c8cf675',
     70            'reference' => '3b5561f85fde0fc33df4646dbec24277ba7fe8fa',
    7171            'type' => 'wordpress-plugin',
    7272            'install_path' => __DIR__ . '/../../',
     
    7575        ),
    7676        'php-stubs/wordpress-stubs' => array(
    77             'pretty_version' => 'v6.7.1',
    78             'version' => '6.7.1.0',
    79             'reference' => '83448e918bf06d1ed3d67ceb6a985fc266a02fd1',
     77            'pretty_version' => 'v6.7.2',
     78            'version' => '6.7.2.0',
     79            'reference' => 'c04f96cb232fab12a3cbcccf5a47767f0665c3f4',
    8080            'type' => 'library',
    8181            'install_path' => __DIR__ . '/../php-stubs/wordpress-stubs',
     
    111111        ),
    112112        'phpstan/phpstan' => array(
    113             'pretty_version' => '2.1.1',
    114             'version' => '2.1.1.0',
    115             'reference' => 'cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7',
     113            'pretty_version' => '2.1.8',
     114            'version' => '2.1.8.0',
     115            'reference' => 'f9adff3b87c03b12cc7e46a30a524648e497758f',
    116116            'type' => 'library',
    117117            'install_path' => __DIR__ . '/../phpstan/phpstan',
     
    174174        ),
    175175        'squizlabs/php_codesniffer' => array(
    176             'pretty_version' => '3.11.2',
    177             'version' => '3.11.2.0',
    178             'reference' => '1368f4a58c3c52114b86b1abe8f4098869cb0079',
     176            'pretty_version' => '3.11.3',
     177            'version' => '3.11.3.0',
     178            'reference' => 'ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10',
    179179            'type' => 'library',
    180180            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
     
    183183        ),
    184184        'symfony/deprecation-contracts' => array(
    185             'pretty_version' => 'v3.5.1',
    186             'version' => '3.5.1.0',
    187             'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6',
     185            'pretty_version' => 'v2.5.4',
     186            'version' => '2.5.4.0',
     187            'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918',
    188188            'type' => 'library',
    189189            'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
  • ilovepdf/tags/2.1.9/vendor/firebase/php-jwt/CHANGELOG.md

    r3220398 r3257268  
    11# Changelog
    2 
    3 ## [6.10.2](https://github.com/firebase/php-jwt/compare/v6.10.1...v6.10.2) (2024-11-24)
    4 
    5 
    6 ### Bug Fixes
    7 
    8 * Mitigate PHP8.4 deprecation warnings ([#570](https://github.com/firebase/php-jwt/issues/570)) ([76808fa](https://github.com/firebase/php-jwt/commit/76808fa227f3811aa5cdb3bf81233714b799a5b5))
    9 * support php 8.4 ([#583](https://github.com/firebase/php-jwt/issues/583)) ([e3d68b0](https://github.com/firebase/php-jwt/commit/e3d68b044421339443c74199edd020e03fb1887e))
    10 
    11 ## [6.10.1](https://github.com/firebase/php-jwt/compare/v6.10.0...v6.10.1) (2024-05-18)
    12 
    13 
    14 ### Bug Fixes
    15 
    16 * ensure ratelimit expiry is set every time ([#556](https://github.com/firebase/php-jwt/issues/556)) ([09cb208](https://github.com/firebase/php-jwt/commit/09cb2081c2c3bc0f61e2f2a5fbea5741f7498648))
    17 * ratelimit cache expiration ([#550](https://github.com/firebase/php-jwt/issues/550)) ([dda7250](https://github.com/firebase/php-jwt/commit/dda725033585ece30ff8cae8937320d7e9f18bae))
    182
    193## [6.10.0](https://github.com/firebase/php-jwt/compare/v6.9.0...v6.10.0) (2023-11-28)
  • ilovepdf/tags/2.1.9/vendor/firebase/php-jwt/README.md

    r3118395 r3257268  
    1818
    1919Optionally, install the `paragonie/sodium_compat` package from composer if your
    20 php env does not have libsodium installed:
     20php is < 7.2 or does not have libsodium installed:
    2121
    2222```bash
  • ilovepdf/tags/2.1.9/vendor/firebase/php-jwt/composer.json

    r3118395 r3257268  
    2121    "license": "BSD-3-Clause",
    2222    "require": {
    23         "php": "^8.0"
     23        "php": "^7.4||^8.0"
    2424    },
    2525    "suggest": {
     
    3333    },
    3434    "require-dev": {
    35         "guzzlehttp/guzzle": "^7.4",
     35        "guzzlehttp/guzzle": "^6.5||^7.4",
    3636        "phpspec/prophecy-phpunit": "^2.0",
    3737        "phpunit/phpunit": "^9.5",
    38         "psr/cache": "^2.0||^3.0",
     38        "psr/cache": "^1.0||^2.0",
    3939        "psr/http-client": "^1.0",
    4040        "psr/http-factory": "^1.0"
  • ilovepdf/tags/2.1.9/vendor/firebase/php-jwt/src/CachedKeySet.php

    r3220398 r3257268  
    8181        RequestFactoryInterface $httpFactory,
    8282        CacheItemPoolInterface $cache,
    83         ?int $expiresAfter = null,
     83        int $expiresAfter = null,
    8484        bool $rateLimit = false,
    85         ?string $defaultAlg = null
     85        string $defaultAlg = null
    8686    ) {
    8787        $this->jwksUri = $jwksUri;
     
    181181            if ($jwksResponse->getStatusCode() !== 200) {
    182182                throw new UnexpectedValueException(
    183                     \sprintf('HTTP Error: %d %s for URI "%s"',
     183                    sprintf('HTTP Error: %d %s for URI "%s"',
    184184                        $jwksResponse->getStatusCode(),
    185185                        $jwksResponse->getReasonPhrase(),
     
    213213
    214214        $cacheItem = $this->cache->getItem($this->rateLimitCacheKey);
    215 
    216         $cacheItemData = [];
    217         if ($cacheItem->isHit() && \is_array($data = $cacheItem->get())) {
    218             $cacheItemData = $data;
    219         }
    220 
    221         $callsPerMinute = $cacheItemData['callsPerMinute'] ?? 0;
    222         $expiry = $cacheItemData['expiry'] ?? new \DateTime('+60 seconds', new \DateTimeZone('UTC'));
    223 
     215        if (!$cacheItem->isHit()) {
     216            $cacheItem->expiresAfter(1); // # of calls are cached each minute
     217        }
     218
     219        $callsPerMinute = (int) $cacheItem->get();
    224220        if (++$callsPerMinute > $this->maxCallsPerMinute) {
    225221            return true;
    226222        }
    227 
    228         $cacheItem->set(['expiry' => $expiry, 'callsPerMinute' => $callsPerMinute]);
    229         $cacheItem->expiresAt($expiry);
     223        $cacheItem->set($callsPerMinute);
    230224        $this->cache->save($cacheItem);
    231225        return false;
  • ilovepdf/tags/2.1.9/vendor/firebase/php-jwt/src/JWK.php

    r3220398 r3257268  
    5353     * @uses parseKey
    5454     */
    55     public static function parseKeySet(array $jwks, ?string $defaultAlg = null): array
     55    public static function parseKeySet(array $jwks, string $defaultAlg = null): array
    5656    {
    5757        $keys = [];
     
    9494     * @uses createPemFromModulusAndExponent
    9595     */
    96     public static function parseKey(array $jwk, ?string $defaultAlg = null): ?Key
     96    public static function parseKey(array $jwk, string $defaultAlg = null): ?Key
    9797    {
    9898        if (empty($jwk)) {
     
    213213            );
    214214
    215         return \sprintf(
     215        return sprintf(
    216216            "-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n",
    217217            wordwrap(base64_encode($pem), 64, "\n", true)
  • ilovepdf/tags/2.1.9/vendor/firebase/php-jwt/src/JWT.php

    r3220398 r3257268  
    9797        string $jwt,
    9898        $keyOrKeyArray,
    99         ?stdClass &$headers = null
     99        stdClass &$headers = null
    100100    ): stdClass {
    101101        // Validate JWT
     
    201201        $key,
    202202        string $alg,
    203         ?string $keyId = null,
    204         ?array $head = null
     203        string $keyId = null,
     204        array $head = null
    205205    ): string {
    206206        $header = ['typ' => 'JWT'];
    207         if (isset($head)) {
     207        if (isset($head) && \is_array($head)) {
    208208            $header = \array_merge($header, $head);
    209209        }
     
    252252            case 'openssl':
    253253                $signature = '';
    254                 if (!\is_resource($key) && !openssl_pkey_get_private($key)) {
    255                     throw new DomainException('OpenSSL unable to validate key');
    256                 }
    257254                $success = \openssl_sign($msg, $signature, $key, $algorithm); // @phpstan-ignore-line
    258255                if (!$success) {
     
    388385    public static function jsonEncode(array $input): string
    389386    {
    390         $json = \json_encode($input, \JSON_UNESCAPED_SLASHES);
     387        if (PHP_VERSION_ID >= 50400) {
     388            $json = \json_encode($input, \JSON_UNESCAPED_SLASHES);
     389        } else {
     390            // PHP 5.3 only
     391            $json = \json_encode($input);
     392        }
    391393        if ($errno = \json_last_error()) {
    392394            self::handleJsonError($errno);
  • ilovepdf/tags/2.1.9/vendor/symfony/deprecation-contracts/README.md

    r2995378 r3257268  
    2323`Since symfony/blockchain 8.9: Using "bitcoin" is deprecated, use "fabcoin" instead.`
    2424
    25 While not recommended, the deprecation notices can be completely ignored by declaring an empty
     25While not necessarily recommended, the deprecation notices can be completely ignored by declaring an empty
    2626`function trigger_deprecation() {}` in your application.
  • ilovepdf/tags/2.1.9/vendor/symfony/deprecation-contracts/composer.json

    r3086485 r3257268  
    1616    ],
    1717    "require": {
    18         "php": ">=8.1"
     18        "php": ">=7.1"
    1919    },
    2020    "autoload": {
     
    2626    "extra": {
    2727        "branch-alias": {
    28             "dev-main": "3.5-dev"
     28            "dev-main": "2.5-dev"
    2929        },
    3030        "thanks": {
  • ilovepdf/tags/2.1.9/vendor/symfony/deprecation-contracts/function.php

    r2995378 r3257268  
    2121     * @author Nicolas Grekas <p@tchwork.com>
    2222     */
    23     function trigger_deprecation(string $package, string $version, string $message, mixed ...$args): void
     23    function trigger_deprecation(string $package, string $version, string $message, ...$args): void
    2424    {
    2525        @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
  • ilovepdf/trunk/README.txt

    r3238602 r3257268  
    11=== PDF Compressor & Watermark - iLovePDF ===
    22Plugin Name: Image Compressor & Optimizer - iLovePDF
    3 Version: 2.1.8
     3Version: 2.1.9
    44Author: iLovePDF
    55Author URI: https://www.ilovepdf.com/
     
    88Requires at least: 5.3
    99Tested up to: 6.7
    10 Stable tag: 2.1.8
     10Stable tag: 2.1.9
    1111Requires PHP: 7.4
    1212License: GPLv2 or later
     
    8181
    8282== Changelog ==
     83
     84= 2.1.9 =
     85Improved
     86* Improved library compatibility with PHP 7.4
    8387
    8488= 2.1.8 =
  • ilovepdf/trunk/composer.json

    r3220398 r3257268  
    1919        "szepeviktor/phpstan-wordpress": "^2.0",
    2020        "phpstan/extension-installer": "^1.4",
    21         "wp-coding-standards/wpcs": "^3.0"
     21        "wp-coding-standards/wpcs": "^3.1"
    2222    },
    2323    "config": {
    24         "platform-check": false,
     24        "platform": {
     25            "php": "7.4"
     26        },
    2527        "allow-plugins": {
    2628            "phpstan/extension-installer": true,
  • ilovepdf/trunk/gulpfile.mjs

    r3238602 r3257268  
    77import rename from 'gulp-rename';
    88import merge from 'merge-stream';
     9import sourcemaps from 'gulp-sourcemaps';
     10import gulpIf from 'gulp-if';
    911import babel from 'gulp-babel';
    1012
    1113const sass = gulpSass(dartSass);
    1214
     15const config = {
     16    sourceMaps: process.env.NODE_ENV === 'development'
     17}
     18
    1319// Task to compile Sass and minify CSS
    1420gulp.task('build-css', function() {
    1521    return gulp.src('dev/scss/**/*.scss')
     22        .pipe(gulpIf(config.sourceMaps, sourcemaps.init()))
    1623        .pipe(sass().on('error', sass.logError))
    1724        .pipe(autoprefixer({
     
    2128        .pipe(cleanCSS())
    2229        .pipe(rename({ suffix: '.min' }))
     30        .pipe(gulpIf(config.sourceMaps, sourcemaps.write()))
    2331        .pipe(gulp.dest('assets/css'));
    2432});
  • ilovepdf/trunk/ilove-pdf.php

    r3238602 r3257268  
    1111 * Plugin URI:        https://iloveapi.com/
    1212 * Description:       Compress your PDF files and Stamp Images or text into PDF files. This is the Official iLovePDF plugin for WordPress. You can optimize all your PDF and stamp them automatically as you do in ilovepdf.com.
    13  * Version:           2.1.8
     13 * Version:           2.1.9
    1414 * Requires at least: 5.3
    1515 * Requires PHP:      7.4
  • ilovepdf/trunk/includes/Ilove_Pdf.php

    r3238602 r3257268  
    7575
    7676        $this->plugin_name = 'ilove-pdf';
    77         $this->version     = 'wp.2.1.8';
     77        $this->version     = 'wp.2.1.9';
    7878
    7979        $this->load_dependencies();
  • ilovepdf/trunk/package.json

    r3238602 r3257268  
    55  "main": "index.js",
    66  "scripts": {
    7     "dev": "gulp"
     7    "dev": "NODE_ENV='development' gulp",
     8    "build": "NODE_ENV='production' gulp"
    89  },
    910  "author": "ilovepdf",
    1011  "license": "ISC",
    1112  "devDependencies": {
    12     "@babel/core": "^7.26.7",
    13     "@babel/preset-env": "^7.26.7",
     13    "@babel/core": "^7.26",
     14    "@babel/preset-env": "^7.26",
    1415    "gulp": "^5.0.0",
    1516    "gulp-autoprefixer": "^9.0.0",
    1617    "gulp-babel": "^8.0.0",
    1718    "gulp-clean-css": "^4.3.0",
     19    "gulp-if": "^3.0.0",
    1820    "gulp-rename": "^2.0.0",
    19     "gulp-sass": "^6.0.0",
     21    "gulp-sass": "^6.0.1",
     22    "gulp-sourcemaps": "^3.0.0",
    2023    "gulp-uglify": "^3.0.2",
    2124    "merge-stream": "^2.0.0",
    22     "sass": "^1.84"
     25    "sass": "^1.85"
    2326  }
    2427}
  • ilovepdf/trunk/vendor/autoload.php

    r3220398 r3257268  
    2323require_once __DIR__ . '/composer/autoload_real.php';
    2424
    25 return ComposerAutoloaderInit52f8510a30b66ec23034f2df95e5df31::getLoader();
     25return ComposerAutoloaderInitc8c93814224bd6d38e781da2d69243f3::getLoader();
  • ilovepdf/trunk/vendor/composer/InstalledVersions.php

    r3220398 r3257268  
    3232     */
    3333    private static $installed;
     34
     35    /**
     36     * @var bool
     37     */
     38    private static $installedIsLocalDir;
    3439
    3540    /**
     
    310315        self::$installed = $data;
    311316        self::$installedByVendor = array();
     317
     318        // when using reload, we disable the duplicate protection to ensure that self::$installed data is
     319        // always returned, but we cannot know whether it comes from the installed.php in __DIR__ or not,
     320        // so we have to assume it does not, and that may result in duplicate data being returned when listing
     321        // all installed packages for example
     322        self::$installedIsLocalDir = false;
    312323    }
    313324
     
    326337
    327338        if (self::$canGetVendors) {
     339            $selfDir = strtr(__DIR__, '\\', '/');
    328340            foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
     341                $vendorDir = strtr($vendorDir, '\\', '/');
    329342                if (isset(self::$installedByVendor[$vendorDir])) {
    330343                    $installed[] = self::$installedByVendor[$vendorDir];
     
    334347                    self::$installedByVendor[$vendorDir] = $required;
    335348                    $installed[] = $required;
    336                     if (strtr($vendorDir.'/composer', '\\', '/') === strtr(__DIR__, '\\', '/')) {
     349                    if (self::$installed === null && $vendorDir.'/composer' === $selfDir) {
    337350                        self::$installed = $required;
    338                         $copiedLocalDir = true;
     351                        self::$installedIsLocalDir = true;
    339352                    }
     353                }
     354                if (self::$installedIsLocalDir && $vendorDir.'/composer' === $selfDir) {
     355                    $copiedLocalDir = true;
    340356                }
    341357            }
  • ilovepdf/trunk/vendor/composer/autoload_real.php

    r3220398 r3257268  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit52f8510a30b66ec23034f2df95e5df31
     5class ComposerAutoloaderInitc8c93814224bd6d38e781da2d69243f3
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         spl_autoload_register(array('ComposerAutoloaderInit52f8510a30b66ec23034f2df95e5df31', 'loadClassLoader'), true, true);
     25        require __DIR__ . '/platform_check.php';
     26
     27        spl_autoload_register(array('ComposerAutoloaderInitc8c93814224bd6d38e781da2d69243f3', 'loadClassLoader'), true, true);
    2628        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
    27         spl_autoload_unregister(array('ComposerAutoloaderInit52f8510a30b66ec23034f2df95e5df31', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInitc8c93814224bd6d38e781da2d69243f3', 'loadClassLoader'));
    2830
    2931        require __DIR__ . '/autoload_static.php';
    30         call_user_func(\Composer\Autoload\ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::getInitializer($loader));
     32        call_user_func(\Composer\Autoload\ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::getInitializer($loader));
    3133
    3234        $loader->register(true);
    3335
    34         $filesToLoad = \Composer\Autoload\ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::$files;
     36        $filesToLoad = \Composer\Autoload\ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::$files;
    3537        $requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
    3638            if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • ilovepdf/trunk/vendor/composer/autoload_static.php

    r3220398 r3257268  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit52f8510a30b66ec23034f2df95e5df31
     7class ComposerStaticInitc8c93814224bd6d38e781da2d69243f3
    88{
    99    public static $files = array (
     
    8484    {
    8585        return \Closure::bind(function () use ($loader) {
    86             $loader->prefixLengthsPsr4 = ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::$prefixLengthsPsr4;
    87             $loader->prefixDirsPsr4 = ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::$prefixDirsPsr4;
    88             $loader->classMap = ComposerStaticInit52f8510a30b66ec23034f2df95e5df31::$classMap;
     86            $loader->prefixLengthsPsr4 = ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::$prefixLengthsPsr4;
     87            $loader->prefixDirsPsr4 = ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::$prefixDirsPsr4;
     88            $loader->classMap = ComposerStaticInitc8c93814224bd6d38e781da2d69243f3::$classMap;
    8989
    9090        }, null, ClassLoader::class);
  • ilovepdf/trunk/vendor/composer/installed.json

    r3220398 r3257268  
    8484        {
    8585            "name": "firebase/php-jwt",
    86             "version": "v6.10.2",
    87             "version_normalized": "6.10.2.0",
     86            "version": "v6.10.0",
     87            "version_normalized": "6.10.0.0",
    8888            "source": {
    8989                "type": "git",
    9090                "url": "https://github.com/firebase/php-jwt.git",
    91                 "reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b"
    92             },
    93             "dist": {
    94                 "type": "zip",
    95                 "url": "https://api.github.com/repos/firebase/php-jwt/zipball/30c19ed0f3264cb660ea496895cfb6ef7ee3653b",
    96                 "reference": "30c19ed0f3264cb660ea496895cfb6ef7ee3653b",
    97                 "shasum": ""
    98             },
    99             "require": {
    100                 "php": "^8.0"
     91                "reference": "a49db6f0a5033aef5143295342f1c95521b075ff"
     92            },
     93            "dist": {
     94                "type": "zip",
     95                "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff",
     96                "reference": "a49db6f0a5033aef5143295342f1c95521b075ff",
     97                "shasum": ""
     98            },
     99            "require": {
     100                "php": "^7.4||^8.0"
    101101            },
    102102            "require-dev": {
    103                 "guzzlehttp/guzzle": "^7.4",
     103                "guzzlehttp/guzzle": "^6.5||^7.4",
    104104                "phpspec/prophecy-phpunit": "^2.0",
    105105                "phpunit/phpunit": "^9.5",
    106                 "psr/cache": "^2.0||^3.0",
     106                "psr/cache": "^1.0||^2.0",
    107107                "psr/http-client": "^1.0",
    108108                "psr/http-factory": "^1.0"
     
    112112                "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present"
    113113            },
    114             "time": "2024-11-24T11:22:49+00:00",
     114            "time": "2023-12-01T16:26:39+00:00",
    115115            "type": "library",
    116116            "installation-source": "dist",
     
    144144            "support": {
    145145                "issues": "https://github.com/firebase/php-jwt/issues",
    146                 "source": "https://github.com/firebase/php-jwt/tree/v6.10.2"
     146                "source": "https://github.com/firebase/php-jwt/tree/v6.10.0"
    147147            },
    148148            "install-path": "../firebase/php-jwt"
     
    535535        {
    536536            "name": "php-stubs/wordpress-stubs",
    537             "version": "v6.7.1",
    538             "version_normalized": "6.7.1.0",
     537            "version": "v6.7.2",
     538            "version_normalized": "6.7.2.0",
    539539            "source": {
    540540                "type": "git",
    541541                "url": "https://github.com/php-stubs/wordpress-stubs.git",
    542                 "reference": "83448e918bf06d1ed3d67ceb6a985fc266a02fd1"
    543             },
    544             "dist": {
    545                 "type": "zip",
    546                 "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/83448e918bf06d1ed3d67ceb6a985fc266a02fd1",
    547                 "reference": "83448e918bf06d1ed3d67ceb6a985fc266a02fd1",
     542                "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4"
     543            },
     544            "dist": {
     545                "type": "zip",
     546                "url": "https://api.github.com/repos/php-stubs/wordpress-stubs/zipball/c04f96cb232fab12a3cbcccf5a47767f0665c3f4",
     547                "reference": "c04f96cb232fab12a3cbcccf5a47767f0665c3f4",
    548548                "shasum": ""
    549549            },
     
    564564                "szepeviktor/phpstan-wordpress": "WordPress extensions for PHPStan"
    565565            },
    566             "time": "2024-11-24T03:57:09+00:00",
     566            "time": "2025-02-12T04:51:58+00:00",
    567567            "type": "library",
    568568            "installation-source": "dist",
     
    580580            "support": {
    581581                "issues": "https://github.com/php-stubs/wordpress-stubs/issues",
    582                 "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.7.1"
     582                "source": "https://github.com/php-stubs/wordpress-stubs/tree/v6.7.2"
    583583            },
    584584            "install-path": "../php-stubs/wordpress-stubs"
     
    809809        {
    810810            "name": "phpstan/phpstan",
    811             "version": "2.1.1",
    812             "version_normalized": "2.1.1.0",
     811            "version": "2.1.8",
     812            "version_normalized": "2.1.8.0",
    813813            "source": {
    814814                "type": "git",
    815815                "url": "https://github.com/phpstan/phpstan.git",
    816                 "reference": "cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7"
    817             },
    818             "dist": {
    819                 "type": "zip",
    820                 "url": "https://api.github.com/repos/phpstan/phpstan/zipball/cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7",
    821                 "reference": "cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7",
     816                "reference": "f9adff3b87c03b12cc7e46a30a524648e497758f"
     817            },
     818            "dist": {
     819                "type": "zip",
     820                "url": "https://api.github.com/repos/phpstan/phpstan/zipball/f9adff3b87c03b12cc7e46a30a524648e497758f",
     821                "reference": "f9adff3b87c03b12cc7e46a30a524648e497758f",
    822822                "shasum": ""
    823823            },
     
    828828                "phpstan/phpstan-shim": "*"
    829829            },
    830             "time": "2025-01-05T16:43:48+00:00",
     830            "time": "2025-03-09T09:30:48+00:00",
    831831            "bin": [
    832832                "phpstan",
     
    10861086        {
    10871087            "name": "squizlabs/php_codesniffer",
    1088             "version": "3.11.2",
    1089             "version_normalized": "3.11.2.0",
     1088            "version": "3.11.3",
     1089            "version_normalized": "3.11.3.0",
    10901090            "source": {
    10911091                "type": "git",
    10921092                "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git",
    1093                 "reference": "1368f4a58c3c52114b86b1abe8f4098869cb0079"
    1094             },
    1095             "dist": {
    1096                 "type": "zip",
    1097                 "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/1368f4a58c3c52114b86b1abe8f4098869cb0079",
    1098                 "reference": "1368f4a58c3c52114b86b1abe8f4098869cb0079",
     1093                "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10"
     1094            },
     1095            "dist": {
     1096                "type": "zip",
     1097                "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10",
     1098                "reference": "ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10",
    10991099                "shasum": ""
    11001100            },
     
    11081108                "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.3.4"
    11091109            },
    1110             "time": "2024-12-11T16:04:26+00:00",
     1110            "time": "2025-01-23T17:04:15+00:00",
    11111111            "bin": [
    11121112                "bin/phpcbf",
     
    11631163                    "url": "https://opencollective.com/php_codesniffer",
    11641164                    "type": "open_collective"
     1165                },
     1166                {
     1167                    "url": "https://thanks.dev/phpcsstandards",
     1168                    "type": "thanks_dev"
    11651169                }
    11661170            ],
     
    11691173        {
    11701174            "name": "symfony/deprecation-contracts",
    1171             "version": "v3.5.1",
    1172             "version_normalized": "3.5.1.0",
     1175            "version": "v2.5.4",
     1176            "version_normalized": "2.5.4.0",
    11731177            "source": {
    11741178                "type": "git",
    11751179                "url": "https://github.com/symfony/deprecation-contracts.git",
    1176                 "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6"
    1177             },
    1178             "dist": {
    1179                 "type": "zip",
    1180                 "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
    1181                 "reference": "74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6",
    1182                 "shasum": ""
    1183             },
    1184             "require": {
    1185                 "php": ">=8.1"
    1186             },
    1187             "time": "2024-09-25T14:20:29+00:00",
     1180                "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918"
     1181            },
     1182            "dist": {
     1183                "type": "zip",
     1184                "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/605389f2a7e5625f273b53960dc46aeaf9c62918",
     1185                "reference": "605389f2a7e5625f273b53960dc46aeaf9c62918",
     1186                "shasum": ""
     1187            },
     1188            "require": {
     1189                "php": ">=7.1"
     1190            },
     1191            "time": "2024-09-25T14:11:13+00:00",
    11881192            "type": "library",
    11891193            "extra": {
     
    11931197                },
    11941198                "branch-alias": {
    1195                     "dev-main": "3.5-dev"
     1199                    "dev-main": "2.5-dev"
    11961200                }
    11971201            },
     
    12191223            "homepage": "https://symfony.com",
    12201224            "support": {
    1221                 "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.1"
     1225                "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.4"
    12221226            },
    12231227            "funding": [
  • ilovepdf/trunk/vendor/composer/installed.php

    r3220398 r3257268  
    44        'pretty_version' => 'dev-develop',
    55        'version' => 'dev-develop',
    6         'reference' => '7f4c5eee2d7205b8ff3b601e5845e6457c8cf675',
     6        'reference' => '3b5561f85fde0fc33df4646dbec24277ba7fe8fa',
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'firebase/php-jwt' => array(
    23             'pretty_version' => 'v6.10.2',
    24             'version' => '6.10.2.0',
    25             'reference' => '30c19ed0f3264cb660ea496895cfb6ef7ee3653b',
     23            'pretty_version' => 'v6.10.0',
     24            'version' => '6.10.0.0',
     25            'reference' => 'a49db6f0a5033aef5143295342f1c95521b075ff',
    2626            'type' => 'library',
    2727            'install_path' => __DIR__ . '/../firebase/php-jwt',
     
    6868            'pretty_version' => 'dev-develop',
    6969            'version' => 'dev-develop',
    70             'reference' => '7f4c5eee2d7205b8ff3b601e5845e6457c8cf675',
     70            'reference' => '3b5561f85fde0fc33df4646dbec24277ba7fe8fa',
    7171            'type' => 'wordpress-plugin',
    7272            'install_path' => __DIR__ . '/../../',
     
    7575        ),
    7676        'php-stubs/wordpress-stubs' => array(
    77             'pretty_version' => 'v6.7.1',
    78             'version' => '6.7.1.0',
    79             'reference' => '83448e918bf06d1ed3d67ceb6a985fc266a02fd1',
     77            'pretty_version' => 'v6.7.2',
     78            'version' => '6.7.2.0',
     79            'reference' => 'c04f96cb232fab12a3cbcccf5a47767f0665c3f4',
    8080            'type' => 'library',
    8181            'install_path' => __DIR__ . '/../php-stubs/wordpress-stubs',
     
    111111        ),
    112112        'phpstan/phpstan' => array(
    113             'pretty_version' => '2.1.1',
    114             'version' => '2.1.1.0',
    115             'reference' => 'cd6e973e04b4c2b94c86e8612b5a65f0da0e08e7',
     113            'pretty_version' => '2.1.8',
     114            'version' => '2.1.8.0',
     115            'reference' => 'f9adff3b87c03b12cc7e46a30a524648e497758f',
    116116            'type' => 'library',
    117117            'install_path' => __DIR__ . '/../phpstan/phpstan',
     
    174174        ),
    175175        'squizlabs/php_codesniffer' => array(
    176             'pretty_version' => '3.11.2',
    177             'version' => '3.11.2.0',
    178             'reference' => '1368f4a58c3c52114b86b1abe8f4098869cb0079',
     176            'pretty_version' => '3.11.3',
     177            'version' => '3.11.3.0',
     178            'reference' => 'ba05f990e79cbe69b9f35c8c1ac8dca7eecc3a10',
    179179            'type' => 'library',
    180180            'install_path' => __DIR__ . '/../squizlabs/php_codesniffer',
     
    183183        ),
    184184        'symfony/deprecation-contracts' => array(
    185             'pretty_version' => 'v3.5.1',
    186             'version' => '3.5.1.0',
    187             'reference' => '74c71c939a79f7d5bf3c1ce9f5ea37ba0114c6f6',
     185            'pretty_version' => 'v2.5.4',
     186            'version' => '2.5.4.0',
     187            'reference' => '605389f2a7e5625f273b53960dc46aeaf9c62918',
    188188            'type' => 'library',
    189189            'install_path' => __DIR__ . '/../symfony/deprecation-contracts',
  • ilovepdf/trunk/vendor/firebase/php-jwt/CHANGELOG.md

    r3220398 r3257268  
    11# Changelog
    2 
    3 ## [6.10.2](https://github.com/firebase/php-jwt/compare/v6.10.1...v6.10.2) (2024-11-24)
    4 
    5 
    6 ### Bug Fixes
    7 
    8 * Mitigate PHP8.4 deprecation warnings ([#570](https://github.com/firebase/php-jwt/issues/570)) ([76808fa](https://github.com/firebase/php-jwt/commit/76808fa227f3811aa5cdb3bf81233714b799a5b5))
    9 * support php 8.4 ([#583](https://github.com/firebase/php-jwt/issues/583)) ([e3d68b0](https://github.com/firebase/php-jwt/commit/e3d68b044421339443c74199edd020e03fb1887e))
    10 
    11 ## [6.10.1](https://github.com/firebase/php-jwt/compare/v6.10.0...v6.10.1) (2024-05-18)
    12 
    13 
    14 ### Bug Fixes
    15 
    16 * ensure ratelimit expiry is set every time ([#556](https://github.com/firebase/php-jwt/issues/556)) ([09cb208](https://github.com/firebase/php-jwt/commit/09cb2081c2c3bc0f61e2f2a5fbea5741f7498648))
    17 * ratelimit cache expiration ([#550](https://github.com/firebase/php-jwt/issues/550)) ([dda7250](https://github.com/firebase/php-jwt/commit/dda725033585ece30ff8cae8937320d7e9f18bae))
    182
    193## [6.10.0](https://github.com/firebase/php-jwt/compare/v6.9.0...v6.10.0) (2023-11-28)
  • ilovepdf/trunk/vendor/firebase/php-jwt/README.md

    r3118395 r3257268  
    1818
    1919Optionally, install the `paragonie/sodium_compat` package from composer if your
    20 php env does not have libsodium installed:
     20php is < 7.2 or does not have libsodium installed:
    2121
    2222```bash
  • ilovepdf/trunk/vendor/firebase/php-jwt/composer.json

    r3118395 r3257268  
    2121    "license": "BSD-3-Clause",
    2222    "require": {
    23         "php": "^8.0"
     23        "php": "^7.4||^8.0"
    2424    },
    2525    "suggest": {
     
    3333    },
    3434    "require-dev": {
    35         "guzzlehttp/guzzle": "^7.4",
     35        "guzzlehttp/guzzle": "^6.5||^7.4",
    3636        "phpspec/prophecy-phpunit": "^2.0",
    3737        "phpunit/phpunit": "^9.5",
    38         "psr/cache": "^2.0||^3.0",
     38        "psr/cache": "^1.0||^2.0",
    3939        "psr/http-client": "^1.0",
    4040        "psr/http-factory": "^1.0"
  • ilovepdf/trunk/vendor/firebase/php-jwt/src/CachedKeySet.php

    r3220398 r3257268  
    8181        RequestFactoryInterface $httpFactory,
    8282        CacheItemPoolInterface $cache,
    83         ?int $expiresAfter = null,
     83        int $expiresAfter = null,
    8484        bool $rateLimit = false,
    85         ?string $defaultAlg = null
     85        string $defaultAlg = null
    8686    ) {
    8787        $this->jwksUri = $jwksUri;
     
    181181            if ($jwksResponse->getStatusCode() !== 200) {
    182182                throw new UnexpectedValueException(
    183                     \sprintf('HTTP Error: %d %s for URI "%s"',
     183                    sprintf('HTTP Error: %d %s for URI "%s"',
    184184                        $jwksResponse->getStatusCode(),
    185185                        $jwksResponse->getReasonPhrase(),
     
    213213
    214214        $cacheItem = $this->cache->getItem($this->rateLimitCacheKey);
    215 
    216         $cacheItemData = [];
    217         if ($cacheItem->isHit() && \is_array($data = $cacheItem->get())) {
    218             $cacheItemData = $data;
    219         }
    220 
    221         $callsPerMinute = $cacheItemData['callsPerMinute'] ?? 0;
    222         $expiry = $cacheItemData['expiry'] ?? new \DateTime('+60 seconds', new \DateTimeZone('UTC'));
    223 
     215        if (!$cacheItem->isHit()) {
     216            $cacheItem->expiresAfter(1); // # of calls are cached each minute
     217        }
     218
     219        $callsPerMinute = (int) $cacheItem->get();
    224220        if (++$callsPerMinute > $this->maxCallsPerMinute) {
    225221            return true;
    226222        }
    227 
    228         $cacheItem->set(['expiry' => $expiry, 'callsPerMinute' => $callsPerMinute]);
    229         $cacheItem->expiresAt($expiry);
     223        $cacheItem->set($callsPerMinute);
    230224        $this->cache->save($cacheItem);
    231225        return false;
  • ilovepdf/trunk/vendor/firebase/php-jwt/src/JWK.php

    r3220398 r3257268  
    5353     * @uses parseKey
    5454     */
    55     public static function parseKeySet(array $jwks, ?string $defaultAlg = null): array
     55    public static function parseKeySet(array $jwks, string $defaultAlg = null): array
    5656    {
    5757        $keys = [];
     
    9494     * @uses createPemFromModulusAndExponent
    9595     */
    96     public static function parseKey(array $jwk, ?string $defaultAlg = null): ?Key
     96    public static function parseKey(array $jwk, string $defaultAlg = null): ?Key
    9797    {
    9898        if (empty($jwk)) {
     
    213213            );
    214214
    215         return \sprintf(
     215        return sprintf(
    216216            "-----BEGIN PUBLIC KEY-----\n%s\n-----END PUBLIC KEY-----\n",
    217217            wordwrap(base64_encode($pem), 64, "\n", true)
  • ilovepdf/trunk/vendor/firebase/php-jwt/src/JWT.php

    r3220398 r3257268  
    9797        string $jwt,
    9898        $keyOrKeyArray,
    99         ?stdClass &$headers = null
     99        stdClass &$headers = null
    100100    ): stdClass {
    101101        // Validate JWT
     
    201201        $key,
    202202        string $alg,
    203         ?string $keyId = null,
    204         ?array $head = null
     203        string $keyId = null,
     204        array $head = null
    205205    ): string {
    206206        $header = ['typ' => 'JWT'];
    207         if (isset($head)) {
     207        if (isset($head) && \is_array($head)) {
    208208            $header = \array_merge($header, $head);
    209209        }
     
    252252            case 'openssl':
    253253                $signature = '';
    254                 if (!\is_resource($key) && !openssl_pkey_get_private($key)) {
    255                     throw new DomainException('OpenSSL unable to validate key');
    256                 }
    257254                $success = \openssl_sign($msg, $signature, $key, $algorithm); // @phpstan-ignore-line
    258255                if (!$success) {
     
    388385    public static function jsonEncode(array $input): string
    389386    {
    390         $json = \json_encode($input, \JSON_UNESCAPED_SLASHES);
     387        if (PHP_VERSION_ID >= 50400) {
     388            $json = \json_encode($input, \JSON_UNESCAPED_SLASHES);
     389        } else {
     390            // PHP 5.3 only
     391            $json = \json_encode($input);
     392        }
    391393        if ($errno = \json_last_error()) {
    392394            self::handleJsonError($errno);
  • ilovepdf/trunk/vendor/symfony/deprecation-contracts/README.md

    r2995378 r3257268  
    2323`Since symfony/blockchain 8.9: Using "bitcoin" is deprecated, use "fabcoin" instead.`
    2424
    25 While not recommended, the deprecation notices can be completely ignored by declaring an empty
     25While not necessarily recommended, the deprecation notices can be completely ignored by declaring an empty
    2626`function trigger_deprecation() {}` in your application.
  • ilovepdf/trunk/vendor/symfony/deprecation-contracts/composer.json

    r3086485 r3257268  
    1616    ],
    1717    "require": {
    18         "php": ">=8.1"
     18        "php": ">=7.1"
    1919    },
    2020    "autoload": {
     
    2626    "extra": {
    2727        "branch-alias": {
    28             "dev-main": "3.5-dev"
     28            "dev-main": "2.5-dev"
    2929        },
    3030        "thanks": {
  • ilovepdf/trunk/vendor/symfony/deprecation-contracts/function.php

    r2995378 r3257268  
    2121     * @author Nicolas Grekas <p@tchwork.com>
    2222     */
    23     function trigger_deprecation(string $package, string $version, string $message, mixed ...$args): void
     23    function trigger_deprecation(string $package, string $version, string $message, ...$args): void
    2424    {
    2525        @trigger_error(($package || $version ? "Since $package $version: " : '').($args ? vsprintf($message, $args) : $message), \E_USER_DEPRECATED);
Note: See TracChangeset for help on using the changeset viewer.