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
196
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.0.0-next.3 to 5.0.0-next.4

18

CHANGELOG.md

@@ -0,1 +1,19 @@

# [5.0.0-next.4](https://github.com/podium-lib/client/compare/v5.0.0-next.3...v5.0.0-next.4) (2020-07-16)
### Features
* Remove deprecated 'change' and 'dispose' events ([#129](https://github.com/podium-lib/client/issues/129)) ([449fff1](https://github.com/podium-lib/client/commit/449fff13323d4f7f76fd406dbee1f2532701916b))
### BREAKING CHANGES
* 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>
# [5.0.0-next.3](https://github.com/podium-lib/client/compare/v5.0.0-next.2...v5.0.0-next.3) (2020-07-16)

@@ -2,0 +20,0 @@

14

lib/client.js

@@ -18,3 +18,2 @@ /* eslint-disable import/order */

const State = require('./state');
const utils = require('./utils');

@@ -94,17 +93,6 @@ const _resources = Symbol('podium:client:resources');

// TODO; Deprecate the "change" event
this[_registry].on('set', (key, item) => {
/* istanbul ignore next */
if (utils.hasManifestChange(item)) {
this.emit('change', item.newVal);
}
this[_registry].on('set', () => {
this[_state].setUnstableState();
});
// TODO; Deprecate the "dispose" event
this[_registry].on('dispose', key => {
this.emit('dispose', key);
});
this[_metrics] = new Metrics();

@@ -111,0 +99,0 @@ this[_metrics].on('error', error => {

{
"name": "@podium/client",
"version": "5.0.0-next.3",
"version": "5.0.0-next.4",
"main": "lib/client.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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