fetch-css 4.1.0 → 4.1.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.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -196,6 +196,8 @@ export default async function fetchCss(sources) { // eslint-disable-line import/
196
196
 
197
197
  for (const [index, res] of Object.entries(sourceResponses)) {
198
198
  const source = sources[index];
199
+ source.urls = [];
200
+ source.styleTags = [];
199
201
  if (res) {
200
202
  for (const r of Array.isArray(res) ? res : [res]) {
201
203
  validateStatus(r, source.url, source.strict);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fetch-css",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "Extract CSS from websites and browser extensions",
5
5
  "author": "silverwind",
6
6
  "repository": "silverwind/fetch-css",