console-table-printer 2.15.0 → 2.15.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.
@@ -39,7 +39,7 @@ const renderWidthLimitedLines = (tableStyle, columns, row, colorMap, isHeader, c
39
39
  return ret;
40
40
  };
41
41
  const transformRow = (row, columns) => {
42
- const transformedRow = JSON.parse(JSON.stringify(row));
42
+ const transformedRow = Object.assign(Object.assign({}, row), { text: Object.assign({}, row.text) });
43
43
  const transforms = {};
44
44
  columns
45
45
  .filter((c) => {
@@ -3,7 +3,7 @@ import { ALIGNMENT, CharLengthDict, COLOR, Dictionary } from './common';
3
3
  import { TableStyleDetails as InternalTableStyleDetails } from './internal-table';
4
4
  export { ALIGNMENT, COLOR };
5
5
  export type TableStyleDetails = Partial<InternalTableStyleDetails>;
6
- export type CellValue = string | number | boolean | undefined | null;
6
+ export type CellValue = string | number | bigint | boolean | undefined | null;
7
7
  export type Valuetransform = (cellValue: CellValue) => CellValue;
8
8
  /**
9
9
  * Configuration options for a table column
package/package.json CHANGED
@@ -1,7 +1,10 @@
1
1
  {
2
2
  "name": "console-table-printer",
3
- "version": "2.15.0",
4
- "repository": "github:console-table-printer/console-table-printer",
3
+ "version": "2.15.2",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/console-table-printer/console-table-printer.git"
7
+ },
5
8
  "description": "Printing pretty tables on console log",
6
9
  "main": "dist/index.js",
7
10
  "types": "dist/index.d.ts",
@@ -26,22 +29,22 @@
26
29
  "author": "Nahiyan Kamal",
27
30
  "license": "MIT",
28
31
  "devDependencies": {
29
- "@eslint/js": "^9.38.0",
32
+ "@eslint/js": "^10.0.1",
30
33
  "@semantic-release/changelog": "^6.0.3",
31
34
  "@semantic-release/git": "^10.0.1",
32
35
  "@types/jest": "^30.0.0",
33
- "@types/node": "^24.8.1",
34
- "eslint": "^9.38.0",
36
+ "@types/node": "^25.9.1",
37
+ "eslint": "^10.4.0",
35
38
  "eslint-config-prettier": "^10.1.8",
36
- "eslint-plugin-prettier": "^5.5.4",
39
+ "eslint-plugin-prettier": "^5.5.5",
37
40
  "husky": "^9.1.7",
38
- "jest": "^30.2.0",
39
- "prettier": "^3.6.2",
41
+ "jest": "^30.4.2",
42
+ "prettier": "^3.8.3",
40
43
  "pretty-quick": "^4.2.2",
41
- "semantic-release": "^25.0.1",
42
- "ts-jest": "^29.4.5",
43
- "typescript": "^5.9.3",
44
- "typescript-eslint": "^8.46.1"
44
+ "semantic-release": "^25.0.3",
45
+ "ts-jest": "^29.4.11",
46
+ "typescript": "^6.0.3",
47
+ "typescript-eslint": "^8.60.0"
45
48
  },
46
49
  "homepage": "https://console-table.netlify.app",
47
50
  "dependencies": {