Socket
Socket
Sign inDemoInstall

xmcommon

Package Overview
Dependencies
2
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.21 to 0.0.22

.vs/ProjectSettings.json

2

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

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

@@ -34,2 +34,7 @@ # xmcommon

## 0.0.22
- 2019-07-04
- \* 修改index.d.ts,增加允许默认值参数定义
## 0.0.21

@@ -36,0 +41,0 @@

@@ -1064,3 +1064,3 @@ // Type definitions for xmcommon 0.0

*/
public constructor(paramValue: number | string | CNYCurrency | null | undefined);
public constructor(paramValue?: number | string | CNYCurrency | null | undefined);
/** 判断指定的对象,是不是指定的CNYCurrency对象 */

@@ -1083,3 +1083,3 @@ public static isCurrency(paramV: any): boolean;

*/
public assign(paramValue: number | string | CNYCurrency | null | undefined): CNYCurrency;
public assign(paramValue?: number | string | CNYCurrency | null | undefined): CNYCurrency;
/**

@@ -1163,4 +1163,4 @@ * 加一个值

*/
public format(paramUseSymbol: boolean, paramCNYsplit: boolean): string;
public format(paramUseSymbol?: boolean, paramCNYsplit?: boolean): string;
}
}

@@ -1,2 +0,2 @@

import {utils, MemorySize, getLogger, SimpleCode} from "xmcommon"
import {utils, MemorySize, getLogger, SimpleCode, CNYCurrency} from "xmcommon"
// import * as base64js from "base64-js";

@@ -12,1 +12,4 @@ // base64js.byteLength(""); // $ExpectType number

let v = getLogger(__filename);
let vv = new CNYCurrency();
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