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 Nov 21, 2023
1 parent 6f46752 commit 872a29d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 10 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/productionize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -767,14 +767,16 @@ jobs:
git checkout production
git checkout -b cli
# Copy files to cli directory:
- name: 'Copy files to cli directory'
# Copy files to `cli` directory:
- name: 'Copy files to `cli` directory'
run: |
mkdir -p cli
mkdir -p cli/docs cli/test
cp README.md LICENSE CONTRIBUTORS NOTICE ./cli
cp -r bin etc ./cli
cp test/test.cli.js ./cli/test
if [ -e "test/test.cli.js" ]; then
cp test/test.cli.js ./cli/test
fi
if [ -d "test/fixtures" ]; then
cp -r test/fixtures ./cli/test
fi
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ jobs:
# For all dependencies, check in all *.js files if they are still used; if not, remove them:
jq -r '.dependencies | keys[]' ./package.json | while read -r dep; do
dep=$(echo "$dep" | xargs)
if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
jq --indent 2 "del(.dependencies[\"$dep\"])" ./package.json > ./package.json.tmp
mv ./package.json.tmp ./package.json
fi
Expand All @@ -129,7 +129,7 @@ jobs:
continue
fi
dep=$(echo "$dep" | xargs)
if ! grep -q "$dep" lib/** && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
if ! find lib -name "*.js" -exec grep -q "$dep" {} + && ! grep -q -s "$dep" manifest.json && ! grep -q -s "$dep" include.gypi; then
jq --indent 2 "del(.devDependencies[\"$dep\"])" ./package.json > ./package.json.tmp
mv ./package.json.tmp ./package.json
fi
Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Brendan Graetz <[email protected]>
Bruno Fenzl <[email protected]>
Christopher Dambamuromo <[email protected]>
Dan Rose <[email protected]>
Daniel Killenberger <[email protected]>
Dominik Moritz <[email protected]>
Dorrin Sotoudeh <[email protected]>
Frank Kovacs <[email protected]>
Expand Down
2 changes: 2 additions & 0 deletions data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ base.acsc,"\nbase.acsc( x )\n Computes the arccosecant of a number.\n\n If
base.acsch,"\nbase.acsch( x )\n Computes the hyperbolic arccosecant of a number.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Hyperbolic arccosecant.\n\n Examples\n --------\n > var y = base.acsch( 0.0 )\n Infinity\n > y = base.acsch( -1.0 )\n ~-0.881\n > y = base.acsch( NaN )\n NaN\n\n See Also\n --------\n base.acoth, base.acsc, base.asech, base.asinh, base.csch\n"
base.add,"\nbase.add( x, y )\n Computes the sum of two double-precision floating-point numbers `x` and `y`.\n\n Parameters\n ----------\n x: number\n First input value.\n\n y: number\n Second input value.\n\n Returns\n -------\n z: number\n Sum.\n\n Examples\n --------\n > var v = base.add( -1.0, 5.0 )\n 4.0\n > v = base.add( 2.0, 5.0 )\n 7.0\n > v = base.add( 0.0, 5.0 )\n 5.0\n > v = base.add( -0.0, 0.0 )\n 0.0\n > v = base.add( NaN, NaN )\n NaN\n\n See Also\n --------\n base.div, base.mul, base.sub\n"
base.add3,"\nbase.add3( x, y, z )\n Computes the sum of three double-precision floating-point numbers.\n\n Parameters\n ----------\n x: number\n First input value.\n\n y: number\n Second input value.\n\n z: number\n Third input value.\n\n Returns\n -------\n out: number\n Sum.\n\n Examples\n --------\n > var v = base.add3( -1.0, 5.0, 2.0 )\n 6.0\n > v = base.add3( 2.0, 5.0, 2.0 )\n 9.0\n > v = base.add3( 0.0, 5.0, 2.0 )\n 7.0\n > v = base.add3( -0.0, 0.0, -0.0 )\n 0.0\n > v = base.add3( NaN, NaN, NaN )\n NaN\n\n See Also\n --------\n base.add\n"
base.add4,"\nbase.add4( x, y, z, w )\n Computes the sum of four double-precision floating-point numbers.\n\n Parameters\n ----------\n x: number\n First input value.\n\n y: number\n Second input value.\n\n z: number\n Third input value.\n\n w: number\n Fourth input value.\n\n Returns\n -------\n out: number\n Sum.\n\n Examples\n --------\n > var v = base.add4( -1.0, 5.0, 2.0, -3.0 )\n 3.0\n > v = base.add4( 2.0, 5.0, 2.0, -3.0 )\n 6.0\n > v = base.add4( 0.0, 5.0, 2.0, -3.0 )\n 4.0\n > v = base.add4( -0.0, 0.0, -0.0, -0.0 )\n 0.0\n > v = base.add4( NaN, NaN, NaN, NaN )\n NaN\n\n See Also\n --------\n base.add\n"
base.add5,"\nbase.add5( x, y, z, w, u )\n Computes the sum of five double-precision floating-point numbers.\n\n Parameters\n ----------\n x: number\n First input value.\n\n y: number\n Second input value.\n\n z: number\n Third input value.\n\n w: number\n Fourth input value.\n\n u: number\n Fifth input value.\n\n Returns\n -------\n out: number\n Sum.\n\n Examples\n --------\n > var v = base.add5( -1.0, 5.0, 2.0, -3.0, 4.0 )\n 7.0\n > v = base.add5( 2.0, 5.0, 2.0, -3.0, 4.0 )\n 10.0\n > v = base.add5( 0.0, 5.0, 2.0, -3.0, 4.0 )\n 8.0\n > v = base.add5( -0.0, 0.0, -0.0, -0.0, -0.0 )\n 0.0\n > v = base.add5( NaN, NaN, NaN, NaN, NaN )\n NaN\n\n See Also\n --------\n base.add\n"
base.addf,"\nbase.addf( x, y )\n Computes the sum of two single-precision floating-point numbers `x` and `y`.\n\n Parameters\n ----------\n x: number\n First input value.\n\n y: number\n Second input value.\n\n Returns\n -------\n z: number\n Sum.\n\n Examples\n --------\n > var v = base.addf( -1.0, 5.0 )\n 4.0\n > v = base.addf( 2.0, 5.0 )\n 7.0\n > v = base.addf( 0.0, 5.0 )\n 5.0\n > v = base.addf( -0.0, 0.0 )\n 0.0\n > v = base.addf( NaN, NaN )\n NaN\n\n See Also\n --------\n base.add, base.divf, base.mulf, base.subf\n"
base.ahavercos,"\nbase.ahavercos( x )\n Computes the inverse half-value versed cosine.\n\n The inverse half-value versed cosine is defined as `2*acos(sqrt(x))`.\n\n If `x < 0`, `x > 1`, or `x` is `NaN`, the function returns `NaN`.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Inverse half-value versed cosine.\n\n Examples\n --------\n > var y = base.ahavercos( 0.5 )\n ~1.5708\n > y = base.ahavercos( 0.0 )\n ~3.1416\n\n See Also\n --------\n base.ahaversin, base.havercos, base.vercos\n"
base.ahaversin,"\nbase.ahaversin( x )\n Computes the inverse half-value versed sine.\n\n The inverse half-value versed sine is defined as `2*asin(sqrt(x))`.\n\n If `x < 0`, `x > 1`, or `x` is `NaN`, the function returns `NaN`.\n\n Parameters\n ----------\n x: number\n Input value.\n\n Returns\n -------\n y: number\n Inverse half-value versed sine.\n\n Examples\n --------\n > var y = base.ahaversin( 0.5 )\n ~1.5708\n > y = base.ahaversin( 0.0 )\n 0.0\n\n See Also\n --------\n base.ahavercos, base.haversin, base.versin\n"
Expand Down
2 changes: 1 addition & 1 deletion data/data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"devDependencies": {
"@stdlib/assert-is-browser": "^0.1.1",
"@stdlib/assert-is-windows": "^0.1.1",
"@stdlib/bench": "^0.2.0",
"@stdlib/bench": "^0.2.1",
"@stdlib/fs-read-json": "^0.1.1",
"@stdlib/fs-resolve-parent-path": "^0.1.1",
"@stdlib/fs-write-file": "^0.1.1",
Expand Down

0 comments on commit 872a29d

Please sign in to comment.