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.0.3 to 1.0.4

4

CHANGELOG.md

@@ -7,2 +7,6 @@ # Changelog

## [1.0.4] - 2019-09-09
### Changed
- The relationship and service name for `redis-persistent` are updated to match new naming convention for Platform.sh documentation.
## [1.0.3] - 2019-09-09

@@ -9,0 +13,0 @@ ### Added

4

lib/registry-parser.js

@@ -83,4 +83,4 @@ 'use strict';

"docs": {
"relationship_name": "applicationdata",
"service_name": "redisdata",
"relationship_name": "redisdata",
"service_name": "data",
"url": "\/configuration\/services\/redis.html"

@@ -87,0 +87,0 @@ }

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

@@ -5,0 +5,0 @@ "main": "lib/registry-parser.js",

@@ -83,4 +83,4 @@ 'use strict';

"docs": {
"relationship_name": "applicationdata",
"service_name": "redisdata",
"relationship_name": "redisdata",
"service_name": "data",
"url": "\/configuration\/services\/redis.html"

@@ -87,0 +87,0 @@ }

@@ -146,4 +146,4 @@ 'use strict';

assert.equal(cg.images["redis-persistent"].disk, true);
assert.equal(cg.images["redis-persistent"].docs.relationship_name, "applicationdata");
assert.equal(cg.images["redis-persistent"].docs.service_name, "redisdata");
assert.equal(cg.images["redis-persistent"].docs.relationship_name, "redisdata");
assert.equal(cg.images["redis-persistent"].docs.service_name, "data");
});

@@ -429,3 +429,3 @@ })

let cg = new psh.RegistryParser(registrySource);
let expected = `redisdata:
let expected = `data:
type: redis-persistent:5.0

@@ -446,3 +446,3 @@ disk: 256`;

# cases this is simply the same as the service 'type', but there are a few exceptions.
applicationdata: "redisdata:redis"`;
redisdata: "data:redis"`;
assert.equal(expected, cg.images["redis-persistent"].config.app.commented);

@@ -449,0 +449,0 @@ assert.equal(expected, fs.readFileSync('test/testdata/examples/commented/redis-persistent.app.yaml', 'utf8'));

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