wix-style-processor
Advanced tools
Comparing version 3.0.120 to 3.0.121
@@ -9,3 +9,3 @@ "use strict"; | ||
var utils_1 = require("./utils"); | ||
exports.default = function (wixService, domService, options) { | ||
exports.default = (function (wixService, domService, options) { | ||
var cacheMap = {}; | ||
@@ -49,3 +49,3 @@ return { | ||
}; | ||
}; | ||
}); | ||
function escapeRegExp(str) { | ||
@@ -52,0 +52,0 @@ return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&'); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.default = function (Wix) { return ({ | ||
exports.default = (function (Wix) { return ({ | ||
getStyleParams: function () { | ||
@@ -34,3 +34,3 @@ return this.shouldRunAsStandalone() ? | ||
} | ||
}); }; | ||
}); }); | ||
function getSiteColors(Wix) { | ||
@@ -37,0 +37,0 @@ return new Promise(function (resolve, reject) { return Wix.Styles.getSiteColors(function (res) { return res ? resolve(res) : reject({}); }); }); |
@@ -5,3 +5,3 @@ { | ||
"description": "An alternative Wix Styles TPA processor", | ||
"version": "3.0.120", | ||
"version": "3.0.121", | ||
"author": { | ||
@@ -8,0 +8,0 @@ "name": "Eran Shabi", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
58149
0