Skip to content

Commit

Permalink
docs: remove empty lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Aug 2, 2023
1 parent 86c3668 commit ad751be
Show file tree
Hide file tree
Showing 28 changed files with 0 additions and 28 deletions.
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/copy/lib/deep_copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ var typedArrays = require( './typed_arrays.js' );
* - This should **only** be used for simple cases. Any instances with privileged access to variables (e.g., within closures) cannot be cloned. This approach should be considered **fragile**.
* - The function is greedy, disregarding the notion of a `level`. Instead, the function deep copies all properties, as we assume the concept of `level` applies only to the class instance reference but not to its internal state. This prevents, in theory, two instances from sharing state.
*
*
* @private
* @param {Object} val - class instance
* @returns {Object} new instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ var format = require( '@stdlib/string/format' );
* - The condition is evaluated **after** executing the function to invoke; thus, the provided function **always** executes at least once.
* - If provided an empty collection, the function invokes the provided function with the collection index set to `undefined`.
*
*
* @param {Collection} collection - input collection
* @param {Function} fcn - function to invoke
* @param {Function} predicate - function which indicates whether to stop iterating over a collection
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/do-until-each/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ var format = require( '@stdlib/string/format' );
* - The condition is evaluated **after** executing the function to invoke; thus, the provided function **always** executes at least once.
* - If provided an empty collection, the function invokes the provided function with the collection index set to `undefined`.
*
*
* @param {Collection} collection - input collection
* @param {Function} fcn - function to invoke
* @param {Function} predicate - function which indicates whether to stop iterating over a collection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ var format = require( '@stdlib/string/format' );
* - The condition is evaluated **after** executing the function to invoke; thus, the provided function **always** executes at least once.
* - If provided an empty collection, the function invokes the provided function with the collection index set to `undefined`.
*
*
* @param {Collection} collection - input collection
* @param {Function} fcn - function to invoke
* @param {Function} predicate - function which indicates whether to continue iterating over a collection
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/do-while-each/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ var format = require( '@stdlib/string/format' );
* - The condition is evaluated **after** executing the function to invoke; thus, the provided function **always** executes at least once.
* - If provided an empty collection, the function invokes the provided function with the collection index set to `undefined`.
*
*
* @param {Collection} collection - input collection
* @param {Function} fcn - function to invoke
* @param {Function} predicate - function which indicates whether to continue iterating over a collection
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/for-each-right/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ var format = require( '@stdlib/string/format' );
*
* - For dynamic array resizing, the only behavior made intentionally consistent with `forEach` (iterating from left to right) is when elements are pushed onto the beginning (end) of an array. In other words, for `forEach()`, `[].push()` behavior is consistent with `forEachRight()` `[].unshift()` behavior.
*
*
* @param {Collection} collection - input collection
* @param {Function} fcn - function to invoke
* @param {*} [thisArg] - execution context
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/for-in/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ var format = require( '@stdlib/string/format' );
*
* - Iteration order is **not** guaranteed.
*
*
* @param {Object} obj - input object
* @param {Function} fcn - function to invoke
* @param {*} [thisArg] - execution context
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/for-own/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ var format = require( '@stdlib/string/format' );
*
* - Iteration order is **not** guaranteed.
*
*
* @param {Object} obj - input object
* @param {Function} fcn - function to invoke
* @param {*} [thisArg] - execution context
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
*
* - Checking for an "own" property is necessary to guard against the edge case where an indicator function returns a group identifier which matches a method or property on the `Object` prototype.
*
*
* @private
* @param {Collection} collection - collection to group
* @param {Options} opts - function options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
* - We need to cache the collection value to prevent the edge case where, during the invocation of the indicator function, the element at index `i` is swapped for some other value. For some, that might be a feature; here, we take the stance that one should be less clever.
* - Checking for an "own" property is necessary to guard against the edge case where an indicator function returns a group identifier which matches a method or property on the `Object` prototype.
*
*
* @private
* @param {Collection} collection - collection to group
* @param {Options} opts - function options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
* - We need to cache the collection value to prevent the edge case where, during the invocation of the indicator function, the element at index `i` is swapped for some other value. For some, that might be a feature; here, we take the stance that one should be less clever.
* - Checking for an "own" property is necessary to guard against the edge case where an indicator function returns a group identifier which matches a method or property on the `Object` prototype.
*
*
* @private
* @param {Collection} collection - collection to group
* @param {Options} opts - function options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
*
* - We need to cache the object value to prevent the edge case where, during the invocation of the indicator function, the value at key `k` is swapped for some other value. For some, that might be a feature; here, we take the stance that one should be less clever.
*
*
* @private
* @param {(Object|Array|TypedArray)} obj - input object
* @param {Options} opts - function options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
*
* - We need to cache the object value to prevent the edge case where, during the invocation of the indicator function, the value at key `k` is swapped for some other value. For some, that might be a feature; here, we take the stance that one should be less clever.
*
*
* @private
* @param {(Object|Array|TypedArray)} obj - input object
* @param {Options} opts - function options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
*
* - We need to cache the object value to prevent the edge case where, during the invocation of the indicator function, the value at key `k` is swapped for some other value. For some, that might be a feature; here, we take the stance that one should be less clever.
*
*
* @private
* @param {(Object|Array|TypedArray)} obj - input object
* @param {Options} opts - function options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
*
* - We need to cache the object value to prevent the edge case where, during the invocation of the indicator function, the value at key `k` is swapped for some other value. For some, that might be a feature; here, we take the stance that one should be less clever.
*
*
* @private
* @param {(Object|Array|TypedArray)} obj - input object
* @param {Options} opts - function options
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/group/lib/return_indices.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
*
* - Checking for an "own" property is necessary to guard against the edge case where a group identifier which matches a method or property on the `Object` prototype.
*
*
* @private
* @param {Collection} collection - collection to group
* @param {Collection} groups - collection defining which group an element in the input collection belongs to
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/group/lib/return_pairs.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
*
* - Checking for an "own" property is necessary to guard against the edge case where a group identifier which matches a method or property on the `Object` prototype.
*
*
* @private
* @param {Collection} collection - collection to group
* @param {Collection} groups - collection defining which group an element in the input collection belongs to
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/group/lib/return_values.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var hasOwnProp = require( '@stdlib/assert/has-own-property' );
*
* - Checking for an "own" property is necessary to guard against the edge case where a group identifier which matches a method or property on the `Object` prototype.
*
*
* @private
* @param {Collection} collection - collection to group
* @param {Collection} groups - collection defining which group an element in the input collection belongs to
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/inherit/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ var createObject = require( './detect.js' );
* - This implementation is not designed to work with ES2015/ES6 classes. For ES2015/ES6 classes, use `class` with `extends`.
* - For reference, see [node#3455](https://github.com/nodejs/node/pull/3455), [node#4179](https://github.com/nodejs/node/issues/4179), [node#3452](https://github.com/nodejs/node/issues/3452), and [node commit](https://github.com/nodejs/node/commit/29da8cf8d7ab8f66b9091ab22664067d4468461e#diff-3deb3f32958bb937ae05c6f3e4abbdf5).
*
*
* @param {(Object|Function)} ctor - constructor which will inherit
* @param {(Object|Function)} superCtor - super (parent) constructor
* @throws {TypeError} first argument must be either an object or a function which can inherit
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/inmap-right/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ var format = require( '@stdlib/string/format' );
*
* - For dynamic array resizing, the only behavior made intentionally consistent with `inmap` (iterating from left to right) is when elements are pushed onto the beginning (end) of an array. In other words, for `inmap()`, `[].push()` behavior is consistent with `inmapRight()` `[].unshift()` behavior.
*
*
* @param {Collection} collection - input collection
* @param {Function} fcn - function to invoke
* @param {*} [thisArg] - execution context
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/inmap/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ var format = require( '@stdlib/string/format' );
*
* - The invoked function's return value is cached prior to updating a collection. Before updating the collection, a collection must be inspected to ensure that a collection has not been resized during invocation such that an index no longer has a corresponding element in the collection. Were a return value automatically used to update a collection, an input collection could be converted into a sparse data structure. While some might consider this a feature, here, we take stance that a user should be less clever.
*
*
* @param {Collection} collection - input collection
* @param {Function} fcn - function to invoke
* @param {*} [thisArg] - execution context
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/map-keys/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ var format = require( '@stdlib/string/format' );
* - Iteration order is **not** guaranteed.
* - We need to cache an object value to prevent the edge case where, during the invocation of the transform function, the value corresponding to a particular key is swapped for some other value. For some, that might be a feature; here, we take the stance that one should be less clever.
*
*
* @param {Object} obj - source object
* @param {Function} transform - transform function
* @throws {TypeError} first argument must be an object
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/map-values/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ var format = require( '@stdlib/string/format' );
* - Iteration order is **not** guaranteed.
* - The function only operates on own properties, not inherited properties.
*
*
* @param {Object} obj - source object
* @param {Function} transform - transform function
* @throws {TypeError} first argument must be an object
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/tabulate-by/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ var validate = require( './validate.js' );
* - 1: value count
* - 2: frequency percentage
*
*
* @param {Collection} collection - input collection
* @param {Options} [options] - function options
* @param {*} [options.thisArg] - execution context
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/timeit/lib/async.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ var noop = 'next();';
* return 1;
* ```
*
*
* @private
* @param {number} id - id
* @param {string} code - code to time
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/utils/timeit/lib/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
* return 1;
* ```
*
*
* @private
* @param {number} id - id
* @param {string} code - code to time
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ var format = require( '@stdlib/string/format' );
*
* - For dynamic array resizing, the only behavior made intentionally consistent with `untilEach` (iterating from left to right) is when elements are pushed onto the beginning (end) of an array. In other words, for `untilEach()`, `[].push()` behavior is consistent with `untilEachRight()` `[].unshift()` behavior.
*
*
* @param {Collection} collection - input collection
* @param {Function} predicate - function which indicates whether to stop iterating over a collection
* @param {Function} fcn - function to invoke
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ var format = require( '@stdlib/string/format' );
*
* - For dynamic array resizing, the only behavior made intentionally consistent with `whileEach` (iterating from left to right) is when elements are pushed onto the beginning (end) of an array. In other words, for `whileEach()`, `[].push()` behavior is consistent with `whileEachRight()` `[].unshift()` behavior.
*
*
* @param {Collection} collection - input collection
* @param {Function} predicate - function which indicates whether to continue iterating over a collection
* @param {Function} fcn - function to invoke
Expand Down

1 comment on commit ad751be

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

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

Coverage Report

Package Statements Branches Functions Lines
utils/copy 607/607 100/100 14/14 607/607
utils/do-until-each-right 150/150 15/15 1/1 150/150
utils/do-until-each 144/144 14/14 1/1 144/144
utils/do-while-each-right 150/150 15/15 1/1 150/150
utils/do-while-each 144/144 14/14 1/1 144/144
utils/for-each-right 123/123 10/10 1/1 123/123
utils/for-in 136/136 11/11 1/1 136/136
utils/for-own 135/135 11/11 1/1 135/135
utils/group-by 498/498 36/36 5/5 498/498
utils/group-in 582/582 38/38 5/5 582/582
utils/group-own 527/527 39/39 5/5 527/527
utils/group 460/460 37/37 5/5 460/460
utils/inherit 321/321 21/21 4/4 321/321
utils/inmap-right 137/137 12/12 1/1 137/137
utils/inmap 134/134 11/11 1/1 134/134
utils/map-keys 130/130 11/11 1/1 130/130
utils/map-values 127/127 11/11 1/1 127/127
utils/tabulate-by 228/228 24/24 2/2 228/228
utils/timeit 1091/1091 89/89 18/18 1091/1091
utils/until-each-right 141/141 13/13 1/1 141/141
utils/while-each-right 141/141 13/13 1/1 141/141

The above coverage report was generated for the changes in this push.

Please sign in to comment.