Skip to content

Commit

Permalink
chore: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Oct 8, 2022
1 parent d6cf2b6 commit 000c6d7
Show file tree
Hide file tree
Showing 10 changed files with 1,233 additions and 988 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
- uses: actions/checkout@v3
- name: Build
id: build
uses: vmactions/freebsd-vm@v0.2.3
uses: vmactions/freebsd-vm@v0
env:
DEBUG: 'napi:*'
RUSTUP_HOME: /usr/local/rustup
Expand All @@ -218,7 +218,7 @@ jobs:
prepare: |
pkg install -y curl python2 node14
curl -qL https://www.npmjs.com/install.sh | sh
npm install -g yarn
npm install --location=global --ignore-scripts yarn
curl https://sh.rustup.rs -sSf --output rustup.sh
sh rustup.sh -y --profile minimal --default-toolchain stable
export PATH="/usr/local/cargo/bin:$PATH"
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,29 +24,30 @@
"postinstall": "husky install"
},
"devDependencies": {
"@napi-rs/cli": "2.10.3",
"@swc-node/core": "^1.9.0",
"@swc-node/register": "^1.5.1",
"@taplo/cli": "^0.4.2",
"@types/node": "^18.6.2",
"@typescript-eslint/eslint-plugin": "^5.31.0",
"@typescript-eslint/parser": "^5.31.0",
"ava": "^4.3.1",
"@napi-rs/cli": "2.12.0",
"@swc-node/core": "^1.9.1",
"@swc-node/register": "^1.5.4",
"@swc/core": "^1.3.5",
"@taplo/cli": "^0.5.2",
"@types/node": "^18.8.3",
"@typescript-eslint/eslint-plugin": "^5.39.0",
"@typescript-eslint/parser": "^5.39.0",
"ava": "^4.3.3",
"benchmark": "^2.1.4",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"eslint": "^8.20.0",
"eslint": "^8.24.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"lerna": "^5.3.0",
"lerna": "^5.6.1",
"lint-staged": "^13.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
"typescript": "^4.8.4"
},
"lint-staged": {
"*.@(js|ts|tsx)": [
Expand Down
2 changes: 1 addition & 1 deletion packages/argon2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@
"version": "napi version"
},
"devDependencies": {
"argon2": "^0.28.7"
"argon2": "^0.29.1"
}
}
2 changes: 1 addition & 1 deletion packages/bcrypt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
},
"devDependencies": {
"@types/bcrypt": "^5.0.0",
"bcrypt": "^5.0.1",
"bcrypt": "^5.1.0",
"bcryptjs": "^2.4.3"
},
"funding": {
Expand Down
2 changes: 1 addition & 1 deletion packages/bcrypt/src/verify_task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ impl Task for VerifyTask {
type JsValue = JsBoolean;

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

fn resolve(&mut self, env: Env, output: Self::Output) -> Result<Self::JsValue> {
Expand Down
4 changes: 2 additions & 2 deletions packages/deno-lint/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ crate-type = ["cdylib"]
[dependencies]
annotate-snippets = { version = "0.9", features = ["color"] }
anyhow = "1"
deno_ast = "=0.17.0"
deno_lint = "=0.32.0"
deno_ast = "=0.19.0"
deno_lint = "=0.33.0"
env_logger = "0.9"
global_alloc = { path = "../../crates/alloc" }
globwalk = "0.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/deno-lint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
"dependencies": {
"clipanion": "^3.1.0",
"typanion": "^3.9.0"
"typanion": "^3.12.0"
},
"devDependencies": {
"@types/webpack": "^5.28.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/deno-lint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ fn denolint(__dirname: String, config_path: String) -> Result<bool> {
for entry in dir_walker.build().filter_map(|v| v.ok()) {
let p = entry.path();
if p.is_file() {
let file_content = fs::read_to_string(&p)
let file_content = fs::read_to_string(p)
.map_err(|e| Error::from_reason(format!("Read file {:?} failed: {}", p, e)))?;

let linter = LinterBuilder::default()
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nightly-2022-05-21
nightly-2022-10-07
Loading

0 comments on commit 000c6d7

Please sign in to comment.