which-typed-array
Advanced tools
Comparing version 1.1.16 to 1.1.17
@@ -8,2 +8,11 @@ # Changelog | ||
## [v1.1.17](https://github.com/inspect-js/which-typed-array/compare/v1.1.16...v1.1.17) - 2024-12-18 | ||
### Commits | ||
- [types] improve types [`86bc612`](https://github.com/inspect-js/which-typed-array/commit/86bc61207e5970c2c7e13cdda4ccdeb0981ac40b) | ||
- [Dev Deps] update `@arethetypeswrong/cli`, `@ljharb/tsconfig`, `@types/tape` [`2e9bed6`](https://github.com/inspect-js/which-typed-array/commit/2e9bed67f1d623b176b1a7f06c5eab006c21cf96) | ||
- [Deps] update `call-bind`, `gopd` [`34579df`](https://github.com/inspect-js/which-typed-array/commit/34579df639e35ceb3a7e54f8e680a4077a950b8b) | ||
- [Refactor] use `call-bound` directly [`2a2d84e`](https://github.com/inspect-js/which-typed-array/commit/2a2d84e91045266841ddb47afe594899bae2f483) | ||
## [v1.1.16](https://github.com/inspect-js/which-typed-array/compare/v1.1.15...v1.1.16) - 2024-11-27 | ||
@@ -10,0 +19,0 @@ |
@@ -0,1 +1,3 @@ | ||
import type { TypedArray } from 'is-typed-array'; | ||
/** | ||
@@ -22,3 +24,3 @@ * Determines the type of the given collection, or returns false. | ||
declare namespace whichTypedArray { | ||
type TypedArrayName = | ||
export type TypedArrayName = | ||
| 'Int8Array' | ||
@@ -36,16 +38,5 @@ | 'Uint8Array' | ||
type TypedArray = | ||
| Int8Array | ||
| Uint8Array | ||
| Uint8ClampedArray | ||
| Int16Array | ||
| Uint16Array | ||
| Int32Array | ||
| Uint32Array | ||
| Float32Array | ||
| Float64Array | ||
| BigInt64Array | ||
| BigUint64Array; | ||
export type { TypedArray }; | ||
type TypedArrayConstructor = | ||
export type TypedArrayConstructor = | ||
| Int8ArrayConstructor | ||
@@ -52,0 +43,0 @@ | Uint8ArrayConstructor |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var callBind = require('call-bind'); | ||
var callBound = require('call-bind/callBound'); | ||
var callBound = require('call-bound'); | ||
var gOPD = require('gopd'); | ||
@@ -9,0 +9,0 @@ |
{ | ||
"name": "which-typed-array", | ||
"version": "1.1.16", | ||
"version": "1.1.17", | ||
"author": { | ||
@@ -64,11 +64,12 @@ "name": "Jordan Harband", | ||
"available-typed-arrays": "^1.0.7", | ||
"call-bind": "^1.0.7", | ||
"call-bind": "^1.0.8", | ||
"call-bound": "^1.0.3", | ||
"for-each": "^0.3.3", | ||
"gopd": "^1.0.1", | ||
"gopd": "^1.2.0", | ||
"has-tostringtag": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"@arethetypeswrong/cli": "^0.17.0", | ||
"@arethetypeswrong/cli": "^0.17.1", | ||
"@ljharb/eslint-config": "^21.1.1", | ||
"@ljharb/tsconfig": "^0.2.0", | ||
"@ljharb/tsconfig": "^0.2.2", | ||
"@types/call-bind": "^1.0.5", | ||
@@ -80,3 +81,3 @@ "@types/for-each": "^0.3.3", | ||
"@types/make-generator-function": "^2.0.3", | ||
"@types/tape": "^5.6.5", | ||
"@types/tape": "^5.7.0", | ||
"auto-changelog": "^2.5.0", | ||
@@ -83,0 +84,0 @@ "encoding": "^0.1.13", |
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
42510
6
257
+ Addedcall-bound@^1.0.3
+ Addedcall-bound@1.0.3(transitive)
+ Addeddunder-proto@1.0.1(transitive)
+ Addedmath-intrinsics@1.1.0(transitive)
- Removeddunder-proto@1.0.0(transitive)
- Removedmath-intrinsics@1.0.0(transitive)
Updatedcall-bind@^1.0.8
Updatedgopd@^1.2.0