Socket
Socket
Sign inDemoInstall

which-typed-array

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

which-typed-array - npm Package Compare versions

Comparing version 1.1.6 to 1.1.7

10

CHANGELOG.md

@@ -8,4 +8,12 @@ # Changelog

Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
## [v1.1.7](https://github.com/inspect-js/which-typed-array/compare/v1.1.6...v1.1.7) - 2021-08-30
### Commits
- [Refactor] use `globalThis` if available [`2a16d1f`](https://github.com/inspect-js/which-typed-array/commit/2a16d1fd520871ce6b23c60f0bd2113cf33b2533)
- [meta] changelog cleanup [`ba99f56`](https://github.com/inspect-js/which-typed-array/commit/ba99f56b45e6acde7aef4a1f34bb00e44088ccee)
- [Dev Deps] update `@ljharb/eslint-config` [`19a6e04`](https://github.com/inspect-js/which-typed-array/commit/19a6e04ce0094fb3fd6d0d2cbc58d320556ddf50)
- [Deps] update `available-typed-arrays` [`50dbc58`](https://github.com/inspect-js/which-typed-array/commit/50dbc5810a24c468b49409e1f0a79d03501e3dd6)
- [Deps] update `is-typed-array` [`c1b83ea`](https://github.com/inspect-js/which-typed-array/commit/c1b83eae65f042e46b6ae941ac4e814b7965a0f7)
## [v1.1.6](https://github.com/inspect-js/which-typed-array/compare/v1.1.5...v1.1.6) - 2021-08-06

@@ -12,0 +20,0 @@

5

index.js

@@ -10,2 +10,3 @@ 'use strict';

var g = typeof globalThis === 'undefined' ? global : globalThis;
var typedArrays = availableTypedArrays();

@@ -19,4 +20,4 @@

forEach(typedArrays, function (typedArray) {
if (typeof global[typedArray] === 'function') {
var arr = new global[typedArray]();
if (typeof g[typedArray] === 'function') {
var arr = new g[typedArray]();
if (Symbol.toStringTag in arr) {

@@ -23,0 +24,0 @@ var proto = getPrototypeOf(arr);

{
"name": "which-typed-array",
"version": "1.1.6",
"version": "1.1.7",
"author": {

@@ -59,3 +59,3 @@ "name": "Jordan Harband",

"dependencies": {
"available-typed-arrays": "^1.0.4",
"available-typed-arrays": "^1.0.5",
"call-bind": "^1.0.2",

@@ -65,6 +65,6 @@ "es-abstract": "^1.18.5",

"has-tostringtag": "^1.0.0",
"is-typed-array": "^1.1.6"
"is-typed-array": "^1.1.7"
},
"devDependencies": {
"@ljharb/eslint-config": "^17.6.0",
"@ljharb/eslint-config": "^18.0.0",
"aud": "^1.1.5",

@@ -107,4 +107,5 @@ "auto-changelog": "^2.3.0",

"commitLimit": false,
"backfillLimit": false
"backfillLimit": false,
"hideCredit": true
}
}

Sorry, the diff of this file is not supported yet

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