@xylabs/delay 5.1.2 → 5.1.3

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.
@@ -6,4 +6,4 @@ var delay = (ms) => {
6
6
  export {
7
7
  delay
8
8
  };
9
- //# sourceMappingURL=index.mjs.map
9
+ //# sourceMappingURL=index.mjs.map
@@ -1 +1,7 @@
1
- {"version":3,"sources":["../../src/delay.ts"],"sourcesContent":["import { setTimeoutEx } from '@xylabs/timer'\n\n/**\n * Returns a promise that resolves after the specified number of milliseconds.\n * @param ms - The number of milliseconds to delay.\n * @returns A promise that resolves after the delay.\n */\nexport const delay = (ms: number) => {\n return new Promise(resolve => setTimeoutEx(resolve, ms))\n}\n"],"mappings":";AAAA,SAAS,oBAAoB;AAOtB,IAAM,QAAQ,CAAC,OAAe;AACnC,SAAO,IAAI,QAAQ,aAAW,aAAa,SAAS,EAAE,CAAC;AACzD;","names":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/delay.ts"],
4
+ "sourcesContent": ["import { setTimeoutEx } from '@xylabs/timer'\n\n/**\n * Returns a promise that resolves after the specified number of milliseconds.\n * @param ms - The number of milliseconds to delay.\n * @returns A promise that resolves after the delay.\n */\nexport const delay = (ms: number) => {\n return new Promise(resolve => setTimeoutEx(resolve, ms))\n}\n"],
5
+ "mappings": ";AAAA,SAAS,oBAAoB;AAOtB,IAAM,QAAQ,CAAC,OAAe;AACnC,SAAO,IAAI,QAAQ,aAAW,aAAa,SAAS,EAAE,CAAC;AACzD;",
6
+ "names": []
7
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xylabs/delay",
3
- "version": "5.1.2",
3
+ "version": "5.1.3",
4
4
  "description": "Base functionality used throughout XY Labs TypeScript/JavaScript libraries",
5
5
  "keywords": [
6
6
  "delay",
@@ -41,15 +41,15 @@
41
41
  "README.md"
42
42
  ],
43
43
  "dependencies": {
44
- "@xylabs/timer": "~5.1.2"
44
+ "@xylabs/timer": "~5.1.3"
45
45
  },
46
46
  "devDependencies": {
47
- "@xylabs/toolchain": "~7.13.15",
48
- "@xylabs/tsconfig": "~7.13.15",
47
+ "@xylabs/toolchain": "~8.0.4",
48
+ "@xylabs/tsconfig": "~8.0.4",
49
49
  "eslint": "^10.3.0",
50
- "typescript": "^5.9.3",
51
- "vite": "^8.0.10",
52
- "vitest": "^4.1.5"
50
+ "typescript": "^6.0.3",
51
+ "vite": "^8.0.13",
52
+ "vitest": "^4.1.6"
53
53
  },
54
54
  "engines": {
55
55
  "node": ">=18"