Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump dependency versions #912

Merged
merged 2 commits into from
Jul 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/neon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exclude = ["neon.jpg", "doc/**/*"]
edition = "2018"

[dev-dependencies]
semver = "0.9"
semver = "1"
psd = "0.3.1" # used for a doc example
anyhow = "1.0.58" # used for a doc example

Expand All @@ -21,7 +21,7 @@ nodejs-sys = "0.13.0"

[dependencies]
libloading = "0.7.3"
semver = "0.9.0"
semver = "1"
kjvalencik marked this conversation as resolved.
Show resolved Hide resolved
smallvec = "1.4.2"
once_cell = "1.10.0"
neon-macros = { version = "=0.10.1", path = "../neon-macros" }
Expand Down
4 changes: 2 additions & 2 deletions crates/neon/src/meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn version() -> Version {
major: MAJOR.parse().unwrap(),
minor: MINOR.parse().unwrap(),
patch: PATCH.parse().unwrap(),
pre: vec![],
build: vec![],
pre: Default::default(),
build: Default::default(),
}
}
7,215 changes: 1,906 additions & 5,309 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"test/*"
],
"devDependencies": {
"prettier": "^2.5.1"
"prettier": "^2.7.1"
}
}
2 changes: 1 addition & 1 deletion pkgs/cargo-cp-artifact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
},
"homepage": "https://github.com/neon-bindings/neon/tree/main/pkgs/cargo-cp-artifact",
"devDependencies": {
"mocha": "^9.1.0"
"mocha": "^10.0.0"
}
}
3 changes: 1 addition & 2 deletions pkgs/create-neon/.mocharc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"extension": ["ts"],
"spec": "test/**/*.ts",
"require": "ts-node/register",
kjvalencik marked this conversation as resolved.
Show resolved Hide resolved
"spec": "dist/test/**/*.js",
"timeout": 5000
}
17 changes: 8 additions & 9 deletions pkgs/create-neon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,17 @@
"neon"
],
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/mocha": "^9.1.0",
"@types/node": "^14.14.31",
"@types/rimraf": "^3.0.0",
"chai": "^4.3.3",
"execa": "^5.0.0",
"mocha": "^9.1.0",
"@types/chai": "^4.3.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.0",
"@types/rimraf": "^3.0.2",
"chai": "^4.3.6",
"execa": "^6.1.0",
"mocha": "^10.0.0",
"rimraf": "^3.0.2",
"stream-to-string": "^1.2.0",
"toml": "^3.0.0",
"ts-node": "^9.1.1",
"typescript": "^4.2.2"
"typescript": "^4.7.4"
},
"dependencies": {
"handlebars": "^4.7.7"
Expand Down
18 changes: 9 additions & 9 deletions pkgs/create-neon/test/create-neon.ts
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
import { assert } from "chai";
import { spawn } from "child_process";
import execa from "execa";
import * as path from "path";
import { promises as fs } from "fs";
import * as TOML from "toml";
import expect from "../dev/expect";
import rimraf from "../dev/rimraf";

// HACK: `execa` is an ES module, but Neon tests in Node which doesn't include
// an ESM loader. This is a small wrapper for `execa` that covers the test cases.
async function execa(command: string, args: readonly string[]): Promise<void> {
kjvalencik marked this conversation as resolved.
Show resolved Hide resolved
const { execa } = await import("execa");

await execa(command, args);
}

const NODE: string = process.execPath;
const CREATE_NEON = path.join(
__dirname,
"..",
"dist",
"src",
"bin",
"create-neon.js"
);
const CREATE_NEON = path.join(__dirname, "..", "src", "bin", "create-neon.js");

describe("Command-line argument validation", () => {
it("requires an argument", async () => {
Expand Down
8 changes: 4 additions & 4 deletions test/electron/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
},
"repository": "https://github.com/electron/electron-quick-start",
"devDependencies": {
"@playwright/test": "^1.17.1",
"cargo-cp-artifact": "^0.1.0",
"electron": "^16.2.6",
"playwright": "^1.17.1"
"@playwright/test": "^1.23.1",
"cargo-cp-artifact": "^0.1.6",
"electron": "^19.0.7",
"playwright": "^1.23.1"
}
}
6 changes: 3 additions & 3 deletions test/napi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"test": "mocha --v8-expose-gc --timeout 5000 --recursive lib"
},
"devDependencies": {
"cargo-cp-artifact": "^0.1.0",
"chai": "^4.2.0",
"mocha": "^9.1.0"
"cargo-cp-artifact": "^0.1.6",
"chai": "^4.3.6",
"mocha": "^10.0.0"
}
}