Skip to content

Commit c3f3cc1

Browse files
committed
Upgraded Node version to 12
1 parent d655cce commit c3f3cc1

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ AES-256-CBC encryption-at-rest for strings.
1414

1515
```js
1616
var mongoose = require('mongoose');
17-
const encryptedString = require('../mongoose-encryptedstring');
17+
const encryptedString = require('@tsmx/mongoose-encryptedstring');
1818
const key = 'YOUR KEY HERE';
1919

2020
// register the new type EncryptedString

package.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"version": "1.0.0",
44
"description": "EncryptedString type for Mongoose schemas.",
55
"main": "mongoose-encryptedstring.js",
6+
"engines": {
7+
"node": ">=12.0.0",
8+
"npm": ">=6.0.0"
9+
},
610
"scripts": {
711
"test": "jest",
812
"test-coverage": "jest --coverage",

0 commit comments

Comments
 (0)