We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13f8a65 commit 7906992Copy full SHA for 7906992
2 files changed
index.js
@@ -3,7 +3,7 @@ import fsPromises from 'node:fs/promises';
3
import path from 'node:path';
4
import parseJson from 'parse-json';
5
import normalizePackageData from 'normalize-package-data';
6
-import {toPath} from 'unicorn-magic';
+import {toPath} from 'unicorn-magic/node';
7
8
const getPackagePath = cwd => path.resolve(toPath(cwd) ?? '.', 'package.json');
9
package.json
@@ -41,8 +41,8 @@
41
"@types/normalize-package-data": "^2.4.4",
42
"normalize-package-data": "^8.0.0",
43
"parse-json": "^8.3.0",
44
- "type-fest": "^5.2.0",
45
- "unicorn-magic": "^0.3.0"
+ "type-fest": "^5.4.4",
+ "unicorn-magic": "^0.4.0"
46
},
47
"devDependencies": {
48
"xo": "^1.2.3"
0 commit comments