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

xmcommon

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmcommon - npm Package Compare versions

Comparing version 0.1.6 to 0.1.7

2

package.json
{
"name": "xmcommon",
"version": "0.1.6",
"version": "0.1.7",
"description": "javascript common lib for es6",

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

@@ -34,3 +34,3 @@ # xmcommon

## 0.1.5 - 0.1.6
## 0.1.5 - 0.1.7
- 2020-12-24

@@ -37,0 +37,0 @@ - \+ 增加fileExists判断文件或目录是否存在

@@ -372,3 +372,13 @@ // Type definitions for xmcommon 0.0

static fileExists(paramPath: string): boolean;
/**
* 原路径移动到新路径
* - 注:在windows下面,C盘或非同盘符的文件是改不了名的
* @param {String} paramOldFilename
* @param {String} paramNewFilename
* @return {{ret: boolean, errInfo: string}} 移动结果
* - ret = true 表示移动成功
* - ret = false 表示移动失败
* - errInfo 出错信息
*/
static renameFile(paramOldFilename: string, paramNewFilename: string): Promise<{ret: boolean, errInfo: string}>;
/**

@@ -375,0 +385,0 @@ * 创建目录

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