@oclif/core 3.20.1-dev.1 → 3.21.0

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.
@@ -155,7 +155,7 @@ class Table {
155
155
  getCSVRow(d) {
156
156
  const values = this.columns.map((col) => d[col.key] || '');
157
157
  const lineToBeEscaped = values.find((e) => e.includes('"') || e.includes('\n') || e.includes('\r\n') || e.includes('\r') || e.includes(','));
158
- return values.map((e) => (lineToBeEscaped ? `"${e.replace('"', '""')}"` : e));
158
+ return values.map((e) => (lineToBeEscaped ? `"${e.replaceAll('"', '""')}"` : e));
159
159
  }
160
160
  outputCSV() {
161
161
  const { columns, data, options } = this;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "3.20.1-dev.1",
4
+ "version": "3.21.0",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {
@@ -38,7 +38,7 @@
38
38
  "@oclif/plugin-help": "^6",
39
39
  "@oclif/plugin-plugins": "^4",
40
40
  "@oclif/prettier-config": "^0.2.1",
41
- "@oclif/test": "^3.1.16",
41
+ "@oclif/test": "^3.2.1",
42
42
  "@types/ansi-styles": "^3.2.1",
43
43
  "@types/benchmark": "^2.1.5",
44
44
  "@types/chai": "^4.3.11",
@@ -63,7 +63,7 @@
63
63
  "chai-as-promised": "^7.1.1",
64
64
  "commitlint": "^17.8.1",
65
65
  "cross-env": "^7.0.3",
66
- "eslint": "^8.56.0",
66
+ "eslint": "^8.57.0",
67
67
  "eslint-config-oclif": "^5.0.2",
68
68
  "eslint-config-oclif-typescript": "^3.0.48",
69
69
  "eslint-config-prettier": "^9.1.0",