Socket
Socket
Sign inDemoInstall

domexception

Package Overview
Dependencies
1
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

12

lib/utils.js

@@ -66,2 +66,13 @@ "use strict";

const byteLengthGetter =
Object.getOwnPropertyDescriptor(ArrayBuffer.prototype, "byteLength").get;
function isArrayBuffer(value) {
try {
byteLengthGetter.call(value);
return true;
} catch (e) {
return false;
}
}
const supportsPropertyIndex = Symbol("supports property index");

@@ -92,2 +103,3 @@ const supportedPropertyIndices = Symbol("supported property indices");

IteratorPrototype,
isArrayBuffer,
isArrayIndexPropName,

@@ -94,0 +106,0 @@ supportsPropertyIndex,

6

package.json

@@ -12,3 +12,3 @@ {

],
"version": "2.0.0",
"version": "2.0.1",
"author": "Domenic Denicola <d@domenic.me> (https://domenic.me/)",

@@ -31,3 +31,3 @@ "license": "MIT",

"dependencies": {
"webidl-conversions": "^4.0.2"
"webidl-conversions": "^5.0.0"
},

@@ -39,3 +39,3 @@ "devDependencies": {

"request": "^2.88.0",
"webidl2js": "^11.0.0"
"webidl2js": "^12.0.0"
},

@@ -42,0 +42,0 @@ "engines": {

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