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

@pnpm/config

Package Overview
Dependencies
Maintainers
3
Versions
315
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/config - npm Package Compare versions

Comparing version 2.3.0-1 to 2.3.0

lib/getScopeRegistries.d.ts

4

lib/index.js

@@ -17,2 +17,3 @@ "use strict";

const whichcb = require("which");
const getScopeRegistries_1 = require("./getScopeRegistries");
const npmDefaults = loadNpmConf.defaults;

@@ -122,4 +123,5 @@ function which(cmd) {

pnpmConfig.rawNpmConfig = Object.assign.apply(Object, npmConfig.list.reverse().concat([cliArgs]));
pnpmConfig.registries = Object.assign({ default: pnpmConfig.registry || 'https://registry.npmjs.org/' }, getScopeRegistries_1.default(pnpmConfig.rawNpmConfig));
const npmGlobalPrefix = pnpmConfig.rawNpmConfig['pnpm-prefix'] ||
(process.env.APPDATA
(process.platform === 'win32' && process.env.APPDATA
? path.join(process.env.APPDATA, 'npm')

@@ -126,0 +128,0 @@ : npmConfig.globalPrefix);

@@ -0,1 +1,2 @@

import { Registries } from '@pnpm/types';
export interface PnpmConfigs extends Record<string, any> {

@@ -69,2 +70,3 @@ bail: boolean;

sharedWorkspaceShrinkwrap: boolean;
registries: Registries;
}
{
"name": "@pnpm/config",
"version": "2.3.0-1",
"version": "2.3.0",
"description": "Gets configs for pnpm",

@@ -14,5 +14,5 @@ "main": "lib/index.js",

"lint": "tslint -c tslint.json --project .",
"test-with-preview": "npm run lint && preview && ts-node test && mos t",
"test-with-preview": "npm run lint && ts-node test && mos t",
"pretest": "npm config rm fetch-retry-maxtimeout",
"test": "npm run lint && npm run tsc && pnpm link . && ts-node test && mos t"
"test": "npm run lint && npm run tsc && ts-node test && mos t"
},

@@ -34,2 +34,3 @@ "repository": "https://github.com/pnpm/pnpm/blob/master/packages/config",

"dependencies": {
"@pnpm/types": "2.0.0",
"@types/camelcase": "^4.1.0",

@@ -44,2 +45,3 @@ "@types/node": "10.12.0",

"devDependencies": {
"@pnpm/config": "link:.",
"@types/mz": "^0.0.32",

@@ -51,3 +53,2 @@ "@types/tape": "^4.2.32",

"mz": "^2.7.0",
"package-preview": "^1.0.1",
"rimraf": "^2.6.2",

@@ -54,0 +55,0 @@ "tape": "^4.8.0",

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