@h3ravel/support 0.15.1 → 0.15.2

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/dist/index.d.cts CHANGED
@@ -484,7 +484,7 @@ declare class Arr {
484
484
  * Arr.divide(['a','b']) -> [[0,1], ['a','b']]
485
485
  * Arr.divide({x:1,y:2}) -> [['x','y'], [1,2]]
486
486
  */
487
- static divide<A>(input: A[] | Record<string, A>): (number[] | A[])[] | (string[] | A[])[];
487
+ static divide<A>(input: A[] | Record<string, A>): (A[] | number[])[] | (A[] | string[])[];
488
488
  /**
489
489
  * Flatten a nested array/object structure into a single-level object
490
490
  * with dot-notated keys.
package/dist/index.d.mts CHANGED
@@ -481,7 +481,7 @@ declare class Arr {
481
481
  * Arr.divide(['a','b']) -> [[0,1], ['a','b']]
482
482
  * Arr.divide({x:1,y:2}) -> [['x','y'], [1,2]]
483
483
  */
484
- static divide<A>(input: A[] | Record<string, A>): (number[] | A[])[] | (string[] | A[])[];
484
+ static divide<A>(input: A[] | Record<string, A>): (A[] | number[])[] | (A[] | string[])[];
485
485
  /**
486
486
  * Flatten a nested array/object structure into a single-level object
487
487
  * with dot-notated keys.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@h3ravel/support",
3
- "version": "0.15.1",
3
+ "version": "0.15.2",
4
4
  "description": "Shared helpers, facades and utilities for H3ravel.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -38,14 +38,13 @@
38
38
  "devDependencies": {
39
39
  "@types/luxon": "^3.7.1",
40
40
  "typescript": "^5.4.0",
41
- "@h3ravel/shared": "^0.27.1"
41
+ "@h3ravel/shared": "^0.27.2"
42
42
  },
43
43
  "dependencies": {
44
44
  "dayjs": "^1.11.18",
45
45
  "luxon": "^3.7.2"
46
46
  },
47
47
  "scripts": {
48
- "barrel": "barrelsby --directory src --delete --singleQuotes",
49
48
  "build": "tsdown --config-loader unconfig",
50
49
  "dev": "tsx watch src/index.ts",
51
50
  "start": "node dist/index.js",