Socket
Socket
Sign inDemoInstall

is-typed-array

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-typed-array - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

6

CHANGELOG.md

@@ -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 @@ =================

3

index.js

@@ -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

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