Skip to content

Commit

Permalink
remove: remove complex/parse-float64
Browse files Browse the repository at this point in the history
This commit removes `@stdlib/complex/parse-float64` in favor of
`@stdlib/complex/float64/parse`.

BREAKING CHANGE: remove `complex/parse-float64`

To migrate, users should update their require/import paths to use
`@stdlib/complex/float64/parse` which provides the same API and
implementation.

Ref: #2260
  • Loading branch information
kgryte committed May 25, 2024
1 parent 117867e commit 55df587
Show file tree
Hide file tree
Showing 14 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ limitations under the License.
## Usage

```javascript
var parseComplex128 = require( '@stdlib/complex/parse-float64' );
var parseComplex128 = require( '@stdlib/complex/float64/parse' );
```

#### parseComplex128( str )
Expand Down Expand Up @@ -83,7 +83,7 @@ For details on the string format, see [Complex128][@stdlib/complex/float64].
<!-- eslint no-undef: "error" -->

```javascript
var parseComplex128 = require( '@stdlib/complex/parse-float64' );
var parseComplex128 = require( '@stdlib/complex/float64/parse' );
var isComplex128 = require( '@stdlib/assert/is-complex128' );
var real = require( '@stdlib/complex/real' );
var imag = require( '@stdlib/complex/imag' );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@
/**
* Parse a string representation of a complex number and returns a Complex128 instance.
*
* @module @stdlib/complex/parse-float64
* @module @stdlib/complex/float64/parse
*
* @example
* var parseComplex128 = require( '@stdlib/complex/parse-float64' );
* var parseComplex128 = require( '@stdlib/complex/float64/parse' );
*
* var str = '1 + 2i';
*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@stdlib/complex/parse-float64",
"name": "@stdlib/complex/float64/parse",
"version": "0.0.0",
"description": "Parse a string representation of a 128-bit complex number.",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/error/tools/id2pkg/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,7 @@
"0Gx",@stdlib/complex
"1sc",@stdlib/complex/float32/parse
"1sd",@stdlib/complex-parse-float32
"1se",@stdlib/complex/parse-float64
"1se",@stdlib/complex/float64/parse
"1sf",@stdlib/complex-parse-float64
"0Gy",@stdlib/complex/promotion-rules
"0Gz",@stdlib/complex-promotion-rules
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/error/tools/id2pkg/data/data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/error/tools/pkg2id/data/data.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7188,7 +7188,7 @@
"@stdlib/complex-base-parse",1sb
"@stdlib/complex/float32/parse",1sc
"@stdlib/complex-parse-float32",1sd
"@stdlib/complex/parse-float64",1se
"@stdlib/complex/float64/parse",1se
"@stdlib/complex-parse-float64",1sf
"@stdlib/iter/until-each",1sg
"@stdlib/iter-until-each",1sh
Expand Down
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/error/tools/pkg2id/data/data.json

Large diffs are not rendered by default.

0 comments on commit 55df587

Please sign in to comment.