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

mrm

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mrm - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

## [3.0.2](https://github.com/sapegin/mrm/compare/mrm@3.0.1...mrm@3.0.2) (2021-05-20)
### Bug Fixes
* Correct preset loading priority and npm binary resolution ([#163](https://github.com/sapegin/mrm/issues/163)) ([5208741](https://github.com/sapegin/mrm/commit/52087415dd9620153b0caf92898cf6eeb4500bcb)), closes [#159](https://github.com/sapegin/mrm/issues/159)
## [3.0.1](https://github.com/sapegin/mrm/compare/mrm@3.0.0...mrm@3.0.1) (2021-04-07)

@@ -8,0 +19,0 @@

7

package.json
{
"name": "mrm",
"version": "3.0.1",
"version": "3.0.2",
"description": "Codemods for your project config files",

@@ -37,3 +37,4 @@ "author": {

"user-home": "^2.0.0",
"user-meta": "^1.0.0"
"user-meta": "^1.0.0",
"which": "^2.0.2"
},

@@ -57,3 +58,3 @@ "keywords": [

],
"gitHead": "ca485fb1b3dc7c36f67773ed0f6980126e2fbf3e"
"gitHead": "be05b88100fb2c8d46e32bcac78dc89034f924d7"
}

@@ -9,2 +9,3 @@ // @ts-check

const inquirer = require('inquirer');
const which = require('which');
const {

@@ -147,4 +148,4 @@ MrmUnknownTask,

() => require.resolve(taskPackageName),
() => resolveUsingNpx(taskPackageName),
() => require.resolve(taskName),
() => resolveUsingNpx(taskPackageName),
() => resolveUsingNpx(taskName),

@@ -314,3 +315,3 @@ ]);

async function resolveUsingNpx(packageName) {
const npm = path.join(path.dirname(process.execPath), 'npm');
const npm = which.sync('npm');
const { prefix } = await npx._ensurePackages(packageName, { npm, q: true });

@@ -317,0 +318,0 @@ const packagePath = path.join(prefix, 'lib', 'node_modules', packageName);

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