single-file-core 1.5.36 → 1.5.37

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/core/index.js +1 -1
  2. package/package.json +1 -1
package/core/index.js CHANGED
@@ -1220,7 +1220,7 @@ class Processor {
1220
1220
  }
1221
1221
  }
1222
1222
  });
1223
- await Promise.all(Array.from(this.doc.querySelectorAll("style, link[rel*=stylesheet]")).map(async element => {
1223
+ await Promise.all(Array.from(this.doc.querySelectorAll("style, link[rel*=stylesheet]:not([disabled])")).map(async element => {
1224
1224
  const options = Object.assign({}, this.options, { charset: this.charset });
1225
1225
  let mediaText;
1226
1226
  if (element.media) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.5.36",
3
+ "version": "1.5.37",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",