@medux/dev-utils
Advanced tools
Sorry, the diff of this file is not supported yet
@@ -1,1 +0,1 @@ | ||
| export declare function patch(_tsconfig?: string | Object, _entryFilePath?: string, _rewrite?: boolean): void; | ||
| export declare function patch(_tsconfig?: string | Object, _entryFilePath?: string, _echo?: boolean): void; |
@@ -8,3 +8,3 @@ "use strict"; | ||
| const chalk = require("chalk"); | ||
| function patch(_tsconfig, _entryFilePath, _rewrite) { | ||
| function patch(_tsconfig, _entryFilePath, _echo) { | ||
| const RootPath = process.cwd(); | ||
@@ -39,3 +39,3 @@ let tsconfig; | ||
| const json2 = `'${JSON.stringify(actions)}'`; | ||
| if (!_rewrite) { | ||
| if (_echo) { | ||
| console.info(json2); | ||
@@ -42,0 +42,0 @@ } |
+2
-2
| { | ||
| "name": "@medux/dev-utils", | ||
| "version": "3.0.0", | ||
| "version": "3.0.1", | ||
| "description": "Common development tools.", | ||
@@ -15,3 +15,3 @@ "repository": "https://github.com/wooline/medux/tree/master/packages/dev-utils", | ||
| "bin": { | ||
| "patchActions": "./bin/patchActions" | ||
| "medux-patch-actions": "./bin/patch-actions" | ||
| }, | ||
@@ -18,0 +18,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
4155
-0.22%