jssm 5.89.2 → 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 +49 -58
- package/README.md +9 -9
- 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 +5 -6
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
|
},
|
|
@@ -118,7 +118,6 @@
|
|
|
118
118
|
"benny": "^3.7.1",
|
|
119
119
|
"chalk": "^4.1.2",
|
|
120
120
|
"cloc": "^2.10.0",
|
|
121
|
-
"coveralls": "^3.0.11",
|
|
122
121
|
"eslint": "^7.32.0",
|
|
123
122
|
"eslint-plugin-fp": "^2.3.0",
|
|
124
123
|
"eslint-plugin-new-with-error": "^2.0.0",
|
|
@@ -131,7 +130,7 @@
|
|
|
131
130
|
"jest-json-reporter2": "^1.1.0",
|
|
132
131
|
"pegjs": "^0.10.0",
|
|
133
132
|
"rollup": "^2.72.1",
|
|
134
|
-
"semver": "^5.
|
|
133
|
+
"semver": "^7.5.4",
|
|
135
134
|
"terser": "^5.14.2",
|
|
136
135
|
"text_audit": "^0.9.3",
|
|
137
136
|
"ts-jest": "^27.0.7",
|
|
@@ -139,11 +138,11 @@
|
|
|
139
138
|
"typedoc": "^0.22.18",
|
|
140
139
|
"typedoc-plugin-missing-exports": "^0.23.0",
|
|
141
140
|
"typescript": "^4.7.4",
|
|
142
|
-
"xml2js": "^0.
|
|
141
|
+
"xml2js": "^0.6.2"
|
|
143
142
|
},
|
|
144
143
|
"dependencies": {
|
|
145
|
-
"reduce-to-639-1": "^1.1.0",
|
|
146
144
|
"better_git_changelog": "^1.6.1",
|
|
147
|
-
"circular_buffer_js": "^1.10.0"
|
|
145
|
+
"circular_buffer_js": "^1.10.0",
|
|
146
|
+
"reduce-to-639-1": "^1.1.0"
|
|
148
147
|
}
|
|
149
148
|
}
|