@activepieces/piece-csv 0.4.2 → 0.4.4

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/package.json CHANGED
@@ -1,20 +1,25 @@
1
1
  {
2
2
  "name": "@activepieces/piece-csv",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "dependencies": {
5
+ "@ai-sdk/anthropic": "1.2.12",
6
+ "@ai-sdk/google": "1.2.19",
7
+ "@ai-sdk/openai": "1.3.22",
8
+ "@ai-sdk/replicate": "0.2.8",
5
9
  "@sinclair/typebox": "0.34.11",
10
+ "ai": "4.3.16",
6
11
  "csv-parse": "5.6.0",
7
12
  "csv-stringify": "6.5.2",
8
13
  "deepmerge-ts": "7.1.0",
14
+ "fast-glob": "3.3.3",
9
15
  "nanoid": "3.3.8",
10
16
  "safe-flat": "2.1.0",
11
17
  "semver": "7.6.0",
12
- "@activepieces/pieces-framework": "0.7.42",
13
- "@activepieces/shared": "0.10.141",
14
- "tslib": "1.14.1"
18
+ "@activepieces/pieces-framework": "0.18.3",
19
+ "@activepieces/shared": "0.18.0",
20
+ "tslib": "2.8.1"
15
21
  },
16
22
  "overrides": {
17
- "cross-spawn": "7.0.6",
18
23
  "@tryfabric/martian": {
19
24
  "@notionhq/client": "$@notionhq/client"
20
25
  },
@@ -25,7 +30,7 @@
25
30
  "resolutions": {
26
31
  "rollup": "npm:@rollup/wasm-node"
27
32
  },
33
+ "types": "./src/index.d.ts",
28
34
  "main": "./src/index.js",
29
- "type": "commonjs",
30
- "types": "./src/index.d.ts"
35
+ "type": "commonjs"
31
36
  }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "Manipulate CSV text",
4
+ "Convert CSV to JSON": "Convert CSV to JSON",
5
+ "Convert JSON to CSV": "Convert JSON to CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "This function reads a CSV string and converts it into JSON array format.",
7
+ "This function reads a JSON array and converts it into CSV format.": "This function reads a JSON array and converts it into CSV format.",
8
+ "CSV Text": "CSV Text",
9
+ "Does the CSV have headers?": "Does the CSV have headers?",
10
+ "Delimiter Type": "Delimiter Type",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON Array",
13
+ "Select the delimiter type for the CSV text.": "Select the delimiter type for the CSV text.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Provide a JSON array to convert to CSV format.",
16
+ "Select the delimiter type for the CSV file.": "Select the delimiter type for the CSV file.",
17
+ "Comma": "Comma",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "CSV-Text bearbeiten",
4
+ "Convert CSV to JSON": "CSV in JSON konvertieren",
5
+ "Convert JSON to CSV": "JSON in CSV konvertieren",
6
+ "This function reads a CSV string and converts it into JSON array format.": "Diese Funktion liest einen CSV-String und konvertiert ihn in JSON-Array-Format.",
7
+ "This function reads a JSON array and converts it into CSV format.": "Diese Funktion liest ein JSON-Array und konvertiert es in CSV-Format.",
8
+ "CSV Text": "CSV-Text",
9
+ "Does the CSV have headers?": "Hat die CSV Header?",
10
+ "Delimiter Type": "Trennzeichentyp",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON Array",
13
+ "Select the delimiter type for the CSV text.": "Wählen Sie den Trennungstyp für den CSV-Text.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notizen**:\n* Die Eingabe sollte ein JSON-Array sein.\n* Das JSON-Objekt wird abgeflacht, wenn verschachtelt und die Schlüssel werden als Header verwendet.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Geben Sie ein JSON-Array an, um es in das CSV-Format zu konvertieren.",
16
+ "Select the delimiter type for the CSV file.": "Wählen Sie den Trennungstyp für die CSV-Datei.",
17
+ "Comma": "Komma",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "Manipular texto CSV",
4
+ "Convert CSV to JSON": "Convierte CSV a JSON",
5
+ "Convert JSON to CSV": "Convertir JSON a CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "Esta función lee una cadena CSV y la convierte en formato matriz JSON.",
7
+ "This function reads a JSON array and converts it into CSV format.": "Esta función lee un array JSON y lo convierte en formato CSV.",
8
+ "CSV Text": "Texto CSV",
9
+ "Does the CSV have headers?": "¿El CSV tiene cabeceras?",
10
+ "Delimiter Type": "Tipo de delimitador",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "Matriz JSON",
13
+ "Select the delimiter type for the CSV text.": "Seleccione el tipo de delimitador para el texto CSV.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Proporcione una matriz JSON para convertir a formato CSV.",
16
+ "Select the delimiter type for the CSV file.": "Seleccione el tipo de delimitador para el archivo CSV.",
17
+ "Comma": "Coma",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "Manipuler le texte CSV",
4
+ "Convert CSV to JSON": "Convertir le CSV en JSON",
5
+ "Convert JSON to CSV": "Convertir JSON en CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "Cette fonction lit une chaîne CSV et la convertit au format JSON.",
7
+ "This function reads a JSON array and converts it into CSV format.": "Cette fonction lit un tableau JSON et le convertit au format CSV.",
8
+ "CSV Text": "Texte CSV",
9
+ "Does the CSV have headers?": "Le CSV a-t-il des en-têtes ?",
10
+ "Delimiter Type": "Type de séparateur",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "Tableau JSON",
13
+ "Select the delimiter type for the CSV text.": "Sélectionnez le type de délimiteur pour le texte CSV.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes** :\n* L'entrée doit être un tableau JSON.\n* L'objet JSON sera aplani si imbriqué et les clés seront utilisées comme en-têtes.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Fournir un tableau JSON à convertir au format CSV.",
16
+ "Select the delimiter type for the CSV file.": "Sélectionnez le type de délimiteur pour le fichier CSV.",
17
+ "Comma": "Virgule",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "Manipulate CSV text",
4
+ "Convert CSV to JSON": "Convert CSV to JSON",
5
+ "Convert JSON to CSV": "Convert JSON to CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "This function reads a CSV string and converts it into JSON array format.",
7
+ "This function reads a JSON array and converts it into CSV format.": "This function reads a JSON array and converts it into CSV format.",
8
+ "CSV Text": "CSV Text",
9
+ "Does the CSV have headers?": "Does the CSV have headers?",
10
+ "Delimiter Type": "Delimiter Type",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON Array",
13
+ "Select the delimiter type for the CSV text.": "Select the delimiter type for the CSV text.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Provide a JSON array to convert to CSV format.",
16
+ "Select the delimiter type for the CSV file.": "Select the delimiter type for the CSV file.",
17
+ "Comma": "Comma",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "Manipulate CSV text",
4
+ "Convert CSV to JSON": "Convert CSV to JSON",
5
+ "Convert JSON to CSV": "Convert JSON to CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "This function reads a CSV string and converts it into JSON array format.",
7
+ "This function reads a JSON array and converts it into CSV format.": "This function reads a JSON array and converts it into CSV format.",
8
+ "CSV Text": "CSV Text",
9
+ "Does the CSV have headers?": "Does the CSV have headers?",
10
+ "Delimiter Type": "Delimiter Type",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON Array",
13
+ "Select the delimiter type for the CSV text.": "Select the delimiter type for the CSV text.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Provide a JSON array to convert to CSV format.",
16
+ "Select the delimiter type for the CSV file.": "Select the delimiter type for the CSV file.",
17
+ "Comma": "Comma",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "CSV テキストを操作します",
4
+ "Convert CSV to JSON": "CSVをJSONに変換",
5
+ "Convert JSON to CSV": "JSONをCSVに変換",
6
+ "This function reads a CSV string and converts it into JSON array format.": "この関数はCSV文字列を読み込み、JSON配列形式に変換します。",
7
+ "This function reads a JSON array and converts it into CSV format.": "この関数はJSON配列を読み込み、CSV形式に変換します。",
8
+ "CSV Text": "CSV テキスト",
9
+ "Does the CSV have headers?": "CSVにはヘッダーがありますか?",
10
+ "Delimiter Type": "区切り文字の種類",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON配列",
13
+ "Select the delimiter type for the CSV text.": "CSV テキストの区切り文字の種類を選択します。",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "CSV形式に変換するJSON配列を提供します。",
16
+ "Select the delimiter type for the CSV file.": "CSV ファイルの区切り文字の種類を選択します。",
17
+ "Comma": "カンマ語",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "csv",
3
+ "Manipulate CSV text": "CSV-tekst toevoegen",
4
+ "Convert CSV to JSON": "Converteer CSV naar JSON",
5
+ "Convert JSON to CSV": "JSON converteren naar CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "Deze functie leest een CSV-string en converteert deze in JSON array formaat.",
7
+ "This function reads a JSON array and converts it into CSV format.": "Deze functie leest een JSON array en converteert het naar CSV-formaat.",
8
+ "CSV Text": "CSV tekst",
9
+ "Does the CSV have headers?": "Heeft de CSV koppen?",
10
+ "Delimiter Type": "Scheidingsteken type",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON matrix",
13
+ "Select the delimiter type for the CSV text.": "Selecteer het scheidingsteken type voor de CSV-tekst.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* De invoer moet een JSON array zijn.\n* Het JSON-object zal worden samengeperst indien genezen en de sleutels zullen worden gebruikt als headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Geef een JSON array aan om te converteren naar CSV formaat.",
16
+ "Select the delimiter type for the CSV file.": "Selecteer het scheidingsteken type voor het CSV-bestand.",
17
+ "Comma": "Komma",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "Csv",
3
+ "Manipulate CSV text": "Manipular texto CSV",
4
+ "Convert CSV to JSON": "Converter CSV para JSON",
5
+ "Convert JSON to CSV": "Converter JSON para CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "Esta função lê uma string CSV e a converte em um formato JSON array.",
7
+ "This function reads a JSON array and converts it into CSV format.": "Esta função lê um array JSON e o converte em formato CSV.",
8
+ "CSV Text": "Texto CSV",
9
+ "Does the CSV have headers?": "O CSV tem cabeçalhos?",
10
+ "Delimiter Type": "Tipo de delimitador",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "Matriz JSON",
13
+ "Select the delimiter type for the CSV text.": "Selecione o tipo de delimitador para o texto CSV.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Forneça um array JSON para converter o formato CSV.",
16
+ "Select the delimiter type for the CSV file.": "Selecione o tipo de delimitador para o arquivo CSV.",
17
+ "Comma": "Vírgula",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "Управление текстом CSV",
4
+ "Convert CSV to JSON": "Преобразовать CSV в JSON",
5
+ "Convert JSON to CSV": "Преобразовать JSON в CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "Эта функция читает строку CSV и преобразует ее в формат массива JSON.",
7
+ "This function reads a JSON array and converts it into CSV format.": "Эта функция читает массив JSON и преобразует его в формат CSV.",
8
+ "CSV Text": "Текст CSV",
9
+ "Does the CSV have headers?": "Есть ли в CSV заголовки?",
10
+ "Delimiter Type": "Тип разделителя",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON массив",
13
+ "Select the delimiter type for the CSV text.": "Выберите тип разделителя для текста CSV.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Примечания**:\n* Значение должно быть массивом JSON.\n* Объект JSON будет уплощен при вложении и ключи будут использоваться в качестве заголовков.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Преобразует массив JSON для преобразования в формат CSV.",
16
+ "Select the delimiter type for the CSV file.": "Выберите тип разделителя для CSV-файла.",
17
+ "Comma": "Запятая",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "Manipulate CSV text",
4
+ "Convert CSV to JSON": "Convert CSV to JSON",
5
+ "Convert JSON to CSV": "Convert JSON to CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "This function reads a CSV string and converts it into JSON array format.",
7
+ "This function reads a JSON array and converts it into CSV format.": "This function reads a JSON array and converts it into CSV format.",
8
+ "CSV Text": "CSV Text",
9
+ "Does the CSV have headers?": "Does the CSV have headers?",
10
+ "Delimiter Type": "Delimiter Type",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON Array",
13
+ "Select the delimiter type for the CSV text.": "Select the delimiter type for the CSV text.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Provide a JSON array to convert to CSV format.",
16
+ "Select the delimiter type for the CSV file.": "Select the delimiter type for the CSV file.",
17
+ "Comma": "Comma",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "Manipulate CSV text",
4
+ "Convert CSV to JSON": "Convert CSV to JSON",
5
+ "Convert JSON to CSV": "Convert JSON to CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "This function reads a CSV string and converts it into JSON array format.",
7
+ "This function reads a JSON array and converts it into CSV format.": "This function reads a JSON array and converts it into CSV format.",
8
+ "CSV Text": "CSV Text",
9
+ "Does the CSV have headers?": "Does the CSV have headers?",
10
+ "Delimiter Type": "Delimiter Type",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON Array",
13
+ "Select the delimiter type for the CSV text.": "Select the delimiter type for the CSV text.",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n",
15
+ "Provide a JSON array to convert to CSV format.": "Provide a JSON array to convert to CSV format.",
16
+ "Select the delimiter type for the CSV file.": "Select the delimiter type for the CSV file.",
17
+ "Comma": "Comma",
18
+ "Tab": "Tab"
19
+ }
@@ -0,0 +1,19 @@
1
+ {
2
+ "CSV": "CSV",
3
+ "Manipulate CSV text": "操作 CSV 文本",
4
+ "Convert CSV to JSON": "將 CSV 轉換為 JSON",
5
+ "Convert JSON to CSV": "將 JSON 轉換為 CSV",
6
+ "This function reads a CSV string and converts it into JSON array format.": "此函數讀取 CSV 字串並將其轉換為 JSON 陣列格式。",
7
+ "This function reads a JSON array and converts it into CSV format.": "此函數讀取 JSON 陣列並將其轉換為 CSV 格式。",
8
+ "CSV Text": "CSV 文本",
9
+ "Does the CSV have headers?": "CSV 是否有標題?",
10
+ "Delimiter Type": "分隔符類型",
11
+ "Markdown": "Markdown",
12
+ "JSON Array": "JSON 陣列",
13
+ "Select the delimiter type for the CSV text.": "選擇 CSV 文本的分隔符類型。",
14
+ "\n**Notes**:\n* The input should be a JSON array.\n* The JSON object will be flattened If nested and the keys will be used as headers.\n": "<br>**注意**:<br>* 輸入應為 JSON 陣列。<br>* 若為嵌套,JSON 對象將被展平,並使用鍵作為標題。<br>",
15
+ "Provide a JSON array to convert to CSV format.": "提供一個 JSON 陣列以轉換為 CSV 格式。",
16
+ "Select the delimiter type for the CSV file.": "選擇 CSV 文件的分隔符類型。",
17
+ "Comma": "逗號",
18
+ "Tab": "制表符"
19
+ }