Socket
Socket
Sign inDemoInstall

yaml-crypt

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yaml-crypt - npm Package Compare versions

Comparing version 0.5.1 to 0.5.2

Dockerfile

2

lib/utils.js

@@ -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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc