Plugin Directory

Changeset 2763004


Ignore:
Timestamp:
07/28/2022 02:21:10 PM (4 years ago)
Author:
Lars-
Message:

Updated scssphp to 1.10.5

Location:
jvh-easy-scss-and-js/trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • jvh-easy-scss-and-js/trunk/init.php

    r2687974 r2763004  
    33 * Plugin Name:       Easy SCSS and JS
    44 * Description:       This plugin adds SCSS functionality, compresses JS for you and creates an easy way to enqueue scripts and styles as well as localize them.
    5  * Version:           2.5.5
     5 * Version:           2.5.6
    66 * Author:            Lars Jansen
    77 * Author URI:        https://www.ljpc.solutions
  • jvh-easy-scss-and-js/trunk/readme.txt

    r2687974 r2763004  
    77Author: Lars Jansen
    88Requires at least: 5.5
    9 Tested up to: 5.9.1
    10 Stable tag: 2.5.5
     9Tested up to: 6.0.1
     10Stable tag: 2.5.6
    1111Requires PHP: 7.4
    12 Version: 2.5.5
     12Version: 2.5.6
    1313
    1414== Description ==
     
    116116== Changelog ==
    117117
     118v2.5.6
     119- Updated scssphp to 1.10.5
     120
    118121v2.5.5
    119122- Updated scssphp to 1.10.2
  • jvh-easy-scss-and-js/trunk/vendor/scssphp/src/Compiler.php

    r2687974 r2763004  
    23512351
    23522352    /**
    2353      * Compile children and throw exception if unexpected `@return`
    2354      *
    2355      * @param array                                  $stms
     2353     * Compile children and throw exception if unexpected at-return
     2354     *
     2355     * @param array[]                                $stms
    23562356     * @param \ScssPhp\ScssPhp\Formatter\OutputBlock $out
    23572357     * @param \ScssPhp\ScssPhp\Block                 $selfParent
     
    23682368        foreach ($stms as $stm) {
    23692369            if ($selfParent && isset($stm[1]) && \is_object($stm[1]) && $stm[1] instanceof Block) {
     2370                $oldSelfParent = $stm[1]->selfParent;
    23702371                $stm[1]->selfParent = $selfParent;
    23712372                $ret = $this->compileChild($stm, $out);
    2372                 $stm[1]->selfParent = null;
     2373                $stm[1]->selfParent = $oldSelfParent;
    23732374            } elseif ($selfParent && \in_array($stm[0], [Type::T_INCLUDE, Type::T_EXTEND])) {
    23742375                $stm['selfParent'] = $selfParent;
    23752376                $ret = $this->compileChild($stm, $out);
    2376                 unset($stm['selfParent']);
    23772377            } else {
    23782378                $ret = $this->compileChild($stm, $out);
     
    35453545                // 2. op[left type][right type] (passing the op as first arg)
    35463546                // 3. op[op name]
    3547                 if (\is_callable([$this, $fn = "op${ucOpName}${ucLType}${ucRType}"])) {
     3547                if (\is_callable([$this, $fn = "op{$ucOpName}{$ucLType}{$ucRType}"])) {
    35483548                    $out = $this->$fn($left, $right, $shouldEval);
    3549                 } elseif (\is_callable([$this, $fn = "op${ucLType}${ucRType}"])) {
     3549                } elseif (\is_callable([$this, $fn = "op{$ucLType}{$ucRType}"])) {
    35503550                    $out = $this->$fn($op, $left, $right, $shouldEval);
    3551                 } elseif (\is_callable([$this, $fn = "op${ucOpName}"])) {
     3551                } elseif (\is_callable([$this, $fn = "op{$ucOpName}"])) {
    35523552                    $out = $this->$fn($left, $right, $shouldEval);
    35533553                } else {
     
    38933893        // Special functions overriding a CSS function are case-insensitive. We normalize them as lowercase
    38943894        // to avoid the deprecation warning about the wrong case being used.
    3895         if ($lowercasedName === 'min' || $lowercasedName === 'max') {
     3895        if ($lowercasedName === 'min' || $lowercasedName === 'max' || $lowercasedName === 'rgb' || $lowercasedName === 'rgba' || $lowercasedName === 'hsl' || $lowercasedName === 'hsla') {
    38963896            $normalizedName = $lowercasedName;
    38973897        }
     
    87708770    {
    87718771        $list = $this->coerceList($args[0], ',', false);
    8772         $n = $this->assertNumber($args[1])->getDimension();
     8772        $n = $this->assertInteger($args[1]);
    87738773
    87748774        if ($n > 0) {
     
    87858785    {
    87868786        $list = $this->coerceList($args[0]);
    8787         $n = $this->assertNumber($args[1])->getDimension();
     8787        $n = $this->assertInteger($args[1]);
    87888788
    87898789        if ($n > 0) {
  • jvh-easy-scss-and-js/trunk/vendor/scssphp/src/Logger/QuietLogger.php

    r2643889 r2763004  
    1515/**
    1616 * A logger that silently ignores all messages.
     17 *
     18 * @final
    1719 */
    1820class QuietLogger implements LoggerInterface
  • jvh-easy-scss-and-js/trunk/vendor/scssphp/src/Logger/StreamLogger.php

    r2643889 r2763004  
    1515/**
    1616 * A logger that prints to a PHP stream (for instance stderr)
     17 *
     18 * @final
    1719 */
    1820class StreamLogger implements LoggerInterface
  • jvh-easy-scss-and-js/trunk/vendor/scssphp/src/Version.php

    r2687974 r2763004  
    2020class Version
    2121{
    22     const VERSION = '1.10.2';
     22    const VERSION = '1.10.5';
    2323}
Note: See TracChangeset for help on using the changeset viewer.