kontroll 1.0.2 → 1.0.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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +1 -2
  3. package/package.json +7 -7
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 NamesMT <https://github.com/namesmt>
3
+ Copyright (c) 2024 NamesMT <https://github.com/namesmt>
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/README.md CHANGED
@@ -58,7 +58,6 @@ If you call something like:
58
58
  // // * Case 1, (arrow) function with unchanged/variable-only body
59
59
  debounce(1000, () => console.log(variable))
60
60
 
61
-
62
61
  // // * Case 2, declared function
63
62
  debounce(1000, makeDoSum(1, 2))
64
63
  // For declared function, it's parameter could be changed and still share the same key.
@@ -77,7 +76,7 @@ In you wish them to have the same timer, you can manually set `options.key` like
77
76
 
78
77
  ## License
79
78
 
80
- [MIT](./LICENSE) License © 2023 [NamesMT](https://github.com/NamesMT)
79
+ [MIT](./LICENSE) License © 2024 [NamesMT](https://github.com/NamesMT)
81
80
 
82
81
  <!-- Badges -->
83
82
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "kontroll",
3
3
  "type": "module",
4
- "version": "1.0.2",
5
- "packageManager": "pnpm@9.6.0",
4
+ "version": "1.0.3",
5
+ "packageManager": "pnpm@9.8.0",
6
6
  "description": "kontroll (\"control\") is a tiny, dead-simple package for function behavior controls like debounce, countdown, throttle (limit).",
7
7
  "author": "NamesMT <dangquoctrung123@gmail.com>",
8
8
  "license": "MIT",
@@ -58,13 +58,13 @@
58
58
  "prepublishOnly": "pnpm run build"
59
59
  },
60
60
  "devDependencies": {
61
- "@antfu/eslint-config": "^2.24.0",
62
- "@types/node": "^20.14.13",
61
+ "@antfu/eslint-config": "^2.27.1",
62
+ "@types/node": "^20.16.1",
63
63
  "@vitest/coverage-v8": "^2.0.5",
64
- "eslint": "^9.8.0",
65
- "lint-staged": "^15.2.7",
64
+ "eslint": "^9.9.1",
65
+ "lint-staged": "^15.2.9",
66
66
  "simple-git-hooks": "^2.11.1",
67
- "tsx": "^4.16.3",
67
+ "tsx": "^4.17.0",
68
68
  "typescript": "^5.5.4",
69
69
  "unbuild": "^2.0.0",
70
70
  "vitest": "^2.0.5"