Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@podium/client

Package Overview
Dependencies
Maintainers
0
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/client - npm Package Compare versions

Comparing version 5.2.5-beta.2 to 5.2.5-beta.3

8

CHANGELOG.md

@@ -1,2 +0,2 @@

## [5.2.5-beta.2](https://github.com/podium-lib/client/compare/v5.2.5-beta.1...v5.2.5-beta.2) (2025-01-13)
## [5.2.5-beta.3](https://github.com/podium-lib/client/compare/v5.2.5-beta.2...v5.2.5-beta.3) (2025-01-13)

@@ -6,5 +6,5 @@

* update @podium/http-client to version 1.0.0-beta.9 ([e64596a](https://github.com/podium-lib/client/commit/e64596a8bf194ecee5702f2dda61674c9a5f8772))
* correctly build asset urls from link headers ([#446](https://github.com/podium-lib/client/issues/446)) ([89f9e0b](https://github.com/podium-lib/client/commit/89f9e0b44f87c45c1459dce7e53db4fa7fc85d17))
## [5.2.5-beta.1](https://github.com/podium-lib/client/compare/v5.2.4...v5.2.5-beta.1) (2024-12-02)
## [5.2.5](https://github.com/podium-lib/client/compare/v5.2.4...v5.2.5) (2024-11-27)

@@ -14,3 +14,3 @@

* adding @podium/http-client beta ([e300bde](https://github.com/podium-lib/client/commit/e300bde2fd8e6356227e03a8d9ae847e509cd1f4))
* correctly build asset urls from link headers ([#446](https://github.com/podium-lib/client/issues/446)) ([5a30079](https://github.com/podium-lib/client/commit/5a30079fb47ee15a49ae6ff77348c400df3fe99a))

@@ -17,0 +17,0 @@ ## [5.2.4](https://github.com/podium-lib/client/compare/v5.2.3...v5.2.4) (2024-11-21)

@@ -168,3 +168,6 @@ import { pipeline } from 'stream';

const parsedAssetObjects = parseLinkHeaders(hdrs.link);
const parsedAssetObjects = parseLinkHeaders(
hdrs.link,
outgoing.manifestUri,
);

@@ -171,0 +174,0 @@ const scriptObjects = parsedAssetObjects.filter(

@@ -129,3 +129,6 @@ import abslog from 'abslog';

const parsedAssetObjects = parseLinkHeaders(resHeaders.link);
const parsedAssetObjects = parseLinkHeaders(
resHeaders.link,
outgoing.manifestUri,
);

@@ -132,0 +135,0 @@ const scriptObjects = parsedAssetObjects.filter(

@@ -1,2 +0,2 @@

import { AssetJs, AssetCss } from '@podium/utils';
import { AssetJs, AssetCss, uriRelativeToAbsolute } from '@podium/utils';

@@ -78,3 +78,3 @@ /**

// parse link headers in AssetCss and AssetJs objects
export const parseLinkHeaders = (headers) => {
export const parseLinkHeaders = (headers, manifestUri) => {
const links = [];

@@ -86,3 +86,6 @@

const [href, ...rest] = parts;
const value = href.replace(/<|>|"/g, '').trim();
const value = uriRelativeToAbsolute(
href.replace(/<|>|"/g, '').trim(),
manifestUri,
);

@@ -89,0 +92,0 @@ const asset = { value };

{
"name": "@podium/client",
"version": "5.2.5-beta.2",
"version": "5.2.5-beta.3",
"type": "module",

@@ -53,3 +53,3 @@ "license": "MIT",

"devDependencies": {
"@podium/eslint-config": "1.0.0",
"@podium/eslint-config": "1.0.5",
"@podium/semantic-release-config": "2.0.0",

@@ -66,11 +66,11 @@ "@podium/test-utils": "3.1.0-next.5",

"benchmark": "2.1.4",
"eslint": "9.6.0",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"express": "4.21.1",
"eslint-plugin-prettier": "5.2.1",
"express": "4.21.2",
"get-stream": "9.0.1",
"http-proxy": "1.18.1",
"is-stream": "4.0.1",
"npm-run-all2": "6.2.3",
"prettier": "3.3.2",
"npm-run-all2": "6.2.6",
"prettier": "3.4.2",
"semantic-release": "24.1.2",

@@ -77,0 +77,0 @@ "tap": "18.7.2",

@@ -5,5 +5,3 @@ # @podium/client v5

[![Dependencies](https://img.shields.io/david/podium-lib/client.svg)](https://david-dm.org/podium-lib/client)
[![GitHub Actions status](https://github.com/podium-lib/client/workflows/Run%20Lint%20and%20Tests/badge.svg)](https://github.com/podium-lib/client/actions?query=workflow%3A%22Run+Lint+and+Tests%22)
[![Known Vulnerabilities](https://snyk.io/test/github/podium-lib/client/badge.svg?targetFile=package.json)](https://snyk.io/test/github/podium-lib/client?targetFile=package.json)

@@ -10,0 +8,0 @@ This module is intended for internal use in Podium and is not a module an end

@@ -5,3 +5,3 @@ export function isHeaderDefined(headers: object, header: string): boolean;

export function filterAssets<T extends import("@podium/utils").AssetCss | import("@podium/utils").AssetJs>(scope: "content" | "fallback" | "all", assets: T[]): T[];
export function parseLinkHeaders(headers: any): any[];
export function parseLinkHeaders(headers: any, manifestUri: any): any[];
export function toPreloadAssetObjects(assetObjects: any): any;
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