calcsuite-react 1.1.3 → 1.1.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/CHANGELOG.md +5 -0
- package/dist/calcsuite.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
All notable changes to **CalcSuite** are documented here. This project adheres to
|
|
4
4
|
[Semantic Versioning](https://semver.org/).
|
|
5
5
|
|
|
6
|
+
## [1.1.4] — 2026-09-04
|
|
7
|
+
|
|
8
|
+
### Fixed
|
|
9
|
+
- **Build no longer fails without `jspdf` / `xlsx`.** The lazy PDF/XLSX exports carried only Vite's `/* @vite-ignore */`, which meant nothing to webpack/Turbopack — so a consumer's Next.js build tried to resolve the optional peers at bundle time and hard-failed (`Module not found: Can't resolve 'jspdf' / 'xlsx'`) even for apps that never export to those formats. The dynamic imports now also carry `/* webpackIgnore: true */` and `/* turbopackIgnore: true */`, so consumer bundlers leave them as native runtime `import()`s. Installing `calcsuite-react` alone is enough to build; PDF/XLSX still degrade gracefully at runtime with a friendly error until you add the optional peer.
|
|
10
|
+
|
|
6
11
|
## [1.1.3] — 2026-09-04
|
|
7
12
|
|
|
8
13
|
### Fixed
|
package/dist/calcsuite.js
CHANGED
|
@@ -3266,6 +3266,8 @@ async function Fo(e) {
|
|
|
3266
3266
|
try {
|
|
3267
3267
|
t = await import(
|
|
3268
3268
|
/* @vite-ignore */
|
|
3269
|
+
/* webpackIgnore: true */
|
|
3270
|
+
/* turbopackIgnore: true */
|
|
3269
3271
|
"jspdf"
|
|
3270
3272
|
);
|
|
3271
3273
|
} catch {
|
|
@@ -3293,6 +3295,8 @@ async function Io(e) {
|
|
|
3293
3295
|
try {
|
|
3294
3296
|
t = await import(
|
|
3295
3297
|
/* @vite-ignore */
|
|
3298
|
+
/* webpackIgnore: true */
|
|
3299
|
+
/* turbopackIgnore: true */
|
|
3296
3300
|
"xlsx"
|
|
3297
3301
|
);
|
|
3298
3302
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "calcsuite-react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.4",
|
|
4
4
|
"description": "Decimal-exact, offline-first financial calculator library for React — India (₹) & US ($). ~55 calculators, scientific calculator, live FX, export, launcher/dialog. The financial-calculator module of AceCBM (Ace Cloud Business Management).",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"finance",
|