@open-pioneer/core 4.7.0-dev.20260727091735 → 4.7.0
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 +21 -21
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
# @open-pioneer/core
|
|
2
2
|
|
|
3
|
-
## 4.7.0
|
|
3
|
+
## 4.7.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
7
|
- 7c7e6d1: Add shallowEqual and deepEqual helper function to compare two objects.
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
Examples:
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
|
|
11
|
+
```ts
|
|
12
|
+
import { shallowEqual, deepEqual } from "@open-pioneer/core";
|
|
13
13
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
14
|
+
shallowEqual({ a: 1 }, { a: 1 }); // true
|
|
15
|
+
shallowEqual({ a: { x: 1 } }, { a: { x: 1 } }); // false
|
|
16
|
+
deepEqual({ a: { x: 1 } }, { a: { x: 1 } }); // true
|
|
17
|
+
deepEqual([1, [2, 3]], [1, [2, 3]]); // true
|
|
18
|
+
```
|
|
19
19
|
|
|
20
20
|
- e433296: Update Chakra UI to 3.36.1
|
|
21
21
|
|
|
22
22
|
### Patch Changes
|
|
23
23
|
|
|
24
|
-
- 9d84f1e: Migrated from eslint to oxlint.
|
|
24
|
+
- 9d84f1e: Migrated from eslint to oxlint and from prettier to oxfmt.
|
|
25
25
|
- 78aad9d: Refactor: use private javascript properties instead of typescript private keyword.
|
|
26
26
|
|
|
27
27
|
## 4.6.0
|
|
@@ -85,13 +85,13 @@
|
|
|
85
85
|
### Major Changes
|
|
86
86
|
|
|
87
87
|
- 9477e54: Update dependencies
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
88
|
+
- React 19
|
|
89
|
+
- Vite 6
|
|
90
|
+
- FormatJS 3
|
|
91
|
+
- Open Pioneer Build Tools
|
|
92
|
+
- ...
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
For more details, see https://github.com/open-pioneer/trails-core-packages/pull/81
|
|
95
95
|
|
|
96
96
|
## 2.4.0
|
|
97
97
|
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
|
|
100
100
|
- e3802fb: Introduce the `NumberParser` class for parsing strings in a specified locale.
|
|
101
101
|
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
```js
|
|
103
|
+
import { NumberParser } from "@open-pioneer/core";
|
|
104
104
|
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
105
|
+
const parser = new NumberParser("de-DE");
|
|
106
|
+
const number = parser.parse("1.234,56");
|
|
107
|
+
```
|
|
108
108
|
|
|
109
109
|
### Patch Changes
|
|
110
110
|
|
package/package.json
CHANGED