@svgrid/enterprise 3.1.19 → 3.1.20
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/dist/cdn/svgrid-enterprise.svelte-external.js +1739 -1730
- package/dist/designer/assets/{index-DA9jVAjf.js → index-DJiOvbO0.js} +322 -318
- package/dist/designer/index.html +1 -1
- package/dist/node/studio.js +19 -3
- package/dist/studio/emit-project.js +9 -2
- package/dist/studio/sveltekit3.js +13 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/dist/designer/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>SvGrid Studio - Designer</title>
|
|
7
|
-
<script type="module" crossorigin src="./assets/index-
|
|
7
|
+
<script type="module" crossorigin src="./assets/index-DJiOvbO0.js"></script>
|
|
8
8
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-Dd_uD5pT.js">
|
|
9
9
|
<link rel="modulepreload" crossorigin href="./assets/disclose-version-CIm4S9xS.js">
|
|
10
10
|
<link rel="modulepreload" crossorigin href="./assets/cell-formatting-JoxA0t65.js">
|
package/dist/node/studio.js
CHANGED
|
@@ -2051,9 +2051,17 @@ var SVELTEKIT_3_DEV_DEPENDENCIES = {
|
|
|
2051
2051
|
svelte: "^5.57.1",
|
|
2052
2052
|
"svelte-check": "^4.7.5",
|
|
2053
2053
|
typescript: "^6.0.0",
|
|
2054
|
-
vite: "^8.0.12"
|
|
2054
|
+
vite: "^8.0.12",
|
|
2055
|
+
vitest: "^4.1.5"
|
|
2055
2056
|
};
|
|
2056
2057
|
/**
|
|
2058
|
+
* vitest 4 makes npm 10 (what Node 22 ships) crash in `npm install` with
|
|
2059
|
+
* "Cannot read properties of null (reading 'edgesOut')", while resolving peers.
|
|
2060
|
+
* Without peer resolution it installs; every peer this app needs is already a
|
|
2061
|
+
* direct dependency, so nothing is lost. npm 11 does not need it.
|
|
2062
|
+
*/
|
|
2063
|
+
var NPMRC_3_EXTRA = `# vitest 4 crashes npm 10's peer resolver ("reading 'edgesOut'"); every peer\n# this app needs is listed in package.json, so npm does not have to resolve them.\nlegacy-peer-deps=true\n`;
|
|
2064
|
+
/**
|
|
2057
2065
|
* The first major of each adapter whose peerDependency is `@sveltejs/kit ^3`,
|
|
2058
2066
|
* read from npm on 2026-10-08. None of the v3 adapter behaviour changes (node's
|
|
2059
2067
|
* ORIGIN, vercel's edge runtime, cloudflare's platform APIs) reach Studio
|
|
@@ -2096,6 +2104,13 @@ function toSvelteKit3(files) {
|
|
|
2096
2104
|
});
|
|
2097
2105
|
continue;
|
|
2098
2106
|
}
|
|
2107
|
+
if (file.path === ".npmrc") {
|
|
2108
|
+
out.push({
|
|
2109
|
+
...file,
|
|
2110
|
+
contents: file.contents.replace(/\n?$/, "\n") + NPMRC_3_EXTRA
|
|
2111
|
+
});
|
|
2112
|
+
continue;
|
|
2113
|
+
}
|
|
2099
2114
|
if (SOURCE.test(file.path) && file.path !== "drizzle.config.ts") {
|
|
2100
2115
|
const contents = rewriteSource(file.contents, paths, envNames);
|
|
2101
2116
|
out.push(contents === file.contents ? file : {
|
|
@@ -16484,7 +16499,7 @@ function hasFieldConditions(schema) {
|
|
|
16484
16499
|
*
|
|
16485
16500
|
* `version.test.ts` asserts this matches `package.json`, so the two cannot drift.
|
|
16486
16501
|
*/
|
|
16487
|
-
var SVGRID_VERSION = "3.1.
|
|
16502
|
+
var SVGRID_VERSION = "3.1.20";
|
|
16488
16503
|
/**
|
|
16489
16504
|
* The version of `@svgrid/grid`, which releases on its own line: enterprise is
|
|
16490
16505
|
* on 3.1.x while the grid is on 3.0.x.
|
|
@@ -21455,6 +21470,7 @@ function packageJson(project, allSource) {
|
|
|
21455
21470
|
dev: "vite dev",
|
|
21456
21471
|
build: "vite build",
|
|
21457
21472
|
preview: "vite preview",
|
|
21473
|
+
prepare: "svelte-kit sync || echo ''",
|
|
21458
21474
|
check: "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
21459
21475
|
test: "vitest run",
|
|
21460
21476
|
deploy: deployPlan(project).deployScript
|
|
@@ -21481,7 +21497,7 @@ function packageJson(project, allSource) {
|
|
|
21481
21497
|
"svelte-check": "^4.4.6",
|
|
21482
21498
|
typescript: "^5.7.0",
|
|
21483
21499
|
vite: "^7.0.0",
|
|
21484
|
-
vitest: "^
|
|
21500
|
+
vitest: "^3.2.4",
|
|
21485
21501
|
...dependencies["pg"] ? { "@types/pg": "^8.11.0" } : {},
|
|
21486
21502
|
...dependencies["better-sqlite3"] ? { "@types/better-sqlite3": "^7.6.0" } : {},
|
|
21487
21503
|
...dependencies["nodemailer"] ? { "@types/nodemailer": "^6.4.0" } : {},
|
|
@@ -5374,7 +5374,10 @@ export function runtimeDeps(project, allSource) {
|
|
|
5374
5374
|
function packageJson(project, allSource) {
|
|
5375
5375
|
const dependencies = runtimeDeps(project, allSource);
|
|
5376
5376
|
const drizzle = !!dependencies['drizzle-orm'];
|
|
5377
|
-
|
|
5377
|
+
// `prepare` writes .svelte-kit/tsconfig.json on install, which tsconfig.json
|
|
5378
|
+
// extends: without it `npm test` straight after `npm install` failed to load
|
|
5379
|
+
// the config until something else had run `svelte-kit sync`.
|
|
5380
|
+
const scripts = { dev: 'vite dev', build: 'vite build', preview: 'vite preview', prepare: "svelte-kit sync || echo ''", check: 'svelte-kit sync && svelte-check --tsconfig ./tsconfig.json', test: 'vitest run', deploy: deployPlan(project).deployScript };
|
|
5378
5381
|
if (drizzle) {
|
|
5379
5382
|
scripts['db:generate'] = 'drizzle-kit generate';
|
|
5380
5383
|
scripts['db:migrate'] = 'drizzle-kit migrate';
|
|
@@ -5402,7 +5405,11 @@ function packageJson(project, allSource) {
|
|
|
5402
5405
|
'svelte-check': '^4.4.6',
|
|
5403
5406
|
typescript: '^5.7.0',
|
|
5404
5407
|
vite: '^7.0.0',
|
|
5405
|
-
|
|
5408
|
+
// 3.x, not 4.x: every vitest 4 release makes npm 10 (what Node 22 ships)
|
|
5409
|
+
// crash in `npm install` with "Cannot read properties of null (reading
|
|
5410
|
+
// 'edgesOut')". 3.2 runs these tests on vite 7 and installs on npm 10 and
|
|
5411
|
+
// 11. The SvelteKit 3 path needs vite 8 and so vitest 4; see sveltekit3.ts.
|
|
5412
|
+
vitest: '^3.2.4',
|
|
5406
5413
|
// Driver typings so the connected route + data layer type-check cleanly.
|
|
5407
5414
|
...(dependencies['pg'] ? { '@types/pg': '^8.11.0' } : {}),
|
|
5408
5415
|
...(dependencies['better-sqlite3'] ? { '@types/better-sqlite3': '^7.6.0' } : {}),
|
|
@@ -6,7 +6,16 @@ export const SVELTEKIT_3_DEV_DEPENDENCIES = {
|
|
|
6
6
|
'svelte-check': '^4.7.5',
|
|
7
7
|
typescript: '^6.0.0',
|
|
8
8
|
vite: '^8.0.12',
|
|
9
|
+
// A SvelteKit 2 app pins vitest 3 (see emit-project.ts); vite 8 needs 4.
|
|
10
|
+
vitest: '^4.1.5',
|
|
9
11
|
};
|
|
12
|
+
/**
|
|
13
|
+
* vitest 4 makes npm 10 (what Node 22 ships) crash in `npm install` with
|
|
14
|
+
* "Cannot read properties of null (reading 'edgesOut')", while resolving peers.
|
|
15
|
+
* Without peer resolution it installs; every peer this app needs is already a
|
|
16
|
+
* direct dependency, so nothing is lost. npm 11 does not need it.
|
|
17
|
+
*/
|
|
18
|
+
const NPMRC_3_EXTRA = `# vitest 4 crashes npm 10's peer resolver ("reading 'edgesOut'"); every peer\n# this app needs is listed in package.json, so npm does not have to resolve them.\nlegacy-peer-deps=true\n`;
|
|
10
19
|
/**
|
|
11
20
|
* The first major of each adapter whose peerDependency is `@sveltejs/kit ^3`,
|
|
12
21
|
* read from npm on 2026-10-08. None of the v3 adapter behaviour changes (node's
|
|
@@ -43,6 +52,10 @@ export function toSvelteKit3(files) {
|
|
|
43
52
|
out.push({ ...file, contents: TSCONFIG_3 });
|
|
44
53
|
continue;
|
|
45
54
|
}
|
|
55
|
+
if (file.path === '.npmrc') {
|
|
56
|
+
out.push({ ...file, contents: file.contents.replace(/\n?$/, '\n') + NPMRC_3_EXTRA });
|
|
57
|
+
continue;
|
|
58
|
+
}
|
|
46
59
|
if (SOURCE.test(file.path) && file.path !== 'drizzle.config.ts') {
|
|
47
60
|
const contents = rewriteSource(file.contents, paths, envNames);
|
|
48
61
|
out.push(contents === file.contents ? file : { ...file, contents });
|
package/dist/version.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* `version.test.ts` asserts this matches `package.json`, so the two cannot drift.
|
|
12
12
|
*/
|
|
13
|
-
export declare const SVGRID_VERSION = "3.1.
|
|
13
|
+
export declare const SVGRID_VERSION = "3.1.20";
|
|
14
14
|
/**
|
|
15
15
|
* The version of `@svgrid/grid`, which releases on its own line: enterprise is
|
|
16
16
|
* on 3.1.x while the grid is on 3.0.x.
|
package/dist/version.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*
|
|
11
11
|
* `version.test.ts` asserts this matches `package.json`, so the two cannot drift.
|
|
12
12
|
*/
|
|
13
|
-
export const SVGRID_VERSION = '3.1.
|
|
13
|
+
export const SVGRID_VERSION = '3.1.20';
|
|
14
14
|
/**
|
|
15
15
|
* The version of `@svgrid/grid`, which releases on its own line: enterprise is
|
|
16
16
|
* on 3.1.x while the grid is on 3.0.x.
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "commercial",
|
|
5
5
|
"url": "https://svgrid.com/pricing"
|
|
6
6
|
},
|
|
7
|
-
"version": "3.1.
|
|
7
|
+
"version": "3.1.20",
|
|
8
8
|
"description": "Enterprise feature pack for SvGrid: the server-side row model (lazy grouping, tree, pivot, transactions, selection across unloaded rows), Excel (xlsx) and PDF export, Excel/CSV/JSON import, pivot tables with a drag-and-drop designer, paginated print, Kanban board and scheduler renderers, no-code alerts and batch editing. CSV, TSV and JSON export are already free in @svgrid/grid. Requires a paid license key.",
|
|
9
9
|
"license": "SEE LICENSE IN LICENSE",
|
|
10
10
|
"author": "jQWidgets <sales@jqwidgets.com>",
|