Socket
Socket
Sign inDemoInstall

@snyk/docker-registry-v2-client

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@snyk/docker-registry-v2-client - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

15

dist/registry-call.js

@@ -128,3 +128,4 @@ "use strict";

}
config.uri = location;
const redirectUrl = assertFullUrl(location, config.uri);
config.uri = redirectUrl;
return await needle_1.needleWrapper(config);

@@ -178,2 +179,14 @@ }

}
function assertFullUrl(redirectLocation, originalLocation) {
let redirectUrl;
try {
redirectUrl = new URL(redirectLocation);
}
catch (_a) {
// in case the location is not a proper URL (contains just the path), attach the original URL's origin
const originalUrl = new URL(originalLocation);
redirectUrl = new URL(redirectLocation, originalUrl.origin);
}
return redirectUrl.href;
}
//# sourceMappingURL=registry-call.js.map

2

package.json

@@ -45,3 +45,3 @@ {

},
"version": "2.2.2"
"version": "2.2.3"
}

Sorry, the diff of this file is not supported yet

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