Skip to content
This repository has been archived by the owner on Mar 28, 2024. It is now read-only.

Commit

Permalink
chore(deps): upgrade, dependabot schedule (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd authored Dec 19, 2023
2 parents d209a9b + 7123dbb commit 4e0c272
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 72 deletions.
8 changes: 6 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ updates:
reviewers:
- AliMD
schedule:
interval: daily
interval: weekly
time: "00:30"
day: "thursday"
labels:
- ci
- priority-low
Expand All @@ -25,7 +27,9 @@ updates:
reviewers:
- AliMD
schedule:
interval: daily
interval: weekly
time: "00:30"
day: "thursday"
labels:
- dependencies
- ci
Expand Down
6 changes: 3 additions & 3 deletions demo/crypto/test-all.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AlwatrCryptoFactory } from "@alwatr/crypto";
import {AlwatrCryptoFactory} from '@alwatr/crypto';

const cryptoFactory = new AlwatrCryptoFactory({
secret: 'my-very-secret-key',
Expand All @@ -11,11 +11,11 @@ for (let i = 0; i <= 10; i++) {
const userId = cryptoFactory.generateUserId();
const token = cryptoFactory.generateToken([userId]);

console.log({ deviceId, secret, userId, token})
console.log({deviceId, secret, userId, token});
console.log({
verifyDeviceId: cryptoFactory.verifyDeviceId(deviceId),
verifySecret: cryptoFactory.verifySecret(secret),
verifyUserId: cryptoFactory.verifyUserId(userId),
verifyToken: cryptoFactory.verifyToken([userId], token),
})
});
}
2 changes: 1 addition & 1 deletion packages/crypto/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class AlwatrCryptoFactory {
userId: new AlwatrHashGenerator(userIdGeneratorRecommendedConfig),
token: new AlwatrTokenGenerator({
...userTokenGeneratorRecommendedConfig,
...config
...config,
}),
} as const;
}
Expand Down
1 change: 0 additions & 1 deletion packages/nano-server/src/nano-server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export type {

definePackage('nano-server', '1.x');


export class AlwatrNanoServer {
protected _config: NanoServerConfig;
protected _logger: AlwatrLogger;
Expand Down
130 changes: 65 additions & 65 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -920,93 +920,93 @@ __metadata:
languageName: node
linkType: hard

"@rollup/rollup-android-arm-eabi@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-android-arm-eabi@npm:4.8.0"
"@rollup/rollup-android-arm-eabi@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-android-arm-eabi@npm:4.9.1"
conditions: os=android & cpu=arm
languageName: node
linkType: hard

"@rollup/rollup-android-arm64@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-android-arm64@npm:4.8.0"
"@rollup/rollup-android-arm64@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-android-arm64@npm:4.9.1"
conditions: os=android & cpu=arm64
languageName: node
linkType: hard

"@rollup/rollup-darwin-arm64@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-darwin-arm64@npm:4.8.0"
"@rollup/rollup-darwin-arm64@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-darwin-arm64@npm:4.9.1"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@rollup/rollup-darwin-x64@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-darwin-x64@npm:4.8.0"
"@rollup/rollup-darwin-x64@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-darwin-x64@npm:4.9.1"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@rollup/rollup-linux-arm-gnueabihf@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.8.0"
"@rollup/rollup-linux-arm-gnueabihf@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.9.1"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard

"@rollup/rollup-linux-arm64-gnu@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.8.0"
"@rollup/rollup-linux-arm64-gnu@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.9.1"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@rollup/rollup-linux-arm64-musl@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.8.0"
"@rollup/rollup-linux-arm64-musl@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-linux-arm64-musl@npm:4.9.1"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@rollup/rollup-linux-riscv64-gnu@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.8.0"
"@rollup/rollup-linux-riscv64-gnu@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.9.1"
conditions: os=linux & cpu=riscv64 & libc=glibc
languageName: node
linkType: hard

"@rollup/rollup-linux-x64-gnu@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.8.0"
"@rollup/rollup-linux-x64-gnu@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-linux-x64-gnu@npm:4.9.1"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@rollup/rollup-linux-x64-musl@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-linux-x64-musl@npm:4.8.0"
"@rollup/rollup-linux-x64-musl@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-linux-x64-musl@npm:4.9.1"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@rollup/rollup-win32-arm64-msvc@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.8.0"
"@rollup/rollup-win32-arm64-msvc@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.9.1"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@rollup/rollup-win32-ia32-msvc@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.8.0"
"@rollup/rollup-win32-ia32-msvc@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.9.1"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard

"@rollup/rollup-win32-x64-msvc@npm:4.8.0":
version: 4.8.0
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.8.0"
"@rollup/rollup-win32-x64-msvc@npm:4.9.1":
version: 4.9.1
resolution: "@rollup/rollup-win32-x64-msvc@npm:4.9.1"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard
Expand Down Expand Up @@ -3245,11 +3245,11 @@ __metadata:
linkType: hard

"fastq@npm:^1.6.0":
version: 1.15.0
resolution: "fastq@npm:1.15.0"
version: 1.16.0
resolution: "fastq@npm:1.16.0"
dependencies:
reusify: "npm:^1.0.4"
checksum: 5ce4f83afa5f88c9379e67906b4d31bc7694a30826d6cc8d0f0473c966929017fda65c2174b0ec89f064ede6ace6c67f8a4fe04cef42119b6a55b0d465554c24
checksum: 38c1b49adba639af020727284a02af021acab764efd7f088bc31364e8a5b01ce9031eb6c5f7f304019b8267c3b7c236e79d6904884f50f94f83b1700b8a6619a
languageName: node
linkType: hard

Expand Down Expand Up @@ -5703,12 +5703,12 @@ __metadata:
linkType: hard

"p-queue@npm:^8.0.0":
version: 8.0.0
resolution: "p-queue@npm:8.0.0"
version: 8.0.1
resolution: "p-queue@npm:8.0.1"
dependencies:
eventemitter3: "npm:^5.0.1"
p-timeout: "npm:^6.1.2"
checksum: 3d46a61e6092c7c2f24ed465e0078c988ee4655bbafa3e69e5522faa4d355eb875596816248f223e0ba0f4fa480393592aaf241b57cdd6c14cd99061dba6295b
checksum: fe185bc8bbd32d17a5f6dba090077b1bb326b008b4ec9b0646c57a32a6984035aa8ece909a6d0de7f6c4640296dc288197f430e7394cdc76a26d862339494616
languageName: node
linkType: hard

Expand Down Expand Up @@ -6154,15 +6154,15 @@ __metadata:
linkType: hard

"readable-stream@npm:^4.1.0":
version: 4.4.2
resolution: "readable-stream@npm:4.4.2"
version: 4.5.1
resolution: "readable-stream@npm:4.5.1"
dependencies:
abort-controller: "npm:^3.0.0"
buffer: "npm:^6.0.3"
events: "npm:^3.3.0"
process: "npm:^0.11.10"
string_decoder: "npm:^1.3.0"
checksum: cf7cc8daa2b57872d120945a20a1458c13dcb6c6f352505421115827b18ac4df0e483ac1fe195cb1f5cd226e1073fc55b92b569269d8299e8530840bcdbba40c
checksum: 10fb4c111f767b33c5e5930a036ec7f77a64cdfade36f694dfd523ab5df681edb4eb44b1cc0a789674aa58c46fe4b0fe76f2bc06b17244f679499d9c43542bcc
languageName: node
linkType: hard

Expand Down Expand Up @@ -6295,22 +6295,22 @@ __metadata:
linkType: hard

"rollup@npm:^4.4.0":
version: 4.8.0
resolution: "rollup@npm:4.8.0"
dependencies:
"@rollup/rollup-android-arm-eabi": "npm:4.8.0"
"@rollup/rollup-android-arm64": "npm:4.8.0"
"@rollup/rollup-darwin-arm64": "npm:4.8.0"
"@rollup/rollup-darwin-x64": "npm:4.8.0"
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.8.0"
"@rollup/rollup-linux-arm64-gnu": "npm:4.8.0"
"@rollup/rollup-linux-arm64-musl": "npm:4.8.0"
"@rollup/rollup-linux-riscv64-gnu": "npm:4.8.0"
"@rollup/rollup-linux-x64-gnu": "npm:4.8.0"
"@rollup/rollup-linux-x64-musl": "npm:4.8.0"
"@rollup/rollup-win32-arm64-msvc": "npm:4.8.0"
"@rollup/rollup-win32-ia32-msvc": "npm:4.8.0"
"@rollup/rollup-win32-x64-msvc": "npm:4.8.0"
version: 4.9.1
resolution: "rollup@npm:4.9.1"
dependencies:
"@rollup/rollup-android-arm-eabi": "npm:4.9.1"
"@rollup/rollup-android-arm64": "npm:4.9.1"
"@rollup/rollup-darwin-arm64": "npm:4.9.1"
"@rollup/rollup-darwin-x64": "npm:4.9.1"
"@rollup/rollup-linux-arm-gnueabihf": "npm:4.9.1"
"@rollup/rollup-linux-arm64-gnu": "npm:4.9.1"
"@rollup/rollup-linux-arm64-musl": "npm:4.9.1"
"@rollup/rollup-linux-riscv64-gnu": "npm:4.9.1"
"@rollup/rollup-linux-x64-gnu": "npm:4.9.1"
"@rollup/rollup-linux-x64-musl": "npm:4.9.1"
"@rollup/rollup-win32-arm64-msvc": "npm:4.9.1"
"@rollup/rollup-win32-ia32-msvc": "npm:4.9.1"
"@rollup/rollup-win32-x64-msvc": "npm:4.9.1"
fsevents: "npm:~2.3.2"
dependenciesMeta:
"@rollup/rollup-android-arm-eabi":
Expand Down Expand Up @@ -6343,7 +6343,7 @@ __metadata:
optional: true
bin:
rollup: dist/bin/rollup
checksum: 271628f7078199797b175fab8951e698740fb94a5a851b4f8828a353af8d1b4cf3b0bacb443468f38c9d4ce68ca16de1853b0246a7feaae2db3efb2fb746f8db
checksum: fdc76d496583bd916da773522a4949326373c2df55520fc40a56e61f10b16e5214dbeec1947ca13e07f80c0a1a2975ba71ea9bc48d298cda3ee17deaff9aacf6
languageName: node
linkType: hard

Expand Down

0 comments on commit 4e0c272

Please sign in to comment.