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 2.1.2 to 2.1.3

6

CHANGELOG.md
# @pnpm/exportable-manifest
## 2.1.3
### Patch Changes
- a1a03d145: Import only the required functions from ramda.
## 2.1.2

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

28

lib/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {

@@ -28,3 +9,4 @@ return (mod && mod.__esModule) ? mod : { "default": mod };

const read_project_manifest_1 = require("@pnpm/read-project-manifest");
const R = __importStar(require("ramda"));
const fromPairs_1 = __importDefault(require("ramda/src/fromPairs"));
const omit_1 = __importDefault(require("ramda/src/omit"));
// property keys that are copied from publishConfig into the manifest

@@ -57,5 +39,5 @@ const PUBLISH_CONFIG_WHITELIST = new Set([

async function makePublishManifest(dir, originalManifest) {
const publishManifest = R.omit(['pnpm', 'scripts'], originalManifest);
const publishManifest = omit_1.default(['pnpm', 'scripts'], originalManifest);
if (originalManifest.scripts != null) {
publishManifest.scripts = R.omit(PREPUBLISH_SCRIPTS, originalManifest.scripts);
publishManifest.scripts = omit_1.default(PREPUBLISH_SCRIPTS, originalManifest.scripts);
}

@@ -82,3 +64,3 @@ for (const depsField of ['dependencies', 'devDependencies', 'optionalDependencies', 'peerDependencies']) {

return dependencies;
const publishDependencies = R.fromPairs(await Promise.all(Object.entries(dependencies)
const publishDependencies = fromPairs_1.default(await Promise.all(Object.entries(dependencies)
.map(async ([depName, depSpec]) => [

@@ -85,0 +67,0 @@ depName,

{
"name": "@pnpm/exportable-manifest",
"version": "2.1.2",
"version": "2.1.3",
"description": "Creates an exportable manifest",

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

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