yaml-crypt
Advanced tools
Comparing version 0.5.1 to 0.5.2
@@ -42,3 +42,3 @@ const yaml = require("js-yaml"); | ||
for (const key in subobj) { | ||
if (subobj.hasOwnProperty(key)) { | ||
if (Object.prototype.hasOwnProperty.call(subobj, key)) { | ||
const value = subobj[key]; | ||
@@ -45,0 +45,0 @@ if (check(value)) { |
@@ -97,6 +97,6 @@ const { homedir } = require("os"); | ||
const result = Object.assign({}, opts); | ||
if (!result.hasOwnProperty("keys")) { | ||
if (!Object.prototype.hasOwnProperty.call(result, "keys")) { | ||
result.keys = keys; | ||
} | ||
if (!result.hasOwnProperty("encryptionKey")) { | ||
if (!Object.prototype.hasOwnProperty.call(result, "encryptionKey")) { | ||
result.encryptionKey = encryptionKey; | ||
@@ -103,0 +103,0 @@ } |
{ | ||
"name": "yaml-crypt", | ||
"version": "0.5.1", | ||
"version": "0.5.2", | ||
"description": "Encrypt and decrypt YAML documents", | ||
@@ -36,4 +36,4 @@ "license": "MIT", | ||
"chai": "^4.1.2", | ||
"coveralls": "^3.0.4", | ||
"eslint": "^5.16.0", | ||
"coveralls": "^3.0.5", | ||
"eslint": "^6.0.1", | ||
"mocha": "^6.1.4", | ||
@@ -40,0 +40,0 @@ "nyc": "^14.1.1", |
@@ -14,3 +14,3 @@ # yaml-crypt | ||
$ yarn global add yaml-crypt | ||
$ yaml-crypt --help | ||
$ yaml-crypt -h | ||
@@ -22,4 +22,8 @@ You can also install the package locally: | ||
$ yarn add yaml-crypt | ||
$ ./node_modules/.bin/yaml-crypt --help | ||
$ ./node_modules/.bin/yaml-crypt -h | ||
You can also use the [Docker image](https://hub.docker.com/r/autoapply/yaml-crypt/): | ||
$ docker run --rm autoapply/yaml-crypt -h | ||
## Usage | ||
@@ -26,0 +30,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
75658
27
106