@podium/client
Advanced tools
Comparing version 5.0.0-next.3 to 5.0.0-next.4
@@ -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 @@ |
@@ -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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80210
1384