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

corepack

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

corepack - npm Package Compare versions

Comparing version 0.8.2 to 0.9.0

2

dist/npm.js
#!/usr/bin/env node
require('./corepack').runMain(['npm', 'npm', ...process.argv.slice(2)]);
require('./corepack').runMain(['npm', ...process.argv.slice(2)]);
#!/usr/bin/env node
require('./corepack').runMain(['npm', 'npx', ...process.argv.slice(2)]);
require('./corepack').runMain(['npx', ...process.argv.slice(2)]);
#!/usr/bin/env node
require('./corepack').runMain(['pnpm', 'pnpm', ...process.argv.slice(2)]);
require('./corepack').runMain(['pnpm', ...process.argv.slice(2)]);
#!/usr/bin/env node
require('./corepack').runMain(['pnpm', 'pnpx', ...process.argv.slice(2)]);
require('./corepack').runMain(['pnpx', ...process.argv.slice(2)]);
#!/usr/bin/env node
require('./corepack').runMain(['yarn', 'yarn', ...process.argv.slice(2)]);
require('./corepack').runMain(['yarn', ...process.argv.slice(2)]);
#!/usr/bin/env node
require('./corepack').runMain(['yarn', 'yarnpkg', ...process.argv.slice(2)]);
require('./corepack').runMain(['yarnpkg', ...process.argv.slice(2)]);
{
"name": "corepack",
"version": "0.8.2",
"version": "0.9.0",
"homepage": "https://github.com/nodejs/corepack#readme",

@@ -5,0 +5,0 @@ "bugs": {

@@ -80,2 +80,8 @@ # <img src="./icon.svg" height="25" /> corepack

### `corepack <binary name>[@<version>] [... args]`
This meta-command runs the specified package manager in the local folder. You can use it to force an install to run with a given version, which can be useful when looking for regressions.
Note that those commands still check whether the local project is configured for the given package manager (ie you won't be able to run `corepack yarn install` on a project where the `packageManager` field references `pnpm`).
### `corepack enable [... name]`

@@ -121,3 +127,3 @@

If you want to build corepack yourself things yourself, you can build the project like this:
If you want to build corepack yourself, you can build the project like this:

@@ -124,0 +130,0 @@ 1. Clone this repository

Sorry, the diff of this file is too big to display

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