v1.0 with SW PWA enabled

This commit is contained in:
Blomios
2026-01-01 17:40:53 +01:00
parent 1c0e22aac1
commit 3c8bebb2ad
29775 changed files with 2197201 additions and 119080 deletions

View File

@ -50,9 +50,9 @@ const {
function replaceWithMultiple(nodes) {
var _getCachedPaths;
_context.resync.call(this);
nodes = _modification._verifyNodeList.call(this, nodes);
inheritLeadingComments(nodes[0], this.node);
inheritTrailingComments(nodes[nodes.length - 1], this.node);
const verifiedNodes = _modification._verifyNodeList.call(this, nodes);
inheritLeadingComments(verifiedNodes[0], this.node);
inheritTrailingComments(verifiedNodes[verifiedNodes.length - 1], this.node);
(_getCachedPaths = (0, _cache.getCachedPaths)(this)) == null || _getCachedPaths.delete(this.node);
this.node = this.container[this.key] = null;
const paths = this.insertAfter(nodes);
@ -142,7 +142,8 @@ function _replaceWith(node) {
}
this.debug(`Replace with ${node == null ? void 0 : node.type}`);
(_getCachedPaths2 = (0, _cache.getCachedPaths)(this)) == null || _getCachedPaths2.set(node, this).delete(this.node);
this.node = this.container[this.key] = node;
this.node = node;
this.container[this.key] = node;
}
function replaceExpressionWithStatements(nodes) {
_context.resync.call(this);