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

@yarnpkg/pnpify

Package Overview
Dependencies
Maintainers
5
Versions
141
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@yarnpkg/pnpify - npm Package Compare versions

Comparing version 2.0.0-rc.6 to 2.0.0-rc.7

8

lib/generateSdk.js
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const fslib_1 = require("@yarnpkg/fslib");
const json5_1 = __importDefault(require("json5"));
const dynamicRequire_1 = require("./dynamicRequire");

@@ -28,4 +32,4 @@ const TEMPLATE = (relPnpApiPath, module, { usePnpify }) => [

const content = await fslib_1.xfs.existsPromise(settingsPath) ? await fslib_1.xfs.readFilePromise(settingsPath, `utf8`) : `{}`;
const data = JSON.parse(content);
const patched = `${JSON.stringify(Object.assign(Object.assign({}, data), settings), null, 2)}\n`;
const data = json5_1.default.parse(content);
const patched = `${json5_1.default.stringify(Object.assign(Object.assign({}, data), settings), null, 2)}\n`;
await fslib_1.xfs.mkdirpPromise(fslib_1.ppath.dirname(settingsPath));

@@ -32,0 +36,0 @@ await fslib_1.xfs.changeFilePromise(settingsPath, patched);

{
"name": "@yarnpkg/pnpify",
"version": "2.0.0-rc.6",
"version": "2.0.0-rc.7",
"main": "./lib/index.js",

@@ -8,8 +8,9 @@ "bin": "./lib/cli.js",

"dependencies": {
"@yarnpkg/fslib": "2.0.0-rc.4",
"cross-spawn": "^6.0.5"
"@yarnpkg/fslib": "2.0.0-rc.5",
"cross-spawn": "^6.0.5",
"json5": "^2.1.0"
},
"devDependencies": {
"@yarnpkg/monorepo": "0.0.0",
"@yarnpkg/pnp": "2.0.0-rc.5",
"@yarnpkg/pnp": "2.0.0-rc.6",
"eslint": "^5.16.0",

@@ -16,0 +17,0 @@ "typescript": "next"

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