@lwc/babel-plugin-component 9.1.2 → 9.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
@@ -1320,10 +1320,6 @@ function privateMethodTransform({ types: t, }) {
1320
1320
  return;
1321
1321
  }
1322
1322
  if (methodPath.node.kind !== METHOD_KIND) {
1323
- handleError(methodPath, {
1324
- errorInfo: errors.DecoratorErrors.UNSUPPORTED_PRIVATE_MEMBER,
1325
- messageArgs: ['accessor methods'],
1326
- }, methodState);
1327
1323
  return;
1328
1324
  }
1329
1325
  const node = methodPath.node;
@@ -1352,12 +1348,6 @@ function privateMethodTransform({ types: t, }) {
1352
1348
  privatePath.replaceWith(t.identifier(prefixedName));
1353
1349
  }
1354
1350
  },
1355
- ClassPrivateProperty(propPath, propState) {
1356
- handleError(propPath, {
1357
- errorInfo: errors.DecoratorErrors.UNSUPPORTED_PRIVATE_MEMBER,
1358
- messageArgs: ['fields'],
1359
- }, propState);
1360
- },
1361
1351
  }, state);
1362
1352
  state.file.metadata[PRIVATE_METHOD_METADATA_KEY] = transformedNames;
1363
1353
  },
@@ -1508,5 +1498,5 @@ function LwcClassTransform(api) {
1508
1498
  exports.LwcPrivateMethodTransform = privateMethodTransform;
1509
1499
  exports.LwcReversePrivateMethodTransform = reversePrivateMethodTransform;
1510
1500
  exports.default = LwcClassTransform;
1511
- /** version: 9.1.2 */
1501
+ /** version: 9.1.3 */
1512
1502
  //# sourceMappingURL=index.cjs.map
package/dist/index.js CHANGED
@@ -1316,10 +1316,6 @@ function privateMethodTransform({ types: t, }) {
1316
1316
  return;
1317
1317
  }
1318
1318
  if (methodPath.node.kind !== METHOD_KIND) {
1319
- handleError(methodPath, {
1320
- errorInfo: DecoratorErrors.UNSUPPORTED_PRIVATE_MEMBER,
1321
- messageArgs: ['accessor methods'],
1322
- }, methodState);
1323
1319
  return;
1324
1320
  }
1325
1321
  const node = methodPath.node;
@@ -1348,12 +1344,6 @@ function privateMethodTransform({ types: t, }) {
1348
1344
  privatePath.replaceWith(t.identifier(prefixedName));
1349
1345
  }
1350
1346
  },
1351
- ClassPrivateProperty(propPath, propState) {
1352
- handleError(propPath, {
1353
- errorInfo: DecoratorErrors.UNSUPPORTED_PRIVATE_MEMBER,
1354
- messageArgs: ['fields'],
1355
- }, propState);
1356
- },
1357
1347
  }, state);
1358
1348
  state.file.metadata[PRIVATE_METHOD_METADATA_KEY] = transformedNames;
1359
1349
  },
@@ -1502,5 +1492,5 @@ function LwcClassTransform(api) {
1502
1492
  }
1503
1493
 
1504
1494
  export { privateMethodTransform as LwcPrivateMethodTransform, reversePrivateMethodTransform as LwcReversePrivateMethodTransform, LwcClassTransform as default };
1505
- /** version: 9.1.2 */
1495
+ /** version: 9.1.3 */
1506
1496
  //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "You can safely modify dependencies, devDependencies, keywords, etc., but other props will be overwritten."
5
5
  ],
6
6
  "name": "@lwc/babel-plugin-component",
7
- "version": "9.1.2",
7
+ "version": "9.1.3",
8
8
  "description": "Babel plugin to transform a LWC module",
9
9
  "keywords": [
10
10
  "lwc"
@@ -52,8 +52,8 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@babel/helper-module-imports": "7.28.6",
55
- "@lwc/errors": "9.1.2",
56
- "@lwc/shared": "9.1.2",
55
+ "@lwc/errors": "9.1.3",
56
+ "@lwc/shared": "9.1.3",
57
57
  "line-column": "~1.0.2"
58
58
  },
59
59
  "devDependencies": {