Skip to content

Commit

Permalink
feat: disposable lock
Browse files Browse the repository at this point in the history
  • Loading branch information
orimay committed Feb 13, 2025
1 parent 021c1b8 commit 0782ae2
Show file tree
Hide file tree
Showing 7 changed files with 2,842 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ node_modules
dist
dist-ssr
*.local
.DS_Store
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mutex-ts",
"version": "1.0.3",
"version": "1.1.0",
"description": "This package provides two classes for managing locks: `Mutex` and `MutexRW`. These locks can be used to control access to critical sections in a multi-threaded or asynchronous environment.",
"author": "Dmitrii Baranov <[email protected]>",
"license": "MIT",
Expand All @@ -18,7 +18,9 @@
"async",
"typescript",
"lock",
"concurrency"
"concurrency",
"using",
"dispose"
],
"type": "module",
"main": "./dist/index",
Expand All @@ -38,12 +40,14 @@
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"test": "vitest"
"test": "vitest",
"release": "changelogen --release --push && pnpm publish"
},
"devDependencies": {
"@types/node": "^20.8.10",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"changelogen": "^0.5.7",
"eslint": "^8.52.0",
"eslint-config-prettier": "^9.0.0",
"prettier": "^3.0.3",
Expand Down
Loading

0 comments on commit 0782ae2

Please sign in to comment.