survey-analytics 2.3.15 → 2.4.0

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,4 +1,6 @@
1
1
  {
2
+ "version": "2.4.0",
3
+ "name": "survey-analytics",
2
4
  "scripts": {
3
5
  "start": "webpack-dev-server --env buildType=dev",
4
6
  "test": "jest",
@@ -17,32 +19,21 @@
17
19
  "build:types:summary": "tsc --p tsconfig.summary.json && echo \"export * from './survey-analytics.types/entries/summary';\" >> build/survey.analytics.d.ts",
18
20
  "build:types:tabulator": "tsc --p tsconfig.tabulator.json && echo \"export * from './survey-analytics-tabulator.types/entries/tabulator';\" >> build/survey.analytics.tabulator.d.ts",
19
21
  "build:types:mongo": "tsc --p tsconfig.types.mongo.json && echo \"export * from './survey-analytics.types/entries/mongo';\" >> build/survey.analytics.mongo.d.ts",
20
- "lint": "eslint ./src --quiet",
21
- "pre-push-check": "npm run lint && npm run test",
22
+ "lint": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --max-warnings=0",
23
+ "lint:fix": "eslint . --ext .js,.cjs,.mjs,.ts,.cts,.mts --max-warnings=0 --fix",
24
+ "pre-push-check": "npm run lint",
22
25
  "pwinst": "playwright install chromium"
23
26
  },
24
- "version": "2.3.15",
25
- "name": "survey-analytics",
26
- "description": "SurveyJS analytics Library.",
27
27
  "main": "survey.analytics.js",
28
28
  "files": [
29
29
  "**/*"
30
30
  ],
31
31
  "typings": "survey.analytics.d.ts",
32
32
  "private": false,
33
- "keywords": [
34
- "Survey",
35
- "JavaScript",
36
- "Library",
37
- "SurveyJS",
38
- "Analytics"
39
- ],
40
33
  "repository": {
41
34
  "type": "git",
42
35
  "url": "https://github.com/surveyjs/survey-analytics.git"
43
36
  },
44
- "homepage": "https://surveyjs.io/",
45
- "license": "SEE LICENSE IN LICENSE",
46
37
  "dependencies": {
47
38
  "mongodb": "^6.20.0",
48
39
  "muuri": "^0.8.0",
@@ -50,23 +41,28 @@
50
41
  "tabulator-tables": "^6.2.5"
51
42
  },
52
43
  "devDependencies": {
44
+ "@commitlint/cli": "^19.8.0",
45
+ "@commitlint/config-conventional": "^19.8.0",
53
46
  "@playwright/test": "1.53.1",
54
47
  "@rollup/plugin-commonjs": "^28.0.2",
55
48
  "@rollup/plugin-node-resolve": "^16.0.0",
56
49
  "@rollup/plugin-replace": "^6.0.2",
57
50
  "@rollup/plugin-typescript": "^12.1.2",
51
+ "@rushstack/eslint-patch": "^1.1.4",
58
52
  "@types/jest": "^26.0.24",
59
53
  "@types/jquery": "3.3.29",
60
54
  "@types/node": "7.0.4",
61
- "@typescript-eslint/eslint-plugin": "^4.33.0",
62
- "@typescript-eslint/parser": "^4.33.0",
55
+ "@typescript-eslint/eslint-plugin": "^7.2.0",
56
+ "@typescript-eslint/parser": "^7.2.0",
57
+ "@vue/eslint-config-typescript": "^11.0.0",
63
58
  "concurrently": "^5.3.0",
64
59
  "css-loader": "^7.1.2",
65
- "eslint": "^7.32.0",
60
+ "lint-staged": "^15.4.3",
61
+ "eslint": "^8.57.0",
66
62
  "eslint-plugin-surveyjs": "git+https://github.com/surveyjs/eslint-surveyjs.git",
67
63
  "html-loader": "^5.0.0",
68
64
  "http-server": "^14.1.1",
69
- "husky": "^8.0.3",
65
+ "husky": "^9.1.7",
70
66
  "jest": "^29.7.0",
71
67
  "jest-canvas-mock": "^2.3.1",
72
68
  "jest-environment-jsdom": "^29.7.0",
@@ -97,13 +93,18 @@
97
93
  "@types/mongodb": "^4.0.6",
98
94
  "@types/plotly.js-dist-min": "^2.3.0",
99
95
  "@types/tabulator-tables": "^6.2.3",
100
- "survey-core": "2.3.15"
96
+ "survey-core": "2.4.0"
101
97
  },
102
98
  "husky": {
103
99
  "hooks": {
104
100
  "pre-push": "npm run pre-push-check"
105
101
  }
106
102
  },
103
+ "lint-staged": {
104
+ "**/*.{js,cjs,mjs,ts,cts,mts}": [
105
+ "eslint --fix"
106
+ ]
107
+ },
107
108
  "exports": {
108
109
  ".": {
109
110
  "types": "./survey.analytics.d.ts",
@@ -127,5 +128,29 @@
127
128
  "require": "./survey.analytics.tabulator.js"
128
129
  }
129
130
  },
130
- "module": "fesm/survey.analytics.mjs"
131
+ "module": "fesm/survey.analytics.mjs",
132
+ "homepage": "https://surveyjs.io/",
133
+ "author": "DevSoft Baltic OÜ <info@devsoftbaltic.com>",
134
+ "license": "SEE LICENSE IN LICENSE",
135
+ "licenseUrl": "https://surveyjs.io/licensing",
136
+ "description": "SurveyJS Dashboard is a UI component for visualizing and analyzing survey data. It interprets the form JSON schema to identify question types and renders collected responses using interactive charts and tables.",
137
+ "keywords": [
138
+ "survey",
139
+ "form",
140
+ "surveyjs",
141
+ "dashboard",
142
+ "analytics",
143
+ "data-visualization",
144
+ "charts",
145
+ "tables",
146
+ "survey-results",
147
+ "survey-data",
148
+ "survey-analysis",
149
+ "json",
150
+ "data-analysis",
151
+ "survey-library",
152
+ "reporting",
153
+ "data-management",
154
+ "visualize-survey"
155
+ ]
131
156
  }
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.3.15
2
+ * surveyjs - SurveyJS Dashboard library v2.4.0
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
- * License: MIT (http://www.opensource.org/licenses/mit-license.php)
4
+ * License: SEE LICENSE IN LICENSE
5
5
  */
6
6
  /*!**************************************************************************************************************************************************************************!*\
7
7
  !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].use[2]!./src/visualizerBase.scss ***!
@@ -1,7 +1,7 @@
1
1
  /*!
2
- * surveyjs - SurveyJS Dashboard library v2.3.15
2
+ * surveyjs - SurveyJS Dashboard library v2.4.0
3
3
  * Copyright (c) 2015-2025 Devsoft Baltic OÜ - http://surveyjs.io/
4
- * License: MIT (http://www.opensource.org/licenses/mit-license.php)
4
+ * License: SEE LICENSE IN LICENSE
5
5
  */
6
6
  (function webpackUniversalModuleDefinition(root, factory) {
7
7
  if(typeof exports === 'object' && typeof module === 'object')