Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/ndarray

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/ndarray - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

44

ndarray/index.d.ts

@@ -46,6 +46,4 @@ // Type definitions for ndarray 1.0

type Data<T = any> = T extends number
? GenericArray<T> | T[] | TypedArray
: T extends bigint
? GenericArray<T> | T[] | MaybeBigInt64Array | MaybeBigUint64Array
type Data<T = any> = T extends number ? GenericArray<T> | T[] | TypedArray
: T extends bigint ? GenericArray<T> | T[] | MaybeBigInt64Array | MaybeBigUint64Array
: GenericArray<T> | T[];

@@ -66,29 +64,17 @@

type DataType<D extends Data = Data> = D extends Int8Array
? 'int8'
: D extends Int16Array
? 'int16'
: D extends Int32Array
? 'int32'
: D extends Uint8Array
? 'uint8'
: D extends Uint8ClampedArray
? 'uint8_clamped'
: D extends Uint16Array
? 'uint16'
: D extends Uint32Array
? 'uint32'
: D extends Float32Array
? 'float32'
: D extends Float64Array
? 'float64'
: D extends MaybeBigInt64Array
? 'bigint64'
: D extends MaybeBigUint64Array
? 'biguint64'
: D extends GenericArray<unknown>
? 'generic'
: 'array';
type DataType<D extends Data = Data> = D extends Int8Array ? "int8"
: D extends Int16Array ? "int16"
: D extends Int32Array ? "int32"
: D extends Uint8Array ? "uint8"
: D extends Uint8ClampedArray ? "uint8_clamped"
: D extends Uint16Array ? "uint16"
: D extends Uint32Array ? "uint32"
: D extends Float32Array ? "float32"
: D extends Float64Array ? "float64"
: D extends MaybeBigInt64Array ? "bigint64"
: D extends MaybeBigUint64Array ? "biguint64"
: D extends GenericArray<unknown> ? "generic"
: "array";
}
export = ndarray;
{
"name": "@types/ndarray",
"version": "1.0.11",
"version": "1.0.12",
"description": "TypeScript definitions for ndarray",

@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ndarray",

"dependencies": {},
"typesPublisherContentHash": "6eca0a07e6bfa041e4a3127360bace0beeb40da711c738c25d2b9f6d694412c4",
"typeScriptVersion": "3.7"
"typesPublisherContentHash": "06a7ef20951cab88a3b43ddce093d3d3ece2009fe25ef27cb93d454b82a5c9a3",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Thu, 28 Oct 2021 11:01:22 GMT
* Last updated: Sat, 23 Sep 2023 20:38:33 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: none

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc