@ampproject/toolbox-optimizer
Advanced tools
Comparing version 2.8.8 to 2.8.9
@@ -213,2 +213,5 @@ /** | ||
); | ||
this.nodesToTransform = this.nodesToTransform.filter( | ||
(nodeToTransform) => nodeToTransform !== node | ||
); | ||
this.canRemoveBoilerplate = false; | ||
@@ -220,2 +223,3 @@ } | ||
node.attribs.id = id; | ||
this.ids.add(id); | ||
} else { | ||
@@ -222,0 +226,0 @@ this.transformedNodesCounter--; |
{ | ||
"name": "@ampproject/toolbox-optimizer", | ||
"version": "2.8.8", | ||
"version": "2.8.9", | ||
"description": "Server-side rendering for AMPs.", | ||
@@ -51,3 +51,3 @@ "main": "index.js", | ||
"homepage": "https://github.com/ampproject/amp-toolbox/tree/main/packages/optimizer", | ||
"gitHead": "a2f119379a740b54d19240a36197de3dc22b333d" | ||
"gitHead": "52fcf9a80314a678b7a16fdab77fff0c6ad06f67" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
253305
5688