porffor 0.28.8 → 0.28.10

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.
@@ -174,6 +174,9 @@ export default (funcs, globals, tags, pages, data, flags, noTreeshake = false) =
174
174
  let argc = func.params.length;
175
175
  if (func.constr) argc -= 4;
176
176
  if (!func.internal || func.typedParams) argc = Math.floor(argc / 2);
177
+
178
+ if (name.startsWith('#')) name = '';
179
+
177
180
  bytes.push(argc % 256, (argc / 256 | 0) % 256);
178
181
 
179
182
  // userland exposed .length
@@ -573,7 +573,7 @@ export const __Object_defineProperty = (target: any, prop: any, descriptor: any)
573
573
  set ??= existingDesc.set;
574
574
  } else {
575
575
  value ??= existingDesc.value;
576
- writable ??= existingDesc.value;
576
+ writable ??= existingDesc.writable;
577
577
  }
578
578
  }
579
579