New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

get-installed-path

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

get-installed-path - npm Package Compare versions

Comparing version 3.0.3 to 4.0.0

6

dist/index.es.js

@@ -126,3 +126,3 @@ /**

* @return {string} The full filepath or throw `TypeError` if `name` not a string or is empty string
* @name .sync
* @name getInstalledPathSync
* @public

@@ -182,4 +182,2 @@ */

getInstalledPath.sync = getInstalledPathSync;
export default getInstalledPath;
export { getInstalledPath, getInstalledPathSync };

@@ -8,2 +8,4 @@ /**

Object.defineProperty(exports, '__esModule', { value: true });
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }

@@ -131,3 +133,3 @@

* @return {string} The full filepath or throw `TypeError` if `name` not a string or is empty string
* @name .sync
* @name getInstalledPathSync
* @public

@@ -187,4 +189,3 @@ */

getInstalledPath.sync = getInstalledPathSync;
module.exports = getInstalledPath;
exports.getInstalledPath = getInstalledPath;
exports.getInstalledPathSync = getInstalledPathSync;
{
"name": "get-installed-path",
"version": "3.0.3",
"version": "4.0.0",
"description": "Get installation path where the given package is installed. Works for globally and locally installed packages",

@@ -15,3 +15,3 @@ "repository": "tunnckoCore/get-installed-path",

"test": "yarn start test",
"posttest": "rimraf dist/node_modules",
"posttest": "rimraf dist/node_modules && rimraf dist/test.js",
"precommit": "yarn start precommit",

@@ -18,0 +18,0 @@ "commit": "yarn start commit"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc