cem-plugin-wrec 0.0.4 → 0.1.1

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.
Files changed (2) hide show
  1. package/index.js +1 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  //TODO: Does this support JSDoc comment attributes like @attr by default?
2
2
  export default function wrecPlugin() {
3
- console.log("wrecPlugin function entered");
4
3
  const MEMBERS_TO_HIDE = new Set(["css", "html", "properties"]);
5
4
 
6
5
  let currentClass;
@@ -119,7 +118,7 @@ export default function wrecPlugin() {
119
118
  (declaration) => declaration.kind === "class"
120
119
  );
121
120
 
122
- for (aClass of classes) {
121
+ for (const aClass of classes) {
123
122
  const { members } = aClass;
124
123
  if (members) {
125
124
  aClass.members = members.filter(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cem-plugin-wrec",
3
- "version": "0.0.4",
3
+ "version": "0.1.1",
4
4
  "description": "plugin for use with @custom-elements-manifest/analyzer",
5
5
  "type": "module",
6
6
  "main": "index.js",