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

mtpr

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mtpr - npm Package Compare versions

Comparing version 1.0.17 to 1.0.18

3

bin/mtpr.js

@@ -64,3 +64,3 @@ #!/usr/bin/env node

if (reviewersPathStr) {
if (!/^(\/ | \w:).+/i.test(reviewersPathStr)) {
if (!/^(\/|\w:).+/i.test(reviewersPathStr)) {
var prePath = projectPath;

@@ -202,3 +202,2 @@ var fileStr = reviewersPathStr;

console.log(err);
console.log(1);
return [];

@@ -205,0 +204,0 @@ })

{
"name": "mtpr",
"version": "1.0.17",
"version": "1.0.18",
"description": "美团使用提交pr命令行工具",

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

@@ -66,3 +66,3 @@ /**

if (reviewersPathStr) {
if (!/^(\/ | \w:).+/i.test(reviewersPathStr)) {
if (!/^(\/|\w:).+/i.test(reviewersPathStr)) {
var prePath = Config.ProjectPath;

@@ -69,0 +69,0 @@ var fileStr = reviewersPathStr;

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