fix(core): update
This commit is contained in:
		| @@ -26,16 +26,28 @@ mirror: | |||||||
|     - docker |     - docker | ||||||
|     - notpriv |     - notpriv | ||||||
|  |  | ||||||
| audit: | auditProductionDependencies: | ||||||
|  |   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||||
|  |   stage: security | ||||||
|  |   script: | ||||||
|  |     - npmci npm prepare | ||||||
|  |     - npmci command npm install --production --ignore-scripts | ||||||
|  |     - npmci command npm config set registry https://registry.npmjs.org | ||||||
|  |     - npmci command npm audit --audit-level=high --only=prod --production | ||||||
|  |   tags: | ||||||
|  |     - docker | ||||||
|  |  | ||||||
|  | auditDevDependencies: | ||||||
|   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci |   image: registry.gitlab.com/hosttoday/ht-docker-node:npmci | ||||||
|   stage: security |   stage: security | ||||||
|   script: |   script: | ||||||
|     - npmci npm prepare |     - npmci npm prepare | ||||||
|     - npmci command npm install --ignore-scripts |     - npmci command npm install --ignore-scripts | ||||||
|     - npmci command npm config set registry https://registry.npmjs.org |     - npmci command npm config set registry https://registry.npmjs.org | ||||||
|     - npmci command npm audit --audit-level=high |     - npmci command npm audit --audit-level=high --only=dev | ||||||
|   tags: |   tags: | ||||||
|     - docker |     - docker | ||||||
|  |   allow_failure: true | ||||||
|  |  | ||||||
| # ==================== | # ==================== | ||||||
| # test stage | # test stage | ||||||
|   | |||||||
| @@ -66,7 +66,6 @@ export class SmartSSR { | |||||||
|     const renderedPageString = pageContent; |     const renderedPageString = pageContent; | ||||||
|     resultDeferred.resolve(renderedPageString); |     resultDeferred.resolve(renderedPageString); | ||||||
|  |  | ||||||
|  |  | ||||||
|     const result = await resultDeferred.promise; |     const result = await resultDeferred.promise; | ||||||
|     renderTimeMeasurement.stop(); |     renderTimeMeasurement.stop(); | ||||||
|  |  | ||||||
|   | |||||||
| @@ -47,11 +47,12 @@ export function serializeFunction(rootNode) { | |||||||
|         slotsForMove.push(slot); |         slotsForMove.push(slot); | ||||||
|       }); |       }); | ||||||
|  |  | ||||||
|        |  | ||||||
|       for (const slot of slotsForMove) { |       for (const slot of slotsForMove) { | ||||||
|         const slottedLightNodesForMove = []; |         const slottedLightNodesForMove = []; | ||||||
|         slot.assignedNodes().forEach((lightNode) => slottedLightNodesForMove.push(lightNode)); |         slot.assignedNodes().forEach((lightNode) => slottedLightNodesForMove.push(lightNode)); | ||||||
|         slottedLightNodesForMove.forEach((lightNode) => slot.parentNode.insertBefore(lightNode, slot)); |         slottedLightNodesForMove.forEach((lightNode) => | ||||||
|  |           slot.parentNode.insertBefore(lightNode, slot) | ||||||
|  |         ); | ||||||
|       } |       } | ||||||
|  |  | ||||||
|       // lets modify the css |       // lets modify the css | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user