@sv443-network/userutils 10.3.0 → 10.3.1
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 +6 -0
- package/README.md +7 -0
- package/dist/UserUtils.cjs +3 -3
- package/dist/UserUtils.mjs +3 -3
- package/dist/UserUtils.umd.js +3 -3
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -172,6 +172,13 @@ View the documentation of previous major versions:
|
|
|
172
172
|
- 🔷 [`type ProgressBarChars`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#type-progressbarchars) - Type for the progress bar characters object
|
|
173
173
|
- 🟣 [`function joinArrayReadable()`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#function-joinarrayreadable) - Joins the given array into a string, using the given separators and last separator
|
|
174
174
|
- 🟣 [`function secsToTimeStr()`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#function-secstotimestr) - Turns the given number of seconds into a string in the format `(hh:)mm:ss` with intelligent zero-padding
|
|
175
|
+
- 🟣 [`function createTable()`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#function-createtable) - Creates an ASCII table string from the given rows
|
|
176
|
+
- 🟩 [`const defaultTableLineCharset`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#const-defaulttablelinecharset) - Default line characters for the table
|
|
177
|
+
- 🔷 [`type TableOptions`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#type-tableoptions) - Options for the [`createTable()`](./docs.md#function-createtable) function
|
|
178
|
+
- 🔷 [`type TableLineStyle`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#type-tablelinestyle) - The line style to use for the table border
|
|
179
|
+
- 🔷 [`type TableColumnAlign`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#type-tablecolumnalign) - The alignment mode for a column
|
|
180
|
+
- 🔷 [`type TableLineCharset`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#type-tablelinecharset) - The full charset used for table line characters
|
|
181
|
+
- 🔷 [`type TableLineStyleChars`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#type-tablelinestylechars) - The characters for one line style variant
|
|
175
182
|
- 🟣 [`function truncStr()`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#function-truncstr) - Truncates the given string to the given length
|
|
176
183
|
- [**Misc. Types:**](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#types)
|
|
177
184
|
- 🔷 [`type LooseUnion`](https://github.com/Sv443-Network/CoreUtils/blob/main/docs.md#type-looseunion) - A union type that allows for autocomplete suggestions as well as substitutions of the same type
|
package/dist/UserUtils.cjs
CHANGED
|
@@ -120,7 +120,7 @@ __export(lib_exports, {
|
|
|
120
120
|
});
|
|
121
121
|
module.exports = __toCommonJS(lib_exports);
|
|
122
122
|
|
|
123
|
-
// node_modules/.pnpm/@sv443-network+coreutils@3.5.
|
|
123
|
+
// node_modules/.pnpm/@sv443-network+coreutils@3.5.1/node_modules/@sv443-network/coreutils/dist/CoreUtils.mjs
|
|
124
124
|
function bitSetHas(bitSet, checkVal) {
|
|
125
125
|
return (bitSet & checkVal) === checkVal;
|
|
126
126
|
}
|
|
@@ -1734,8 +1734,8 @@ function debounce(fn, timeout = 200, type = "immediate", nanoEmitterOptions) {
|
|
|
1734
1734
|
|
|
1735
1735
|
// lib/consts.ts
|
|
1736
1736
|
var rawConsts = {
|
|
1737
|
-
coreUtilsVersion: "3.5.
|
|
1738
|
-
userUtilsVersion: "10.3.
|
|
1737
|
+
coreUtilsVersion: "3.5.1",
|
|
1738
|
+
userUtilsVersion: "10.3.1"
|
|
1739
1739
|
};
|
|
1740
1740
|
function getConst(constKey, defaultVal) {
|
|
1741
1741
|
const val = rawConsts[constKey];
|
package/dist/UserUtils.mjs
CHANGED
|
@@ -2,7 +2,7 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
|
|
5
|
-
// node_modules/.pnpm/@sv443-network+coreutils@3.5.
|
|
5
|
+
// node_modules/.pnpm/@sv443-network+coreutils@3.5.1/node_modules/@sv443-network/coreutils/dist/CoreUtils.mjs
|
|
6
6
|
function bitSetHas(bitSet, checkVal) {
|
|
7
7
|
return (bitSet & checkVal) === checkVal;
|
|
8
8
|
}
|
|
@@ -1616,8 +1616,8 @@ function debounce(fn, timeout = 200, type = "immediate", nanoEmitterOptions) {
|
|
|
1616
1616
|
|
|
1617
1617
|
// lib/consts.ts
|
|
1618
1618
|
var rawConsts = {
|
|
1619
|
-
coreUtilsVersion: "3.5.
|
|
1620
|
-
userUtilsVersion: "10.3.
|
|
1619
|
+
coreUtilsVersion: "3.5.1",
|
|
1620
|
+
userUtilsVersion: "10.3.1"
|
|
1621
1621
|
};
|
|
1622
1622
|
function getConst(constKey, defaultVal) {
|
|
1623
1623
|
const val = rawConsts[constKey];
|
package/dist/UserUtils.umd.js
CHANGED
|
@@ -187,7 +187,7 @@ __export(lib_exports, {
|
|
|
187
187
|
});
|
|
188
188
|
module.exports = __toCommonJS(lib_exports);
|
|
189
189
|
|
|
190
|
-
// node_modules/.pnpm/@sv443-network+coreutils@3.5.
|
|
190
|
+
// node_modules/.pnpm/@sv443-network+coreutils@3.5.1/node_modules/@sv443-network/coreutils/dist/CoreUtils.mjs
|
|
191
191
|
function bitSetHas(bitSet, checkVal) {
|
|
192
192
|
return (bitSet & checkVal) === checkVal;
|
|
193
193
|
}
|
|
@@ -1858,8 +1858,8 @@ function debounce(fn, timeout = 200, type = "immediate", nanoEmitterOptions) {
|
|
|
1858
1858
|
|
|
1859
1859
|
// lib/consts.ts
|
|
1860
1860
|
var rawConsts = {
|
|
1861
|
-
coreUtilsVersion: "3.5.
|
|
1862
|
-
userUtilsVersion: "10.3.
|
|
1861
|
+
coreUtilsVersion: "3.5.1",
|
|
1862
|
+
userUtilsVersion: "10.3.1"
|
|
1863
1863
|
};
|
|
1864
1864
|
function getConst(constKey, defaultVal) {
|
|
1865
1865
|
const val = rawConsts[constKey];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sv443-network/userutils",
|
|
3
3
|
"libName": "UserUtils",
|
|
4
|
-
"version": "10.3.
|
|
4
|
+
"version": "10.3.1",
|
|
5
5
|
"description": "General purpose DOM/GreaseMonkey library that allows you to register listeners for when CSS selectors exist, intercept events, create persistent & synchronous data stores, modify the DOM more easily and much more",
|
|
6
6
|
"main": "dist/UserUtils.mjs",
|
|
7
7
|
"module": "dist/UserUtils.mjs",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"homepage": "https://github.com/Sv443-Network/UserUtils",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@sv443-network/coreutils": "3.5.
|
|
36
|
+
"@sv443-network/coreutils": "3.5.1",
|
|
37
37
|
"nanoevents": "9.1.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|