@whatwg-node/server 0.9.41 → 0.9.42

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/cjs/utils.js CHANGED
@@ -352,7 +352,7 @@ function completeAssign(...args) {
352
352
  // By default, Object.assign copies enumerable Symbols, too
353
353
  Object.getOwnPropertySymbols(source).forEach(sym => {
354
354
  const descriptor = Object.getOwnPropertyDescriptor(source, sym);
355
- if (descriptor.enumerable) {
355
+ if (descriptor?.enumerable) {
356
356
  descriptors[sym] = descriptor;
357
357
  }
358
358
  });
package/esm/utils.js CHANGED
@@ -330,7 +330,7 @@ export function completeAssign(...args) {
330
330
  // By default, Object.assign copies enumerable Symbols, too
331
331
  Object.getOwnPropertySymbols(source).forEach(sym => {
332
332
  const descriptor = Object.getOwnPropertyDescriptor(source, sym);
333
- if (descriptor.enumerable) {
333
+ if (descriptor?.enumerable) {
334
334
  descriptors[sym] = descriptor;
335
335
  }
336
336
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/server",
3
- "version": "0.9.41",
3
+ "version": "0.9.42",
4
4
  "description": "Fetch API compliant HTTP Server adapter",
5
5
  "sideEffects": false,
6
6
  "dependencies": {