@stdlib/array-base-accessor-setter
Advanced tools
Comparing version 0.0.1 to 0.1.0
@@ -19,7 +19,7 @@ /* | ||
// TypeScript Version: 2.0 | ||
// TypeScript Version: 4.1 | ||
/// <reference types="@stdlib/types"/> | ||
import { ComplexLike } from '@stdlib/types/object'; | ||
import { ComplexLike } from '@stdlib/types/complex'; | ||
import { Complex64Array, Complex128Array, AccessorArrayLike } from '@stdlib/types/array'; | ||
@@ -34,3 +34,3 @@ | ||
*/ | ||
type SetComplex128 = ( arr: Complex128Array, idx: number, value: ComplexLike ) => void; // tslint:disable-line:max-line-length | ||
type SetComplex128 = ( arr: Complex128Array, idx: number, value: ComplexLike ) => void; | ||
@@ -44,3 +44,3 @@ /** | ||
*/ | ||
type SetComplex64 = ( arr: Complex64Array, idx: number, value: ComplexLike ) => void; // tslint:disable-line:max-line-length | ||
type SetComplex64 = ( arr: Complex64Array, idx: number, value: ComplexLike ) => void; | ||
@@ -54,3 +54,3 @@ /** | ||
*/ | ||
type SetArrayLike = ( arr: AccessorArrayLike<any>, idx: number, value: any ) => void; // tslint:disable-line:max-line-length | ||
type SetArrayLike<T> = ( arr: AccessorArrayLike<T>, idx: number, value: T ) => void; | ||
@@ -139,3 +139,3 @@ /** | ||
*/ | ||
declare function setter( dtype: string ): SetArrayLike; | ||
declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>; // tslint:disable-line:no-unnecessary-generics | ||
@@ -142,0 +142,0 @@ |
{ | ||
"name": "@stdlib/array-base-accessor-setter", | ||
"version": "0.0.1", | ||
"version": "0.1.0", | ||
"description": "Return an accessor function for setting an element in an array-like object supporting the get/set protocol.", | ||
@@ -40,21 +40,21 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@stdlib/types": "^0.0.x" | ||
"@stdlib/types": "^0.1.0" | ||
}, | ||
"devDependencies": { | ||
"@stdlib/array-base-zero-to": "^0.0.x", | ||
"@stdlib/array-complex128": "^0.0.x", | ||
"@stdlib/array-complex64": "^0.0.x", | ||
"@stdlib/array-dtype": "^0.0.x", | ||
"@stdlib/array-filled-by": "^0.0.x", | ||
"@stdlib/assert-is-function": "^0.0.x", | ||
"@stdlib/bench": "^0.0.x", | ||
"@stdlib/complex-float32": "^0.0.x", | ||
"@stdlib/complex-float64": "^0.0.x", | ||
"@stdlib/complex-imag": "^0.0.x", | ||
"@stdlib/complex-imagf": "^0.0.x", | ||
"@stdlib/complex-real": "^0.0.x", | ||
"@stdlib/complex-realf": "^0.0.x", | ||
"@stdlib/math-base-assert-is-nan": "^0.0.x", | ||
"@stdlib/math-base-assert-is-nanf": "^0.0.x", | ||
"@stdlib/random-base-discrete-uniform": "^0.0.x", | ||
"@stdlib/array-base-zero-to": "^0.1.0", | ||
"@stdlib/array-complex128": "^0.0.6", | ||
"@stdlib/array-complex64": "^0.0.6", | ||
"@stdlib/array-dtype": "^0.0.6", | ||
"@stdlib/array-filled-by": "^0.0.2", | ||
"@stdlib/assert-is-function": "^0.1.0", | ||
"@stdlib/bench": "^0.1.0", | ||
"@stdlib/complex-float32": "^0.1.0", | ||
"@stdlib/complex-float64": "^0.1.0", | ||
"@stdlib/complex-imag": "^0.1.0", | ||
"@stdlib/complex-imagf": "^0.1.0", | ||
"@stdlib/complex-real": "^0.1.0", | ||
"@stdlib/complex-realf": "^0.1.0", | ||
"@stdlib/math-base-assert-is-nan": "^0.1.0", | ||
"@stdlib/math-base-assert-is-nanf": "^0.1.0", | ||
"@stdlib/random-base-discrete-uniform": "^0.0.6", | ||
"tape": "git+https://github.com/kgryte/tape.git#fix/globby", | ||
@@ -90,5 +90,5 @@ "istanbul": "^0.4.1", | ||
"funding": { | ||
"type": "patreon", | ||
"url": "https://www.patreon.com/athan" | ||
"type": "opencollective", | ||
"url": "https://opencollective.com/stdlib" | ||
} | ||
} |
@@ -21,2 +21,13 @@ <!-- | ||
<details> | ||
<summary> | ||
About stdlib... | ||
</summary> | ||
<p>We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.</p> | ||
<p>The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.</p> | ||
<p>When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.</p> | ||
<p>To join us in bringing numerical computing to the web, get started by checking us out on <a href="https://github.com/stdlib-js/stdlib">GitHub</a>, and please consider <a href="https://opencollective.com/stdlib">financially supporting stdlib</a>. We greatly appreciate your continued support!</p> | ||
</details> | ||
# accessorSetter | ||
@@ -203,4 +214,4 @@ | ||
[test-image]: https://github.com/stdlib-js/array-base-accessor-setter/actions/workflows/test.yml/badge.svg?branch=v0.0.1 | ||
[test-url]: https://github.com/stdlib-js/array-base-accessor-setter/actions/workflows/test.yml?query=branch:v0.0.1 | ||
[test-image]: https://github.com/stdlib-js/array-base-accessor-setter/actions/workflows/test.yml/badge.svg?branch=v0.1.0 | ||
[test-url]: https://github.com/stdlib-js/array-base-accessor-setter/actions/workflows/test.yml?query=branch:v0.1.0 | ||
@@ -218,3 +229,3 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-accessor-setter/main.svg | ||
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg | ||
[chat-url]: https://gitter.im/stdlib-js/stdlib/ | ||
[chat-url]: https://app.gitter.im/#/room/#stdlib-js_stdlib:gitter.im | ||
@@ -221,0 +232,0 @@ [stdlib]: https://github.com/stdlib-js/stdlib |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11
248
37843
2
334
1
+ Added@stdlib/types@0.1.0(transitive)
- Removed@stdlib/types@0.0.14(transitive)
Updated@stdlib/types@^0.1.0