Skip to content

Commit 000c6d7

Browse files
committed
chore: upgrade dependencies
1 parent d6cf2b6 commit 000c6d7

File tree

10 files changed

+1233
-988
lines changed

10 files changed

+1233
-988
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ jobs:
205205
- uses: actions/checkout@v3
206206
- name: Build
207207
id: build
208-
uses: vmactions/freebsd-vm@v0.2.3
208+
uses: vmactions/freebsd-vm@v0
209209
env:
210210
DEBUG: 'napi:*'
211211
RUSTUP_HOME: /usr/local/rustup
@@ -218,7 +218,7 @@ jobs:
218218
prepare: |
219219
pkg install -y curl python2 node14
220220
curl -qL https://www.npmjs.com/install.sh | sh
221-
npm install -g yarn
221+
npm install --location=global --ignore-scripts yarn
222222
curl https://sh.rustup.rs -sSf --output rustup.sh
223223
sh rustup.sh -y --profile minimal --default-toolchain stable
224224
export PATH="/usr/local/cargo/bin:$PATH"

package.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,30 @@
2424
"postinstall": "husky install"
2525
},
2626
"devDependencies": {
27-
"@napi-rs/cli": "2.10.3",
28-
"@swc-node/core": "^1.9.0",
29-
"@swc-node/register": "^1.5.1",
30-
"@taplo/cli": "^0.4.2",
31-
"@types/node": "^18.6.2",
32-
"@typescript-eslint/eslint-plugin": "^5.31.0",
33-
"@typescript-eslint/parser": "^5.31.0",
34-
"ava": "^4.3.1",
27+
"@napi-rs/cli": "2.12.0",
28+
"@swc-node/core": "^1.9.1",
29+
"@swc-node/register": "^1.5.4",
30+
"@swc/core": "^1.3.5",
31+
"@taplo/cli": "^0.5.2",
32+
"@types/node": "^18.8.3",
33+
"@typescript-eslint/eslint-plugin": "^5.39.0",
34+
"@typescript-eslint/parser": "^5.39.0",
35+
"ava": "^4.3.3",
3536
"benchmark": "^2.1.4",
3637
"codecov": "^3.8.3",
3738
"cross-env": "^7.0.3",
38-
"eslint": "^8.20.0",
39+
"eslint": "^8.24.0",
3940
"eslint-config-prettier": "^8.5.0",
4041
"eslint-plugin-import": "^2.26.0",
4142
"eslint-plugin-prettier": "^4.2.1",
4243
"husky": "^8.0.1",
43-
"lerna": "^5.3.0",
44+
"lerna": "^5.6.1",
4445
"lint-staged": "^13.0.3",
4546
"npm-run-all": "^4.1.5",
4647
"prettier": "^2.7.1",
4748
"ts-node": "^10.9.1",
4849
"tslib": "^2.4.0",
49-
"typescript": "^4.7.4"
50+
"typescript": "^4.8.4"
5051
},
5152
"lint-staged": {
5253
"*.@(js|ts|tsx)": [

packages/argon2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@
5454
"version": "napi version"
5555
},
5656
"devDependencies": {
57-
"argon2": "^0.28.7"
57+
"argon2": "^0.29.1"
5858
}
5959
}

packages/bcrypt/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
"devDependencies": {
7070
"@types/bcrypt": "^5.0.0",
71-
"bcrypt": "^5.0.1",
71+
"bcrypt": "^5.1.0",
7272
"bcryptjs": "^2.4.3"
7373
},
7474
"funding": {

packages/bcrypt/src/verify_task.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ impl Task for VerifyTask {
3737
type JsValue = JsBoolean;
3838

3939
fn compute(&mut self) -> Result<Self::Output> {
40-
VerifyTask::verify(&self.password.as_ref(), &self.hash.as_ref())
40+
VerifyTask::verify(self.password.as_ref(), self.hash.as_ref())
4141
}
4242

4343
fn resolve(&mut self, env: Env, output: Self::Output) -> Result<Self::JsValue> {

packages/deno-lint/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ crate-type = ["cdylib"]
1010
[dependencies]
1111
annotate-snippets = { version = "0.9", features = ["color"] }
1212
anyhow = "1"
13-
deno_ast = "=0.17.0"
14-
deno_lint = "=0.32.0"
13+
deno_ast = "=0.19.0"
14+
deno_lint = "=0.33.0"
1515
env_logger = "0.9"
1616
global_alloc = { path = "../../crates/alloc" }
1717
globwalk = "0.8"

packages/deno-lint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
},
7171
"dependencies": {
7272
"clipanion": "^3.1.0",
73-
"typanion": "^3.9.0"
73+
"typanion": "^3.12.0"
7474
},
7575
"devDependencies": {
7676
"@types/webpack": "^5.28.0"

packages/deno-lint/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ fn denolint(__dirname: String, config_path: String) -> Result<bool> {
144144
for entry in dir_walker.build().filter_map(|v| v.ok()) {
145145
let p = entry.path();
146146
if p.is_file() {
147-
let file_content = fs::read_to_string(&p)
147+
let file_content = fs::read_to_string(p)
148148
.map_err(|e| Error::from_reason(format!("Read file {:?} failed: {}", p, e)))?;
149149

150150
let linter = LinterBuilder::default()

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nightly-2022-05-21
1+
nightly-2022-10-07

0 commit comments

Comments
 (0)