Comparing version 1.1.0 to 1.1.1
@@ -1,2 +0,2 @@ | ||
import * as quansync from 'quansync'; | ||
import * as quansync_types from 'quansync/types'; | ||
import { PackageJson } from 'pkg-types'; | ||
@@ -22,3 +22,3 @@ | ||
declare function isPackageExists(name: string, options?: PackageResolvingOptions): boolean; | ||
declare const getPackageInfo: quansync.QuansyncFn<{ | ||
declare const getPackageInfo: quansync_types.QuansyncFn<{ | ||
name: string; | ||
@@ -37,7 +37,7 @@ version: string | undefined; | ||
} | undefined; | ||
declare const loadPackageJSON: quansync.QuansyncFn<PackageJson | null, [cwd?: Args[0] | undefined]>; | ||
declare const loadPackageJSON: quansync_types.QuansyncFn<PackageJson | null, [cwd?: Args[0] | undefined]>; | ||
declare const loadPackageJSONSync: (cwd?: Args[0] | undefined) => PackageJson | null; | ||
declare const isPackageListed: quansync.QuansyncFn<boolean, [name: string, cwd?: string | undefined]>; | ||
declare const isPackageListed: quansync_types.QuansyncFn<boolean, [name: string, cwd?: string | undefined]>; | ||
declare const isPackageListedSync: (name: string, cwd?: string | undefined) => boolean; | ||
export { type PackageInfo, type PackageResolvingOptions, getPackageInfo, getPackageInfoSync, importModule, isPackageExists, isPackageListed, isPackageListedSync, loadPackageJSON, loadPackageJSONSync, resolveModule }; |
{ | ||
"name": "local-pkg", | ||
"type": "module", | ||
"version": "1.1.0", | ||
"packageManager": "pnpm@10.4.1", | ||
"version": "1.1.1", | ||
"packageManager": "pnpm@10.5.2", | ||
"description": "Get information on local packages.", | ||
@@ -48,11 +48,11 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
"mlly": "^1.7.4", | ||
"pkg-types": "^1.3.1", | ||
"quansync": "^0.2.1" | ||
"pkg-types": "^2.0.1", | ||
"quansync": "^0.2.8" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^4.3.0", | ||
"@antfu/eslint-config": "^4.4.0", | ||
"@antfu/ni": "^23.3.1", | ||
"@antfu/utils": "^9.1.0", | ||
"@types/chai": "^5.0.1", | ||
"@types/node": "^22.13.5", | ||
"@types/node": "^22.13.8", | ||
"bumpp": "^10.0.3", | ||
@@ -62,7 +62,7 @@ "chai": "^5.2.0", | ||
"esno": "^4.8.0", | ||
"find-up-simple": "^1.0.0", | ||
"typescript": "^5.7.3", | ||
"unbuild": "^3.3.1", | ||
"unplugin-quansync": "^0.3.0", | ||
"vitest": "^3.0.6" | ||
"find-up-simple": "^1.0.1", | ||
"typescript": "^5.8.2", | ||
"unbuild": "^3.5.0", | ||
"unplugin-quansync": "^0.3.3", | ||
"vitest": "^3.0.7" | ||
}, | ||
@@ -69,0 +69,0 @@ "pnpm": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
20354
375
0
2
+ Addedacorn@8.14.1(transitive)
+ Addedconfbox@0.2.1(transitive)
+ Addedexsolve@1.0.2(transitive)
+ Addedpkg-types@2.1.0(transitive)
+ Addedquansync@0.2.8(transitive)
- Removedacorn@8.14.0(transitive)
- Removedquansync@0.2.6(transitive)
Updatedpkg-types@^2.0.1
Updatedquansync@^0.2.8