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

@zkochan/cmd-shim

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zkochan/cmd-shim - npm Package Compare versions

Comparing version 4.3.0 to 5.0.0

6

index.js
'use strict';
cmdShim.ifExists = cmdShimIfExists;
const util_1 = require("util");
const makeDir = require("make-dir");
const path = require("path");

@@ -30,5 +29,6 @@ const isWindows = require("is-windows");

chmod: fs.chmod ? util_1.promisify(fs.chmod) : (async () => { }),
mkdir: util_1.promisify(fs.mkdir),
readFile: util_1.promisify(fs.readFile),
stat: util_1.promisify(fs.stat),
unlink: util_1.promisify(fs.unlink),
readFile: util_1.promisify(fs.readFile),
writeFile: util_1.promisify(fs.writeFile)

@@ -97,3 +97,3 @@ };

function writeShimsPreCommon(target, opts) {
return makeDir(path.dirname(target), { fs: opts.fs });
return opts.fs_.mkdir(path.dirname(target), { recursive: true });
}

@@ -100,0 +100,0 @@ /**

{
"name": "@zkochan/cmd-shim",
"version": "4.3.0",
"version": "5.0.0",
"description": "Used in pnpm for command line application support",

@@ -30,19 +30,17 @@ "author": {

"dependencies": {
"is-windows": "^1.0.2",
"make-dir": "^3.0.0"
"is-windows": "^1.0.2"
},
"devDependencies": {
"@types/is-windows": "^0.2.0",
"@types/node": "^12.7.2",
"jest": "^25.1.0",
"lodash": "^4.17.15",
"memory-fs": "^0.4.1",
"mock-fs": "^4.10.1",
"@types/is-windows": "^1.0.0",
"@types/node": "^14.0.13",
"jest": "^26.0.1",
"memfs": "^3.2.0",
"mock-fs": "^4.12.0",
"mos": "^1.3.1",
"mos-plugin-readme": "^1.0.4",
"standard": "^14.0.2",
"typescript": "^3.7.4"
"standard": "^14.3.4",
"typescript": "^3.9.5"
},
"engines": {
"node": ">=8.15"
"node": ">=10.13"
},

@@ -49,0 +47,0 @@ "mos": {

Sorry, the diff of this file is not supported yet

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