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

@hashicorp/js-releases

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/js-releases - npm Package Compare versions

Comparing version 1.7.2 to 1.7.3

11

CHANGELOG.md

@@ -0,1 +1,12 @@

# 1.7.3 (2024-08-14)
ENHANCEMENTS
* feat: show requested version in error when none was matched by @ansgarm in https://github.com/hashicorp/js-releases/pull/250
BUG FIXES
* Bump axios to 1.7 by @jpogran in https://github.com/hashicorp/js-releases/pull/278
* Bump braces to 3.0.3 by @jpogran in https://github.com/hashicorp/js-releases/pull/279
# 1.7.2 (2023-11-27)

@@ -2,0 +13,0 @@

2

out/index.js

@@ -286,5 +286,5 @@ "use strict";

else {
throw new Error('No matching version found');
throw new Error(`No matching version found for constraint "${range}"`);
}
}
//# sourceMappingURL=index.js.map

@@ -110,3 +110,3 @@ "use strict";

const version = '1.2.7';
yield expect((0, index_1.getRelease)(name, version)).rejects.toThrow('No matching version found');
yield expect((0, index_1.getRelease)(name, version)).rejects.toThrow('No matching version found for constraint "1.2.7"');
}));

@@ -113,0 +113,0 @@ it('should filter invalid versions', () => __awaiter(void 0, void 0, void 0, function* () {

{
"name": "@hashicorp/js-releases",
"version": "1.7.2",
"version": "1.7.3",
"description": "Download packages from releases.hashicorp.com",

@@ -27,3 +27,3 @@ "main": "./out/index.js",

"dependencies": {
"axios": "^1.6.2",
"axios": "^1.7.4",
"https-proxy-agent": "^5.0.1",

@@ -30,0 +30,0 @@ "openpgp": "^5.5.0",

@@ -117,3 +117,3 @@ /**

const version = '1.2.7';
await expect(getRelease(name, version)).rejects.toThrow('No matching version found');
await expect(getRelease(name, version)).rejects.toThrow('No matching version found for constraint "1.2.7"');
});

@@ -120,0 +120,0 @@

@@ -321,4 +321,4 @@ /**

} else {
throw new Error('No matching version found');
throw new Error(`No matching version found for constraint "${range}"`);
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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