Skip to content

Commit

Permalink
chore: Bump npm versions
Browse files Browse the repository at this point in the history
  • Loading branch information
kjvalencik committed Jul 6, 2022
1 parent 4d2fd47 commit 824bfd7
Show file tree
Hide file tree
Showing 8 changed files with 1,933 additions and 5,338 deletions.
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",
"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> {
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"
}
}

0 comments on commit 824bfd7

Please sign in to comment.