yes-https 2.0.0 → 3.0.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.
@@ -1,7 +1,7 @@
1
1
  on:
2
2
  push:
3
3
  branches:
4
- - master
4
+ - main
5
5
  pull_request:
6
6
  name: ci
7
7
  jobs:
@@ -9,46 +9,36 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  strategy:
11
11
  matrix:
12
- node: [10, 12, 13]
12
+ node: [18, 20]
13
13
  steps:
14
- - uses: actions/checkout@v2
15
- - uses: actions/setup-node@v1
14
+ - uses: actions/checkout@v4
15
+ - uses: actions/setup-node@v4
16
16
  with:
17
17
  node-version: ${{ matrix.node }}
18
18
  - run: node --version
19
19
  - run: npm install
20
20
  - run: npm test
21
+ - uses: codecov/codecov-action@v4
22
+ with:
23
+ name: actions ${{ matrix.node }}
21
24
  lint:
22
25
  runs-on: ubuntu-latest
23
26
  steps:
24
- - uses: actions/checkout@v2
25
- - uses: actions/setup-node@v1
27
+ - uses: actions/checkout@v4
28
+ - uses: actions/setup-node@v4
26
29
  with:
27
- node-version: 12
30
+ node-version: 20
28
31
  - run: npm install
29
32
  - run: npm run lint
30
- coverage:
31
- runs-on: ubuntu-latest
32
- steps:
33
- - uses: actions/checkout@v2
34
- - uses: actions/setup-node@v1
35
- with:
36
- node-version: 12
37
- - run: npm install
38
- - run: npm test
39
- - run: npm run coverage
40
- - uses: codecov/codecov-action@v1
41
- with:
42
- token: ${{ secrets.CODECOV_TOKEN }}
43
33
  release:
44
- if: github.ref == 'refs/heads/master'
34
+ if: github.ref == 'refs/heads/main'
45
35
  runs-on: ubuntu-latest
46
36
  needs: [test, lint]
47
37
  steps:
48
- - uses: actions/checkout@v2
49
- - uses: actions/setup-node@v1
38
+ - uses: actions/checkout@v4
39
+ - uses: actions/setup-node@v4
50
40
  with:
51
- node-version: 12
41
+ node-version: 20
52
42
  - run: npm install
53
43
  - run: npx semantic-release
54
44
  env:
@@ -0,0 +1,3 @@
1
+ {
2
+ "branches": ["main"]
3
+ }
package/README.md CHANGED
@@ -18,8 +18,8 @@ It does this two ways:
18
18
  ## Usage
19
19
 
20
20
  ```js
21
- const yes = require('yes-https');
22
- const express = require('express');
21
+ import yes from 'yes-https';
22
+ import express from 'express';
23
23
 
24
24
  let app = express();
25
25
 
package/example/app.js CHANGED
@@ -1,5 +1,6 @@
1
- const express = require('express');
2
- const yes = require('../lib');
1
+ import process from 'node:process';
2
+ import express from 'express';
3
+ import yes from '../lib/index.js';
3
4
 
4
5
  const app = express();
5
6
 
@@ -0,0 +1,495 @@
1
+ {
2
+ "name": "yes-https-example",
3
+ "version": "1.0.0",
4
+ "lockfileVersion": 1,
5
+ "requires": true,
6
+ "dependencies": {
7
+ "accepts": {
8
+ "version": "1.3.8",
9
+ "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz",
10
+ "integrity": "sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==",
11
+ "requires": {
12
+ "mime-types": "~2.1.34",
13
+ "negotiator": "0.6.3"
14
+ }
15
+ },
16
+ "array-flatten": {
17
+ "version": "1.1.1",
18
+ "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
19
+ "integrity": "sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg=="
20
+ },
21
+ "body-parser": {
22
+ "version": "1.20.2",
23
+ "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz",
24
+ "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==",
25
+ "requires": {
26
+ "bytes": "3.1.2",
27
+ "content-type": "~1.0.5",
28
+ "debug": "2.6.9",
29
+ "depd": "2.0.0",
30
+ "destroy": "1.2.0",
31
+ "http-errors": "2.0.0",
32
+ "iconv-lite": "0.4.24",
33
+ "on-finished": "2.4.1",
34
+ "qs": "6.11.0",
35
+ "raw-body": "2.5.2",
36
+ "type-is": "~1.6.18",
37
+ "unpipe": "1.0.0"
38
+ }
39
+ },
40
+ "bytes": {
41
+ "version": "3.1.2",
42
+ "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.2.tgz",
43
+ "integrity": "sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg=="
44
+ },
45
+ "call-bind": {
46
+ "version": "1.0.7",
47
+ "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz",
48
+ "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==",
49
+ "requires": {
50
+ "es-define-property": "^1.0.0",
51
+ "es-errors": "^1.3.0",
52
+ "function-bind": "^1.1.2",
53
+ "get-intrinsic": "^1.2.4",
54
+ "set-function-length": "^1.2.1"
55
+ }
56
+ },
57
+ "content-disposition": {
58
+ "version": "0.5.4",
59
+ "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.4.tgz",
60
+ "integrity": "sha512-FveZTNuGw04cxlAiWbzi6zTAL/lhehaWbTtgluJh4/E95DqMwTmha3KZN1aAWA8cFIhHzMZUvLevkw5Rqk+tSQ==",
61
+ "requires": {
62
+ "safe-buffer": "5.2.1"
63
+ }
64
+ },
65
+ "content-type": {
66
+ "version": "1.0.5",
67
+ "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
68
+ "integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="
69
+ },
70
+ "cookie": {
71
+ "version": "0.6.0",
72
+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz",
73
+ "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw=="
74
+ },
75
+ "cookie-signature": {
76
+ "version": "1.0.6",
77
+ "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
78
+ "integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
79
+ },
80
+ "debug": {
81
+ "version": "2.6.9",
82
+ "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
83
+ "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==",
84
+ "requires": {
85
+ "ms": "2.0.0"
86
+ }
87
+ },
88
+ "define-data-property": {
89
+ "version": "1.1.4",
90
+ "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
91
+ "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==",
92
+ "requires": {
93
+ "es-define-property": "^1.0.0",
94
+ "es-errors": "^1.3.0",
95
+ "gopd": "^1.0.1"
96
+ }
97
+ },
98
+ "depd": {
99
+ "version": "2.0.0",
100
+ "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz",
101
+ "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw=="
102
+ },
103
+ "destroy": {
104
+ "version": "1.2.0",
105
+ "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.2.0.tgz",
106
+ "integrity": "sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg=="
107
+ },
108
+ "ee-first": {
109
+ "version": "1.1.1",
110
+ "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
111
+ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="
112
+ },
113
+ "encodeurl": {
114
+ "version": "1.0.2",
115
+ "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
116
+ "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w=="
117
+ },
118
+ "es-define-property": {
119
+ "version": "1.0.0",
120
+ "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz",
121
+ "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==",
122
+ "requires": {
123
+ "get-intrinsic": "^1.2.4"
124
+ }
125
+ },
126
+ "es-errors": {
127
+ "version": "1.3.0",
128
+ "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz",
129
+ "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw=="
130
+ },
131
+ "escape-html": {
132
+ "version": "1.0.3",
133
+ "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
134
+ "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow=="
135
+ },
136
+ "etag": {
137
+ "version": "1.8.1",
138
+ "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
139
+ "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg=="
140
+ },
141
+ "express": {
142
+ "version": "4.19.2",
143
+ "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz",
144
+ "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==",
145
+ "requires": {
146
+ "accepts": "~1.3.8",
147
+ "array-flatten": "1.1.1",
148
+ "body-parser": "1.20.2",
149
+ "content-disposition": "0.5.4",
150
+ "content-type": "~1.0.4",
151
+ "cookie": "0.6.0",
152
+ "cookie-signature": "1.0.6",
153
+ "debug": "2.6.9",
154
+ "depd": "2.0.0",
155
+ "encodeurl": "~1.0.2",
156
+ "escape-html": "~1.0.3",
157
+ "etag": "~1.8.1",
158
+ "finalhandler": "1.2.0",
159
+ "fresh": "0.5.2",
160
+ "http-errors": "2.0.0",
161
+ "merge-descriptors": "1.0.1",
162
+ "methods": "~1.1.2",
163
+ "on-finished": "2.4.1",
164
+ "parseurl": "~1.3.3",
165
+ "path-to-regexp": "0.1.7",
166
+ "proxy-addr": "~2.0.7",
167
+ "qs": "6.11.0",
168
+ "range-parser": "~1.2.1",
169
+ "safe-buffer": "5.2.1",
170
+ "send": "0.18.0",
171
+ "serve-static": "1.15.0",
172
+ "setprototypeof": "1.2.0",
173
+ "statuses": "2.0.1",
174
+ "type-is": "~1.6.18",
175
+ "utils-merge": "1.0.1",
176
+ "vary": "~1.1.2"
177
+ }
178
+ },
179
+ "finalhandler": {
180
+ "version": "1.2.0",
181
+ "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz",
182
+ "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==",
183
+ "requires": {
184
+ "debug": "2.6.9",
185
+ "encodeurl": "~1.0.2",
186
+ "escape-html": "~1.0.3",
187
+ "on-finished": "2.4.1",
188
+ "parseurl": "~1.3.3",
189
+ "statuses": "2.0.1",
190
+ "unpipe": "~1.0.0"
191
+ }
192
+ },
193
+ "forwarded": {
194
+ "version": "0.2.0",
195
+ "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
196
+ "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="
197
+ },
198
+ "fresh": {
199
+ "version": "0.5.2",
200
+ "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
201
+ "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q=="
202
+ },
203
+ "function-bind": {
204
+ "version": "1.1.2",
205
+ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz",
206
+ "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA=="
207
+ },
208
+ "get-intrinsic": {
209
+ "version": "1.2.4",
210
+ "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz",
211
+ "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==",
212
+ "requires": {
213
+ "es-errors": "^1.3.0",
214
+ "function-bind": "^1.1.2",
215
+ "has-proto": "^1.0.1",
216
+ "has-symbols": "^1.0.3",
217
+ "hasown": "^2.0.0"
218
+ }
219
+ },
220
+ "gopd": {
221
+ "version": "1.0.1",
222
+ "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz",
223
+ "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==",
224
+ "requires": {
225
+ "get-intrinsic": "^1.1.3"
226
+ }
227
+ },
228
+ "has-property-descriptors": {
229
+ "version": "1.0.2",
230
+ "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz",
231
+ "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==",
232
+ "requires": {
233
+ "es-define-property": "^1.0.0"
234
+ }
235
+ },
236
+ "has-proto": {
237
+ "version": "1.0.3",
238
+ "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz",
239
+ "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q=="
240
+ },
241
+ "has-symbols": {
242
+ "version": "1.0.3",
243
+ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz",
244
+ "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A=="
245
+ },
246
+ "hasown": {
247
+ "version": "2.0.2",
248
+ "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
249
+ "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==",
250
+ "requires": {
251
+ "function-bind": "^1.1.2"
252
+ }
253
+ },
254
+ "http-errors": {
255
+ "version": "2.0.0",
256
+ "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-2.0.0.tgz",
257
+ "integrity": "sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==",
258
+ "requires": {
259
+ "depd": "2.0.0",
260
+ "inherits": "2.0.4",
261
+ "setprototypeof": "1.2.0",
262
+ "statuses": "2.0.1",
263
+ "toidentifier": "1.0.1"
264
+ }
265
+ },
266
+ "iconv-lite": {
267
+ "version": "0.4.24",
268
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
269
+ "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==",
270
+ "requires": {
271
+ "safer-buffer": ">= 2.1.2 < 3"
272
+ }
273
+ },
274
+ "inherits": {
275
+ "version": "2.0.4",
276
+ "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
277
+ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
278
+ },
279
+ "ipaddr.js": {
280
+ "version": "1.9.1",
281
+ "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
282
+ "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g=="
283
+ },
284
+ "media-typer": {
285
+ "version": "0.3.0",
286
+ "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
287
+ "integrity": "sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ=="
288
+ },
289
+ "merge-descriptors": {
290
+ "version": "1.0.1",
291
+ "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
292
+ "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w=="
293
+ },
294
+ "methods": {
295
+ "version": "1.1.2",
296
+ "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
297
+ "integrity": "sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w=="
298
+ },
299
+ "mime": {
300
+ "version": "1.6.0",
301
+ "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
302
+ "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
303
+ },
304
+ "mime-db": {
305
+ "version": "1.52.0",
306
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
307
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg=="
308
+ },
309
+ "mime-types": {
310
+ "version": "2.1.35",
311
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
312
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
313
+ "requires": {
314
+ "mime-db": "1.52.0"
315
+ }
316
+ },
317
+ "ms": {
318
+ "version": "2.0.0",
319
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
320
+ "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="
321
+ },
322
+ "negotiator": {
323
+ "version": "0.6.3",
324
+ "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.3.tgz",
325
+ "integrity": "sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg=="
326
+ },
327
+ "object-inspect": {
328
+ "version": "1.13.1",
329
+ "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.1.tgz",
330
+ "integrity": "sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ=="
331
+ },
332
+ "on-finished": {
333
+ "version": "2.4.1",
334
+ "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz",
335
+ "integrity": "sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==",
336
+ "requires": {
337
+ "ee-first": "1.1.1"
338
+ }
339
+ },
340
+ "parseurl": {
341
+ "version": "1.3.3",
342
+ "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
343
+ "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ=="
344
+ },
345
+ "path-to-regexp": {
346
+ "version": "0.1.7",
347
+ "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
348
+ "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ=="
349
+ },
350
+ "proxy-addr": {
351
+ "version": "2.0.7",
352
+ "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
353
+ "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
354
+ "requires": {
355
+ "forwarded": "0.2.0",
356
+ "ipaddr.js": "1.9.1"
357
+ }
358
+ },
359
+ "qs": {
360
+ "version": "6.11.0",
361
+ "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz",
362
+ "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==",
363
+ "requires": {
364
+ "side-channel": "^1.0.4"
365
+ }
366
+ },
367
+ "range-parser": {
368
+ "version": "1.2.1",
369
+ "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
370
+ "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
371
+ },
372
+ "raw-body": {
373
+ "version": "2.5.2",
374
+ "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.5.2.tgz",
375
+ "integrity": "sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==",
376
+ "requires": {
377
+ "bytes": "3.1.2",
378
+ "http-errors": "2.0.0",
379
+ "iconv-lite": "0.4.24",
380
+ "unpipe": "1.0.0"
381
+ }
382
+ },
383
+ "safe-buffer": {
384
+ "version": "5.2.1",
385
+ "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
386
+ "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="
387
+ },
388
+ "safer-buffer": {
389
+ "version": "2.1.2",
390
+ "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
391
+ "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="
392
+ },
393
+ "send": {
394
+ "version": "0.18.0",
395
+ "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz",
396
+ "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==",
397
+ "requires": {
398
+ "debug": "2.6.9",
399
+ "depd": "2.0.0",
400
+ "destroy": "1.2.0",
401
+ "encodeurl": "~1.0.2",
402
+ "escape-html": "~1.0.3",
403
+ "etag": "~1.8.1",
404
+ "fresh": "0.5.2",
405
+ "http-errors": "2.0.0",
406
+ "mime": "1.6.0",
407
+ "ms": "2.1.3",
408
+ "on-finished": "2.4.1",
409
+ "range-parser": "~1.2.1",
410
+ "statuses": "2.0.1"
411
+ },
412
+ "dependencies": {
413
+ "ms": {
414
+ "version": "2.1.3",
415
+ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
416
+ "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="
417
+ }
418
+ }
419
+ },
420
+ "serve-static": {
421
+ "version": "1.15.0",
422
+ "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz",
423
+ "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==",
424
+ "requires": {
425
+ "encodeurl": "~1.0.2",
426
+ "escape-html": "~1.0.3",
427
+ "parseurl": "~1.3.3",
428
+ "send": "0.18.0"
429
+ }
430
+ },
431
+ "set-function-length": {
432
+ "version": "1.2.2",
433
+ "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz",
434
+ "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==",
435
+ "requires": {
436
+ "define-data-property": "^1.1.4",
437
+ "es-errors": "^1.3.0",
438
+ "function-bind": "^1.1.2",
439
+ "get-intrinsic": "^1.2.4",
440
+ "gopd": "^1.0.1",
441
+ "has-property-descriptors": "^1.0.2"
442
+ }
443
+ },
444
+ "setprototypeof": {
445
+ "version": "1.2.0",
446
+ "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.2.0.tgz",
447
+ "integrity": "sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw=="
448
+ },
449
+ "side-channel": {
450
+ "version": "1.0.6",
451
+ "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz",
452
+ "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==",
453
+ "requires": {
454
+ "call-bind": "^1.0.7",
455
+ "es-errors": "^1.3.0",
456
+ "get-intrinsic": "^1.2.4",
457
+ "object-inspect": "^1.13.1"
458
+ }
459
+ },
460
+ "statuses": {
461
+ "version": "2.0.1",
462
+ "resolved": "https://registry.npmjs.org/statuses/-/statuses-2.0.1.tgz",
463
+ "integrity": "sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ=="
464
+ },
465
+ "toidentifier": {
466
+ "version": "1.0.1",
467
+ "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.1.tgz",
468
+ "integrity": "sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA=="
469
+ },
470
+ "type-is": {
471
+ "version": "1.6.18",
472
+ "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
473
+ "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==",
474
+ "requires": {
475
+ "media-typer": "0.3.0",
476
+ "mime-types": "~2.1.24"
477
+ }
478
+ },
479
+ "unpipe": {
480
+ "version": "1.0.0",
481
+ "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
482
+ "integrity": "sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ=="
483
+ },
484
+ "utils-merge": {
485
+ "version": "1.0.1",
486
+ "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
487
+ "integrity": "sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA=="
488
+ },
489
+ "vary": {
490
+ "version": "1.1.2",
491
+ "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
492
+ "integrity": "sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg=="
493
+ }
494
+ }
495
+ }
@@ -1,14 +1,17 @@
1
1
  {
2
- "name": "example",
2
+ "name": "yes-https-example",
3
+ "private": "true",
3
4
  "version": "1.0.0",
4
- "description": "",
5
+ "description": "An example application for using express and yes-https.",
6
+ "type": "module",
5
7
  "main": "app.js",
6
8
  "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1"
9
+ "test": "echo \"Error: no test specified\" && exit 1",
10
+ "start": "node app.js"
8
11
  },
9
- "author": "",
10
- "license": "ISC",
12
+ "author": "Justin Beckwith <justin.beckwith@gmail.com>",
13
+ "license": "MIT",
11
14
  "dependencies": {
12
- "express": "^4.14.0"
15
+ "express": "^4.17.1"
13
16
  }
14
17
  }
package/lib/index.js CHANGED
@@ -1,6 +1,9 @@
1
- module.exports = function (options) {
2
- options = options ? options : {};
3
- const maxAge = options.maxAge ? options.maxAge : 86400;
1
+ import process from 'node:process';
2
+
3
+ // eslint-disable-next-line import/no-anonymous-default-export
4
+ export default function (options) {
5
+ options ||= {};
6
+ const maxAge = options.maxAge || 86_400;
4
7
  const includeSubDomains = options.includeSubDomains === undefined ? true : options.includeSubdomains;
5
8
 
6
9
  return function (request, response, next) {
@@ -8,7 +11,7 @@ module.exports = function (options) {
8
11
  const secure = request.connection.encrypted || (request.get('X-Forwarded-Proto') === 'https');
9
12
 
10
13
  if (options.ignoreFilter) {
11
- ignoreRequest = ignoreRequest || options.ignoreFilter(request);
14
+ ignoreRequest ||= options.ignoreFilter(request);
12
15
  }
13
16
 
14
17
  if (ignoreRequest) {
@@ -30,9 +33,9 @@ module.exports = function (options) {
30
33
  next();
31
34
  } else {
32
35
  response.writeHead(301, {
33
- Location: 'https://' + request.get('host') + request.url
36
+ Location: 'https://' + request.get('host') + request.url,
34
37
  });
35
38
  response.end();
36
39
  }
37
40
  };
38
- };
41
+ }
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "yes-https",
3
- "version": "2.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "A simple utility to force https for connect based node.js apps.",
5
- "main": "lib/index.js",
5
+ "type": "module",
6
+ "exports": "./lib/index.js",
6
7
  "scripts": {
7
8
  "test": "NODE_ENV=production c8 mocha",
8
9
  "lint": "xo",
@@ -24,22 +25,13 @@
24
25
  },
25
26
  "homepage": "https://github.com/JustinBeckwith/yes-https#readme",
26
27
  "devDependencies": {
27
- "c8": "^7.1.0",
28
- "codecov": "^3.6.5",
28
+ "c8": "^9.0.0",
29
29
  "express": "^4.17.1",
30
- "mocha": "^7.1.1",
31
- "supertest": "^4.0.2",
32
- "xo": "^0.29.0"
33
- },
34
- "xo": {
35
- "overrides": [
36
- {
37
- "files": "test/*.js",
38
- "env": "mocha"
39
- }
40
- ]
30
+ "mocha": "^10.0.0",
31
+ "supertest": "^6.0.0",
32
+ "xo": "^0.58.0"
41
33
  },
42
34
  "engines": {
43
- "node": ">=10"
35
+ "node": ">=18"
44
36
  }
45
37
  }
package/renovate.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "extends": [
3
- "config:base"
3
+ "config:base",
4
+ ":disableDependencyDashboard"
4
5
  ],
5
6
  "pinVersions": false,
6
7
  "rebaseStalePrs": true
package/test/test.js CHANGED
@@ -1,8 +1,10 @@
1
- const https = require('https');
2
- const fs = require('fs');
3
- const express = require('express');
4
- const request = require('supertest');
5
- const yes = require('../lib');
1
+ import https from 'node:https';
2
+ import fs from 'node:fs';
3
+ import process from 'node:process';
4
+ import express from 'express';
5
+ import {describe, it} from 'mocha';
6
+ import request from 'supertest';
7
+ import yes from '../lib/index.js';
6
8
 
7
9
  process.env.NODE_TLS_REJECT_UNAUTHORIZED = 0;
8
10
 
@@ -19,9 +21,9 @@ describe('yes', () => {
19
21
  request(app)
20
22
  .get('/test')
21
23
  .expect(301)
22
- .end(err => {
23
- if (err) {
24
- throw err;
24
+ .end(error => {
25
+ if (error) {
26
+ throw error;
25
27
  }
26
28
 
27
29
  done();
@@ -42,23 +44,21 @@ describe('yes', () => {
42
44
  .get('/test')
43
45
  .expect('Strict-Transport-Security', 'max-age=86400; includeSubDomains')
44
46
  .expect(200)
45
- .end(err => {
46
- if (err) {
47
- throw err;
47
+ .end(error => {
48
+ if (error) {
49
+ throw error;
48
50
  }
49
51
 
50
52
  server.close();
51
53
  done();
52
54
  });
53
- }).timeout(60000);
55
+ }).timeout(60_000);
54
56
 
55
57
  it('should ignore filtered requests', done => {
56
58
  // Configure a minimal web server with the defaults
57
59
  const app = express();
58
60
  app.use(yes({
59
- ignoreFilter: request_ => {
60
- return (request_.url.includes('/_ah/health'));
61
- }
61
+ ignoreFilter: request_ => (request_.url.includes('/_ah/health')),
62
62
  }));
63
63
 
64
64
  app.get('/_ah/health', (_request, response) => {
@@ -69,9 +69,9 @@ describe('yes', () => {
69
69
  request(app)
70
70
  .get('/_ah/health')
71
71
  .expect(200)
72
- .end(err => {
73
- if (err) {
74
- throw err;
72
+ .end(error => {
73
+ if (error) {
74
+ throw error;
75
75
  }
76
76
 
77
77
  done();
@@ -86,6 +86,6 @@ function createSecureServer(app) {
86
86
  cert: fs.readFileSync('./test/certs/server.crt'),
87
87
  ca: fs.readFileSync('./test/certs/ca.crt'),
88
88
  requestCert: true,
89
- rejectUnauthorized: false
89
+ rejectUnauthorized: false,
90
90
  }, app).listen('8443');
91
91
  }
package/example/yarn.lock DELETED
@@ -1,241 +0,0 @@
1
- # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
2
- # yarn lockfile v1
3
- accepts@~1.3.3:
4
- version "1.3.3"
5
- resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.3.tgz#c3ca7434938648c3e0d9c1e328dd68b622c284ca"
6
- dependencies:
7
- mime-types "~2.1.11"
8
- negotiator "0.6.1"
9
-
10
- array-flatten@1.1.1:
11
- version "1.1.1"
12
- resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2"
13
-
14
- content-disposition@0.5.1:
15
- version "0.5.1"
16
- resolved "https://registry.yarnpkg.com/content-disposition/-/content-disposition-0.5.1.tgz#87476c6a67c8daa87e32e87616df883ba7fb071b"
17
-
18
- content-type@~1.0.2:
19
- version "1.0.2"
20
- resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.2.tgz#b7d113aee7a8dd27bd21133c4dc2529df1721eed"
21
-
22
- cookie-signature@1.0.6:
23
- version "1.0.6"
24
- resolved "https://registry.yarnpkg.com/cookie-signature/-/cookie-signature-1.0.6.tgz#e303a882b342cc3ee8ca513a79999734dab3ae2c"
25
-
26
- cookie@0.3.1:
27
- version "0.3.1"
28
- resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb"
29
-
30
- debug@~2.2.0:
31
- version "2.2.0"
32
- resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
33
- dependencies:
34
- ms "0.7.1"
35
-
36
- depd@~1.1.0:
37
- version "1.1.0"
38
- resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.0.tgz#e1bd82c6aab6ced965b97b88b17ed3e528ca18c3"
39
-
40
- destroy@~1.0.4:
41
- version "1.0.4"
42
- resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
43
-
44
- ee-first@1.1.1:
45
- version "1.1.1"
46
- resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d"
47
-
48
- encodeurl@~1.0.1:
49
- version "1.0.1"
50
- resolved "https://registry.yarnpkg.com/encodeurl/-/encodeurl-1.0.1.tgz#79e3d58655346909fe6f0f45a5de68103b294d20"
51
-
52
- escape-html@~1.0.3:
53
- version "1.0.3"
54
- resolved "https://registry.yarnpkg.com/escape-html/-/escape-html-1.0.3.tgz#0258eae4d3d0c0974de1c169188ef0051d1d1988"
55
-
56
- etag@~1.7.0:
57
- version "1.7.0"
58
- resolved "https://registry.yarnpkg.com/etag/-/etag-1.7.0.tgz#03d30b5f67dd6e632d2945d30d6652731a34d5d8"
59
-
60
- express:
61
- version "4.14.0"
62
- resolved "https://registry.yarnpkg.com/express/-/express-4.14.0.tgz#c1ee3f42cdc891fb3dc650a8922d51ec847d0d66"
63
- dependencies:
64
- accepts "~1.3.3"
65
- array-flatten "1.1.1"
66
- content-disposition "0.5.1"
67
- content-type "~1.0.2"
68
- cookie "0.3.1"
69
- cookie-signature "1.0.6"
70
- debug "~2.2.0"
71
- depd "~1.1.0"
72
- encodeurl "~1.0.1"
73
- escape-html "~1.0.3"
74
- etag "~1.7.0"
75
- finalhandler "0.5.0"
76
- fresh "0.3.0"
77
- merge-descriptors "1.0.1"
78
- methods "~1.1.2"
79
- on-finished "~2.3.0"
80
- parseurl "~1.3.1"
81
- path-to-regexp "0.1.7"
82
- proxy-addr "~1.1.2"
83
- qs "6.2.0"
84
- range-parser "~1.2.0"
85
- send "0.14.1"
86
- serve-static "~1.11.1"
87
- type-is "~1.6.13"
88
- utils-merge "1.0.0"
89
- vary "~1.1.0"
90
-
91
- finalhandler@0.5.0:
92
- version "0.5.0"
93
- resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-0.5.0.tgz#e9508abece9b6dba871a6942a1d7911b91911ac7"
94
- dependencies:
95
- debug "~2.2.0"
96
- escape-html "~1.0.3"
97
- on-finished "~2.3.0"
98
- statuses "~1.3.0"
99
- unpipe "~1.0.0"
100
-
101
- forwarded@~0.1.0:
102
- version "0.1.0"
103
- resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.0.tgz#19ef9874c4ae1c297bcf078fde63a09b66a84363"
104
-
105
- fresh@0.3.0:
106
- version "0.3.0"
107
- resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.3.0.tgz#651f838e22424e7566de161d8358caa199f83d4f"
108
-
109
- http-errors@~1.5.0:
110
- version "1.5.1"
111
- resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.5.1.tgz#788c0d2c1de2c81b9e6e8c01843b6b97eb920750"
112
- dependencies:
113
- inherits "2.0.3"
114
- setprototypeof "1.0.2"
115
- statuses ">= 1.3.1 < 2"
116
-
117
- inherits@2.0.3:
118
- version "2.0.3"
119
- resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de"
120
-
121
- ipaddr.js@1.1.1:
122
- version "1.1.1"
123
- resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.1.1.tgz#c791d95f52b29c1247d5df80ada39b8a73647230"
124
-
125
- media-typer@0.3.0:
126
- version "0.3.0"
127
- resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
128
-
129
- merge-descriptors@1.0.1:
130
- version "1.0.1"
131
- resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61"
132
-
133
- methods@~1.1.2:
134
- version "1.1.2"
135
- resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee"
136
-
137
- mime-db@~1.25.0:
138
- version "1.25.0"
139
- resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.25.0.tgz#c18dbd7c73a5dbf6f44a024dc0d165a1e7b1c392"
140
-
141
- mime-types@~2.1.11, mime-types@~2.1.13:
142
- version "2.1.13"
143
- resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.13.tgz#e07aaa9c6c6b9a7ca3012c69003ad25a39e92a88"
144
- dependencies:
145
- mime-db "~1.25.0"
146
-
147
- mime@1.3.4:
148
- version "1.3.4"
149
- resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53"
150
-
151
- ms@0.7.1:
152
- version "0.7.1"
153
- resolved "https://registry.yarnpkg.com/ms/-/ms-0.7.1.tgz#9cd13c03adbff25b65effde7ce864ee952017098"
154
-
155
- negotiator@0.6.1:
156
- version "0.6.1"
157
- resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
158
-
159
- on-finished@~2.3.0:
160
- version "2.3.0"
161
- resolved "https://registry.yarnpkg.com/on-finished/-/on-finished-2.3.0.tgz#20f1336481b083cd75337992a16971aa2d906947"
162
- dependencies:
163
- ee-first "1.1.1"
164
-
165
- parseurl@~1.3.1:
166
- version "1.3.1"
167
- resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.1.tgz#c8ab8c9223ba34888aa64a297b28853bec18da56"
168
-
169
- path-to-regexp@0.1.7:
170
- version "0.1.7"
171
- resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c"
172
-
173
- proxy-addr@~1.1.2:
174
- version "1.1.2"
175
- resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-1.1.2.tgz#b4cc5f22610d9535824c123aef9d3cf73c40ba37"
176
- dependencies:
177
- forwarded "~0.1.0"
178
- ipaddr.js "1.1.1"
179
-
180
- qs@6.2.0:
181
- version "6.2.0"
182
- resolved "https://registry.yarnpkg.com/qs/-/qs-6.2.0.tgz#3b7848c03c2dece69a9522b0fae8c4126d745f3b"
183
-
184
- range-parser@~1.2.0:
185
- version "1.2.0"
186
- resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e"
187
-
188
- send@0.14.1:
189
- version "0.14.1"
190
- resolved "https://registry.yarnpkg.com/send/-/send-0.14.1.tgz#a954984325392f51532a7760760e459598c89f7a"
191
- dependencies:
192
- debug "~2.2.0"
193
- depd "~1.1.0"
194
- destroy "~1.0.4"
195
- encodeurl "~1.0.1"
196
- escape-html "~1.0.3"
197
- etag "~1.7.0"
198
- fresh "0.3.0"
199
- http-errors "~1.5.0"
200
- mime "1.3.4"
201
- ms "0.7.1"
202
- on-finished "~2.3.0"
203
- range-parser "~1.2.0"
204
- statuses "~1.3.0"
205
-
206
- serve-static@~1.11.1:
207
- version "1.11.1"
208
- resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.11.1.tgz#d6cce7693505f733c759de57befc1af76c0f0805"
209
- dependencies:
210
- encodeurl "~1.0.1"
211
- escape-html "~1.0.3"
212
- parseurl "~1.3.1"
213
- send "0.14.1"
214
-
215
- setprototypeof@1.0.2:
216
- version "1.0.2"
217
- resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.2.tgz#81a552141ec104b88e89ce383103ad5c66564d08"
218
-
219
- "statuses@>= 1.3.1 < 2", statuses@~1.3.0:
220
- version "1.3.1"
221
- resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e"
222
-
223
- type-is@~1.6.13:
224
- version "1.6.14"
225
- resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.14.tgz#e219639c17ded1ca0789092dd54a03826b817cb2"
226
- dependencies:
227
- media-typer "0.3.0"
228
- mime-types "~2.1.13"
229
-
230
- unpipe@~1.0.0:
231
- version "1.0.0"
232
- resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec"
233
-
234
- utils-merge@1.0.0:
235
- version "1.0.0"
236
- resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.0.tgz#0294fb922bb9375153541c4f7096231f287c8af8"
237
-
238
- vary@~1.1.0:
239
- version "1.1.0"
240
- resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.0.tgz#e1e5affbbd16ae768dd2674394b9ad3022653140"
241
-