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

@pnpm/exportable-manifest

Package Overview
Dependencies
Maintainers
3
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 1.1.0 to 1.2.0

6

CHANGELOG.md
# @pnpm/exportable-manifest
## 1.2.0
### Minor Changes
- c854f8547: Remove the "pnpm" property that stores pnpm settings from the manifest.
## 1.1.0

@@ -4,0 +10,0 @@

44

lib/index.d.ts

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

import { Dependencies, ProjectManifest } from '@pnpm/types';
export default function makePublishManifest(dir: string, originalManifest: ProjectManifest): Promise<{
name?: string | undefined;
version?: string | undefined;
bin?: string | {
[commandName: string]: string;
} | undefined;
description?: string | undefined;
directories?: {
bin?: string | undefined;
} | undefined;
dependencies?: Dependencies | undefined;
devDependencies?: Dependencies | undefined;
optionalDependencies?: Dependencies | undefined;
peerDependencies?: Dependencies | undefined;
peerDependenciesMeta?: import("@pnpm/types").PeerDependenciesMeta | undefined;
bundleDependencies?: string[] | undefined;
bundledDependencies?: string[] | undefined;
homepage?: string | undefined;
repository?: string | {
url: string;
} | undefined;
scripts?: import("@pnpm/types").PackageScripts | undefined;
config?: object | undefined;
engines?: {
node?: string | undefined;
npm?: string | undefined;
pnpm?: string | undefined;
} | undefined;
cpu?: string[] | undefined;
os?: string[] | undefined;
main?: string | undefined;
module?: string | undefined;
typings?: string | undefined;
types?: string | undefined;
publishConfig?: Record<string, unknown> | undefined;
pnpm?: {
overrides?: Record<string, string> | undefined;
} | undefined;
private?: boolean | undefined;
resolutions?: Record<string, string> | undefined;
}>;
import { ProjectManifest } from '@pnpm/types';
export default function makePublishManifest(dir: string, originalManifest: ProjectManifest): Promise<Pick<ProjectManifest, "optionalDependencies" | "dependencies" | "devDependencies" | "private" | "name" | "version" | "bin" | "description" | "directories" | "peerDependencies" | "peerDependenciesMeta" | "bundleDependencies" | "bundledDependencies" | "homepage" | "repository" | "scripts" | "config" | "engines" | "cpu" | "os" | "main" | "module" | "typings" | "types" | "publishConfig" | "resolutions">>;

@@ -27,5 +27,3 @@ "use strict";

async function makePublishManifest(dir, originalManifest) {
const publishManifest = {
...originalManifest,
};
const publishManifest = R.omit(['pnpm'], originalManifest);
for (const depsField of ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies']) {

@@ -32,0 +30,0 @@ const deps = await makePublishDependencies(dir, originalManifest[depsField]);

{
"name": "@pnpm/exportable-manifest",
"version": "1.1.0",
"version": "1.2.0",
"description": "Creates an exportable manifest",

@@ -15,6 +15,7 @@ "main": "lib/index.js",

"scripts": {
"lint": "eslint -c ../../eslint.json src/**/*.ts",
"test": "pnpm run compile",
"lint": "eslint -c ../../eslint.json src/**/*.ts test/**/*.ts",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build"
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build",
"_test": "jest"
},

@@ -32,9 +33,8 @@ "repository": "https://github.com/pnpm/pnpm/blob/master/packages/exportable-manifest",

"devDependencies": {
"@pnpm/exportable-manifest": "link:",
"@types/ramda": "^0.27.32"
"@types/ramda": "^0.27.35"
},
"dependencies": {
"@pnpm/error": "^1.4.0",
"@pnpm/read-project-manifest": "^1.1.5",
"@pnpm/types": "^6.3.1",
"@pnpm/error": "1.4.0",
"@pnpm/read-project-manifest": "1.1.5",
"@pnpm/types": "6.3.1",
"ramda": "^0.27.1"

@@ -41,0 +41,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