We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 42f4fc1 commit 0cd297cCopy full SHA for 0cd297c
lib/encrypted-attr.js
@@ -4,6 +4,7 @@ const alg = 'aes-256-gcm'
4
const crypto = require('crypto')
5
const get = require('lodash').get
6
const set = require('lodash').set
7
+const Buffer = require('safe-buffer').Buffer
8
9
function EncryptedAttributes (attributes, options) {
10
options = options || {}
package.json
@@ -15,7 +15,8 @@
15
"orm"
16
],
17
"dependencies": {
18
- "lodash": "^4.17.4"
+ "lodash": "^4.17.4",
19
+ "safe-buffer": "^5.1.1"
20
},
21
"devDependencies": {
22
"mocha": "^3.5.0",
0 commit comments