Comparing version 0.9.1 to 0.9.2
@@ -12,2 +12,3 @@ import { SimpleCode, ISimpleCodeSeed, EnumSimpleCodeError } from './simplecode'; | ||
import { getLogger, ILog, logPrefix, setGetLogger } from './log'; | ||
export { utils, bitUtils, EnumBitConst, CNYCurrency, error_common, MemorySize, codeUtils, IMD5Options, datetimeUtils, DatetimeConstant, error_utils, common_ret, ICommonRetData, ICommonMsgHead, watchRequire, SimpleCode, ISimpleCodeSeed, EnumSimpleCodeError, getLogger, setGetLogger, ILog, logPrefix, }; | ||
import { EnumBufferSize, EnumBufferWapperError, BufferWapper } from './buffer_wapper'; | ||
export { utils, bitUtils, EnumBitConst, CNYCurrency, error_common, MemorySize, codeUtils, IMD5Options, datetimeUtils, DatetimeConstant, error_utils, common_ret, ICommonRetData, ICommonMsgHead, watchRequire, SimpleCode, ISimpleCodeSeed, EnumSimpleCodeError, EnumBufferSize, EnumBufferWapperError, BufferWapper, getLogger, setGetLogger, ILog, logPrefix, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.logPrefix = exports.setGetLogger = exports.getLogger = exports.EnumSimpleCodeError = exports.SimpleCode = exports.watchRequire = exports.common_ret = exports.error_utils = exports.DatetimeConstant = exports.datetimeUtils = exports.codeUtils = exports.MemorySize = exports.error_common = exports.CNYCurrency = exports.EnumBitConst = exports.bitUtils = exports.utils = void 0; | ||
exports.logPrefix = exports.setGetLogger = exports.getLogger = exports.BufferWapper = exports.EnumBufferWapperError = exports.EnumBufferSize = exports.EnumSimpleCodeError = exports.SimpleCode = exports.watchRequire = exports.common_ret = exports.error_utils = exports.DatetimeConstant = exports.datetimeUtils = exports.codeUtils = exports.MemorySize = exports.error_common = exports.CNYCurrency = exports.EnumBitConst = exports.bitUtils = exports.utils = void 0; | ||
const simplecode_1 = require("./simplecode"); | ||
@@ -32,1 +32,5 @@ Object.defineProperty(exports, "SimpleCode", { enumerable: true, get: function () { return simplecode_1.SimpleCode; } }); | ||
Object.defineProperty(exports, "setGetLogger", { enumerable: true, get: function () { return log_1.setGetLogger; } }); | ||
const buffer_wapper_1 = require("./buffer_wapper"); | ||
Object.defineProperty(exports, "EnumBufferSize", { enumerable: true, get: function () { return buffer_wapper_1.EnumBufferSize; } }); | ||
Object.defineProperty(exports, "EnumBufferWapperError", { enumerable: true, get: function () { return buffer_wapper_1.EnumBufferWapperError; } }); | ||
Object.defineProperty(exports, "BufferWapper", { enumerable: true, get: function () { return buffer_wapper_1.BufferWapper; } }); |
@@ -1,2 +0,2 @@ | ||
import {error_common} from './constant'; | ||
import { error_common } from './constant'; | ||
@@ -3,0 +3,0 @@ /** |
@@ -1,12 +0,14 @@ | ||
import {SimpleCode, ISimpleCodeSeed, EnumSimpleCodeError} from './simplecode'; | ||
import {common_ret, ICommonRetData, ICommonMsgHead} from './common_ret'; | ||
import {error_utils} from './common_error'; | ||
import {datetimeUtils} from './datetimeUtils'; | ||
import {codeUtils, IMD5Options} from './codeutils'; | ||
import {bitUtils, EnumBitConst} from './bitUtils'; | ||
import {utils} from './utils'; | ||
import {CNYCurrency} from './cnycurrency'; | ||
import {error_common, MemorySize, DatetimeConstant} from './constant'; | ||
import {watchRequire} from './watchrequire'; | ||
import {getLogger, ILog, logPrefix, setGetLogger} from './log'; | ||
import { SimpleCode, ISimpleCodeSeed, EnumSimpleCodeError } from './simplecode'; | ||
import { common_ret, ICommonRetData, ICommonMsgHead } from './common_ret'; | ||
import { error_utils } from './common_error'; | ||
import { datetimeUtils } from './datetimeUtils'; | ||
import { codeUtils, IMD5Options } from './codeutils'; | ||
import { bitUtils, EnumBitConst } from './bitUtils'; | ||
import { utils } from './utils'; | ||
import { CNYCurrency } from './cnycurrency'; | ||
import { error_common, MemorySize, DatetimeConstant } from './constant'; | ||
import { watchRequire } from './watchrequire'; | ||
import { getLogger, ILog, logPrefix, setGetLogger } from './log'; | ||
import { EnumBufferSize, EnumBufferWapperError, BufferWapper} from './buffer_wapper'; | ||
// 导出依赖包 | ||
@@ -30,3 +32,4 @@ export { | ||
EnumSimpleCodeError, | ||
EnumBufferSize, EnumBufferWapperError, BufferWapper, | ||
getLogger, setGetLogger, ILog, logPrefix, | ||
}; |
{ | ||
"name": "xmcommon", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"description": "javascript common lib for es6", | ||
@@ -34,6 +34,6 @@ "main": "./dist/index.js", | ||
"devDependencies": { | ||
"@types/lodash": "^4.14.168", | ||
"@types/lodash": "^4.14.172", | ||
"@types/node": "^10.17.59", | ||
"@typescript-eslint/eslint-plugin": "^4.29.2", | ||
"@typescript-eslint/parser": "^4.29.2", | ||
"@typescript-eslint/eslint-plugin": "^4.30.0", | ||
"@typescript-eslint/parser": "^4.30.0", | ||
"eslint": "^7.32.0", | ||
@@ -40,0 +40,0 @@ "eslint-config-google": "^0.14.0", |
@@ -36,13 +36,18 @@ # xmcommon | ||
- CNYCurrency 中文货币类 | ||
- BufferWapper 一个buffer读写的包装类 | ||
# 版本变更说明 | ||
## 0.9.2 | ||
- 2021-09-05 | ||
- \+ 增加一个BufferWapper类 | ||
## 0.9.1 | ||
- 2021-09-03 | ||
- * 解决不能引入的问题 | ||
- \* 解决不能引入的问题 | ||
## 0.9.0 | ||
- 2021-09-02 | ||
- * 将通用库使用typescript改写,改写量比较大,还没有全面的测试,这个版本请慎用,请尽量用0.1.9这个版本。 | ||
- * 增加一些单元测试例子 | ||
- \* 将通用库使用typescript改写,改写量比较大,还没有全面的测试,这个版本请慎用,请尽量用0.1.9这个版本。 | ||
- \* 增加一些单元测试例子 | ||
@@ -84,4 +89,4 @@ ## 0.1.9 | ||
- 2019-07-14 | ||
- 收到github提示,说依赖的lodash有问题,所以这里升级一下 lodash , 还是高级别的 | ||
- We found a potential security vulnerability in one of your dependencies. | ||
- \* 收到github提示,说依赖的lodash有问题,所以这里升级一下 lodash , 还是高级别的 | ||
- \* We found a potential security vulnerability in one of your dependencies. | ||
@@ -88,0 +93,0 @@ ## 0.1.0 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
279840
49
7631
262