From 28c7a72db7abab2670142c2a4943b559fa8e7644 Mon Sep 17 00:00:00 2001 From: npt-1707 Date: Fri, 8 May 2026 01:33:42 +0700 Subject: [PATCH] playground/jspm/vendor/cssx-transpiler.js: Limit str to 100 to avoid ReDoS of 0.3s --- playground/jspm/vendor/cssx-transpiler.js | 268 +++++++++++----------- 1 file changed, 134 insertions(+), 134 deletions(-) diff --git a/playground/jspm/vendor/cssx-transpiler.js b/playground/jspm/vendor/cssx-transpiler.js index 25bac7c..f9d274c 100644 --- a/playground/jspm/vendor/cssx-transpiler.js +++ b/playground/jspm/vendor/cssx-transpiler.js @@ -6787,9 +6787,9 @@ return /******/ (function(modules) { // webpackBootstrap return is ? document.createElement(it) : {}; }; },{"./_global":55,"./_is-object":62}],51:[function(require,module,exports){ - // IE 8- don't enum bug keys - module.exports = ( - 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' + // IE 8- don't enum bug keys + module.exports = ( + 'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf' ).split(','); },{}],52:[function(require,module,exports){ // all enumerable object keys, includes symbols @@ -6899,8 +6899,8 @@ return /******/ (function(modules) { // webpackBootstrap },{"./_descriptors":49,"./_object-dp":71,"./_property-desc":82}],58:[function(require,module,exports){ module.exports = require('./_global').document && document.documentElement; },{"./_global":55}],59:[function(require,module,exports){ - module.exports = !require('./_descriptors') && !require('./_fails')(function(){ - return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; + module.exports = !require('./_descriptors') && !require('./_fails')(function(){ + return Object.defineProperty(require('./_dom-create')('div'), 'a', {get: function(){ return 7; }}).a != 7; }); },{"./_descriptors":49,"./_dom-create":50,"./_fails":54}],60:[function(require,module,exports){ // fallback for non-array-like ES3 and non-enumerable old V8 strings @@ -7077,45 +7077,45 @@ return /******/ (function(modules) { // webpackBootstrap onFreeze: onFreeze }; },{"./_fails":54,"./_has":56,"./_is-object":62,"./_object-dp":71,"./_uid":95}],70:[function(require,module,exports){ - // 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties]) - var anObject = require('./_an-object') - , dPs = require('./_object-dps') - , enumBugKeys = require('./_enum-bug-keys') - , IE_PROTO = require('./_shared-key')('IE_PROTO') - , Empty = function(){ /* empty */ } - , PROTOTYPE = 'prototype'; - - // Create object with fake `null` prototype: use iframe Object with cleared prototype - var createDict = function(){ - // Thrash, waste and sodomy: IE GC bug - var iframe = require('./_dom-create')('iframe') - , i = enumBugKeys.length - , gt = '>' - , iframeDocument; - iframe.style.display = 'none'; - require('./_html').appendChild(iframe); - iframe.src = 'javascript:'; // eslint-disable-line no-script-url - // createDict = iframe.contentWindow.Object; - // html.removeChild(iframe); - iframeDocument = iframe.contentWindow.document; - iframeDocument.open(); - iframeDocument.write('