Skip to content

Commit 66d366c

Browse files
committed
Remove spurious btiauth dependency
Undoubtedly auto-included during an editing typo. 🤦🏼‍♂️
1 parent 819568d commit 66d366c

File tree

4 files changed

+12
-13
lines changed

4 files changed

+12
-13
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Changelog
2+
3+
## v1.0.1 (2022-07-15)
4+
5+
### Fix
6+
- Remove spurious dependency on @bitauth/libauth
7+
8+
## v1.0.0 (2022-07-08)
9+
10+
Initial release

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puid-js",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Simple, fast, flexible and efficient generation of probably unique identifiers (`puid`, aka random strings) of intuitively specified entropy using pre-defined or custom characters.",
55
"main": "build/main/index.js",
66
"typings": "build/main/index.d.ts",
@@ -41,9 +41,6 @@
4141
"engines": {
4242
"node": ">=10"
4343
},
44-
"dependencies": {
45-
"@bitauth/libauth": "^1.17.1"
46-
},
4744
"devDependencies": {
4845
"@ava/typescript": "^1.1.1",
4946
"@istanbuljs/nyc-config-typescript": "^1.0.1",

src/lib/entropy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const entropyBits = (total: Total, risk: Risk): number => {
8181
const entropyBitsPerChar = (chars: string): number => log2(chars.length)
8282

8383
/**
84-
* Bits necessary to have an ID of length `len` using characters `chars`
84+
* Bits necessary for a `puid` of length `len` using characters `chars`
8585
*
8686
* ### Example (es module)
8787
* ```js

yarn.lock

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -250,13 +250,6 @@ __metadata:
250250
languageName: node
251251
linkType: hard
252252

253-
"@bitauth/libauth@npm:^1.17.1":
254-
version: 1.19.1
255-
resolution: "@bitauth/libauth@npm:1.19.1"
256-
checksum: d6f1ed0aaa36014529eb7e095a96644f8d06ec5f80f223b74d30414a19e2516a194d165d90fee09a96ed51d3bff6d80406b3ecaff194489579dbea4ae1c9f93c
257-
languageName: node
258-
linkType: hard
259-
260253
"@commitlint/config-validator@npm:^17.0.3":
261254
version: 17.0.3
262255
resolution: "@commitlint/config-validator@npm:17.0.3"
@@ -6111,7 +6104,6 @@ __metadata:
61116104
resolution: "puid-js@workspace:."
61126105
dependencies:
61136106
"@ava/typescript": ^1.1.1
6114-
"@bitauth/libauth": ^1.17.1
61156107
"@istanbuljs/nyc-config-typescript": ^1.0.1
61166108
"@typescript-eslint/eslint-plugin": ^4.0.1
61176109
"@typescript-eslint/parser": ^4.0.1

0 commit comments

Comments
 (0)