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

mazhansheng001

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mazhansheng001 - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

13

index.js

@@ -30,3 +30,8 @@ /*

module.exports = {
format,
phoneFormat,
randomCode,
pwdRegex
}
/*

@@ -39,7 +44,7 @@ 流程:

1.npm publish 上传失败
问题1:由于之前切换镜像,需将镜像切换至npm 镜像
问题1:由于之前切换镜像,需将镜像切换至 npm 镜像
npm config set registry https://registry.npmjs.org/
问题2: 包名在 npm 重复; 在 package.json 修改包名
问题 3:npm 登录失效;
npm whoami 命令 检测npm 登录状态 返回npm 用户名则登录,失效重新登录
问题3:npm 登录失效;
npm whoami 命令 检测npm 登录状态 返回npm 用户名则登录, 否则失效重新登录

@@ -46,0 +51,0 @@

{
"name": "mazhansheng001",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

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

<!--
1.注册 npm 账号
2.编写包
npm init -y 初始化生成 package.json 文件
1>.npm init -y 初始化生成 package.json 文件
3. 发包

@@ -6,0 +6,0 @@ 注意需要设置为npm镜像源:npm config set registry https://registry.npmjs.org/

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