Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed May 4, 2024
1 parent 9621b1e commit 4cefc57
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
29 changes: 23 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,27 @@
*.mov binary

# Override what is considered "vendored" by GitHub's linguist:
/deps/** linguist-vendored=false
/lib/node_modules/** linguist-vendored=false linguist-generated=false
test/fixtures/** linguist-vendored=false
tools/** linguist-vendored=false
/lib/node_modules/** -linguist-vendored -linguist-generated

# Override what is considered "documentation" by GitHub's linguist:
examples/** linguist-documentation=false
# Configure directories which should *not* be included in GitHub language statistics:
/deps/** linguist-vendored
/dist/** linguist-generated
/workshops/** linguist-vendored

benchmark/** linguist-vendored
docs/* linguist-documentation
etc/** linguist-vendored
examples/** linguist-documentation
scripts/** linguist-vendored
test/** linguist-vendored
tools/** linguist-vendored

# Configure files which should *not* be included in GitHub language statistics:
Makefile linguist-vendored
*.mk linguist-vendored
*.jl linguist-vendored
*.py linguist-vendored
*.R linguist-vendored

# Configure files which should be included in GitHub language statistics:
docs/types/*.d.ts -linguist-documentation
2 changes: 2 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Chinmay Joshi <[email protected]>
Christopher Dambamuromo <[email protected]>
Dan Rose <[email protected]>
Daniel Killenberger <[email protected]>
Daniel Yu <[email protected]>
Dominik Moritz <[email protected]>
Dorrin Sotoudeh <[email protected]>
EuniceSim142 <[email protected]>
Expand Down Expand Up @@ -72,6 +73,7 @@ Shivam <[email protected]>
Shraddheya Shendre <[email protected]>
Shubh Mehta <[email protected]>
Shubham Mishra <[email protected]>
Sivam Das <[email protected]>
Snehil Shah <[email protected]>
Soumajit Chatterjee <[email protected]>
Spandan Barve <[email protected]>
Expand Down
6 changes: 3 additions & 3 deletions deep-set/benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ bench( pkg, function benchmark( b ) {
b.fail( 'should return true' );
}
if ( val !== obj.a.b.c.d ) {
b.fail( 'should succesfully set property value' );
b.fail( 'should successfully set property value' );
}
b.pass( 'benchmark finished' );
b.end();
Expand Down Expand Up @@ -99,7 +99,7 @@ bench( pkg+'::setter', function benchmark( b ) {
b.fail( 'should return true' );
}
if ( obj.a.b.c.d !== obj.a.b.c.d ) {
b.fail( 'should succesfully set property value' );
b.fail( 'should successfully set property value' );
}
b.pass( 'benchmark finished' );
b.end();
Expand Down Expand Up @@ -133,7 +133,7 @@ bench( pkg+':factory', function benchmark( b ) {
b.fail( 'should return true' );
}
if ( obj.a.b.c.d !== obj.a.b.c.d ) {
b.fail( 'should succesfully set property value' );
b.fail( 'should successfully set property value' );
}
b.pass( 'benchmark finished' );
b.end();
Expand Down
4 changes: 2 additions & 2 deletions dsv/base/parse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ The constructor accepts the following `options`:

- **escape**: character sequence for escaping character sequences having special meaning (i.e., the delimiter, newline, and escape sequences outside of quoted fields; the comment sequence at the beginning of a record and outside of a quoted field; and the quote sequence inside a quoted field when `doublequote` is `false`). Default: `''`.

- **ltrim**: `boolean` indicating whether to trim leading whitepsace from field values. If `false`, the parser does not trim leading whitespace (e.g., `a, b, c` parses as `[ 'a', ' b', ' c' ]`). If `true`, the parser trims leading whitespace (e.g., `a, b, c` parses as `[ 'a', 'b', 'c' ]`). Default: `false`.
- **ltrim**: `boolean` indicating whether to trim leading whitespace from field values. If `false`, the parser does not trim leading whitespace (e.g., `a, b, c` parses as `[ 'a', ' b', ' c' ]`). If `true`, the parser trims leading whitespace (e.g., `a, b, c` parses as `[ 'a', 'b', 'c' ]`). Default: `false`.

- **maxRows**: maximum number of records to process (excluding skipped lines). By default, the maximum number of records is unlimited.

Expand Down Expand Up @@ -129,7 +129,7 @@ The constructor accepts the following `options`:

- **rowBuffer**: array-like object for the storing field values of the most recently processed record. When provided, the row buffer is **reused** and is provided to the `onRow` callback for each processed record. If a provided row buffer is a generic array, the parser grows the buffer as needed. If a provided row buffer is a typed array, the buffer size is fixed, and, thus, needs to be large enough to accommodate processed fields. Providing a fixed length array is appropriate when the number of fields is known prior to parsing. When the number of fields is unknown, providing a fixed length array may still be appropriate; however, one is advised to allocate a buffer having more elements than is reasonably expected in order to avoid buffer overflow.

- **rtrim**: `boolean` indicating whether to trim trailing whitepsace from field values. If `false`, the parser does not trim trailing whitespace (e.g., `a ,b ,c` parses as `[ 'a ', 'b ', 'c' ]`). If `true`, the parser trims trailing whitespace (e.g., `a ,b ,c` parses as `[ 'a', 'b', 'c' ]`). Default: `false`.
- **rtrim**: `boolean` indicating whether to trim trailing whitespace from field values. If `false`, the parser does not trim trailing whitespace (e.g., `a ,b ,c` parses as `[ 'a ', 'b ', 'c' ]`). If `true`, the parser trims trailing whitespace (e.g., `a ,b ,c` parses as `[ 'a', 'b', 'c' ]`). Default: `false`.

- **skip**: character sequence appearing at the beginning of a row which demarcates that the row content should be parsed as a skipped record. Default: `''`.

Expand Down

0 comments on commit 4cefc57

Please sign in to comment.