Socket
Socket
Sign inDemoInstall

available-typed-arrays

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.4 to 1.0.5

10

CHANGELOG.md

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

## [v1.0.5](https://github.com/inspect-js/available-typed-arrays/compare/v1.0.4...v1.0.5) - 2021-08-30
### Fixed
- [Refactor] use `globalThis` if available [`#12`](https://github.com/inspect-js/available-typed-arrays/issues/12)
### Commits
- [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape` [`1199790`](https://github.com/inspect-js/available-typed-arrays/commit/1199790ab5841517ad04827fab3f135d2dc5cfb7)
## [v1.0.4](https://github.com/inspect-js/available-typed-arrays/compare/v1.0.3...v1.0.4) - 2021-05-25

@@ -10,0 +20,0 @@

4

index.js

@@ -17,6 +17,8 @@ 'use strict';

var g = typeof globalThis === 'undefined' ? global : globalThis;
module.exports = function availableTypedArrays() {
var out = [];
for (var i = 0; i < possibleNames.length; i++) {
if (typeof global[possibleNames[i]] === 'function') {
if (typeof g[possibleNames[i]] === 'function') {
out[out.length] = possibleNames[i];

@@ -23,0 +25,0 @@ }

{
"name": "available-typed-arrays",
"version": "1.0.4",
"version": "1.0.5",
"description": "Returns an array of Typed Array names that are available in the current environment",

@@ -63,7 +63,7 @@ "main": "index.js",

"devDependencies": {
"@ljharb/eslint-config": "^17.6.0",
"@ljharb/eslint-config": "^18.0.0",
"array.prototype.every": "^1.1.2",
"aud": "^1.1.5",
"auto-changelog": "^2.3.0",
"eslint": "^7.27.0",
"eslint": "^7.32.0",
"evalmd": "^0.0.19",

@@ -73,3 +73,3 @@ "isarray": "^2.0.5",

"safe-publish-latest": "^1.1.4",
"tape": "^5.2.2"
"tape": "^5.3.1"
},

@@ -76,0 +76,0 @@ "auto-changelog": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc