@zumer/snapdom 2.24.10 → 2.24.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zumer/snapdom",
3
- "version": "2.24.10",
3
+ "version": "2.24.15",
4
4
  "description": "Fast, modern alternative to html2canvas — captures HTML elements to images (PNG, JPG, SVG, WebP) with exceptional speed and accuracy.",
5
5
  "type": "module",
6
6
  "main": "./dist/snapdom.js",
@@ -33,11 +33,13 @@
33
33
  "compile": "node esbuild.config.mjs",
34
34
  "lint": "eslint src __tests__ --ext .js",
35
35
  "lint:fix": "eslint src __tests__ --ext .js --fix",
36
+ "test:bundle": "npm run compile && node scripts/verify-legacy-bundle.mjs",
36
37
  "test:types": "tsc --noEmit",
37
- "test": "npm run lint:fix && npm run test:types && npx vitest run --browser.headless --reporter=verbose",
38
+ "test": "npm run lint:fix && npm run test:types && npm run test:bundle && npx vitest run --browser.headless --reporter=verbose",
39
+ "test:visual": "npx vitest run __tests__/visual.demos. --browser.headless --reporter=verbose",
38
40
  "test:firefox": "BROWSER=firefox npx vitest run --browser.headless --reporter=verbose",
39
41
  "test:webkit": "BROWSER=webkit npx vitest run --browser.headless --reporter=verbose",
40
- "test:full": "npm run lint:fix && npm run test:types && BROWSER=all npx vitest run --browser.headless --reporter=verbose",
42
+ "test:full": "npm run lint:fix && npm run test:types && npm run test:bundle && BROWSER=all npx vitest run --browser.headless --reporter=verbose",
41
43
  "report:cross": "node scripts/cross-report.mjs",
42
44
  "test:coverage": "npx vitest run --browser.headless --coverage",
43
45
  "test:benchmark": "npx vitest bench --browser.headless --watch=false",
@@ -45,7 +47,7 @@
45
47
  "bump:dry": "npx @zumerbox/bump -d",
46
48
  "bump": "npx @zumerbox/bump && npx @zumerbox/changelog",
47
49
  "build": "npm run compile && npm pack",
48
- "prebuild": "git add CHANGELOG.md && git commit -m \"Bumped version\" && git push --follow-tags"
50
+ "release:push": "git add CHANGELOG.md && git commit -m \"Bumped version\" && git push --follow-tags"
49
51
  },
50
52
  "repository": {
51
53
  "type": "git",
@@ -92,7 +94,7 @@
92
94
  "@eslint/js": "^9.36.0",
93
95
  "@vitest/browser": "^3.1.2",
94
96
  "@vitest/coverage-v8": "^3.1.2",
95
- "@zumer/snapdiff": "^0.2.2",
97
+ "@zumer/snapdiff": "^0.3.0",
96
98
  "esbuild": "^0.28.1",
97
99
  "eslint": "^9.36.0",
98
100
  "globals": "^16.4.0",