Comparing version 1.2.0 to 1.2.1
@@ -39,2 +39,8 @@ ## 1.0.0 | ||
- Add types for TypeScript usage. | ||
- Update license to 2020. | ||
- Update license to 2020. | ||
## 1.2.1 | ||
**2020-01-23** | ||
- Add guides for TypeScript usage. |
{ | ||
"name": "crypto-es", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "A cryptography algorithms library compatible with ES6 and TypeScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -18,8 +18,2 @@ # CryptoES | ||
or: | ||
``` | ||
npm i crypto-es --save | ||
``` | ||
--- | ||
@@ -59,8 +53,25 @@ | ||
## Blogs | ||
## TypeScript Usage | ||
[En](https://medium.com/front-end-weekly/refactoring-cryptojs-in-modern-ecmascript-1d4e1837c272) | ||
Make sure to add this entry to your package.json: | ||
[中文1](https://zhuanlan.zhihu.com/p/52165088) [中文2](https://zhuanlan.zhihu.com/p/53411829) | ||
``` | ||
{ | ||
"compilerOptions": { | ||
... | ||
"skipLibCheck": true, | ||
... | ||
} | ||
} | ||
``` | ||
If you want to have type checks, make sure to use overall import: | ||
``` | ||
import CryptoES from 'crypto-es'; | ||
``` | ||
## Guide | ||
@@ -446,1 +457,8 @@ | ||
## Blogs | ||
[Refactoring CryptoJS in Modern ECMAScript](https://medium.com/front-end-weekly/refactoring-cryptojs-in-modern-ecmascript-1d4e1837c272) | ||
[【重写 CryptoJS】一、ECMAScript 类与继承](https://zhuanlan.zhihu.com/p/52165088) | ||
[【重写 CryptoJS】二、WordArray 与位操作](https://zhuanlan.zhihu.com/p/53411829) |
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
198069
461