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

@pnpm/exportable-manifest

Package Overview
Dependencies
Maintainers
2
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/exportable-manifest - npm Package Compare versions

Comparing version 3.1.6 to 4.0.0

2

lib/index.d.ts

@@ -6,2 +6,2 @@ import { ProjectManifest } from '@pnpm/types';

}
export default function makePublishManifest(dir: string, originalManifest: ProjectManifest, opts?: MakePublishManifestOptions): Promise<ProjectManifest>;
export declare function createExportableManifest(dir: string, originalManifest: ProjectManifest, opts?: MakePublishManifestOptions): Promise<ProjectManifest>;

@@ -6,4 +6,5 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createExportableManifest = void 0;
const path_1 = __importDefault(require("path"));
const error_1 = __importDefault(require("@pnpm/error"));
const error_1 = require("@pnpm/error");
const read_project_manifest_1 = require("@pnpm/read-project-manifest");

@@ -21,3 +22,3 @@ const fromPairs_1 = __importDefault(require("ramda/src/fromPairs"));

];
async function makePublishManifest(dir, originalManifest, opts) {
async function createExportableManifest(dir, originalManifest, opts) {
const publishManifest = (0, omit_1.default)(['pnpm', 'scripts'], originalManifest);

@@ -39,3 +40,3 @@ if (originalManifest.scripts != null) {

}
exports.default = makePublishManifest;
exports.createExportableManifest = createExportableManifest;
async function makePublishDependencies(dir, dependencies, modulesDir) {

@@ -61,3 +62,3 @@ if (dependencies == null)

if ((manifest == null) || !manifest.version) {
throw new error_1.default('CANNOT_RESOLVE_WORKSPACE_PROTOCOL', `Cannot resolve workspace protocol of dependency "${depName}" ` +
throw new error_1.PnpmError('CANNOT_RESOLVE_WORKSPACE_PROTOCOL', `Cannot resolve workspace protocol of dependency "${depName}" ` +
'because this dependency is not installed. Try running "pnpm install".');

@@ -74,3 +75,3 @@ }

if ((manifest == null) || !manifest.name || !manifest.version) {
throw new error_1.default('CANNOT_RESOLVE_WORKSPACE_PROTOCOL', `Cannot resolve workspace protocol of dependency "${depName}" ` +
throw new error_1.PnpmError('CANNOT_RESOLVE_WORKSPACE_PROTOCOL', `Cannot resolve workspace protocol of dependency "${depName}" ` +
'because this dependency is not installed. Try running "pnpm install".');

@@ -77,0 +78,0 @@ }

{
"name": "@pnpm/exportable-manifest",
"version": "3.1.6",
"version": "4.0.0",
"description": "Creates an exportable manifest",

@@ -25,8 +25,8 @@ "main": "lib/index.js",

"devDependencies": {
"@pnpm/exportable-manifest": "3.1.6",
"@pnpm/exportable-manifest": "4.0.0",
"@types/ramda": "0.28.15"
},
"dependencies": {
"@pnpm/error": "3.1.0",
"@pnpm/read-project-manifest": "3.0.13",
"@pnpm/error": "4.0.0",
"@pnpm/read-project-manifest": "4.0.0",
"@pnpm/types": "8.7.0",

@@ -33,0 +33,0 @@ "ramda": "npm:@pnpm/ramda@0.28.1"

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