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

@tinkoff/package-manager-wrapper

Package Overview
Dependencies
Maintainers
17
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tinkoff/package-manager-wrapper - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

lib/PnpmPackageManager.d.ts

2

lib/PackageManager.d.ts

@@ -27,3 +27,3 @@ import type { Options } from 'execa';

export declare abstract class PackageManager {
readonly name: 'npm' | 'yarn' | 'unknown';
readonly name: 'npm' | 'yarn' | 'pnpm' | 'unknown';
protected rootDir: string;

@@ -30,0 +30,0 @@ protected registry?: string;

@@ -6,2 +6,3 @@ import { resolve } from 'path';

import { YarnPackageManager } from './YarnPackageManager.es.js';
import { PnpmPackageManager } from './PnpmPackageManager.es.js';

@@ -20,2 +21,5 @@ const checkLockFile = (rootDir, lockName) => {

}
else if (checkLockFile(rootDir, 'pnpm-lock.yaml')) {
packageManager = new PnpmPackageManager(packageManagerOptions);
}
else {

@@ -22,0 +26,0 @@ if (throwUnknown) {

@@ -10,2 +10,3 @@ 'use strict';

var YarnPackageManager = require('./YarnPackageManager.js');
var PnpmPackageManager = require('./PnpmPackageManager.js');

@@ -24,2 +25,5 @@ const checkLockFile = (rootDir, lockName) => {

}
else if (checkLockFile(rootDir, 'pnpm-lock.yaml')) {
packageManager = new PnpmPackageManager.PnpmPackageManager(packageManagerOptions);
}
else {

@@ -26,0 +30,0 @@ if (throwUnknown) {

{
"name": "@tinkoff/package-manager-wrapper",
"version": "0.2.1",
"version": "0.2.2",
"description": "",

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

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