html-get 2.13.12 → 2.13.14

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "html-get",
3
3
  "description": "Get the HTML from any website, using prerendering when is necessary.",
4
4
  "homepage": "https://nicedoc.com/microlinkhq/html-get",
5
- "version": "2.13.12",
5
+ "version": "2.13.14",
6
6
  "main": "src/index.js",
7
7
  "bin": {
8
8
  "html-get": "bin/index.js"
@@ -30,7 +30,7 @@
30
30
  ],
31
31
  "dependencies": {
32
32
  "@kikobeats/time-span": "~1.0.2",
33
- "@metascraper/helpers": "~5.40.0",
33
+ "@metascraper/helpers": "~5.42.5",
34
34
  "cheerio": "~1.0.0-rc.12",
35
35
  "css-url-regex": "~4.0.0",
36
36
  "debug-logfmt": "~1.2.0",
@@ -26,13 +26,13 @@
26
26
  [
27
27
  [
28
28
  "domainWithoutSuffix",
29
- "wikipedia"
29
+ "wordpress"
30
30
  ]
31
31
  ],
32
32
  [
33
33
  [
34
34
  "domainWithoutSuffix",
35
- "wordpress"
35
+ "wikipedia"
36
36
  ]
37
37
  ],
38
38
  [
@@ -44,13 +44,13 @@
44
44
  [
45
45
  [
46
46
  "domainWithoutSuffix",
47
- "github"
47
+ "vimeo"
48
48
  ]
49
49
  ],
50
50
  [
51
51
  [
52
52
  "domainWithoutSuffix",
53
- "vimeo"
53
+ "github"
54
54
  ]
55
55
  ],
56
56
  [
@@ -86,73 +86,73 @@
86
86
  [
87
87
  [
88
88
  "domainWithoutSuffix",
89
- "huffingtonpost"
89
+ "spotify"
90
90
  ]
91
91
  ],
92
92
  [
93
93
  [
94
94
  "domainWithoutSuffix",
95
- "soundcloud"
95
+ "telegraph"
96
96
  ]
97
97
  ],
98
98
  [
99
99
  [
100
100
  "domainWithoutSuffix",
101
- "spotify"
101
+ "pinterest"
102
102
  ]
103
103
  ],
104
104
  [
105
105
  [
106
106
  "domainWithoutSuffix",
107
- "telegraph"
107
+ "huffingtonpost"
108
108
  ]
109
109
  ],
110
110
  [
111
111
  [
112
112
  "domainWithoutSuffix",
113
- "pinterest"
113
+ "soundcloud"
114
114
  ]
115
115
  ],
116
116
  [
117
117
  [
118
118
  "domainWithoutSuffix",
119
- "engadget"
119
+ "stackoverflow"
120
120
  ]
121
121
  ],
122
122
  [
123
123
  [
124
- "domainWithoutSuffix",
125
- "techcrunch"
124
+ "domain",
125
+ "abc.net.au"
126
126
  ]
127
127
  ],
128
128
  [
129
129
  [
130
130
  "domainWithoutSuffix",
131
- "zoom"
131
+ "engadget"
132
132
  ]
133
133
  ],
134
134
  [
135
135
  [
136
136
  "domainWithoutSuffix",
137
- "stackoverflow"
137
+ "yelp"
138
138
  ]
139
139
  ],
140
140
  [
141
141
  [
142
142
  "domainWithoutSuffix",
143
- "eventbrite"
143
+ "zoom"
144
144
  ]
145
145
  ],
146
146
  [
147
147
  [
148
- "domain",
149
- "abc.net.au"
148
+ "domainWithoutSuffix",
149
+ "techcrunch"
150
150
  ]
151
151
  ],
152
152
  [
153
153
  [
154
154
  "domainWithoutSuffix",
155
- "yelp"
155
+ "eventbrite"
156
156
  ]
157
157
  ],
158
158
  [
@@ -170,25 +170,19 @@
170
170
  [
171
171
  [
172
172
  "domainWithoutSuffix",
173
- "imgur"
174
- ]
175
- ],
176
- [
177
- [
178
- "domainWithoutSuffix",
179
- "digg"
173
+ "csdn"
180
174
  ]
181
175
  ],
182
176
  [
183
177
  [
184
178
  "domainWithoutSuffix",
185
- "csdn"
179
+ "deviantart"
186
180
  ]
187
181
  ],
188
182
  [
189
183
  [
190
184
  "domainWithoutSuffix",
191
- "deviantart"
185
+ "digg"
192
186
  ]
193
187
  ],
194
188
  [
@@ -221,6 +215,12 @@
221
215
  "gitlab"
222
216
  ]
223
217
  ],
218
+ [
219
+ [
220
+ "domainWithoutSuffix",
221
+ "imgur"
222
+ ]
223
+ ],
224
224
  [
225
225
  [
226
226
  "domainWithoutSuffix",
package/src/index.js CHANGED
@@ -28,7 +28,6 @@ const fetch = PCancelable.fn(
28
28
  responseType: 'buffer'
29
29
  })
30
30
 
31
- setTimeout(req.cancel, reqTimeout).unref()
32
31
  onCancel.shouldReject = false
33
32
 
34
33
  onCancel(() => {