Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ limitations under the License.
## Usage

```javascript
var moveProperty = require( '@stdlib/utils/move-property' );
var moveProperty = require( '@stdlib/object/move-property' );
```

#### moveProperty( source, prop, target )
Expand Down Expand Up @@ -96,7 +96,7 @@ var bool = moveProperty( obj1, 'c', obj2 );
<!-- eslint no-undef: "error" -->

```javascript
var moveProperty = require( '@stdlib/utils/move-property' );
var moveProperty = require( '@stdlib/object/move-property' );

var obj1 = {
'beep': 'boop'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
/**
* Move a property from one object to another object.
*
* @module @stdlib/utils/move-property
* @module @stdlib/object/move-property
*
* @example
* var moveProperty = require( '@stdlib/utils/move-property' );
* var moveProperty = require( '@stdlib/object/move-property' );
*
* var obj1 = { 'a': 'b' };
* var obj2 = {};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@stdlib/utils/move-property",
"name": "@stdlib/object/move-property",
"version": "0.0.0",
"description": "Move a property from one object to another object.",
"license": "Apache-2.0",
Expand Down Expand Up @@ -50,17 +50,12 @@
],
"keywords": [
"stdlib",
"stdutils",
"stdutil",
"util",
"utils",
"utility",
"utilities",
"stdobject",
"object",
"move",
"copy",
"property",
"prop",
"object",
"transfer",
"cp",
"mv",
Expand Down
3 changes: 0 additions & 3 deletions lib/node_modules/@stdlib/utils/README.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change should not have been made in this commit.

Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ The namespace has the following sub-namespaces:
- <span class="signature">[`mapKeys( obj, transform )`][@stdlib/utils/map-keys]</span><span class="delimiter">: </span><span class="description">map keys from one object to a new object having the same values.</span>
- <span class="signature">[`mapValues( obj, transform )`][@stdlib/utils/map-values]</span><span class="delimiter">: </span><span class="description">map values from one object to a new object having the same keys.</span>
- <span class="signature">[`merge( target, source1[, source2[,...,sourceN]] )`][@stdlib/utils/merge]</span><span class="delimiter">: </span><span class="description">merge and extend objects.</span>
- <span class="signature">[`moveProperty( source, prop, target )`][@stdlib/utils/move-property]</span><span class="delimiter">: </span><span class="description">move a property from one object to another object.</span>
- <span class="signature">[`nonEnumerablePropertiesIn( obj )`][@stdlib/utils/nonenumerable-properties-in]</span><span class="delimiter">: </span><span class="description">return an array of an object's own and inherited non-enumerable property names and symbols.</span>
- <span class="signature">[`nonEnumerableProperties( obj )`][@stdlib/utils/nonenumerable-properties]</span><span class="delimiter">: </span><span class="description">return an array of an object's own non-enumerable property names and symbols.</span>
- <span class="signature">[`nonEnumerablePropertyNamesIn( obj )`][@stdlib/utils/nonenumerable-property-names-in]</span><span class="delimiter">: </span><span class="description">return an array of an object's own and inherited non-enumerable property names.</span>
Expand Down Expand Up @@ -617,8 +616,6 @@ console.log( objectKeys( utils ) );

[@stdlib/utils/merge]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/utils/merge

[@stdlib/utils/move-property]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/utils/move-property

[@stdlib/utils/nonenumerable-properties-in]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/utils/nonenumerable-properties-in

[@stdlib/utils/nonenumerable-properties]: https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/utils/nonenumerable-properties
Expand Down
452 changes: 211 additions & 241 deletions lib/node_modules/@stdlib/utils/docs/types/index.d.ts

Large diffs are not rendered by default.

Loading