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.0 to 1.1.1

.github/FUNDING.yml

10

CHANGELOG.md

@@ -0,1 +1,11 @@

1.1.1 / 2020-01-18
=================
* [Robustness] don’t rely on Array.prototype.indexOf existing
* [meta] remove unused Makefile and associated utilities
* [meta] add `funding` field; create FUNDING.yml
* [actions] add automatic rebasing / merge commit blocking
* [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `is-callable`, `replace`, `semver`, `tape`; add `safe-publish-latest`
* [Tests] use shared travis-ci configs
* [Tests] use `npx aud` instead of `nsp` or `npm audit` with hoops
1.1.0 / 2019-02-16

@@ -2,0 +12,0 @@ =================

5

index.js

@@ -22,3 +22,4 @@ 'use strict';

var slice = String.prototype.slice;
var $slice = String.prototype.slice;
var $indexOf = String.prototype.indexOf;
var toStrTags = {};

@@ -58,5 +59,5 @@ var gOPD = Object.getOwnPropertyDescriptor;

if (!value || typeof value !== 'object') { return false; }
if (!hasToStringTag) { return typedArrays.indexOf(slice.call(toStr.call(value), 8, -1)) > -1; }
if (!hasToStringTag) { return $indexOf.call(typedArrays, $slice.call(toStr.call(value), 8, -1)) > -1; }
if (!gOPD) { return false; }
return tryTypedArrays(value);
};

31

package.json
{
"name": "is-typed-array",
"version": "1.1.0",
"version": "1.1.1",
"author": {

@@ -9,2 +9,5 @@ "name": "Jordan Harband",

},
"funding": {
"url": "https://github.com/sponsors/ljharb"
},
"contributors": [

@@ -21,12 +24,9 @@ {

"scripts": {
"prepublish": "safe-publish-latest",
"pretest": "npm run --silent lint",
"test": "npm run tests-only",
"tests-only": "node --es-staging test.js",
"posttest": "npm run audit",
"coverage": "covert test.js",
"coverage-quiet": "covert test.js --quiet",
"lint": "eslint .",
"preaudit": "npm install --package-lock --package-lock-only",
"audit": "npm audit",
"postaudit": "rm package-lock.json"
"tests-only": "node --es-staging test",
"posttest": "npx aud",
"coverage": "covert test/index.js",
"lint": "eslint ."
},

@@ -61,14 +61,13 @@ "repository": {

"devDependencies": {
"@ljharb/eslint-config": "^13.1.1",
"@ljharb/eslint-config": "^15.1.0",
"covert": "^1.1.1",
"eslint": "^5.14.0",
"is-callable": "^1.1.4",
"eslint": "^6.8.0",
"is-callable": "^1.1.5",
"make-arrow-function": "^1.1.0",
"make-generator-function": "^1.1.0",
"replace": "^1.0.1",
"semver": "^5.6.0",
"tape": "^4.10.1"
"safe-publish-latest": "^1.1.4",
"tape": "^5.0.0-next.4"
},
"testling": {
"files": "test.js",
"files": "test/index.js",
"browsers": [

@@ -75,0 +74,0 @@ "iexplore/6.0..latest",

Sorry, the diff of this file is not supported yet

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