@luxass/utils 2.7.2 → 2.7.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.
@@ -1,9 +1,9 @@
1
- import { isNotNull, isNotNullish, isNotUndefined, isTruthy } from "./guards-SWdmRZ5e.js";
2
- import { clamp } from "./number-Culbli-Y.js";
3
- import { getChangedKeys, getOwnProperty, hasOwnProperty, omit } from "./object-BtzfqVfB.js";
4
- import { appendTrailingSlash, prependLeadingSlash, trimLeadingSlash, trimTrailingSlash } from "./path-CFkUYi0a.js";
5
- import { capitalize, dedent, dedentRaw, formatStr, sanitizeIdentifier, toCamelCase, toKebabCase, toPascalCase, toSnakeCase } from "./string-BgrFQWVx.js";
6
- import { ElementOf, InferArguments, Prettify, RemoveIndexSignature } from "./types-CdpK0-xy.js";
1
+ import { isNotNull, isNotNullish, isNotUndefined, isTruthy } from "./guards.mjs";
2
+ import { clamp } from "./number.mjs";
3
+ import { getChangedKeys, getOwnProperty, hasOwnProperty, omit } from "./object.mjs";
4
+ import { appendTrailingSlash, prependLeadingSlash, trimLeadingSlash, trimTrailingSlash } from "./path.mjs";
5
+ import { capitalize, dedent, dedentRaw, formatStr, sanitizeIdentifier, toCamelCase, toKebabCase, toPascalCase, toSnakeCase } from "./string.mjs";
6
+ import { ElementOf, InferArguments, Prettify, RemoveIndexSignature } from "./types.mjs";
7
7
  import pRetry from "p-retry";
8
8
 
9
9
  //#region src/common.d.ts
@@ -1,8 +1,8 @@
1
- import { isNotNull, isNotNullish, isNotUndefined, isTruthy } from "./guards-O1HGJraI.js";
2
- import { capitalize, dedent, dedentRaw, formatStr, sanitizeIdentifier, toCamelCase, toKebabCase, toPascalCase, toSnakeCase } from "./string-BlwTLoKD.js";
3
- import { clamp } from "./number-BS9T5WGO.js";
4
- import { getChangedKeys, getOwnProperty, hasOwnProperty, omit } from "./object-DWHqMFiC.js";
5
- import { appendTrailingSlash, prependLeadingSlash, trimLeadingSlash, trimTrailingSlash } from "./path-UEx_WP0U.js";
1
+ import { capitalize, dedent, dedentRaw, formatStr, sanitizeIdentifier, toCamelCase, toKebabCase, toPascalCase, toSnakeCase } from "./string.mjs";
2
+ import { isNotNull, isNotNullish, isNotUndefined, isTruthy } from "./guards.mjs";
3
+ import { clamp } from "./number.mjs";
4
+ import { getChangedKeys, getOwnProperty, hasOwnProperty, omit } from "./object.mjs";
5
+ import { appendTrailingSlash, prependLeadingSlash, trimLeadingSlash, trimTrailingSlash } from "./path.mjs";
6
6
  import pRetry from "p-retry";
7
7
 
8
8
  //#region src/common.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luxass/utils",
3
- "version": "2.7.2",
3
+ "version": "2.7.3",
4
4
  "description": "A collection of utilities for JavaScript/TypeScript",
5
5
  "type": "module",
6
6
  "author": {
@@ -8,7 +8,7 @@
8
8
  "email": "lucasnrgaard@gmail.com",
9
9
  "url": "https://luxass.dev"
10
10
  },
11
- "packageManager": "pnpm@10.16.0",
11
+ "packageManager": "pnpm@10.28.2",
12
12
  "license": "MIT",
13
13
  "homepage": "https://github.com/luxass/utils",
14
14
  "repository": {
@@ -23,18 +23,16 @@
23
23
  ],
24
24
  "sideEffects": false,
25
25
  "exports": {
26
- ".": "./dist/index.js",
27
- "./guards": "./dist/guards.js",
28
- "./number": "./dist/number.js",
29
- "./object": "./dist/object.js",
30
- "./path": "./dist/path.js",
31
- "./string": "./dist/string.js",
32
- "./types": "./dist/types.js",
26
+ ".": "./dist/index.mjs",
27
+ "./guards": "./dist/guards.mjs",
28
+ "./number": "./dist/number.mjs",
29
+ "./object": "./dist/object.mjs",
30
+ "./path": "./dist/path.mjs",
31
+ "./string": "./dist/string.mjs",
32
+ "./types": "./dist/types.mjs",
33
33
  "./package.json": "./package.json"
34
34
  },
35
- "main": "./dist/index.js",
36
- "module": "./dist/index.js",
37
- "types": "./dist/index.d.ts",
35
+ "types": "./dist/index.d.mts",
38
36
  "files": [
39
37
  "dist"
40
38
  ],
@@ -50,18 +48,18 @@
50
48
  "typecheck": "tsc --noEmit"
51
49
  },
52
50
  "dependencies": {
53
- "p-retry": "^7.0.0"
51
+ "p-retry": "7.1.1"
54
52
  },
55
53
  "devDependencies": {
56
- "@luxass/eslint-config": "^5.3.1",
57
- "@types/node": "^22.18.3",
58
- "@vitest/coverage-v8": "3.2.4",
59
- "eslint": "^9.35.0",
60
- "eslint-plugin-format": "^1.0.1",
61
- "publint": "^0.3.12",
62
- "tsdown": "^0.15.1",
63
- "typescript": "^5.9.2",
64
- "vitest": "^3.2.4",
65
- "vitest-package-exports": "^0.1.1"
54
+ "@luxass/eslint-config": "7.0.0",
55
+ "@types/node": "22.18.3",
56
+ "@vitest/coverage-v8": "4.0.18",
57
+ "eslint": "9.39.2",
58
+ "eslint-plugin-format": "1.3.1",
59
+ "publint": "0.3.17",
60
+ "tsdown": "0.20.2",
61
+ "typescript": "5.9.3",
62
+ "vitest": "4.0.18",
63
+ "vitest-package-exports": "1.2.0"
66
64
  }
67
65
  }
package/dist/guards.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { isNotNull, isNotNullish, isNotUndefined, isTruthy } from "./guards-SWdmRZ5e.js";
2
- export { isNotNull, isNotNullish, isNotUndefined, isTruthy };
package/dist/guards.js DELETED
@@ -1,3 +0,0 @@
1
- import { isNotNull, isNotNullish, isNotUndefined, isTruthy } from "./guards-O1HGJraI.js";
2
-
3
- export { isNotNull, isNotNullish, isNotUndefined, isTruthy };
package/dist/number.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { clamp } from "./number-Culbli-Y.js";
2
- export { clamp };
package/dist/number.js DELETED
@@ -1,3 +0,0 @@
1
- import { clamp } from "./number-BS9T5WGO.js";
2
-
3
- export { clamp };
package/dist/object.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { getChangedKeys, getOwnProperty, hasOwnProperty, omit } from "./object-BtzfqVfB.js";
2
- export { getChangedKeys, getOwnProperty, hasOwnProperty, omit };
package/dist/object.js DELETED
@@ -1,3 +0,0 @@
1
- import { getChangedKeys, getOwnProperty, hasOwnProperty, omit } from "./object-DWHqMFiC.js";
2
-
3
- export { getChangedKeys, getOwnProperty, hasOwnProperty, omit };
package/dist/path.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { appendTrailingSlash, joinURL, prependLeadingSlash, trimLeadingSlash, trimTrailingSlash } from "./path-CFkUYi0a.js";
2
- export { appendTrailingSlash, joinURL, prependLeadingSlash, trimLeadingSlash, trimTrailingSlash };
package/dist/path.js DELETED
@@ -1,3 +0,0 @@
1
- import { appendTrailingSlash, joinURL, prependLeadingSlash, trimLeadingSlash, trimTrailingSlash } from "./path-UEx_WP0U.js";
2
-
3
- export { appendTrailingSlash, joinURL, prependLeadingSlash, trimLeadingSlash, trimTrailingSlash };
package/dist/string.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { capitalize, dedent, dedentRaw, formatStr, sanitizeIdentifier, toCamelCase, toKebabCase, toPascalCase, toSnakeCase } from "./string-BgrFQWVx.js";
2
- export { capitalize, dedent, dedentRaw, formatStr, sanitizeIdentifier, toCamelCase, toKebabCase, toPascalCase, toSnakeCase };
package/dist/string.js DELETED
@@ -1,3 +0,0 @@
1
- import { capitalize, dedent, dedentRaw, formatStr, sanitizeIdentifier, toCamelCase, toKebabCase, toPascalCase, toSnakeCase } from "./string-BlwTLoKD.js";
2
-
3
- export { capitalize, dedent, dedentRaw, formatStr, sanitizeIdentifier, toCamelCase, toKebabCase, toPascalCase, toSnakeCase };
package/dist/types.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { ElementOf, InferArguments, Prettify, RemoveIndexSignature } from "./types-CdpK0-xy.js";
2
- export { ElementOf, InferArguments, Prettify, RemoveIndexSignature };
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes