Skip to content

Commit

Permalink
build(deps-dev): remove upath
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Feb 5, 2025
1 parent d52108e commit d99846b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
"license-checker": "^25.0.1",
"prettier": "^3.4.2",
"spdx-copyleft": "^1.0.0",
"typescript": "~5.7.3",
"upath": "^2.0.1"
"typescript": "~5.7.3"
}
}
4 changes: 2 additions & 2 deletions scripts/license-checker.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { init } = require("license-checker");
/** @type {string[]} */
// @ts-ignore: module is a JSON file
const copyLeftLicenses = require("spdx-copyleft");
const { joinSafe } = require("upath");
const { join } = require("node:path");

const check = promisify(init);

Expand Down Expand Up @@ -54,7 +54,7 @@ async function checkLicenses() {
const licenses = await check({
direct: true,
production: true,
start: joinSafe(__dirname, ".."),
start: join(__dirname, ".."),
});

const copyLeftLicensesList = Object.keys(licenses).filter((license) => {
Expand Down

0 comments on commit d99846b

Please sign in to comment.