You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

local-pkg

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

local-pkg - npm Package Compare versions

Comparing version
1.1.1
to
1.1.2
+2
-1
dist/index.d.cts

@@ -41,2 +41,3 @@ import * as quansync_types from 'quansync/types';

export { type PackageInfo, type PackageResolvingOptions, getPackageInfo, getPackageInfoSync, importModule, isPackageExists, isPackageListed, isPackageListedSync, loadPackageJSON, loadPackageJSONSync, resolveModule };
export { getPackageInfo, getPackageInfoSync, importModule, isPackageExists, isPackageListed, isPackageListedSync, loadPackageJSON, loadPackageJSONSync, resolveModule };
export type { PackageInfo, PackageResolvingOptions };

@@ -41,2 +41,3 @@ import * as quansync_types from 'quansync/types';

export { type PackageInfo, type PackageResolvingOptions, getPackageInfo, getPackageInfoSync, importModule, isPackageExists, isPackageListed, isPackageListedSync, loadPackageJSON, loadPackageJSONSync, resolveModule };
export { getPackageInfo, getPackageInfoSync, importModule, isPackageExists, isPackageListed, isPackageListedSync, loadPackageJSON, loadPackageJSONSync, resolveModule };
export type { PackageInfo, PackageResolvingOptions };

@@ -41,2 +41,3 @@ import * as quansync_types from 'quansync/types';

export { type PackageInfo, type PackageResolvingOptions, getPackageInfo, getPackageInfoSync, importModule, isPackageExists, isPackageListed, isPackageListedSync, loadPackageJSON, loadPackageJSONSync, resolveModule };
export { getPackageInfo, getPackageInfoSync, importModule, isPackageExists, isPackageListed, isPackageListedSync, loadPackageJSON, loadPackageJSONSync, resolveModule };
export type { PackageInfo, PackageResolvingOptions };
{
"name": "local-pkg",
"type": "module",
"version": "1.1.1",
"packageManager": "pnpm@10.5.2",
"version": "1.1.2",
"description": "Get information on local packages.",

@@ -10,9 +9,9 @@ "author": "Anthony Fu <anthonyfu117@hotmail.com>",

"funding": "https://github.com/sponsors/antfu",
"homepage": "https://github.com/antfu/local-pkg#readme",
"homepage": "https://github.com/antfu-collective/local-pkg#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/antfu/local-pkg.git"
"url": "git+https://github.com/antfu-collective/local-pkg.git"
},
"bugs": {
"url": "https://github.com/antfu/local-pkg/issues"
"url": "https://github.com/antfu-collective/local-pkg/issues"
},

@@ -39,36 +38,30 @@ "keywords": [

},
"scripts": {
"prepublishOnly": "nr build",
"build": "unbuild",
"lint": "eslint .",
"release": "bumpp && npm publish",
"typecheck": "tsc --noEmit",
"test": "vitest run && node ./test/cjs.cjs && node ./test/esm.mjs"
},
"dependencies": {
"mlly": "^1.7.4",
"pkg-types": "^2.0.1",
"quansync": "^0.2.8"
"pkg-types": "^2.3.0",
"quansync": "^0.2.11"
},
"devDependencies": {
"@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.8",
"bumpp": "^10.0.3",
"chai": "^5.2.0",
"eslint": "^9.21.0",
"@antfu/eslint-config": "^5.2.1",
"@antfu/ni": "^25.0.0",
"@antfu/utils": "^9.2.0",
"@types/chai": "^5.2.2",
"@types/node": "^24.3.0",
"bumpp": "^10.2.3",
"chai": "^5.3.1",
"eslint": "^9.33.0",
"esno": "^4.8.0",
"find-up-simple": "^1.0.1",
"typescript": "^5.8.2",
"unbuild": "^3.5.0",
"unplugin-quansync": "^0.3.3",
"vitest": "^3.0.7"
"typescript": "^5.9.2",
"unbuild": "^3.6.1",
"unplugin-quansync": "^0.4.4",
"vitest": "^3.2.4"
},
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
"scripts": {
"build": "unbuild",
"lint": "eslint .",
"release": "bumpp",
"typecheck": "tsc --noEmit",
"test": "vitest run && node ./test/cjs.cjs && node ./test/esm.mjs"
}
}
}