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 Aug 19, 2023
1 parent 5508798 commit 9e80578
Show file tree
Hide file tree
Showing 72 changed files with 136 additions and 88 deletions.
15 changes: 0 additions & 15 deletions .github/workflows/productionize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,21 +82,6 @@ jobs:
id: transform-error-messages
uses: stdlib-js/transform-errors-action@main

# Format error messages:
- name: 'Replace double quotes with single quotes in rewritten format string error messages'
run: |
find . -name "*.js" -exec sed -E -i "s/Error\( format\( \"([a-zA-Z0-9]+)\"/Error\( format\( '\1'/g" {} \;
# Format string literal error messages:
- name: 'Replace double quotes with single quotes in rewritten string literal error messages'
run: |
find . -name "*.js" -exec sed -E -i "s/Error\( format\(\"([a-zA-Z0-9]+)\"\)/Error\( format\( '\1' \)/g" {} \;
# Format code:
- name: 'Replace double quotes with single quotes in inserted `require` calls'
run: |
find . -name "*.js" -exec sed -E -i "s/require\( ?\"@stdlib\/error-tools-fmtprodmsg\" ?\);/require\( '@stdlib\/error-tools-fmtprodmsg' \);/g" {} \;
# Change `@stdlib/string-format` to `@stdlib/error-tools-fmtprodmsg` in package.json if the former is a dependency, otherwise insert it as a dependency:
- name: 'Update dependencies in package.json'
run: |
Expand Down
2 changes: 1 addition & 1 deletion base/binary-addon-dispatch/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/binary-dtype-signatures/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
4 changes: 2 additions & 2 deletions base/binary-signature-callbacks/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

import { ArrayLike } from '@stdlib/types/array';
import { Complex64, Complex128, ComplexLike } from '@stdlib/types/object';
import { Complex64, Complex128, ComplexLike } from '@stdlib/types/complex';

/**
* Default callback.
Expand Down
2 changes: 1 addition & 1 deletion base/binary-signature-callbacks/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
/// <reference types="@stdlib/types"/>

import { Complex64 as Cmplx64, Complex128 as Cmplx128 } from '@stdlib/types/object';
import { Complex64 as Cmplx64, Complex128 as Cmplx128 } from '@stdlib/types/complex';
import Complex64 = require( '@stdlib/complex/float32' );
import Complex128 = require( '@stdlib/complex/float64' );
import callbacks = require( './index' );
Expand Down
2 changes: 1 addition & 1 deletion base/binary/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
4 changes: 2 additions & 2 deletions base/cmap/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

import { Complex64 } from '@stdlib/types/object';
import { Complex64 } from '@stdlib/types/complex';
import { Complex64Array } from '@stdlib/types/array';

/**
Expand Down
2 changes: 1 addition & 1 deletion base/cmap/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

/// <reference types="@stdlib/types"/>

import { Complex64 } from '@stdlib/types/object';
import { Complex64 } from '@stdlib/types/complex';
import Complex64Array = require( '@stdlib/array/complex64' );
import cmplx64 = require( '@stdlib/complex/float32' );
import cmap = require( './index' );
Expand Down
2 changes: 1 addition & 1 deletion base/dmap/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Callback invoked for each indexed strided array element.
Expand Down
2 changes: 1 addition & 1 deletion base/dmap2/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Callback invoked for indexed strided input array elements.
Expand Down
2 changes: 1 addition & 1 deletion base/dmskmap/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Callback invoked for each indexed strided array element.
Expand Down
2 changes: 1 addition & 1 deletion base/dmskmap2/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Callback invoked for indexed strided input array elements.
Expand Down
2 changes: 1 addition & 1 deletion base/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/* tslint:disable:max-line-length */
/* tslint:disable:max-file-line-count */
Expand Down
2 changes: 1 addition & 1 deletion base/dtype-enum2str/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Returns the data type string associated with a strided array data type enumeration constant.
Expand Down
2 changes: 1 addition & 1 deletion base/dtype-resolve-enum/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Returns the enumeration constant associated with a strided array data type value.
Expand Down
2 changes: 1 addition & 1 deletion base/dtype-resolve-str/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Returns the data type string associated with a strided array data type value.
Expand Down
2 changes: 1 addition & 1 deletion base/dtype-str2enum/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Returns the enumeration constant associated with a strided array data type string.
Expand Down
2 changes: 1 addition & 1 deletion base/function-object/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Absolute file path for the directory containing header files for C APIs.
Expand Down
2 changes: 1 addition & 1 deletion base/map-by/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/map-by2/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/max-view-buffer-index/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Returns the maximum accessible index based on a set of provided strided array parameters.
Expand Down
2 changes: 1 addition & 1 deletion base/meta-data-props/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/min-view-buffer-index/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Returns the minimum accessible index based on a set of provided strided array parameters.
Expand Down
2 changes: 1 addition & 1 deletion base/mskunary-addon-dispatch/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/mskunary-dtype-signatures/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
4 changes: 2 additions & 2 deletions base/mskunary-signature-callbacks/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

import { ArrayLike } from '@stdlib/types/array';
import { Complex64, Complex128, ComplexLike } from '@stdlib/types/object';
import { Complex64, Complex128, ComplexLike } from '@stdlib/types/complex';

/**
* Default callback.
Expand Down
2 changes: 1 addition & 1 deletion base/mskunary-signature-callbacks/docs/types/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
/// <reference types="@stdlib/types"/>

import { Complex64 as Cmplx64, Complex128 as Cmplx128 } from '@stdlib/types/object';
import { Complex64 as Cmplx64, Complex128 as Cmplx128 } from '@stdlib/types/complex';
import Complex64 = require( '@stdlib/complex/float32' );
import Complex128 = require( '@stdlib/complex/float64' );
import callbacks = require( './index' );
Expand Down
2 changes: 1 addition & 1 deletion base/mskunary/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/nullary-addon-dispatch/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/nullary/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/offset-view/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/quaternary/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/quinary/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/reinterpret-complex128/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/reinterpret-complex64/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/smap/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Callback invoked for each indexed strided array element.
Expand Down
2 changes: 1 addition & 1 deletion base/smap2/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Callback invoked for indexed strided input array elements.
Expand Down
2 changes: 1 addition & 1 deletion base/smskmap/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Callback invoked for each indexed strided array element.
Expand Down
2 changes: 1 addition & 1 deletion base/smskmap2/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/**
* Callback invoked for indexed strided input array elements.
Expand Down
2 changes: 1 addition & 1 deletion base/ternary/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
2 changes: 1 addition & 1 deletion base/unary-addon-dispatch/docs/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

// TypeScript Version: 2.0
// TypeScript Version: 4.1

/// <reference types="@stdlib/types"/>

Expand Down
Loading

0 comments on commit 9e80578

Please sign in to comment.