stylis-plugin-rtl
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -24,4 +24,4 @@ "use strict"; | ||
} | ||
var serializedChildren = stylis_1.serialize(Array.prototype.concat(element.children), stringifyPreserveComments); | ||
return stylis_1.strlen(serializedChildren) ? (element.return = element.value + '{' + serializedChildren + '}') : ''; | ||
var serializedChildren = (0, stylis_1.serialize)(Array.prototype.concat(element.children), stringifyPreserveComments); | ||
return (0, stylis_1.strlen)(serializedChildren) ? (element.return = element.value + '{' + serializedChildren + '}') : ''; | ||
} | ||
@@ -33,3 +33,3 @@ function stylisRTLPlugin(element, index, children, callback) { | ||
var stringified = cssjanus_1.default.transform(stringifyPreserveComments(element, index, children)); | ||
element.children = stringified ? stylis_1.compile(stringified)[0].children : []; | ||
element.children = stringified ? (0, stylis_1.compile)(stringified)[0].children : []; | ||
element.return = ''; | ||
@@ -36,0 +36,0 @@ } |
{ | ||
"name": "stylis-plugin-rtl", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Fork of stylis-rtl, uses cssjanus under the hood to flip style orientations for RTL", | ||
@@ -44,9 +44,9 @@ "module": "dist/stylis-rtl.js", | ||
"devDependencies": { | ||
"@types/jest": "^26.0.23", | ||
"@types/stylis": "^4.0.0", | ||
"jest": "^26.6.3", | ||
"prettier": "^2.1.1", | ||
"@types/jest": "^27.0.2", | ||
"@types/stylis": "^4.0.2", | ||
"jest": "^27.3.1", | ||
"prettier": "^2.4.1", | ||
"stylis": "^4.0.2", | ||
"ts-jest": "^26.5.5", | ||
"typescript": "^4.2.4" | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.4.4" | ||
}, | ||
@@ -53,0 +53,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
12529