Skip to content

Commit d236342

Browse files
author
Filip
committed
feat!(#33): tree-shake unused drivers when importing single driver
1 parent 236908d commit d236342

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
## [1.0.2](https://github.com/filipo11021/nodejs-password-hashing/compare/v1.0.1...v1.0.2) (2026-01-21)
22

3-
43
### Bug Fixes
54

6-
* **#31:** Options config type resolves to any instead of proper type inference ([73c551e](https://github.com/filipo11021/nodejs-password-hashing/commit/73c551e3c3657444940c4b19ce1a4547d511b715))
5+
- **#31:** Options config type resolves to any instead of proper type inference ([73c551e](https://github.com/filipo11021/nodejs-password-hashing/commit/73c551e3c3657444940c4b19ce1a4547d511b715))
76

87
## [1.0.1](https://github.com/filipo11021/nodejs-password-hashing/compare/v1.0.0...v1.0.1) (2026-01-19)
98

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,20 @@
77
"files": [
88
"dist"
99
],
10+
"exports": {
11+
"./contracts": {
12+
"types": "./dist/hashing.d.ts",
13+
"import": "./dist/hashing.js"
14+
},
15+
"./scrypt": {
16+
"types": "./dist/scrypt/scrypt.d.ts",
17+
"import": "./dist/scrypt/scrypt.js"
18+
},
19+
"./argon2": {
20+
"types": "./dist/argon2/argon2.d.ts",
21+
"import": "./dist/argon2/argon2.js"
22+
}
23+
},
1024
"repository": "https://github.com/filipo11021/nodejs-password-hashing",
1125
"type": "module",
1226
"scripts": {

src/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)