Skip to content

Commit

Permalink
chore(deps): update dependency glob to v9
Browse files Browse the repository at this point in the history
Signed-off-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
ext committed Mar 18, 2023
1 parent 71315e9 commit 08a34e2
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 62 deletions.
151 changes: 96 additions & 55 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -72,14 +72,13 @@
"@html-validate/prettier-config": "2.3.6",
"@html-validate/release-scripts": "4.0.0",
"@types/argparse": "2.0.10",
"@types/glob": "8.1.0",
"@types/jest": "29.5.0",
"@types/node": "14.18.38",
"@types/semver": "7.3.13",
"@types/tar": "6.1.4",
"@types/tmp": "0.2.3",
"esbuild": "0.17.12",
"glob": "8.1.0",
"glob": "9.3.0",
"husky": "8.0.3",
"jest": "29.5.0",
"lint-staged": "13.2.0",
Expand Down
8 changes: 3 additions & 5 deletions tests/integration.spec.ts
@@ -1,18 +1,16 @@
jest.unmock("tar");

import { promises as fs } from "fs";
import path from "path";
import glob from "glob";
import * as path from "path";
import { globSync } from "glob";
import execa from "execa";
import { verify } from "../src/verify";
import PackageJson from "../src/types/package-json";

const ROOT_DIRECTORY = path.resolve(path.join(__dirname, ".."));
const FIXTURE_DIRECTORY = path.join(__dirname, "fixtures");

const fixtures = glob.sync(path.join(FIXTURE_DIRECTORY, "*")).map((fixture: string) => {
return path.relative(FIXTURE_DIRECTORY, fixture);
});
const fixtures = globSync("*", { cwd: FIXTURE_DIRECTORY });

async function npmPack(pkg: PackageJson, fixture: string): Promise<string> {
const dir = path.join(FIXTURE_DIRECTORY, fixture);
Expand Down

0 comments on commit 08a34e2

Please sign in to comment.