html-react-parser 3.0.5 → 3.0.6
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.
|
@@ -1913,6 +1913,12 @@
|
|
|
1913
1913
|
|
|
1914
1914
|
var cjs = {};
|
|
1915
1915
|
|
|
1916
|
+
var styleToObjectExports = {};
|
|
1917
|
+
var styleToObject = {
|
|
1918
|
+
get exports(){ return styleToObjectExports; },
|
|
1919
|
+
set exports(v){ styleToObjectExports = v; },
|
|
1920
|
+
};
|
|
1921
|
+
|
|
1916
1922
|
// http://www.w3.org/TR/CSS21/grammar.html
|
|
1917
1923
|
// https://github.com/visionmedia/css-parse/pull/49#issuecomment-30088027
|
|
1918
1924
|
var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
|
|
@@ -2212,7 +2218,8 @@
|
|
|
2212
2218
|
return output;
|
|
2213
2219
|
}
|
|
2214
2220
|
|
|
2215
|
-
|
|
2221
|
+
styleToObject.exports = StyleToObject;
|
|
2222
|
+
styleToObjectExports.default = StyleToObject; // ESM support
|
|
2216
2223
|
|
|
2217
2224
|
var utilities$3 = {};
|
|
2218
2225
|
|
|
@@ -2253,7 +2260,7 @@
|
|
|
2253
2260
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
2254
2261
|
};
|
|
2255
2262
|
exports.__esModule = true;
|
|
2256
|
-
var style_to_object_1 = __importDefault(
|
|
2263
|
+
var style_to_object_1 = __importDefault(styleToObjectExports);
|
|
2257
2264
|
var utilities_1 = utilities$3;
|
|
2258
2265
|
function StyleToJS(style, options) {
|
|
2259
2266
|
var output = {};
|