Comparing version 4.2.0 to 4.3.0
@@ -281,7 +281,19 @@ #!/usr/bin/env node | ||
process.on('SIGINT', () => { | ||
processCSSFile(false, buffer) | ||
try { | ||
processCSSFile(false, buffer) | ||
} catch (e) { | ||
currentErrorcode = ErrorCodes.ProcessingError | ||
printError('rtlcss: error processing payload') | ||
printError(e) | ||
} | ||
process.exit() | ||
}) | ||
process.stdin.on('end', () => { | ||
processCSSFile(false, buffer) | ||
try { | ||
processCSSFile(false, buffer) | ||
} catch (e) { | ||
currentErrorcode = ErrorCodes.ProcessingError | ||
printError('rtlcss: error processing payload') | ||
printError(e) | ||
} | ||
}) | ||
@@ -288,0 +300,0 @@ } |
# RTLCSS Changelog | ||
## 4.3.0 - 27 Aug. 2024 | ||
- Return an error code when the parsed CSS `stdin` is invalid. **Thanks @lade-odoo** | ||
## 4.2.0 - 24 Jul. 2024 | ||
@@ -4,0 +9,0 @@ |
{ | ||
"author": "Mohammad Younes", | ||
"name": "rtlcss", | ||
"version": "4.2.0", | ||
"version": "4.3.0", | ||
"description": "Framework for transforming cascading style sheets (CSS) from left-to-right (LTR) to right-to-left (RTL)", | ||
@@ -6,0 +6,0 @@ "homepage": "https://rtlcss.com/", |
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
62895
1473