New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pshregistry-parser

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pshregistry-parser - npm Package Compare versions

Comparing version 1.5.1 to 1.5.2

2

lib/registry-parser.js

@@ -157,3 +157,3 @@ 'use strict';

let registryData = this.parseRegistry(registrySource);
fs.writeFileSync(`${registryName[0]}.yaml`, yml.safeDump(registryData, {noRefs:true}), function (err) {
fs.writeFileSync(`${registryName[0]}.yaml`, yml.dump(registryData, {noRefs:true}), function (err) {
if (err) throw err;

@@ -160,0 +160,0 @@ });

{
"name": "pshregistry-parser",
"version": "1.5.1",
"version": "1.5.2",
"description": "Helper for library for accessing image data from the Platform.sh Registry and generating configuration files.",

@@ -35,3 +35,3 @@ "main": "lib/registry-parser.js",

"eslint": "^5.14.1",
"js-yaml": "^3.13.1",
"js-yaml": "^4.1.0",
"mocha": "^6.0.0"

@@ -38,0 +38,0 @@ },

@@ -157,3 +157,3 @@ 'use strict';

let registryData = this.parseRegistry(registrySource);
fs.writeFileSync(`${registryName[0]}.yaml`, yml.safeDump(registryData, {noRefs:true}), function (err) {
fs.writeFileSync(`${registryName[0]}.yaml`, yml.dump(registryData, {noRefs:true}), function (err) {
if (err) throw err;

@@ -160,0 +160,0 @@ });

@@ -60,3 +60,3 @@ 'use strict';

registry.writeRegistryYAML(registrySource);
let yamlRegistry = yaml.safeLoad(fs.readFileSync('test/testdata/valid.yaml', 'utf8'));
let yamlRegistry = yaml.load(fs.readFileSync('test/testdata/valid.yaml', 'utf8'));
assert.equal(yamlRegistry.elasticsearch.disk, true);

@@ -63,0 +63,0 @@ assert.equal(yamlRegistry.elasticsearch.endpoint, "elasticsearch");

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