lingo.dev 0.116.4 → 0.116.5

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.
package/build/cli.mjs CHANGED
@@ -2107,6 +2107,13 @@ function getKeyType(yamlString) {
2107
2107
  function getStringType(yamlString) {
2108
2108
  if (yamlString) {
2109
2109
  const lines = yamlString.split("\n");
2110
+ const hasLiteralBlockScalar = lines.find((line) => {
2111
+ const trimmedLine = line.trim();
2112
+ return trimmedLine.match(/:\s*\|[-+]?\s*$/);
2113
+ });
2114
+ if (hasLiteralBlockScalar) {
2115
+ return "PLAIN";
2116
+ }
2110
2117
  const hasDoubleQuotes = lines.find((line) => {
2111
2118
  const trimmedLine = line.trim();
2112
2119
  return (trimmedLine.startsWith('"') || trimmedLine.match(/:\s*"/)) && (trimmedLine.endsWith('"') || trimmedLine.endsWith('",'));
@@ -13461,7 +13468,7 @@ async function renderHero2() {
13461
13468
  // package.json
13462
13469
  var package_default = {
13463
13470
  name: "lingo.dev",
13464
- version: "0.116.4",
13471
+ version: "0.116.5",
13465
13472
  description: "Lingo.dev CLI",
13466
13473
  private: false,
13467
13474
  publishConfig: {