jssm 5.89.3 → 5.89.6
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 +52 -59
- package/README.md +3 -3
- package/dist/es6/jssm_util.d.ts +6 -4
- package/dist/es6/jssm_util.js +16 -9
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jssm_util.d.ts +6 -4
- package/package.json +2 -2
package/jssm_util.d.ts
CHANGED
|
@@ -58,12 +58,14 @@ declare const hook_name: (from: string, to: string) => string;
|
|
|
58
58
|
declare const named_hook_name: (from: string, to: string, action: string) => string;
|
|
59
59
|
/*******
|
|
60
60
|
*
|
|
61
|
-
* Creates a
|
|
61
|
+
* Creates a SplitMix32 random generator. Used by the randomness test suite.
|
|
62
62
|
*
|
|
63
|
-
* Sourced from `bryc
|
|
63
|
+
* Sourced from `bryc`: https://github.com/bryc/code/blob/master/jshash/PRNGs.md#splitmix32
|
|
64
|
+
*
|
|
65
|
+
* Replaces the Mulberry generator, which was found to have problems
|
|
64
66
|
*
|
|
65
67
|
*/
|
|
66
|
-
declare
|
|
68
|
+
declare function gen_splitmix32(a?: number | undefined): () => number;
|
|
67
69
|
/*******
|
|
68
70
|
*
|
|
69
71
|
* Reduces an array to its unique contents. Compares with `===` and makes no
|
|
@@ -100,4 +102,4 @@ declare const unique: <T>(arr?: T[]) => T[];
|
|
|
100
102
|
*
|
|
101
103
|
*/
|
|
102
104
|
declare function find_repeated<T>(arr: T[]): [T, number][];
|
|
103
|
-
export { seq, unique, find_repeated, arr_uniq_p, histograph, weighted_histo_key, weighted_rand_select, weighted_sample_select, array_box_if_string, name_bind_prop_and_state, hook_name, named_hook_name,
|
|
105
|
+
export { seq, unique, find_repeated, arr_uniq_p, histograph, weighted_histo_key, weighted_rand_select, weighted_sample_select, array_box_if_string, name_bind_prop_and_state, hook_name, named_hook_name, gen_splitmix32 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jssm",
|
|
3
|
-
"version": "5.89.
|
|
3
|
+
"version": "5.89.6",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.0.0"
|
|
6
6
|
},
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"typedoc": "^0.22.18",
|
|
139
139
|
"typedoc-plugin-missing-exports": "^0.23.0",
|
|
140
140
|
"typescript": "^4.7.4",
|
|
141
|
-
"xml2js": "^0.
|
|
141
|
+
"xml2js": "^0.6.2"
|
|
142
142
|
},
|
|
143
143
|
"dependencies": {
|
|
144
144
|
"better_git_changelog": "^1.6.1",
|