@vue-jsx-vapor/compiler 2.1.1 → 2.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -645,7 +645,6 @@ function processDynamicChildren(context) {
645
645
  const anchor = prevDynamics[0].anchor = context.increaseId();
646
646
  registerInsertion(prevDynamics, context, anchor);
647
647
  } else {
648
- prevDynamics[0].flags -= 2 /* NON_TEMPLATE */;
649
648
  registerInsertion(
650
649
  prevDynamics,
651
650
  context,
@@ -664,7 +663,6 @@ function processDynamicChildren(context) {
664
663
  }
665
664
  function registerInsertion(dynamics, context, anchor) {
666
665
  for (const child of dynamics) {
667
- console.log(child);
668
666
  if (child.template != null) {
669
667
  context.registerOperation({
670
668
  type: 9 /* INSERT_NODE */,
@@ -1378,7 +1376,11 @@ var transformVOn = (dir, node, context) => {
1378
1376
  key: arg,
1379
1377
  value: handler,
1380
1378
  handler: true,
1381
- handlerModifiers: eventOptionModifiers
1379
+ handlerModifiers: {
1380
+ keys: keyModifiers,
1381
+ nonKeys: nonKeyModifiers,
1382
+ options: eventOptionModifiers
1383
+ }
1382
1384
  };
1383
1385
  }
1384
1386
  const delegate = arg.isStatic && !eventOptionModifiers.length && delegatedEvents(arg.content);
package/dist/index.js CHANGED
@@ -645,7 +645,6 @@ function processDynamicChildren(context) {
645
645
  const anchor = prevDynamics[0].anchor = context.increaseId();
646
646
  registerInsertion(prevDynamics, context, anchor);
647
647
  } else {
648
- prevDynamics[0].flags -= 2 /* NON_TEMPLATE */;
649
648
  registerInsertion(
650
649
  prevDynamics,
651
650
  context,
@@ -664,7 +663,6 @@ function processDynamicChildren(context) {
664
663
  }
665
664
  function registerInsertion(dynamics, context, anchor) {
666
665
  for (const child of dynamics) {
667
- console.log(child);
668
666
  if (child.template != null) {
669
667
  context.registerOperation({
670
668
  type: 9 /* INSERT_NODE */,
@@ -1378,7 +1376,11 @@ var transformVOn = (dir, node, context) => {
1378
1376
  key: arg,
1379
1377
  value: handler,
1380
1378
  handler: true,
1381
- handlerModifiers: eventOptionModifiers
1379
+ handlerModifiers: {
1380
+ keys: keyModifiers,
1381
+ nonKeys: nonKeyModifiers,
1382
+ options: eventOptionModifiers
1383
+ }
1382
1384
  };
1383
1385
  }
1384
1386
  const delegate = arg.isStatic && !eventOptionModifiers.length && delegatedEvents(arg.content);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vue-jsx-vapor/compiler",
3
- "version": "2.1.1",
3
+ "version": "2.1.3",
4
4
  "description": "Vue JSX Vapor Compiler",
5
5
  "type": "module",
6
6
  "keywords": [
@@ -50,9 +50,9 @@
50
50
  "dependencies": {
51
51
  "@babel/parser": "^7.26.8",
52
52
  "@babel/types": "^7.26.8",
53
- "@vue/compiler-dom": "https://pkg.pr.new/@vue/compiler-dom@34957eb",
54
- "@vue/compiler-vapor": "https://pkg.pr.new/@vue/compiler-vapor@13044",
55
- "@vue/shared": "https://pkg.pr.new/@vue/shared@34957eb"
53
+ "@vue/compiler-dom": "https://pkg.pr.new/@vue/compiler-dom@13061",
54
+ "@vue/compiler-vapor": "https://pkg.pr.new/@vue/compiler-vapor@13061",
55
+ "@vue/shared": "https://pkg.pr.new/@vue/shared@13061"
56
56
  },
57
57
  "scripts": {
58
58
  "build": "tsup",