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

@podium/client

Package Overview
Dependencies
Maintainers
6
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/client - npm Package Versions

1
20

5.0.7

Diff

Changelog

Source

5.0.7 (2024-02-01)

Bug Fixes

  • deps: update dependency @podium/utils to v5.0.2 (dd7af21)
trygve-bot
published 5.0.6 •

Changelog

Source

5.0.6 (2024-01-05)

Bug Fixes

  • log the full URI, not only the base (f42640e)
trygve-bot
published 5.0.5 •

Changelog

Source

5.0.5 (2023-12-13)

Bug Fixes

  • deps: update dependency undici to v6 (b0701be)
trygve-bot
published 5.0.4 •

Changelog

Source

5.0.4 (2023-12-08)

Bug Fixes

  • deps: update dependency @podium/utils to v5.0.1 (ea93a78)
trygve-bot
published 5.0.3 •

Changelog

Source

5.0.3 (2023-12-06)

Bug Fixes

  • export default now that package is esm (a1739e8)
trygve-bot
published 5.0.2 •

Changelog

Source

5.0.2 (2023-12-01)

Bug Fixes

  • Consume body on non 200 requests (ebfc8be)
trygve-bot
published 5.0.1 •

Changelog

Source

5.0.1 (2023-11-30)

Bug Fixes

trygve-bot
published 5.0.0 •

Changelog

Source

5.0.0 (2023-11-28)

Bug Fixes

  • deps: update dependency readable-stream to v4 (d3aff96)
  • deps: update dependency readable-stream to v4 (9c7303a)
  • Fix inspect method on response object (#294) (94d1485)

Features

  • Convert to ESM (#206) (d31298f)
  • Drop node 10.x support (a71c3b0)
  • Make HttpIncoming required first argument to .fetch() and .stream() (9b80ee7)
  • Remove .js() and .css() methods (#128) (db6d306)
  • Remove deprecated 'change' and 'dispose' events (#129) (449fff1)
  • replace request with undici for http requests (31163db)
  • Support new proxy structure in manifest (#295) (d8aa28a)
  • Use ES private properties instead of Symbols and defineProperty for privacy (#131) (2787a6c)
  • Use native streams (#215) (f949c9c)

BREAKING CHANGES

  • Convert from CommonJS to ESM

  • fix: Remove outcommented code

Co-authored-by: Trygve Lie trygve.lie@finn.no

  • Due to dropping node 10.x support we use ES private properties instead of Symbols and .defineProperty().

We've been using Symbols and .defineProperty() to define private properties in classes up until now. This has the downside that they are not true private and in later versions of node.js one would see these Symbols when inspecting an object. What we want is proper private properties.

This PR does also add a pretty printer which outputs an object literal or the object so when debugging one can see the getters and setters of the object.

Example: printing a object with console.log() would previously print the following:

PodiumClientResponse {
  [Symbol(podium:client:response:redirect)]: '',
  [Symbol(podium:client:response:content)]: '',
  [Symbol(podium:client:response:headers)]: {},
  [Symbol(podium:client:response:css)]: [],
  [Symbol(podium:client:response:js)]: []
}

Now the following will be printed:

{
  redirect: '',
  content: '',
  headers: {},
  css: [],
  js: []
}

Co-authored-by: Trygve Lie trygve.lie@finn.no

  • This removes the deprecated change and dispose events.

Resolves: https://github.com/podium-lib/issues/issues/24

  • chore: lint love

Co-authored-by: Trygve Lie trygve.lie@finn.no

  • Remove .js() and .css() methods to retrieve fetched js and css for all podlets. Also removes the resolveJs and resolveCss arguments when registering a podlet.

Resolves: https://github.com/podium-lib/issues/issues/25

Co-authored-by: Trygve Lie trygve.lie@finn.no

  • Only support node 12 and 14.
  • HttpIncoming must now be passed as the first argument to .fetch() and .stream()
trygve-bot
published 5.0.0-next.15 •

Changelog

Source

5.0.0-next.15 (2023-11-28)

Bug Fixes

  • deps: update dependency readable-stream to v4 (d3aff96)
  • deps: update dependency readable-stream to v4 (9c7303a)
trygve-bot
published 5.0.0-next.14 •

Changelog

Source

5.0.0-next.14 (2023-11-28)

Bug Fixes

  • deps: update dependency @metrics/client to v2.5.1 (c7f6b5b)
  • deps: update dependency @metrics/client to v2.5.2 (764886f)
  • deps: update dependency @podium/schemas to v4.1.33 (9ee1fba)
  • deps: update dependency @podium/schemas to v4.1.34 (e95650f)
  • deps: update dependency @podium/utils to v4.4.37 (6d7fa24)
  • deps: update dependency @podium/utils to v4.4.38 (05b14df)
  • deps: update dependency @podium/utils to v4.4.39 (39289a0)
  • deps: update dependency @podium/utils to v4.4.41 (e316c43)
  • deps: update dependency @podium/utils to v4.5.1 (3632899)
  • Replace .abort() with .destroy() (a41f44a)
  • return correct type in typescript definition. (#311) (e06f610)
  • Set log level for network errors to debug when throwable (#298) (3ba5d67)
  • update type definitions (d63a621)

Features

  • use manifest asset scope field to filter assets (fd83d64)
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