vue-cryptojs 2.4.4 → 2.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,12 @@
1
1
  # vue-cryptojs
2
2
  A small wrapper for integrating crypto-js into Vue3 and Vue2
3
3
 
4
+ ## Discontinued
5
+
6
+ Active development of Vue-CryptoJS has been discontinued. This library is no longer maintained.
7
+
8
+ Nowadays, NodeJS and modern browsers have a native `Crypto` module. The latest version of CryptoJS already uses the native Crypto module for random number generation, since `Math.random()` is not crypto-safe. Further development of CryptoJS would result in it only being a wrapper of native Crypto. Therefore, development and maintenance has been discontinued, it is time to go for the native `crypto` module.
9
+
4
10
  ## How to install:
5
11
  ```bash
6
12
  npm install vue-cryptojs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-cryptojs",
3
- "version": "2.4.4",
3
+ "version": "2.4.6",
4
4
  "description": "A small wrapper for integrating crypto-js into VueJS",
5
5
  "main": "dist/vue-cryptojs.min.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  "@babel/core": "^7.18.2",
30
30
  "@babel/preset-env": "^7.10.4",
31
31
  "babel-preset-minify": "^0.5.2",
32
- "vue": "^2.6.11"
32
+ "vue": "2.6.11"
33
33
  },
34
34
  "dependencies": {
35
35
  "crypto-js": "^4.0.0"
package/test/index.mjs CHANGED
@@ -12,4 +12,5 @@ const test = new Vue({
12
12
  }
13
13
  }
14
14
  })
15
- test.run()
15
+
16
+ test.run()