@exodus/atoms 7.5.0 → 7.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.5.1](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@7.5.0...@exodus/atoms@7.5.1) (2024-07-02)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/atoms
|
|
9
|
+
|
|
6
10
|
## [7.5.0](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/atoms@7.4.1...@exodus/atoms@7.5.0) (2024-06-20)
|
|
7
11
|
|
|
8
12
|
### Features
|
package/lib/enhancers/dedupe.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import assert from 'minimalistic-assert';
|
|
2
|
-
import
|
|
2
|
+
import lodash from 'lodash';
|
|
3
|
+
const { isEqual: deepEqual } = lodash;
|
|
3
4
|
const STRINGIFY_LIMIT = 1000;
|
|
4
5
|
const limitedStringify = (obj, limit = STRINGIFY_LIMIT) => {
|
|
5
6
|
let count = 0;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import lodash from 'lodash';
|
|
2
2
|
import createSimpleObserver from '../simple-observer.js';
|
|
3
3
|
import enforceObservableRules from '../enforce-rules.js';
|
|
4
|
+
const { get: getValueAtPath, isEqual } = lodash;
|
|
4
5
|
const createRemoteConfigAtomFactory = ({ remoteConfig }) => ({ defaultValue, ...params }) => {
|
|
5
6
|
if ('path' in params && 'selector' in params) {
|
|
6
7
|
throw new Error('Provide either a path or a selector to get data from remote config - not both.');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/atoms",
|
|
3
|
-
"version": "7.5.
|
|
3
|
+
"version": "7.5.1",
|
|
4
4
|
"description": "Abstraction for encapsulating a piece of data behind a simple unified interface: get, set, observe",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"@types/lodash": "^4.14.200",
|
|
47
47
|
"@types/minimalistic-assert": "^1.0.2"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "cc4ffeeeef57936f7396058959fa986bb7cd10a2"
|
|
50
50
|
}
|