Socket
Socket
Sign inDemoInstall

stylis-plugin-rtl

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylis-plugin-rtl - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

6

dist/cjs/stylis-rtl.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc