lingo.dev 0.94.1 → 0.94.2
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.cjs +5 -3
- package/build/cli.cjs.map +1 -1
- package/build/cli.mjs +5 -3
- package/build/cli.mjs.map +1 -1
- package/package.json +3 -3
package/build/cli.mjs
CHANGED
|
@@ -1860,7 +1860,8 @@ function createCsvLoader() {
|
|
|
1860
1860
|
async pull(locale, _input) {
|
|
1861
1861
|
const input2 = parse(_input, {
|
|
1862
1862
|
columns: true,
|
|
1863
|
-
skip_empty_lines: true
|
|
1863
|
+
skip_empty_lines: true,
|
|
1864
|
+
relax_column_count_less: true
|
|
1864
1865
|
});
|
|
1865
1866
|
const result = {};
|
|
1866
1867
|
_11.forEach(input2, (row) => {
|
|
@@ -1874,7 +1875,8 @@ function createCsvLoader() {
|
|
|
1874
1875
|
async push(locale, data, originalInput) {
|
|
1875
1876
|
const input2 = parse(originalInput || "", {
|
|
1876
1877
|
columns: true,
|
|
1877
|
-
skip_empty_lines: true
|
|
1878
|
+
skip_empty_lines: true,
|
|
1879
|
+
relax_column_count_less: true
|
|
1878
1880
|
});
|
|
1879
1881
|
const columns = input2.length > 0 ? Object.keys(input2[0]) : ["id", locale];
|
|
1880
1882
|
if (!columns.includes(locale)) {
|
|
@@ -7437,7 +7439,7 @@ async function renderHero2() {
|
|
|
7437
7439
|
// package.json
|
|
7438
7440
|
var package_default = {
|
|
7439
7441
|
name: "lingo.dev",
|
|
7440
|
-
version: "0.94.
|
|
7442
|
+
version: "0.94.2",
|
|
7441
7443
|
description: "Lingo.dev CLI",
|
|
7442
7444
|
private: false,
|
|
7443
7445
|
publishConfig: {
|