Socket
Socket
Sign inDemoInstall

@wulechuan/cli-scripts--npm-project-helpers

Package Overview
Dependencies
7
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.7 to 1.0.8

2

package.json
{
"name": "@wulechuan/cli-scripts--npm-project-helpers",
"version": "1.0.7",
"version": "1.0.8",
"author": "吴乐川 <wulechuan@live.com>",

@@ -5,0 +5,0 @@ "license": "WTFPL",

@@ -615,2 +615,3 @@ /**

本工具集一切命令行消息之前缀,
本工具集自身的_packageJSON,

@@ -807,2 +808,3 @@ 原始范本文件之内容全文之逐行内容列表,

* @param {string} 配置项集.本工具集一切命令行消息之前缀
* @param {范_本工具集自身的_packageJSON} 配置项集.本工具集自身的_packageJSON
*

@@ -826,2 +828,3 @@ * @param {string[]} 配置项集.原始范本文件之内容全文之逐行内容列表

本工具集一切命令行消息之前缀,
本工具集自身的_packageJSON,

@@ -967,2 +970,18 @@ 原始范本文件之内容全文之逐行内容列表,

if (待处理的依赖包之种类 === '研发级') {
const 本工具集自身之名称 = 本工具集自身的_packageJSON.name
const 本工具集自身之版本 = 本工具集自身的_packageJSON.version
if (!(本工具集自身之名称 in packageJSON_中本次所需处理的依赖包的配置集)) {
/**
* 在某 npm 项目(暂称甲)中安装本工具集刚完成时,
* npm 就会运行本工具的安装脚本。
* 此时,甲的 package.json 中往往还未提及本工具集。
*/
packageJSON_中本次所需处理的依赖包的配置集[本工具集自身之名称] = `^${本工具集自身之版本}`
}
}
const 唯一匹配到的标记文字所在行的列表编号 = 匹配到标记文字的行的编号之列表[0]

@@ -969,0 +988,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc