Software: Apache. PHP/8.1.30 uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root) Safe-mode: OFF (not secure) /home/picotech/domains/inventory.picotech.app/public_html/node_modules/csso/lib/replace/ drwxr-xr-x |
Viewing file: Select action/file-type: // Can unquote attribute detection // Adopted implementation of Mathias Bynens // https://github.com/mathiasbynens/mothereff.in/blob/master/unquoted-attributes/eff.js var escapesRx = /\\([0-9A-Fa-f]{1,6})(\r\n|[ \t\n\f\r])?|\\./g; var blockUnquoteRx = /^(-?\d|--)|[\u0000-\u002c\u002e\u002f\u003A-\u0040\u005B-\u005E\u0060\u007B-\u009f]/; function canUnquote(value) { if (value === '' || value === '-') { return; } // Escapes are valid, so replace them with a valid non-empty string value = value.replace(escapesRx, 'a'); return !blockUnquoteRx.test(value); } module.exports = function(node) { var attrValue = node.value; if (!attrValue || attrValue.type !== 'String') { return; } var unquotedValue = attrValue.value.replace(/^(.)(.*)\1$/, '$2'); if (canUnquote(unquotedValue)) { node.value = { type: 'Identifier', loc: attrValue.loc, name: unquotedValue }; } }; |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0032 ]-- |