is-typed-array
Advanced tools
Comparing version 1.1.7 to 1.1.8
@@ -0,1 +1,7 @@ | ||
1.1.8 / 2021-08-30 | ||
================= | ||
* [Refactor] use `globalThis` if available (#53) | ||
* [Deps] update `available-typed-arrays` | ||
* [Dev Deps] update `@ljharb/eslint-config` | ||
1.1.7 / 2021-08-07 | ||
@@ -2,0 +8,0 @@ ================= |
@@ -10,2 +10,3 @@ 'use strict'; | ||
var g = typeof globalThis === 'undefined' ? global : globalThis; | ||
var typedArrays = availableTypedArrays(); | ||
@@ -27,3 +28,3 @@ | ||
forEach(typedArrays, function (typedArray) { | ||
var arr = new global[typedArray](); | ||
var arr = new g[typedArray](); | ||
if (Symbol.toStringTag in arr) { | ||
@@ -30,0 +31,0 @@ var proto = getPrototypeOf(arr); |
{ | ||
"name": "is-typed-array", | ||
"version": "1.1.7", | ||
"version": "1.1.8", | ||
"author": { | ||
@@ -58,3 +58,3 @@ "name": "Jordan Harband", | ||
"dependencies": { | ||
"available-typed-arrays": "^1.0.4", | ||
"available-typed-arrays": "^1.0.5", | ||
"call-bind": "^1.0.2", | ||
@@ -66,3 +66,3 @@ "es-abstract": "^1.18.5", | ||
"devDependencies": { | ||
"@ljharb/eslint-config": "^17.6.0", | ||
"@ljharb/eslint-config": "^18.0.0", | ||
"aud": "^1.1.5", | ||
@@ -69,0 +69,0 @@ "eslint": "^7.32.0", |
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
16149
144