mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
update node modules
This commit is contained in:
8
node_modules/clean-css/lib/optimizer/wrap-for-optimizing.js
generated
vendored
8
node_modules/clean-css/lib/optimizer/wrap-for-optimizing.js
generated
vendored
@@ -17,7 +17,7 @@ var Match = {
|
||||
VARIABLE_REFERENCE_PATTERN: /var\(--.+\)$/
|
||||
};
|
||||
|
||||
function wrapAll(properties, includeVariable, skipProperties) {
|
||||
function wrapAll(properties, skipProperties) {
|
||||
var wrapped = [];
|
||||
var single;
|
||||
var property;
|
||||
@@ -30,10 +30,6 @@ function wrapAll(properties, includeVariable, skipProperties) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!includeVariable && someVariableReferences(property)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (skipProperties && skipProperties.indexOf(property[1][1]) > -1) {
|
||||
continue;
|
||||
}
|
||||
@@ -174,10 +170,12 @@ function wrapSingle(property) {
|
||||
block: property[2] && property[2][0] == Token.PROPERTY_BLOCK,
|
||||
components: [],
|
||||
dirty: false,
|
||||
dynamic: someVariableReferences(property),
|
||||
hack: whichHack,
|
||||
important: importantProperty,
|
||||
name: property[1][1],
|
||||
multiplex: property.length > 3 ? isMultiplex(property) : false,
|
||||
optimizable: true,
|
||||
position: 0,
|
||||
shorthand: false,
|
||||
unused: false,
|
||||
|
Reference in New Issue
Block a user