@pie-lib/categorize 0.8.17-next.0 → 0.9.1-beta.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/CHANGELOG.md +28 -63
- package/NEXT.CHANGELOG.json +1 -0
- package/package.json +2 -2
- package/src/__tests__/index.test.js +953 -0
- package/src/__tests__/scoring.test.js +282 -0
- package/src/__tests__/utils.js +19 -0
- package/src/index.js +16 -0
- package/README.md +0 -5
- package/lib/index.js +0 -651
- package/lib/index.js.map +0 -1
- package/lib/scoring.js +0 -145
- package/lib/scoring.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,144 +3,109 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
## [0.
|
|
7
|
-
|
|
6
|
+
## [0.9.1-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.17...@pie-lib/categorize@0.9.1-beta.0) (2025-07-20)
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
10
9
|
|
|
11
|
-
* **categorize:** add sanity check to fix PD-1982 ([9c221b5](https://github.com/pie-framework/pie-lib/commit/9c221b5fb7ef2469d8bc8eb96bce0203ce3d8ff3))
|
|
12
10
|
|
|
13
11
|
|
|
14
12
|
|
|
15
13
|
|
|
14
|
+
# [0.9.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.17...@pie-lib/categorize@0.9.0-beta.0) (2025-07-20)
|
|
16
15
|
|
|
17
|
-
|
|
16
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
18
17
|
|
|
19
18
|
|
|
20
|
-
### Bug Fixes
|
|
21
19
|
|
|
22
|
-
* version bump ([d9280a9](https://github.com/pie-framework/pie-lib/commit/d9280a9aeddab459b6d84ecdbeb62814e1eee965))
|
|
23
20
|
|
|
24
21
|
|
|
22
|
+
# [0.10.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.17...@pie-lib/categorize@0.10.0-beta.0) (2025-07-15)
|
|
25
23
|
|
|
24
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
26
25
|
|
|
26
|
+
# [0.9.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.17...@pie-lib/categorize@0.9.0-beta.0) (2025-07-15)
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
29
29
|
|
|
30
|
+
## [0.8.17](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.16...@pie-lib/categorize@0.8.17) (2023-06-24)
|
|
30
31
|
|
|
31
|
-
|
|
32
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
32
33
|
|
|
33
|
-
|
|
34
|
+
## [0.8.16](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.15...@pie-lib/categorize@0.8.16) (2023-05-08)
|
|
34
35
|
|
|
36
|
+
### Bug Fixes
|
|
35
37
|
|
|
38
|
+
- **categorize:** add sanity check to fix PD-1982 ([9c221b5](https://github.com/pie-framework/pie-lib/commit/9c221b5fb7ef2469d8bc8eb96bce0203ce3d8ff3))
|
|
36
39
|
|
|
40
|
+
## [0.8.15](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.13...@pie-lib/categorize@0.8.15) (2023-02-28)
|
|
37
41
|
|
|
42
|
+
### Bug Fixes
|
|
38
43
|
|
|
39
|
-
|
|
44
|
+
- version bump ([d9280a9](https://github.com/pie-framework/pie-lib/commit/d9280a9aeddab459b6d84ecdbeb62814e1eee965))
|
|
40
45
|
|
|
41
|
-
|
|
46
|
+
## [0.8.13](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.12...@pie-lib/categorize@0.8.13) (2023-02-28)
|
|
42
47
|
|
|
48
|
+
### Bug Fixes
|
|
43
49
|
|
|
50
|
+
- **categorize:** sanity check for blind session answers in eval mode-PD-2601 ([b974de8](https://github.com/pie-framework/pie-lib/commit/b974de8c4a44d3fead2bcbdf8f523204c83d4846))
|
|
44
51
|
|
|
52
|
+
## [0.8.12](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.10...@pie-lib/categorize@0.8.12) (2023-01-31)
|
|
45
53
|
|
|
54
|
+
**Note:** Version bump only for package @pie-lib/categorize
|
|
46
55
|
|
|
47
56
|
## [0.8.10](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.9...@pie-lib/categorize@0.8.10) (2023-01-31)
|
|
48
57
|
|
|
49
58
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
50
59
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
60
|
## [0.8.9](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.8...@pie-lib/categorize@0.8.9) (2023-01-31)
|
|
56
61
|
|
|
57
62
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
58
63
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
64
|
## [0.8.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.7...@pie-lib/categorize@0.8.8) (2023-01-31)
|
|
64
65
|
|
|
65
66
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
66
67
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
68
|
## [0.8.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.4...@pie-lib/categorize@0.8.7) (2023-01-31)
|
|
72
69
|
|
|
73
70
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
74
71
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
72
|
## [0.8.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.2...@pie-lib/categorize@0.8.4) (2023-01-31)
|
|
80
73
|
|
|
81
74
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
82
75
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
76
|
## [0.8.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.8.0...@pie-lib/categorize@0.8.2) (2023-01-31)
|
|
88
77
|
|
|
89
78
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
90
79
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
80
|
# [0.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.7.0...@pie-lib/categorize@0.8.0) (2023-01-16)
|
|
96
81
|
|
|
97
|
-
|
|
98
82
|
### Features
|
|
99
83
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
84
|
+
- added theme naming support + cleanup ([72d562d](https://github.com/pie-framework/pie-lib/commit/72d562d509e5d31d883690eb455a9afea6bf54fc))
|
|
105
85
|
|
|
106
86
|
# [0.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.6.26...@pie-lib/categorize@0.7.0) (2023-01-03)
|
|
107
87
|
|
|
108
|
-
|
|
109
88
|
### Bug Fixes
|
|
110
89
|
|
|
111
|
-
|
|
112
|
-
|
|
90
|
+
- **categorize:** add test for addChoiceToAlternate-PD-1995 ([153ada3](https://github.com/pie-framework/pie-lib/commit/153ada3ce0a27189ca1fecb5839c2843e35487d5))
|
|
113
91
|
|
|
114
92
|
### Features
|
|
115
93
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
94
|
+
- **categorize:** add method to swap teo choices-PD-1967 ([4660fcf](https://github.com/pie-framework/pie-lib/commit/4660fcfe8cd47c0d02707651812c7897182baeea))
|
|
95
|
+
- **categorize:** conclude merge ([da8b332](https://github.com/pie-framework/pie-lib/commit/da8b33228705490c504be56d250f61e14ca5530d))
|
|
96
|
+
- **categorize:** ensure no extra choices in alternate + sanity checks-PD-1967 ([a574028](https://github.com/pie-framework/pie-lib/commit/a5740285469691e89bc2255045f129989861892b))
|
|
97
|
+
- **categorzie:** Ensure that there are no extra choices after moving and adding new choices: PD-1967 ([a2f0ebd](https://github.com/pie-framework/pie-lib/commit/a2f0ebd1dd5e0f86a255727207182a29db7e8ce0))
|
|
124
98
|
|
|
125
99
|
## [0.6.26](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.6.25...@pie-lib/categorize@0.6.26) (2022-12-19)
|
|
126
100
|
|
|
127
|
-
|
|
128
101
|
### Bug Fixes
|
|
129
102
|
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
103
|
+
- **drag,categorize:** drag an answer choice elsewhere after it has been placed in a category-PD-1995 ([d32015b](https://github.com/pie-framework/pie-lib/commit/d32015b31d50b45851df2f27ad517eeaad8ae511))
|
|
135
104
|
|
|
136
105
|
## [0.6.25](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.6.24...@pie-lib/categorize@0.6.25) (2022-11-23)
|
|
137
106
|
|
|
138
107
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
139
108
|
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
109
|
## [0.6.24](https://github.com/pie-framework/pie-lib/compare/@pie-lib/categorize@0.6.22...@pie-lib/categorize@0.6.24) (2021-06-25)
|
|
145
110
|
|
|
146
111
|
**Note:** Version bump only for package @pie-lib/categorize
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-lib/categorize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.1-beta.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "src/index.js",
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"scripts": {},
|
|
15
15
|
"author": "",
|
|
16
16
|
"license": "ISC",
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "e2aa3ddac60f49bcb8c2562370f496323642f453"
|
|
18
18
|
}
|