Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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.3.0 to 0.3.1

6

lib/yaml-crypt-helper.js

@@ -63,6 +63,10 @@ const yaml = require('js-yaml');

if (key === null) {
if (!key) {
throw new Error('No matching key to decrypt the given data!');
}
if (!encryptionKey) {
encryptionKey = key;
}
const reencrypt = (key !== encryptionKey);

@@ -69,0 +73,0 @@

2

package.json
{
"name": "yaml-crypt",
"version": "0.3.0",
"version": "0.3.1",
"description": "Encrypt and decrypt YAML documents",

@@ -5,0 +5,0 @@ "license": "MIT",

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