single-file-core 1.5.43 → 1.5.44

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.
@@ -184,9 +184,6 @@ function getProcessorHelperClass(utilInstance) {
184
184
  if (mediaQueryListNode) {
185
185
  content.data = this.wrapMediaQuery(content.data, cssTree.generate(mediaQueryListNode));
186
186
  }
187
-
188
- content.data = content.data.replace(/:defined/gi, "*");
189
-
190
187
  const importedStylesheet = cssTree.parse(content.data, { context: "stylesheet", parseCustomProperty: true });
191
188
  const ancestorStyleSheets = new Set(importedStyleSheets);
192
189
  ancestorStyleSheets.add(resourceURL);
@@ -228,7 +225,6 @@ function getProcessorHelperClass(utilInstance) {
228
225
  if (content.data && content.data.match(/^<!doctype /i)) {
229
226
  content.data = "";
230
227
  }
231
- content.data = content.data.replace(/:defined/gi, "*");
232
228
  let stylesheet = cssTree.parse(content.data, { context: "stylesheet", parseCustomProperty: true });
233
229
  const importFound = await this.resolveImportURLs(stylesheet, resourceURL, options, workStylesheet);
234
230
  if (importFound) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "single-file-core",
3
- "version": "1.5.43",
3
+ "version": "1.5.44",
4
4
  "description": "SingleFile Core",
5
5
  "author": "Gildas Lormeau",
6
6
  "license": "AGPL-3.0-or-later",