Updates
Some checks failed
Build / Build NPM Project (push) Failing after 6s
Build / Publish Docs (push) Failing after 6s
Build / Tag Version (push) Has been skipped

This commit is contained in:
2025-11-29 10:14:50 -05:00
parent bcc76c7561
commit 5b57b67542
6 changed files with 12 additions and 16 deletions

1
.gitignore vendored
View File

@@ -9,6 +9,7 @@ node_modules
uploads
public/momentum*js
junit.xml
/docs/
# Logs
*.log

5
.gitmodules vendored
View File

@@ -1,5 +0,0 @@
[submodule "docs"]
path = docs
url = ../utils.wiki.git
branch = master
ignore = all

View File

@@ -1,6 +1,6 @@
{
"name": "@ztimson/utils",
"version": "0.27.11",
"version": "0.27.12",
"description": "Utility library",
"author": "Zak Timson",
"license": "MIT",
@@ -30,15 +30,15 @@
"var-persist": "^1.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.12",
"fake-indexeddb": "^6.0.1",
"jest": "^29.7.0",
"@types/jest": "^30.0.0",
"fake-indexeddb": "^6.2.5",
"jest": "^30.2.0",
"jest-junit": "^16.0.0",
"ts-jest": "^29.1.2",
"typedoc": "^0.26.7",
"typescript": "^5.3.3",
"vite": "^5.0.12",
"vite-plugin-dts": "^4.5.3"
"ts-jest": "^29.4.5",
"typedoc": "^0.28.15",
"typescript": "^5.9.3",
"vite": "^7.2.4",
"vite-plugin-dts": "^4.5.4"
},
"files": [
"dist"

View File

@@ -40,7 +40,6 @@ export function PE(str: TemplateStringsArray, ...args: any[]) {
* @param {TemplateStringsArray} str
* @param {string} args
* @return {string}
* @constructor
*/
export function PES(str: TemplateStringsArray, ...args: any[]) {
let combined = [];

View File

@@ -45,6 +45,7 @@ describe('Path Events', () => {
expect(pe.all).toBe(true);
expect(pe.fullPath).toBe('**');
expect(pe.methods.has('*')).toBe(true);
expect(pe.hasAll('module:c', 'some/path:ud')).toBeTruthy();
});
it('parses empty string as none', () => {

View File

@@ -35,7 +35,7 @@ describe('Time Utilities', () => {
});
it('throws for unknown timezone', () => {
expect(() => formatDate('YYYY', new Date(), '???')).toThrowError(/Invalid timezone/);
expect(() => formatDate('YYYY', new Date(), '???')).toThrow(/Invalid timezone/);
});
it('handles timezone by offset number', () => {