@fedify/express 2.5.0-dev.2619 → 2.5.0-dev.2687

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
@@ -142,7 +142,7 @@ function waitForReadable(message, signal) {
142
142
  }
143
143
  function setEResponse(res, response) {
144
144
  res.status(response.status);
145
- response.headers.forEach((value, key) => res.setHeader(key, value));
145
+ for (const [key, value] of response.headers) res.setHeader(key, value);
146
146
  if (response.body == null) return Promise.resolve();
147
147
  const body = response.body;
148
148
  return new Promise((resolve) => {
package/dist/index.js CHANGED
@@ -141,7 +141,7 @@ function waitForReadable(message, signal) {
141
141
  }
142
142
  function setEResponse(res, response) {
143
143
  res.status(response.status);
144
- response.headers.forEach((value, key) => res.setHeader(key, value));
144
+ for (const [key, value] of response.headers) res.setHeader(key, value);
145
145
  if (response.body == null) return Promise.resolve();
146
146
  const body = response.body;
147
147
  return new Promise((resolve) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fedify/express",
3
- "version": "2.5.0-dev.2619+88aa7efd",
3
+ "version": "2.5.0-dev.2687+924da5ce",
4
4
  "description": "Integrate Fedify with Express",
5
5
  "keywords": [
6
6
  "Fedify",
@@ -46,7 +46,7 @@
46
46
  ],
47
47
  "peerDependencies": {
48
48
  "express": ">=4.0.0",
49
- "@fedify/fedify": "^2.5.0-dev.2619+88aa7efd"
49
+ "@fedify/fedify": "^2.5.0-dev.2687+924da5ce"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/express": "^4.0.0",