Skip to content

Commit 6a80d06

Browse files
committed
Auto-generated commit
1 parent dbd4216 commit 6a80d06

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2026-01-14)
7+
## Unreleased (2026-01-16)
88

99
<section class="features">
1010

@@ -59,6 +59,7 @@
5959

6060
<details>
6161

62+
- [`57ab662`](https://github.com/stdlib-js/stdlib/commit/57ab662159582de03be649f2414066a5387b8fd2) - **docs:** update description in `object/deep-set` [(#9735)](https://github.com/stdlib-js/stdlib/pull/9735) _(by Neeraj Pathak, Athan Reines)_
6263
- [`fb171e3`](https://github.com/stdlib-js/stdlib/commit/fb171e313f8973bd4cd7d873f89f8b248b2cf14e) - **refactor:** update paths _(by Neeraj Pathak)_
6364
- [`2e20261`](https://github.com/stdlib-js/stdlib/commit/2e202614b34a0dedadc99d69ae8516d2f2524710) - **feat:** add `object/deep-set` _(by Neeraj Pathak)_
6465
- [`bfbb4d1`](https://github.com/stdlib-js/stdlib/commit/bfbb4d12bfeed5c11da8384a5ab94935259eec82) - **feat:** add `object/deep-get` _(by Neeraj Pathak)_

deep-set/docs/repl.txt

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,20 +30,21 @@
3030

3131
Examples
3232
--------
33-
> var obj = { 'a': { 'b': { 'c': 'd' } } };
34-
> var bool = {{alias}}( obj, 'a.b.c', 'beep' )
33+
> var obj1 = { 'a': { 'b': { 'c': 'd' } } };
34+
> var bool = {{alias}}( obj1, 'a.b.c', 'beep' )
3535
true
3636

3737
// Specify an alternative separator via the sep option:
38-
> obj = { 'a': { 'b': { 'c': 'd' } } };
39-
> bool = {{alias}}( obj, 'a/b/c', 'beep', { 'sep': '/' } );
40-
> obj
38+
> var obj2 = { 'a': { 'b': { 'c': 'd' } } };
39+
> bool = {{alias}}( obj2, 'a/b/c', 'beep', { 'sep': '/' } );
40+
> obj2
4141
{ 'a': { 'b': { 'c': 'beep' } } }
4242

4343
// To create a key path which does not exist, set the create option to true:
44-
> bool = {{alias}}( obj, 'a.e.c', 'boop', { 'create': true } );
45-
> obj
46-
{ 'a': { 'b': { 'c': 'beep' }, 'e': { 'c': 'boop' } } }
44+
> var obj3 = { 'a': { 'b': { 'c': 'd' } } };
45+
> bool = {{alias}}( obj3, 'a.e.c', 'boop', { 'create': true } );
46+
> obj3
47+
{ 'a': { 'b': { 'c': 'd' }, 'e': { 'c': 'boop' } } }
4748

4849

4950
{{alias}}.factory( path[, options] )
@@ -67,7 +68,7 @@
6768
Returns
6869
-------
6970
out: Function
70-
Deep get function.
71+
Deep set function.
7172

7273
Examples
7374
--------

0 commit comments

Comments
 (0)