Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@antfu/ni

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antfu/ni - npm Package Compare versions

Comparing version 0.16.2 to 0.16.3

2

package.json
{
"name": "@antfu/ni",
"version": "0.16.2",
"version": "0.16.3",
"packageManager": "pnpm@7.0.0",

@@ -5,0 +5,0 @@ "description": "Use the right package manager",

@@ -221,1 +221,28 @@ # ni

Before it runs, it will detect your `yarn.lock` / `pnpm-lock.yaml` / `package-lock.json` to know current package manager (or `packageManager` field in your packages.json), and runs the corresponding commands.
### Trouble shooting
#### Conflicts with PowerShell on Windows
PowerShell come with a built-in alias `ni` for `New Item`. To remove the alias in favor of this package:
<details>
<summary> PowerShell <code>5.x</code></summary>
Create or edit file `C:\Windows\System32\WindowsPowerShell\v1.0\Microsoft.PowerShell_profile.ps1`, adding following line:
```ps
Remove-Item Alias:ni -Force -ErrorAction Ignore
```
</details>
<details>
<summary> PowerShell <code>7.x</code></summary>
Create or edit file `C:\Program Files\PowerShell\7\Microsoft.PowerShell_profile.ps1`, adding following line:
```ps
Remove-Alias -Name ni -Force
```
</details>

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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