@stdlib/array-base-setter
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -131,3 +131,3 @@ /* | ||
* @example | ||
* var Float64Array = require( `@stdlib/array/float64` ); | ||
* var Float64Array = require( '@stdlib/array-float64' ); | ||
* | ||
@@ -151,3 +151,3 @@ * var arr = new Float64Array( 4 ); | ||
* @example | ||
* var Float32Array = require( `@stdlib/array/float32` ); | ||
* var Float32Array = require( '@stdlib/array-float32' ); | ||
* | ||
@@ -171,3 +171,3 @@ * var arr = new Float32Array( 4 ); | ||
* @example | ||
* var Int32Array = require( `@stdlib/array/int32` ); | ||
* var Int32Array = require( '@stdlib/array-int32' ); | ||
* | ||
@@ -191,3 +191,3 @@ * var arr = new Int32Array( 4 ); | ||
* @example | ||
* var Int16Array = require( `@stdlib/array/int16` ); | ||
* var Int16Array = require( '@stdlib/array-int16' ); | ||
* | ||
@@ -211,3 +211,3 @@ * var arr = new Int16Array( 4 ); | ||
* @example | ||
* var Int8Array = require( `@stdlib/array/int8` ); | ||
* var Int8Array = require( '@stdlib/array-int8' ); | ||
* | ||
@@ -231,3 +231,3 @@ * var arr = new Int8Array( 4 ); | ||
* @example | ||
* var Uint32Array = require( `@stdlib/array/uint32` ); | ||
* var Uint32Array = require( '@stdlib/array-uint32' ); | ||
* | ||
@@ -251,3 +251,3 @@ * var arr = new Uint32Array( 4 ); | ||
* @example | ||
* var Uint16Array = require( `@stdlib/array/uint16` ); | ||
* var Uint16Array = require( '@stdlib/array-uint16' ); | ||
* | ||
@@ -271,3 +271,3 @@ * var arr = new Uint16Array( 4 ); | ||
* @example | ||
* var Uint8Array = require( `@stdlib/array/uint8` ); | ||
* var Uint8Array = require( '@stdlib/array-uint8' ); | ||
* | ||
@@ -291,3 +291,3 @@ * var arr = new Uint8Array( 4 ); | ||
* @example | ||
* var Uint8ClampedArray = require( `@stdlib/array/uint8c` ); | ||
* var Uint8ClampedArray = require( '@stdlib/array-uint8c' ); | ||
* | ||
@@ -319,3 +319,3 @@ * var arr = new Uint8ClampedArray( 4 ); | ||
*/ | ||
declare function setter<T = unknown>( dtype: 'generic' ): SetGeneric<T>; // tslint:disable-line:no-unnecessary-generics | ||
declare function setter<T = unknown>( dtype: 'generic' ): SetGeneric<T>; | ||
@@ -329,3 +329,3 @@ /** | ||
* @example | ||
* var dtype = require( `@stdlib/array/dtype` ); | ||
* var dtype = require( '@stdlib/array-dtype' ); | ||
* | ||
@@ -340,3 +340,3 @@ * var arr = [ 0, 0, 0, 0 ]; | ||
*/ | ||
declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>; // tslint:disable-line:no-unnecessary-generics | ||
declare function setter<T = unknown>( dtype: string ): SetArrayLike<T>; | ||
@@ -343,0 +343,0 @@ |
{ | ||
"name": "@stdlib/array-base-setter", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Return an accessor function for setting an element in an indexed array-like object.", | ||
@@ -40,17 +40,18 @@ "license": "Apache-2.0", | ||
"dependencies": { | ||
"@stdlib/types": "^0.1.0" | ||
"@stdlib/types": "^0.3.1" | ||
}, | ||
"devDependencies": { | ||
"@stdlib/array-dtype": "^0.0.6", | ||
"@stdlib/array-dtype": "^0.1.0", | ||
"@stdlib/array-dtypes": "^0.1.0", | ||
"@stdlib/array-filled": "^0.0.6", | ||
"@stdlib/array-filled-by": "^0.0.2", | ||
"@stdlib/array-typed-real-dtypes": "^0.1.0", | ||
"@stdlib/assert-is-function": "^0.1.0", | ||
"@stdlib/bench": "^0.1.0", | ||
"@stdlib/math-base-assert-is-nan": "^0.1.0", | ||
"@stdlib/random-base-discrete-uniform": "^0.0.6", | ||
"@stdlib/array-filled": "^0.1.0", | ||
"@stdlib/array-filled-by": "^0.1.0", | ||
"@stdlib/array-typed-real-dtypes": "^0.1.1", | ||
"@stdlib/assert-is-function": "^0.1.1", | ||
"@stdlib/math-base-assert-is-nan": "^0.1.1", | ||
"@stdlib/random-base-discrete-uniform": "^0.1.0", | ||
"tape": "git+https://github.com/kgryte/tape.git#fix/globby", | ||
"istanbul": "^0.4.1", | ||
"tap-min": "git+https://github.com/Planeshifter/tap-min.git" | ||
"tap-min": "git+https://github.com/Planeshifter/tap-min.git", | ||
"@stdlib/bench-harness": "^0.2.0", | ||
"@stdlib/bench": "^0.3.1" | ||
}, | ||
@@ -79,3 +80,2 @@ "engines": { | ||
"access", | ||
"retrieve", | ||
"setter" | ||
@@ -82,0 +82,0 @@ ], |
@@ -202,3 +202,3 @@ <!-- | ||
Copyright © 2016-2023. The Stdlib [Authors][stdlib-authors]. | ||
Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors]. | ||
@@ -216,4 +216,4 @@ </section> | ||
[test-image]: https://github.com/stdlib-js/array-base-setter/actions/workflows/test.yml/badge.svg?branch=v0.1.0 | ||
[test-url]: https://github.com/stdlib-js/array-base-setter/actions/workflows/test.yml?query=branch:v0.1.0 | ||
[test-image]: https://github.com/stdlib-js/array-base-setter/actions/workflows/test.yml/badge.svg?branch=v0.2.0 | ||
[test-url]: https://github.com/stdlib-js/array-base-setter/actions/workflows/test.yml?query=branch:v0.2.0 | ||
@@ -241,4 +241,7 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/array-base-setter/main.svg | ||
[deno-url]: https://github.com/stdlib-js/array-base-setter/tree/deno | ||
[deno-readme]: https://github.com/stdlib-js/array-base-setter/blob/deno/README.md | ||
[umd-url]: https://github.com/stdlib-js/array-base-setter/tree/umd | ||
[umd-readme]: https://github.com/stdlib-js/array-base-setter/blob/umd/README.md | ||
[esm-url]: https://github.com/stdlib-js/array-base-setter/tree/esm | ||
[esm-readme]: https://github.com/stdlib-js/array-base-setter/blob/esm/README.md | ||
[branches-url]: https://github.com/stdlib-js/array-base-setter/blob/main/branches.md | ||
@@ -248,3 +251,3 @@ | ||
[@stdlib/array/dtypes]: https://www.npmjs.com/package/@stdlib/stdlib | ||
[@stdlib/array/dtypes]: https://www.npmjs.com/package/@stdlib/array-dtypes | ||
@@ -251,0 +254,0 @@ </section> |
Sorry, the diff of this file is not supported yet
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
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
253
0
45412
13
+ Added@stdlib/types@0.3.2(transitive)
- Removed@stdlib/types@0.1.0(transitive)
Updated@stdlib/types@^0.3.1