@percuss.io/utils 0.0.2 → 0.0.4

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.
@@ -0,0 +1,3 @@
1
+ export { isNonEmptyObj } from './isNonEmptyObj/isNonEmptyObj.cjs';
2
+ export { shuffleArray } from './shuffleArray/shuffleArray.cjs';
3
+ export { sleep } from './sleep/sleep.cjs';
package/package.json CHANGED
@@ -1,30 +1,50 @@
1
1
  {
2
2
  "name": "@percuss.io/utils",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "utils",
5
- "main": "./dist/index.js",
5
+ "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": {
10
- "types": "./dist/index.d.ts",
11
- "import": "./dist/index.js",
12
- "require": "./dist/index.cjs"
10
+ "import": {
11
+ "types": "./dist/index.d.ts",
12
+ "default": "./dist/index.js"
13
+ },
14
+ "require": {
15
+ "types": "./dist/index.d.cts",
16
+ "default": "./dist/index.cjs"
17
+ }
13
18
  },
14
19
  "./isNonEmptyObj": {
15
- "types": "./dist/isNonEmptyObj/isNonEmptyObj.d.ts",
16
- "import": "./dist/isNonEmptyObj/isNonEmptyObj.js",
17
- "require": "./dist/isNonEmptyObj/isNonEmptyObj.cjs"
20
+ "import": {
21
+ "types": "./dist/isNonEmptyObj/isNonEmptyObj.d.ts",
22
+ "default": "./dist/isNonEmptyObj/isNonEmptyObj.js"
23
+ },
24
+ "require": {
25
+ "types": "./dist/isNonEmptyObj/isNonEmptyObj.d.cts",
26
+ "default": "./dist/isNonEmptyObj/isNonEmptyObj.cjs"
27
+ }
18
28
  },
19
29
  "./shuffleArray": {
20
- "types": "./dist/shuffleArray/shuffleArray.d.ts",
21
- "import": "./dist/shuffleArray/shuffleArray.js",
22
- "require": "./dist/shuffleArray/shuffleArray.cjs"
30
+ "import": {
31
+ "types": "./dist/shuffleArray/shuffleArray.d.ts",
32
+ "default": "./dist/shuffleArray/shuffleArray.js"
33
+ },
34
+ "require": {
35
+ "types": "./dist/shuffleArray/shuffleArray.d.cts",
36
+ "default": "./dist/shuffleArray/shuffleArray.cjs"
37
+ }
23
38
  },
24
39
  "./sleep": {
25
- "types": "./dist/sleep/sleep.d.ts",
26
- "import": "./dist/sleep/sleep.js",
27
- "require": "./dist/sleep/sleep.cjs"
40
+ "import": {
41
+ "types": "./dist/sleep/sleep.d.ts",
42
+ "default": "./dist/sleep/sleep.js"
43
+ },
44
+ "require": {
45
+ "types": "./dist/sleep/sleep.d.cts",
46
+ "default": "./dist/sleep/sleep.cjs"
47
+ }
28
48
  }
29
49
  },
30
50
  "files": [
@@ -45,24 +65,24 @@
45
65
  "url": "git+https://github.com/percuss-io/utils.git"
46
66
  },
47
67
  "keywords": [],
48
- "author": "",
68
+ "author": "Eric L Carraway",
49
69
  "license": "MIT",
50
- "type": "commonjs",
70
+ "type": "module",
51
71
  "bugs": {
52
72
  "url": "https://github.com/percuss-io/utils/issues"
53
73
  },
54
74
  "homepage": "https://github.com/percuss-io/utils#readme",
55
75
  "devDependencies": {
56
- "@eslint/js": "^9.25.1",
57
- "@percuss.io/eslint-config-ericcarraway": "^6.0.0",
58
- "@stylistic/eslint-plugin": "^4.2.0",
59
- "@types/node": "^22.14.1",
60
- "eslint-plugin-import": "^2.31.0",
76
+ "@eslint/js": "^9.39.2",
77
+ "@percuss.io/eslint-config-ericcarraway": "^7.1.0",
78
+ "@stylistic/eslint-plugin": "^5.6.1",
79
+ "@types/node": "^25.0.3",
80
+ "eslint-plugin-import": "^2.32.0",
61
81
  "eslint-plugin-simple-import-sort": "^12.1.1",
62
82
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
63
- "tsup": "^8.4.0",
64
- "typescript": "^5.8.3",
65
- "typescript-eslint": "^8.30.1",
66
- "vitest": "^3.1.2"
83
+ "tsup": "^8.5.1",
84
+ "typescript": "^5.9.3",
85
+ "typescript-eslint": "^8.51.0",
86
+ "vitest": "^4.0.16"
67
87
  }
68
88
  }
package/dist/index.d.mts DELETED
@@ -1,3 +0,0 @@
1
- export { isNonEmptyObj } from './isNonEmptyObj/isNonEmptyObj.mjs';
2
- export { shuffleArray } from './shuffleArray/shuffleArray.mjs';
3
- export { sleep } from './sleep/sleep.mjs';
File without changes