Socket
Socket
Sign inDemoInstall

import-local

Package Overview
Dependencies
9
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0 to 2.0.0

15

package.json
{
"name": "import-local",
"version": "1.0.0",
"version": "2.0.0",
"description": "Let a globally installed package use a locally installed version of itself if available",

@@ -16,3 +16,3 @@ "license": "MIT",

"engines": {
"node": ">=4"
"node": ">=6"
},

@@ -37,3 +37,3 @@ "scripts": {

"dependencies": {
"pkg-dir": "^2.0.0",
"pkg-dir": "^3.0.0",
"resolve-cwd": "^2.0.0"

@@ -43,7 +43,12 @@ },

"ava": "*",
"cpy": "^6.0.0",
"cpy": "^7.0.1",
"del": "^3.0.0",
"execa": "^0.8.0",
"execa": "^0.11.0",
"xo": "*"
},
"xo": {
"ignores": [
"fixtures"
]
}
}

@@ -5,3 +5,3 @@ # import-local [![Build Status](https://travis-ci.org/sindresorhus/import-local.svg?branch=master)](https://travis-ci.org/sindresorhus/import-local)

Useful for CLI tools that want to defer to the user's locally installed version when available, but still work if it's not installed locally. For example, [AVA](http://ava.li) and [XO](https://github.com/sindresorhus/xo) uses this method.
Useful for CLI tools that want to defer to the user's locally installed version when available, but still work if it's not installed locally. For example, [AVA](http://ava.li) and [XO](https://github.com/xojs/xo) uses this method.

@@ -8,0 +8,0 @@

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc