@tb-dev/utils 1.8.4 → 1.8.6

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.cjs CHANGED
@@ -20,7 +20,7 @@ function isEmpty(value) {
20
20
  function isNullish(value) {
21
21
  return value === null || value === void 0;
22
22
  }
23
- const noop = (..._) => {
23
+ const noop = () => {
24
24
  };
25
25
  function toPixel(value) {
26
26
  if (typeof value === "number" || typeof value === "string" && regex.regex.float.test(value)) {
package/dist/index.d.ts CHANGED
@@ -14,6 +14,6 @@ export * from './promise';
14
14
  */
15
15
  export declare function isEmpty(value?: unknown): boolean;
16
16
  export declare function isNullish(value: unknown): value is null | undefined;
17
- export declare const noop: (..._: any[]) => void;
17
+ export declare const noop: () => void;
18
18
  /** Adds the pixel unit to a value. */
19
19
  export declare function toPixel(value: string | number): string;
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ function isEmpty(value) {
18
18
  function isNullish(value) {
19
19
  return value === null || value === void 0;
20
20
  }
21
- const noop = (..._) => {
21
+ const noop = () => {
22
22
  };
23
23
  function toPixel(value) {
24
24
  if (typeof value === "number" || typeof value === "string" && regex.float.test(value)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/utils",
3
- "version": "1.8.4",
3
+ "version": "1.8.6",
4
4
  "description": "TypeScript utils",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,10 +27,10 @@
27
27
  "*.{?(c|m)@(j|t)s,vue}": "pnpm run lint"
28
28
  },
29
29
  "dependencies": {
30
- "@tb-dev/utility-types": "^1.4.1"
30
+ "@tb-dev/utility-types": "^1.4.4"
31
31
  },
32
32
  "devDependencies": {
33
- "@tb-dev/eslint-config": "^3.8.5",
33
+ "@tb-dev/eslint-config": "^3.8.8",
34
34
  "@types/node": "^20.14.9",
35
35
  "eslint": "^8.57.0",
36
36
  "husky": "^9.0.11",
@@ -38,9 +38,9 @@
38
38
  "prettier": "^3.3.2",
39
39
  "tslib": "^2.6.3",
40
40
  "typedoc": "^0.26.3",
41
- "typedoc-plugin-mdn-links": "^3.2.1",
42
- "typescript": "^5.5.2",
43
- "vite": "^5.3.2",
41
+ "typedoc-plugin-mdn-links": "^3.2.2",
42
+ "typescript": "^5.5.3",
43
+ "vite": "^5.3.3",
44
44
  "vite-plugin-dts": "^3.9.1"
45
45
  },
46
46
  "files": [