@whatwg-node/server 0.9.51 → 0.9.52

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.
@@ -127,6 +127,8 @@ function getRequestFromUWSRequest({ req, res, fetchAPI, signal }) {
127
127
  get() {
128
128
  return getBody();
129
129
  },
130
+ configurable: true,
131
+ enumerable: true,
130
132
  },
131
133
  json: {
132
134
  value() {
@@ -134,16 +136,22 @@ function getRequestFromUWSRequest({ req, res, fetchAPI, signal }) {
134
136
  .then(b => b.toString('utf8'))
135
137
  .then(t => JSON.parse(t));
136
138
  },
139
+ configurable: true,
140
+ enumerable: true,
137
141
  },
138
142
  text: {
139
143
  value() {
140
144
  return collectBuffer().then(b => b.toString('utf8'));
141
145
  },
146
+ configurable: true,
147
+ enumerable: true,
142
148
  },
143
149
  arrayBuffer: {
144
150
  value() {
145
151
  return collectBuffer();
146
152
  },
153
+ configurable: true,
154
+ enumerable: true,
147
155
  },
148
156
  });
149
157
  return request;
@@ -121,6 +121,8 @@ export function getRequestFromUWSRequest({ req, res, fetchAPI, signal }) {
121
121
  get() {
122
122
  return getBody();
123
123
  },
124
+ configurable: true,
125
+ enumerable: true,
124
126
  },
125
127
  json: {
126
128
  value() {
@@ -128,16 +130,22 @@ export function getRequestFromUWSRequest({ req, res, fetchAPI, signal }) {
128
130
  .then(b => b.toString('utf8'))
129
131
  .then(t => JSON.parse(t));
130
132
  },
133
+ configurable: true,
134
+ enumerable: true,
131
135
  },
132
136
  text: {
133
137
  value() {
134
138
  return collectBuffer().then(b => b.toString('utf8'));
135
139
  },
140
+ configurable: true,
141
+ enumerable: true,
136
142
  },
137
143
  arrayBuffer: {
138
144
  value() {
139
145
  return collectBuffer();
140
146
  },
147
+ configurable: true,
148
+ enumerable: true,
141
149
  },
142
150
  });
143
151
  return request;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whatwg-node/server",
3
- "version": "0.9.51",
3
+ "version": "0.9.52",
4
4
  "description": "Fetch API compliant HTTP Server adapter",
5
5
  "sideEffects": false,
6
6
  "dependencies": {