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

7

lib/images.js

@@ -145,3 +145,8 @@ 'use strict';

// in which case, use deprecated versions
const versionArray = this.supported.length > 0 ? this.supported : this.deprecated
const getVersionArray = () => {
if (this.supported.length > 0) return this.supported
if (this["versions-dedicated"]?.supported) return this["versions-dedicated"].supported
return this.deprecated
}
const versionArray = getVersionArray();

@@ -148,0 +153,0 @@ for(let version of versionArray) {

2

package.json
{
"name": "pshregistry-parser",
"version": "1.3.0",
"version": "1.4.0",
"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",

@@ -145,3 +145,8 @@ 'use strict';

// in which case, use deprecated versions
const versionArray = this.supported.length > 0 ? this.supported : this.deprecated
const getVersionArray = () => {
if (this.supported.length > 0) return this.supported
if (this["versions-dedicated"]?.supported) return this["versions-dedicated"].supported
return this.deprecated
}
const versionArray = getVersionArray();

@@ -148,0 +153,0 @@ for(let version of versionArray) {

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