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

@yarnpkg/pnp

Package Overview
Dependencies
Maintainers
6
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/pnp - npm Package Compare versions

Comparing version 3.3.3 to 3.3.4

2

lib/loader/applyPatch.d.ts

@@ -9,3 +9,3 @@ import { FakeFS, PortablePath } from '@yarnpkg/fslib';

declare global {
module NodeJS {
namespace NodeJS {
interface Process {

@@ -12,0 +12,0 @@ dlopen: (module: Object, filename: string, flags?: number) => void;

/// <reference types="node" />
/// <reference types="node" />
import { FakeFS, NativePath, PortablePath } from '@yarnpkg/fslib';
import fs from 'fs';
import { Module } from 'module';
import { PnpApi } from '../types';
export type ApiMetadata = {
cache: typeof Module._cache;
instance: PnpApi;

@@ -17,5 +16,5 @@ stats: fs.Stats;

export declare function makeManager(pnpapi: PnpApi, opts: MakeManagerOptions): {
getApiPathFromParent: (parent: Module | null | undefined) => PortablePath | null;
getApiPathFromParent: (parent: NodeModule | null | undefined) => PortablePath | null;
findApiPathFor: (modulePath: NativePath) => PortablePath | null;
getApiEntry: (pnpApiPath: PortablePath, refresh?: boolean) => ApiMetadata;
};

@@ -11,6 +11,2 @@ import 'module';

function _load(request: string, parent: NodeModule | null | undefined, isMain: boolean): any;
interface Module extends NodeModule {
pnpApiPath?: import('@yarnpkg/fslib').PortablePath | null;
}
}
{
"name": "@yarnpkg/pnp",
"version": "3.3.3",
"version": "3.3.4",
"license": "BSD-2-Clause",

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

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

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