@petamoriken/float16
Advanced tools
Comparing version 3.4.10 to 3.4.11
@@ -1,2 +0,2 @@ | ||
/*! @petamoriken/float16 v3.4.10 | MIT License - https://git.io/float16 */ | ||
/*! @petamoriken/float16 v3.4.11 | MIT License - https://git.io/float16 */ | ||
@@ -3,0 +3,0 @@ const float16 = (function (exports) { |
@@ -344,3 +344,3 @@ /** | ||
} | ||
export declare var Float16Array: Float16ArrayConstructor; | ||
export declare const Float16Array: Float16ArrayConstructor; | ||
@@ -347,0 +347,0 @@ /** |
{ | ||
"name": "@petamoriken/float16", | ||
"version": "3.4.10", | ||
"version": "3.4.11", | ||
"description": "half precision floating point for JavaScript", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -12,2 +12,5 @@ # <a href="https://git.io/float16">@petamoriken/float16</a> | ||
</a> | ||
<a href="https://www.jsdelivr.com/package/npm/@petamoriken/float16"> | ||
<img src="https://img.shields.io/jsdelivr/npm/hw/@petamoriken/float16?label=hits&logo=jsDelivr&style=flat-square" alt="jsDelivr hits"> | ||
</a> | ||
<a href="https://www.npmjs.com/package/@petamoriken/float16"> | ||
@@ -19,4 +22,5 @@ <img src="https://img.shields.io/npm/v/@petamoriken/float16.svg?label=version&logo=npm&style=flat-square" alt="npm version"> | ||
</a> | ||
<br> | ||
<a href="https://github.com/petamoriken/float16/blob/master/package.json"> | ||
<img src="https://img.shields.io/david/petamoriken/float16?style=flat-square" alt="dependencies"> | ||
<img src="https://img.shields.io/badge/dependencies-none-brightgreen?style=flat-square" alt="dependencies"> | ||
</a> | ||
@@ -109,6 +113,4 @@ <a href="https://github.com/petamoriken/float16/blob/master/LICENSE"> | ||
<details> | ||
<summary>Or, you can use CDN services.</summary> | ||
<summary>Or, you can use <a href="https://www.jsdelivr.com/package/npm/@petamoriken/float16">jsDelivr CDN</a>.</summary> | ||
#### [jsDelivr](https://cdn.jsdelivr.net/npm/@petamoriken/float16/) CDN | ||
```html | ||
@@ -136,15 +138,2 @@ <!-- Module Scripts --> | ||
``` | ||
#### [Skypack](https://www.skypack.dev/view/@petamoriken/float16) CDN | ||
```html | ||
<!-- Module Scripts --> | ||
<script type="module"> | ||
import { | ||
Float16Array, isFloat16Array, | ||
getFloat16, setFloat16, | ||
hfround, | ||
} from "https://cdn.skypack.dev/@petamoriken/float16?min"; | ||
</script> | ||
``` | ||
</details> | ||
@@ -242,3 +231,3 @@ | ||
### The `instanceof` Operator | ||
### The `instanceof` operator | ||
@@ -268,3 +257,3 @@ Since `Float16Array` is made by inheriting from `Uint16Array`, so you can't use the `instanceof` operator to check if it is a `Uint16Array` or not. | ||
### Built-in Functions | ||
### Built-in functions | ||
@@ -359,5 +348,5 @@ Built-in `TypedArray` objects use "internal slots" for built-in methods. Some limitations exist because the `Proxy` object can't trap internal slots ([explanation](https://javascript.info/proxy#built-in-objects-internal-slots)). | ||
<details> | ||
<summary>Manual build and test</summary> | ||
<summary>Manual build and test:</summary> | ||
### Manual Build | ||
### Manual build | ||
@@ -390,3 +379,3 @@ First, download devDependencies. | ||
#### Node.js Test | ||
#### Node.js test | ||
@@ -398,3 +387,3 @@ ```console | ||
#### Browser Test | ||
#### Browser test | ||
@@ -401,0 +390,0 @@ ```console |
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
172293
396