@cj-tech-master/excelts 0.1.0-canary.20251025023400.dff1908 → 1.0.0-canary.20251029152044.532fc06

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.
@@ -24,8 +24,8 @@ class Worksheet {
24
24
  // in a workbook, each sheet will have a number
25
25
  this.id = options.id || 0;
26
26
  this.orderNo = options.orderNo || 0;
27
- // and a name
28
- this._name = options.name || `sheet${this.id}`;
27
+ // and a name - use the setter to ensure validation and truncation
28
+ this.name = options.name || `sheet${this.id}`;
29
29
  // add a state
30
30
  this.state = options.state || "visible";
31
31
  // rows allows access organised by row. Sparse array of arrays indexed by row-1, col
@@ -21,8 +21,8 @@ class Worksheet {
21
21
  // in a workbook, each sheet will have a number
22
22
  this.id = options.id || 0;
23
23
  this.orderNo = options.orderNo || 0;
24
- // and a name
25
- this._name = options.name || `sheet${this.id}`;
24
+ // and a name - use the setter to ensure validation and truncation
25
+ this.name = options.name || `sheet${this.id}`;
26
26
  // add a state
27
27
  this.state = options.state || "visible";
28
28
  // rows allows access organised by row. Sparse array of arrays indexed by row-1, col
package/dist/esm/local.js CHANGED
@@ -1 +1,2 @@
1
1
  console.log(123);
2
+ export {};
@@ -0,0 +1 @@
1
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cj-tech-master/excelts",
3
- "version": "0.1.0-canary.20251025023400.dff1908",
3
+ "version": "1.0.0-canary.20251029152044.532fc06",
4
4
  "description": "TypeScript Excel Workbook Manager - Read and Write xlsx and csv Files.",
5
5
  "private": false,
6
6
  "publishConfig": {
@@ -104,14 +104,14 @@
104
104
  "devDependencies": {
105
105
  "@eslint/js": "9.38.0",
106
106
  "@oxc-node/core": "^0.0.32",
107
- "@types/node": "^24.9.1",
107
+ "@types/node": "^24.9.2",
108
108
  "@types/unzipper": "^0.10.11",
109
109
  "@typescript-eslint/eslint-plugin": "8.46.2",
110
110
  "@typescript-eslint/parser": "8.46.2",
111
- "@typescript/native-preview": "^7.0.0-dev.20251024.1",
112
- "@vitest/browser": "^4.0.3",
113
- "@vitest/browser-playwright": "^4.0.3",
114
- "@vitest/ui": "^4.0.3",
111
+ "@typescript/native-preview": "^7.0.0-dev.20251029.1",
112
+ "@vitest/browser": "^4.0.5",
113
+ "@vitest/browser-playwright": "^4.0.5",
114
+ "@vitest/ui": "^4.0.5",
115
115
  "concurrently": "^9.2.1",
116
116
  "cross-env": "^10.1.0",
117
117
  "eslint": "9.38.0",
@@ -128,13 +128,13 @@
128
128
  "playwright": "^1.56.1",
129
129
  "prettier": "^3.6.2",
130
130
  "rimraf": "^6.0.1",
131
- "rolldown": "^1.0.0-beta.44",
131
+ "rolldown": "^1.0.0-beta.45",
132
132
  "rollup-plugin-visualizer": "^6.0.5",
133
133
  "tslib": "^2.8.1",
134
134
  "typescript": "^5.9.3",
135
135
  "typescript-eslint": "^8.46.2",
136
136
  "vite-tsconfig-paths": "^5.1.4",
137
- "vitest": "^4.0.3"
137
+ "vitest": "^4.0.5"
138
138
  },
139
139
  "scripts": {
140
140
  "local": "nodemon src/local.ts",