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

@backstage/release-manifests

Package Overview
Dependencies
Maintainers
4
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@backstage/release-manifests - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6-next.0

6

CHANGELOG.md
# @backstage/release-manifests
## 0.0.6-next.0
### Patch Changes
- bf5e9030eb: Updated dependency `msw` to `^0.45.0`.
## 0.0.5

@@ -4,0 +10,0 @@

16

dist/index.cjs.js

@@ -13,3 +13,5 @@ 'use strict';

async function getManifestByVersion(options) {
const url = `${VERSIONS_DOMAIN}/v1/releases/${encodeURIComponent(options.version)}/manifest.json`;
const url = `${VERSIONS_DOMAIN}/v1/releases/${encodeURIComponent(
options.version
)}/manifest.json`;
const response = await fetch__default["default"](url);

@@ -20,3 +22,5 @@ if (response.status === 404) {

if (response.status !== 200) {
throw new Error(`Unexpected response status ${response.status} when fetching release from ${url}.`);
throw new Error(
`Unexpected response status ${response.status} when fetching release from ${url}.`
);
}

@@ -26,3 +30,5 @@ return await response.json();

async function getManifestByReleaseLine(options) {
const url = `${VERSIONS_DOMAIN}/v1/tags/${encodeURIComponent(options.releaseLine)}/manifest.json`;
const url = `${VERSIONS_DOMAIN}/v1/tags/${encodeURIComponent(
options.releaseLine
)}/manifest.json`;
const response = await fetch__default["default"](url);

@@ -33,3 +39,5 @@ if (response.status === 404) {

if (response.status !== 200) {
throw new Error(`Unexpected response status ${response.status} when fetching release from ${url}.`);
throw new Error(
`Unexpected response status ${response.status} when fetching release from ${url}.`
);
}

@@ -36,0 +44,0 @@ return await response.json();

@@ -5,3 +5,5 @@ import fetch from 'cross-fetch';

async function getManifestByVersion(options) {
const url = `${VERSIONS_DOMAIN}/v1/releases/${encodeURIComponent(options.version)}/manifest.json`;
const url = `${VERSIONS_DOMAIN}/v1/releases/${encodeURIComponent(
options.version
)}/manifest.json`;
const response = await fetch(url);

@@ -12,3 +14,5 @@ if (response.status === 404) {

if (response.status !== 200) {
throw new Error(`Unexpected response status ${response.status} when fetching release from ${url}.`);
throw new Error(
`Unexpected response status ${response.status} when fetching release from ${url}.`
);
}

@@ -18,3 +22,5 @@ return await response.json();

async function getManifestByReleaseLine(options) {
const url = `${VERSIONS_DOMAIN}/v1/tags/${encodeURIComponent(options.releaseLine)}/manifest.json`;
const url = `${VERSIONS_DOMAIN}/v1/tags/${encodeURIComponent(
options.releaseLine
)}/manifest.json`;
const response = await fetch(url);

@@ -25,3 +31,5 @@ if (response.status === 404) {

if (response.status !== 200) {
throw new Error(`Unexpected response status ${response.status} when fetching release from ${url}.`);
throw new Error(
`Unexpected response status ${response.status} when fetching release from ${url}.`
);
}

@@ -28,0 +36,0 @@ return await response.json();

{
"name": "@backstage/release-manifests",
"description": "Helper library for receiving release manifests",
"version": "0.0.5",
"version": "0.0.6-next.0",
"private": false,

@@ -39,6 +39,6 @@ "main": "dist/index.cjs.js",

"devDependencies": {
"@backstage/test-utils": "^1.1.2",
"@backstage/test-utils": "^1.1.4-next.0",
"@types/jest": "^26.0.7",
"@types/node": "^16.0.0",
"msw": "^0.44.0"
"msw": "^0.45.0"
},

@@ -48,4 +48,4 @@ "files": [

],
"gitHead": "999878d8f1ae30f6a15925816af2016cb9d717a1",
"gitHead": "c6c0b1978a7ab4d29d813996c56beb7e6b48a268",
"module": "dist/index.esm.js"
}

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