@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
@@ -1,5 +1,6 @@
1
- import { isEqual } from 'lodash';
1
+ import lodash from 'lodash';
2
2
  import { isSetter } from '../utils/guards.js';
3
+ const { isEqual } = lodash;
3
4
  const dedupe = (atom) => {
4
5
  const set = (value) => {
5
6
  if (value === undefined)
@@ -1,5 +1,6 @@
1
1
  import assert from 'minimalistic-assert';
2
- import { isEqual as deepEqual } from 'lodash';
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 { get as getValueAtPath, isEqual } from 'lodash';
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.0",
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": "fcd5965484abd4f333448c9eaaf1f7fa6c4cb3f1"
49
+ "gitHead": "cc4ffeeeef57936f7396058959fa986bb7cd10a2"
50
50
  }