Skip to content

Commit 3312e21

Browse files
committed
chore: update @poppinss/utils
1 parent b3e329b commit 3312e21

5 files changed

Lines changed: 21 additions & 12 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"typecheck": "tsc --noEmit"
2727
},
2828
"dependencies": {
29-
"@poppinss/utils": "^6.10.1"
29+
"@poppinss/utils": "^7.0.0-next.3"
3030
},
3131
"devDependencies": {
3232
"@adonisjs/eslint-config": "^3.0.0-next.4",

src/encryption_manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @copyright Boring Node
66
*/
77

8-
import { RuntimeException } from '@poppinss/utils'
8+
import { RuntimeException } from '@poppinss/utils/exception'
99
import debug from './debug.ts'
1010
import type { MessageVerifier } from './message_verifier.ts'
1111
import type { CypherText, EncryptionDriverContract, ManagerDriverFactory } from './types/main.ts'

src/exceptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* @copyright Boring Node
66
*/
77

8-
import { createError } from '@poppinss/utils'
8+
import { createError } from '@poppinss/utils/exception'
99

1010
export const E_INSECURE_ENCRYPTER_KEY = createError(
1111
'The value of your key should be at least 16 characters long',

src/message_verifier.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
*/
77

88
import { createHash } from 'node:crypto'
9-
import { MessageBuilder, RuntimeException } from '@poppinss/utils'
9+
import { MessageBuilder } from '@poppinss/utils'
10+
import { RuntimeException } from '@poppinss/utils/exception'
1011
import { base64UrlEncode, base64UrlDecode } from './base64.ts'
1112
import { Hmac } from './hmac.ts'
1213

yarn.lock

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ __metadata:
8181
"@japa/expect-type": "npm:^2.0.3"
8282
"@japa/runner": "npm:^4.4.0"
8383
"@poppinss/ts-exec": "npm:^1.4.1"
84-
"@poppinss/utils": "npm:^6.10.1"
84+
"@poppinss/utils": "npm:^7.0.0-next.3"
8585
"@swc/core": "npm:^1.14.0"
8686
"@types/node": "npm:^22.15.31"
8787
c8: "npm:^10.1.3"
@@ -1179,7 +1179,7 @@ __metadata:
11791179
languageName: node
11801180
linkType: hard
11811181

1182-
"@poppinss/string@npm:^1.2.0, @poppinss/string@npm:^1.3.0":
1182+
"@poppinss/string@npm:^1.2.0":
11831183
version: 1.6.0
11841184
resolution: "@poppinss/string@npm:1.6.0"
11851185
dependencies:
@@ -1195,7 +1195,7 @@ __metadata:
11951195
languageName: node
11961196
linkType: hard
11971197

1198-
"@poppinss/string@npm:^1.7.0":
1198+
"@poppinss/string@npm:^1.6.0, @poppinss/string@npm:^1.7.0":
11991199
version: 1.7.0
12001200
resolution: "@poppinss/string@npm:1.7.0"
12011201
dependencies:
@@ -1221,17 +1221,25 @@ __metadata:
12211221
languageName: node
12221222
linkType: hard
12231223

1224-
"@poppinss/utils@npm:^6.10.1":
1225-
version: 6.10.1
1226-
resolution: "@poppinss/utils@npm:6.10.1"
1224+
"@poppinss/types@npm:^1.1.0":
1225+
version: 1.2.0
1226+
resolution: "@poppinss/types@npm:1.2.0"
1227+
checksum: 10c0/b6388cceb15128f0652a3130b74fcee5b29bd78ae84019590afb1220b6705be5b04009925b938e14d672e2045b44f7770ce4ca147b5d683494a83360448b7bd8
1228+
languageName: node
1229+
linkType: hard
1230+
1231+
"@poppinss/utils@npm:^7.0.0-next.3":
1232+
version: 7.0.0-next.3
1233+
resolution: "@poppinss/utils@npm:7.0.0-next.3"
12271234
dependencies:
12281235
"@poppinss/exception": "npm:^1.2.1"
12291236
"@poppinss/object-builder": "npm:^1.1.0"
1230-
"@poppinss/string": "npm:^1.3.0"
1237+
"@poppinss/string": "npm:^1.6.0"
1238+
"@poppinss/types": "npm:^1.1.0"
12311239
flattie: "npm:^1.1.1"
12321240
safe-stable-stringify: "npm:^2.5.0"
12331241
secure-json-parse: "npm:^4.0.0"
1234-
checksum: 10c0/9ec413e9e829adee8477b5fd3c8572c7afe506ddf52315b825cdc23b2fd5bb56a0ee8ecc5902d0a5155b4c872aaad8466d2084b0054fd26d027a4a6ac034d2b5
1242+
checksum: 10c0/c07e16e0b45e21ec506f87bab92e7a7be233a1eb33a73692f8b6666124f29d4cf1b9b69b7b0668458ea7e0c8dfc5e5c91998583281593997d31c35f9ee745c96
12351243
languageName: node
12361244
linkType: hard
12371245

0 commit comments

Comments
 (0)