@maverick-js/compiler
Advanced tools
Comparing version 0.24.1 to 0.25.0
@@ -149,2 +149,3 @@ import * as _vite from 'vite'; | ||
interface TransformFeatures { | ||
diffArrays: boolean; | ||
delegateEvents: boolean; | ||
@@ -151,0 +152,0 @@ groupDOMEffects: boolean; |
@@ -740,3 +740,5 @@ import { createFunctionCall, setGlobalLogLevel, mapLogLevelStringToNumber, log, logTime, Declarations, format, createImportDeclaration, trimQuotes, trimTrailingSemicolon, createStringLiteral, selfInvokingFunction, escapeDoubleQuotes, createObjectLiteral, trimWhitespace } from './chunks/chunk-T3EEEZAO.js'; | ||
insert: "$$_insert", | ||
insertLite: "$$_insert_lite", | ||
insertAtMarker: "$$_insert_at_marker", | ||
insertAtMarkerLite: "$$_insert_at_marker_lite", | ||
listen: "$$_listen", | ||
@@ -843,3 +845,3 @@ delegateEvents: "$$_delegate_events", | ||
const parentId = ctx.hydratable ? (marker == null ? void 0 : marker()) ?? null : getParentElementId(); | ||
const insertId = ctx.hydratable ? RUNTIME.insertAtMarker : RUNTIME.insert; | ||
const insertId = ctx.hydratable ? !ctx.diffArrays ? RUNTIME.insertAtMarkerLite : RUNTIME.insertAtMarker : !ctx.diffArrays ? RUNTIME.insertLite : RUNTIME.insert; | ||
expressions.push(createFunctionCall(insertId, [parentId, block, beforeId])); | ||
@@ -1601,2 +1603,3 @@ ctx.runtime.add(insertId); | ||
logLevel = "warn", | ||
diffArrays = true, | ||
delegateEvents = false, | ||
@@ -1620,2 +1623,3 @@ groupDOMEffects = false | ||
hydratable, | ||
diffArrays, | ||
delegateEvents, | ||
@@ -1681,2 +1685,3 @@ groupDOMEffects | ||
pretty: null, | ||
diffArrays: true, | ||
delegateEvents: false, | ||
@@ -1696,2 +1701,3 @@ groupDOMEffects: false, | ||
pretty, | ||
diffArrays, | ||
delegateEvents, | ||
@@ -1709,2 +1715,3 @@ groupDOMEffects | ||
pretty: pretty ?? true, | ||
diffArrays, | ||
delegateEvents, | ||
@@ -1711,0 +1718,0 @@ groupDOMEffects |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.24.1", | ||
"version": "0.25.0", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "module": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
256790
7046