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

@exodus/atoms

Package Overview
Dependencies
Maintainers
87
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@exodus/atoms - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [6.0.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@6.0.0...@exodus/atoms@6.0.1) (2023-10-25)
### Bug Fixes
- **atom:** valueEmittedFromGet is not cleared in the observe ([#4566](https://github.com/ExodusMovement/exodus-hydra/issues/4566)) ([e1eb8a0](https://github.com/ExodusMovement/exodus-hydra/commit/e1eb8a0e690614c154c48cfed5dc5471eb06400a))
## [6.0.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@5.7.3...@exodus/atoms@6.0.0) (2023-10-21)

@@ -8,0 +14,0 @@

7

lib/enforce-rules.js

@@ -34,5 +34,8 @@ import makeConcurrent from 'make-concurrent';

return atom.observe((value) => {
if (valueEmittedFromGet && value === valueEmittedFromGet) {
if (valueEmittedFromGet) {
const isAlreadyEmitted = value === valueEmittedFromGet;
valueEmittedFromGet = undefined;
return;
if (isAlreadyEmitted) {
return;
}
}

@@ -39,0 +42,0 @@ return publishSerially(postProcessValue(value));

{
"name": "@exodus/atoms",
"version": "6.0.0",
"version": "6.0.1",
"main": "lib/index.js",

@@ -46,3 +46,3 @@ "description": "Abstraction for encapsulating a piece of data behind a simple unified interface: get, set, observe",

},
"gitHead": "127d91779b91ad17cb1dadbfccb7eb7559ecbf23"
"gitHead": "7ed0324ad76734e8bd9fddaa9da79ca1e44ad809"
}
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